diff --git a/.github/RELEASE_TEMPLATE.md b/.github/RELEASE_TEMPLATE.md index 866e2c08..76e5c7fe 100644 --- a/.github/RELEASE_TEMPLATE.md +++ b/.github/RELEASE_TEMPLATE.md @@ -25,7 +25,7 @@ conda install -c conda-forge neqsim= Requirements: - Python 3.9 or newer. -- Java 11 or newer for pip installs. +- Java 17 or newer for pip installs. Download from [Adoptium](https://adoptium.net/). - Conda installs include OpenJDK through conda-forge. Verify the installed package version without starting the JVM: @@ -62,6 +62,6 @@ printFrame(natural_gas) ## Maintainer Checklist - Confirm `pyproject.toml` and `conda/meta.yaml` use this version. -- Confirm bundled JAR files match this version for each supported Java runtime. +- Confirm the bundled JAR at `src/neqsim/lib/neqsim-.jar` matches this version. - Run the relevant tests or packaging checks before publishing. - Publish the GitHub release only when ready to trigger the PyPI release workflow. diff --git a/.github/workflows/runtests.yml b/.github/workflows/runtests.yml index a807f88c..0e9bb4e4 100644 --- a/.github/workflows/runtests.yml +++ b/.github/workflows/runtests.yml @@ -8,11 +8,37 @@ on: - master jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + + - name: Install uv + run: pipx install uv + + - name: Setup Python + uses: actions/setup-python@v6 + with: + python-version: "3.13" + + - name: Install dependencies + run: uv sync + + - name: Check formatting with black + run: uv run black --check --include '\.py$' src/neqsim tests + + - name: Type check with mypy (advisory, non-blocking) + continue-on-error: true + run: uv run mypy src/neqsim + build: strategy: + fail-fast: false matrix: - version: [3.9, 3.12, 3.13] + version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] runs-on: ubuntu-latest + # 3.14 is very new; don't fail the whole matrix while the ecosystem catches up. + continue-on-error: ${{ matrix.version == '3.14' }} steps: - uses: actions/checkout@v7 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fa7c0bc0..0d401e67 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -13,10 +13,21 @@ Please note we have a code of conduct, please follow it in all your interactions Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). 4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you do not have permission to do that, you may request the second reviewer to merge it for you. +## Development Checks + +Before opening a PR, run the same checks CI runs: + +```bash +uv sync +uv run black --check --include '\.py$' src/neqsim tests # required — CI fails on violations +uv run mypy src/neqsim # advisory — CI reports but does not block +uv run pytest -p no:faulthandler # full test suite +``` + ## Release Process 1. Update the release version in `pyproject.toml` and `conda/meta.yaml`. -2. Update the bundled NeqSim JAR files under `src/neqsim/lib/` for each supported Java runtime. +2. Update the bundled NeqSim JAR file at `src/neqsim/lib/neqsim-.jar` (Java 17+ only). 3. Draft the GitHub release body from `.github/RELEASE_TEMPLATE.md`, keeping the installation and quick-start sections in the release notes. 4. Use GitHub's generated release notes to include categorized pull requests. The categories are configured in `.github/release.yml`. 5. Publish the GitHub release only when ready. A published release triggers the PyPI publishing workflow and the Java stub generation workflow. diff --git a/README.md b/README.md index c08f089d..35101857 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ It provides Python toolboxes such as [thermoTools](https://github.com/equinor/ne ### Install - +
pip (requires Java 11+)conda (Java included)
pip (requires Java 17+)conda (Java included)
@@ -65,7 +65,7 @@ conda install -c conda-forge neqsim
-> **Prerequisites:** Python 3.9+ and Java 11+. The conda package automatically installs OpenJDK — no separate Java setup needed. For pip, install Java from [Adoptium](https://adoptium.net/). +> **Prerequisites:** Python 3.9+ and Java 17+ (NeqSim 3.15+ requires Java 17 or higher; earlier NeqSim releases required Java 11+). The conda package automatically installs OpenJDK — no separate Java setup needed. For pip, install Java from [Adoptium](https://adoptium.net/). ### Try it now @@ -246,6 +246,29 @@ Explore ready-to-run examples in the [examples folder](https://github.com/equino The full list of Python dependencies is on the [dependencies page](https://github.com/equinor/neqsim-python/network/dependencies). +### JVM Startup Control + +By default, `import neqsim` starts the JVM immediately. This can be tuned via environment variables: + +| Variable | Default | Purpose | +|----------|---------|---------| +| `NEQSIM_JVM_AUTOSTART` | `1` | Set to `0`/`false`/`no` to disable automatic JVM startup on import. Call `init_jvm()` explicitly before using `jneqsim`. | +| `NEQSIM_JVM_ARGS` | *(none)* | Extra JVM startup arguments (space separated), appended after the default `-Xrs`. | +| `NEQSIM_JVM_MAX_HEAP` | *(none)* | Max JVM heap size, e.g. `2g` — passed as `-Xmx2g`. | + +```python +import os +os.environ["NEQSIM_JVM_AUTOSTART"] = "0" # must be set before `import neqsim` + +from neqsim.neqsimpython import init_jvm, is_jvm_started + +print(is_jvm_started()) # False +init_jvm(jvm_args=["-Xrs"]) # start explicitly, e.g. with custom args +print(is_jvm_started()) # True +``` + +`init_jvm()` is safe to call multiple times — it is a no-op if the JVM is already running. + --- ## 🏗️ Contributing diff --git a/conda/meta.yaml b/conda/meta.yaml index add7ebd4..bcc8fd66 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -24,7 +24,7 @@ requirements: - jpype1 >=1.7.0,<2.0.0 - numpy >1.25.2 - pandas >=2.0.3,<3.0.0 - - openjdk >=11 + - openjdk >=17 test: imports: diff --git a/docs/release-notes/v3.15.0.md b/docs/release-notes/v3.15.0.md index 867087d4..e1b8ca20 100644 --- a/docs/release-notes/v3.15.0.md +++ b/docs/release-notes/v3.15.0.md @@ -7,6 +7,9 @@ NeqSim Python is the Python interface to the NeqSim engine for thermodynamic cal - Aligns Python package metadata and the conda recipe with version 3.15.0. - Improves editor code completion by shipping typing stubs for `jneqsim` through the `neqsim` package export. - Ensures `jneqsim` and `jpype` stub packages are included in built source distributions. +- Adds JVM startup control: set `NEQSIM_JVM_AUTOSTART=0` to defer JVM startup and call the new `init_jvm()` explicitly, with `NEQSIM_JVM_ARGS`/`NEQSIM_JVM_MAX_HEAP` to customize startup arguments and heap size. See the [JVM Startup Control](https://github.com/equinor/neqsim-python#jvm-startup-control) section of the README. +- Removes the unused bundled Java 8 JAR (~52 MB) and flattens the remaining JAR to `src/neqsim/lib/neqsim-3.15.0.jar` (no more `java11/` subfolder), reducing the installed package size. +- **Raises the minimum Java version from 11+ to 17+.** Starting with NeqSim 3.15, importing `neqsim` with an older JVM raises a clear `NeqSimJVMError` telling you to upgrade. Download Java 17+ from [Adoptium](https://adoptium.net/). ## Install @@ -25,7 +28,7 @@ conda install -c conda-forge neqsim=3.15.0 Requirements: - Python 3.9 or newer. -- Java 11 or newer for pip installs. +- Java 17 or newer for pip installs (raised from Java 11+ in earlier NeqSim releases). Download from [Adoptium](https://adoptium.net/). - Conda installs include OpenJDK through conda-forge. Verify the installed package version without starting the JVM: diff --git a/environment.yml b/environment.yml index 6c6751e5..bfbd8694 100644 --- a/environment.yml +++ b/environment.yml @@ -8,7 +8,7 @@ channels: - defaults dependencies: - python>=3.9 - - openjdk>=11 + - openjdk>=17 - jpype1>=1.7.0,<2.0.0 - numpy>1.25.2 - pandas>=2.0.3,<3.0.0 diff --git a/pyproject.toml b/pyproject.toml index 8b5f1f13..292b3a73 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ dev = [ "pytest>=8.0.0,<9", "pre-commit>=3.6.0,<4", "stubgenj>=0.2.12,<0.3", + "mypy>=1.10,<3", ] [tool.uv] diff --git a/src/jneqsim-stubs/__init__.pyi b/src/jneqsim-stubs/__init__.pyi index 68d7ac4f..8ecd6e97 100644 --- a/src/jneqsim-stubs/__init__.pyi +++ b/src/jneqsim-stubs/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -23,7 +23,6 @@ import jneqsim.thermodynamicoperations import jneqsim.util import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("neqsim")``. diff --git a/src/jneqsim-stubs/api/__init__.pyi b/src/jneqsim-stubs/api/__init__.pyi index 9a813888..a4f6baec 100644 --- a/src/jneqsim-stubs/api/__init__.pyi +++ b/src/jneqsim-stubs/api/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.api.ioc import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api")``. diff --git a/src/jneqsim-stubs/api/ioc/__init__.pyi b/src/jneqsim-stubs/api/ioc/__init__.pyi index eb216820..c3b82f33 100644 --- a/src/jneqsim-stubs/api/ioc/__init__.pyi +++ b/src/jneqsim-stubs/api/ioc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,19 @@ import java.lang import jpype import typing - - class CalculationResult: fluidProperties: typing.MutableSequence[typing.MutableSequence[float]] = ... calculationError: typing.MutableSequence[java.lang.String] = ... - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.api.ioc")``. diff --git a/src/jneqsim-stubs/blackoil/__init__.pyi b/src/jneqsim-stubs/blackoil/__init__.pyi index 766d9d7c..7ff4f626 100644 --- a/src/jneqsim-stubs/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/blackoil/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,15 +12,20 @@ import jneqsim.blackoil.io import jneqsim.thermo.system import typing - - class BlackOilConverter: def __init__(self): ... @staticmethod - def convert(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float) -> 'BlackOilConverter.Result': ... + def convert( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double3: float, + double4: float, + ) -> "BlackOilConverter.Result": ... + class Result: - pvt: 'BlackOilPVTTable' = ... - blackOilSystem: 'SystemBlackOil' = ... + pvt: "BlackOilPVTTable" = ... + blackOilSystem: "SystemBlackOil" = ... rho_o_sc: float = ... rho_g_sc: float = ... rho_w_sc: float = ... @@ -28,8 +33,21 @@ class BlackOilConverter: def __init__(self): ... class BlackOilFlash(java.io.Serializable): - def __init__(self, blackOilPVTTable: 'BlackOilPVTTable', double: float, double2: float, double3: float): ... - def flash(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'BlackOilFlashResult': ... + def __init__( + self, + blackOilPVTTable: "BlackOilPVTTable", + double: float, + double2: float, + double3: float, + ): ... + def flash( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "BlackOilFlashResult": ... class BlackOilFlashResult(java.io.Serializable): O_std: float = ... @@ -52,7 +70,9 @@ class BlackOilFlashResult(java.io.Serializable): def __init__(self): ... class BlackOilPVTTable(java.io.Serializable): - def __init__(self, list: java.util.List['BlackOilPVTTable.Record'], double: float): ... + def __init__( + self, list: java.util.List["BlackOilPVTTable.Record"], double: float + ): ... def Bg(self, double: float) -> float: ... def Bo(self, double: float) -> float: ... def Bw(self, double: float) -> float: ... @@ -63,6 +83,7 @@ class BlackOilPVTTable(java.io.Serializable): def mu_g(self, double: float) -> float: ... def mu_o(self, double: float) -> float: ... def mu_w(self, double: float) -> float: ... + class Record(java.io.Serializable): p: float = ... Rs: float = ... @@ -73,11 +94,28 @@ class BlackOilPVTTable(java.io.Serializable): Rv: float = ... Bw: float = ... mu_w: float = ... - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ): ... class SystemBlackOil(java.io.Serializable): - def __init__(self, blackOilPVTTable: BlackOilPVTTable, double: float, double2: float, double3: float): ... - def copyShallow(self) -> 'SystemBlackOil': ... + def __init__( + self, + blackOilPVTTable: BlackOilPVTTable, + double: float, + double2: float, + double3: float, + ): ... + def copyShallow(self) -> "SystemBlackOil": ... def flash(self) -> BlackOilFlashResult: ... def getBg(self) -> float: ... def getBo(self) -> float: ... @@ -102,7 +140,6 @@ class SystemBlackOil(java.io.Serializable): def setStdTotals(self, double: float, double2: float, double3: float) -> None: ... def setTemperature(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil")``. diff --git a/src/jneqsim-stubs/blackoil/io/__init__.pyi b/src/jneqsim-stubs/blackoil/io/__init__.pyi index 41fddeed..ebd07a6b 100644 --- a/src/jneqsim-stubs/blackoil/io/__init__.pyi +++ b/src/jneqsim-stubs/blackoil/io/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,80 +15,148 @@ import jneqsim.blackoil import jneqsim.thermo.system import typing - - class CMGEOSExporter: @typing.overload @staticmethod - def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def toFile( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ... + def toFile( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + exportConfig: "CMGEOSExporter.ExportConfig", + ) -> None: ... @typing.overload @staticmethod - def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def toFile( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'CMGEOSExporter.ExportConfig') -> None: ... + def toFile( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + exportConfig: "CMGEOSExporter.ExportConfig", + ) -> None: ... @typing.overload @staticmethod - def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], simulator: 'CMGEOSExporter.Simulator') -> None: ... + def toFile( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + simulator: "CMGEOSExporter.Simulator", + ) -> None: ... @typing.overload def toString(self) -> java.lang.String: ... @typing.overload @staticmethod - def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ... + def toString( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ... + def toString( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + exportConfig: "CMGEOSExporter.ExportConfig", + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def toString( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'CMGEOSExporter.ExportConfig') -> java.lang.String: ... + def toString( + systemInterface: jneqsim.thermo.system.SystemInterface, + exportConfig: "CMGEOSExporter.ExportConfig", + ) -> java.lang.String: ... + class ExportConfig: def __init__(self): ... - def setComment(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ... - def setIncludeHeader(self, boolean: bool) -> 'CMGEOSExporter.ExportConfig': ... - def setModelName(self, string: typing.Union[java.lang.String, str]) -> 'CMGEOSExporter.ExportConfig': ... - def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CMGEOSExporter.ExportConfig': ... - def setReferenceTemperature(self, double: float) -> 'CMGEOSExporter.ExportConfig': ... - def setSimulator(self, simulator: 'CMGEOSExporter.Simulator') -> 'CMGEOSExporter.ExportConfig': ... - def setStandardConditions(self, double: float, double2: float) -> 'CMGEOSExporter.ExportConfig': ... - def setUnits(self, units: 'CMGEOSExporter.Units') -> 'CMGEOSExporter.ExportConfig': ... - class Simulator(java.lang.Enum['CMGEOSExporter.Simulator']): - IMEX: typing.ClassVar['CMGEOSExporter.Simulator'] = ... - GEM: typing.ClassVar['CMGEOSExporter.Simulator'] = ... - STARS: typing.ClassVar['CMGEOSExporter.Simulator'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setComment( + self, string: typing.Union[java.lang.String, str] + ) -> "CMGEOSExporter.ExportConfig": ... + def setIncludeHeader(self, boolean: bool) -> "CMGEOSExporter.ExportConfig": ... + def setModelName( + self, string: typing.Union[java.lang.String, str] + ) -> "CMGEOSExporter.ExportConfig": ... + def setPressureGrid( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "CMGEOSExporter.ExportConfig": ... + def setReferenceTemperature( + self, double: float + ) -> "CMGEOSExporter.ExportConfig": ... + def setSimulator( + self, simulator: "CMGEOSExporter.Simulator" + ) -> "CMGEOSExporter.ExportConfig": ... + def setStandardConditions( + self, double: float, double2: float + ) -> "CMGEOSExporter.ExportConfig": ... + def setUnits( + self, units: "CMGEOSExporter.Units" + ) -> "CMGEOSExporter.ExportConfig": ... + + class Simulator(java.lang.Enum["CMGEOSExporter.Simulator"]): + IMEX: typing.ClassVar["CMGEOSExporter.Simulator"] = ... + GEM: typing.ClassVar["CMGEOSExporter.Simulator"] = ... + STARS: typing.ClassVar["CMGEOSExporter.Simulator"] = ... + _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: ... + 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]) -> 'CMGEOSExporter.Simulator': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CMGEOSExporter.Simulator": ... @staticmethod - def values() -> typing.MutableSequence['CMGEOSExporter.Simulator']: ... - class Units(java.lang.Enum['CMGEOSExporter.Units']): - SI: typing.ClassVar['CMGEOSExporter.Units'] = ... - FIELD: typing.ClassVar['CMGEOSExporter.Units'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["CMGEOSExporter.Simulator"]: ... + + class Units(java.lang.Enum["CMGEOSExporter.Units"]): + SI: typing.ClassVar["CMGEOSExporter.Units"] = ... + FIELD: typing.ClassVar["CMGEOSExporter.Units"] = ... + _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: ... + 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]) -> 'CMGEOSExporter.Units': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CMGEOSExporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['CMGEOSExporter.Units']: ... + def values() -> typing.MutableSequence["CMGEOSExporter.Units"]: ... class EclipseBlackOilImporter: def __init__(self): ... @staticmethod - def fromFile(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'EclipseBlackOilImporter.Result': ... + def fromFile( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> "EclipseBlackOilImporter.Result": ... @staticmethod - def fromReader(reader: java.io.Reader) -> 'EclipseBlackOilImporter.Result': ... + def fromReader(reader: java.io.Reader) -> "EclipseBlackOilImporter.Result": ... + class Result: pvt: jneqsim.blackoil.BlackOilPVTTable = ... system: jneqsim.blackoil.SystemBlackOil = ... @@ -98,72 +166,140 @@ class EclipseBlackOilImporter: bubblePoint: float = ... log: java.util.List = ... def __init__(self): ... - class Units(java.lang.Enum['EclipseBlackOilImporter.Units']): - METRIC: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... - FIELD: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... - LAB: typing.ClassVar['EclipseBlackOilImporter.Units'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Units(java.lang.Enum["EclipseBlackOilImporter.Units"]): + METRIC: typing.ClassVar["EclipseBlackOilImporter.Units"] = ... + FIELD: typing.ClassVar["EclipseBlackOilImporter.Units"] = ... + LAB: typing.ClassVar["EclipseBlackOilImporter.Units"] = ... + _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: ... + 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]) -> 'EclipseBlackOilImporter.Units': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EclipseBlackOilImporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['EclipseBlackOilImporter.Units']: ... + def values() -> typing.MutableSequence["EclipseBlackOilImporter.Units"]: ... class EclipseEOSExporter: @typing.overload @staticmethod - def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def toFile( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def toFile(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ... + def toFile( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + exportConfig: "EclipseEOSExporter.ExportConfig", + ) -> None: ... @typing.overload @staticmethod - def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def toFile( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def toFile(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], exportConfig: 'EclipseEOSExporter.ExportConfig') -> None: ... + def toFile( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + exportConfig: "EclipseEOSExporter.ExportConfig", + ) -> None: ... @typing.overload def toString(self) -> java.lang.String: ... @typing.overload @staticmethod - def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float) -> java.lang.String: ... + def toString( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, double: float, double2: float, double3: float, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ... + def toString( + blackOilPVTTable: jneqsim.blackoil.BlackOilPVTTable, + double: float, + double2: float, + double3: float, + exportConfig: "EclipseEOSExporter.ExportConfig", + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def toString( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toString(systemInterface: jneqsim.thermo.system.SystemInterface, exportConfig: 'EclipseEOSExporter.ExportConfig') -> java.lang.String: ... + def toString( + systemInterface: jneqsim.thermo.system.SystemInterface, + exportConfig: "EclipseEOSExporter.ExportConfig", + ) -> java.lang.String: ... + class ExportConfig: def __init__(self): ... - def setComment(self, string: typing.Union[java.lang.String, str]) -> 'EclipseEOSExporter.ExportConfig': ... - def setIncludeDensity(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... - def setIncludeHeader(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... - def setIncludePVTG(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... - def setIncludePVTO(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... - def setIncludePVTW(self, boolean: bool) -> 'EclipseEOSExporter.ExportConfig': ... - def setPressureGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'EclipseEOSExporter.ExportConfig': ... - def setReferenceTemperature(self, double: float) -> 'EclipseEOSExporter.ExportConfig': ... - def setStandardConditions(self, double: float, double2: float) -> 'EclipseEOSExporter.ExportConfig': ... - def setUnits(self, units: 'EclipseEOSExporter.Units') -> 'EclipseEOSExporter.ExportConfig': ... - class Units(java.lang.Enum['EclipseEOSExporter.Units']): - METRIC: typing.ClassVar['EclipseEOSExporter.Units'] = ... - FIELD: typing.ClassVar['EclipseEOSExporter.Units'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setComment( + self, string: typing.Union[java.lang.String, str] + ) -> "EclipseEOSExporter.ExportConfig": ... + def setIncludeDensity( + self, boolean: bool + ) -> "EclipseEOSExporter.ExportConfig": ... + def setIncludeHeader( + self, boolean: bool + ) -> "EclipseEOSExporter.ExportConfig": ... + def setIncludePVTG( + self, boolean: bool + ) -> "EclipseEOSExporter.ExportConfig": ... + def setIncludePVTO( + self, boolean: bool + ) -> "EclipseEOSExporter.ExportConfig": ... + def setIncludePVTW( + self, boolean: bool + ) -> "EclipseEOSExporter.ExportConfig": ... + def setPressureGrid( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "EclipseEOSExporter.ExportConfig": ... + def setReferenceTemperature( + self, double: float + ) -> "EclipseEOSExporter.ExportConfig": ... + def setStandardConditions( + self, double: float, double2: float + ) -> "EclipseEOSExporter.ExportConfig": ... + def setUnits( + self, units: "EclipseEOSExporter.Units" + ) -> "EclipseEOSExporter.ExportConfig": ... + + class Units(java.lang.Enum["EclipseEOSExporter.Units"]): + METRIC: typing.ClassVar["EclipseEOSExporter.Units"] = ... + FIELD: typing.ClassVar["EclipseEOSExporter.Units"] = ... + _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: ... + 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]) -> 'EclipseEOSExporter.Units': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EclipseEOSExporter.Units": ... @staticmethod - def values() -> typing.MutableSequence['EclipseEOSExporter.Units']: ... - + def values() -> typing.MutableSequence["EclipseEOSExporter.Units"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.blackoil.io")``. diff --git a/src/jneqsim-stubs/chemicalreactions/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/__init__.pyi index 21860ed2..a5d9f3bd 100644 --- a/src/jneqsim-stubs/chemicalreactions/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,9 +15,9 @@ import jneqsim.thermo.phase import jneqsim.thermo.system import typing - - -class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): +class ChemicalReactionOperations( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def addNewComponents(self) -> None: ... def calcAmatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @@ -25,39 +25,53 @@ class ChemicalReactionOperations(jneqsim.thermo.ThermodynamicConstantsInterface, def calcChemRefPot(self, int: int) -> typing.MutableSequence[float]: ... def calcInertMoles(self, int: int) -> float: ... def calcNVector(self) -> typing.MutableSequence[float]: ... - def clone(self) -> 'ChemicalReactionOperations': ... + def clone(self) -> "ChemicalReactionOperations": ... def getAllElements(self) -> typing.MutableSequence[java.lang.String]: ... def getAmatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getComponents( + self, + ) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... def getDeltaReactionHeat(self) -> float: ... def getKinetics(self) -> jneqsim.chemicalreactions.kinetics.Kinetics: ... - def getReactionList(self) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... + def getReactionList( + self, + ) -> jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList: ... def hasReactions(self) -> bool: ... - def reacHeat(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def reacHeat( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def setComponents(self) -> None: ... @typing.overload def setComponents(self, int: int) -> None: ... def setDeltaReactionHeat(self, double: float) -> None: ... - def setReactionList(self, chemicalReactionList: jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList) -> None: ... + def setReactionList( + self, + chemicalReactionList: jneqsim.chemicalreactions.chemicalreaction.ChemicalReactionList, + ) -> None: ... @typing.overload def setReactiveComponents(self) -> None: ... @typing.overload def setReactiveComponents(self, int: int) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... @typing.overload def solveChemEq(self, int: int) -> bool: ... @typing.overload def solveChemEq(self, int: int, int2: int) -> bool: ... - def solveKinetics(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int) -> float: ... + def solveKinetics( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int + ) -> float: ... def sortReactiveComponents(self) -> None: ... def updateMoles(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions")``. ChemicalReactionOperations: typing.Type[ChemicalReactionOperations] - chemicalequilibrium: jneqsim.chemicalreactions.chemicalequilibrium.__module_protocol__ + chemicalequilibrium: ( + jneqsim.chemicalreactions.chemicalequilibrium.__module_protocol__ + ) chemicalreaction: jneqsim.chemicalreactions.chemicalreaction.__module_protocol__ kinetics: jneqsim.chemicalreactions.kinetics.__module_protocol__ diff --git a/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi index e0d77caf..908e3dbb 100644 --- a/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,27 +16,70 @@ import jneqsim.thermo.component import jneqsim.thermo.system import typing - - class ChemEq(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... def chemSolve(self) -> None: ... - def innerStep(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], int2: int, double2: float) -> float: ... + def innerStep( + self, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int2: int, + double2: float, + ) -> float: ... @typing.overload def solve(self) -> None: ... @typing.overload - def solve(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def solve( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def step(self) -> float: ... class ChemicalEquilibrium(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], int: int): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + systemInterface: jneqsim.thermo.system.SystemInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + int: int, + ): ... def calcRefPot(self) -> None: ... def chemSolve(self) -> None: ... def getConvergenceTolerance(self) -> float: ... @@ -44,7 +87,14 @@ class ChemicalEquilibrium(java.io.Serializable): def getLastIterationCount(self) -> int: ... def getMaxIterations(self) -> int: ... def getMoles(self) -> typing.MutableSequence[float]: ... - def innerStep(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], int2: int, double2: float, boolean: bool) -> float: ... + def innerStep( + self, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int2: int, + double2: float, + boolean: bool, + ) -> float: ... def isLastConverged(self) -> bool: ... def isUseAdaptiveDerivatives(self) -> bool: ... def isUseFugacityDerivatives(self) -> bool: ... @@ -59,24 +109,49 @@ class ChemicalEquilibrium(java.io.Serializable): def step(self) -> float: ... def updateMoles(self) -> None: ... -class LinearProgrammingChemicalEquilibrium(jneqsim.thermo.ThermodynamicConstantsInterface): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations, int: int): ... +class LinearProgrammingChemicalEquilibrium( + jneqsim.thermo.ThermodynamicConstantsInterface +): + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations, + int: int, + ): ... def calcA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcx(self, matrix: Jama.Matrix, matrix2: Jama.Matrix) -> None: ... def changePrimaryComponents(self) -> None: ... - def generateInitialEstimates(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int) -> typing.MutableSequence[float]: ... + def generateInitialEstimates( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + int: int, + ) -> typing.MutableSequence[float]: ... def getA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getRefPot(self) -> typing.MutableSequence[float]: ... -class ReferencePotComparator(java.util.Comparator[jneqsim.thermo.component.ComponentInterface], java.io.Serializable): +class ReferencePotComparator( + java.util.Comparator[jneqsim.thermo.component.ComponentInterface], + java.io.Serializable, +): def __init__(self): ... - def compare(self, componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> int: ... - + def compare( + self, + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + ) -> int: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.chemicalequilibrium")``. ChemEq: typing.Type[ChemEq] ChemicalEquilibrium: typing.Type[ChemicalEquilibrium] - LinearProgrammingChemicalEquilibrium: typing.Type[LinearProgrammingChemicalEquilibrium] + LinearProgrammingChemicalEquilibrium: typing.Type[ + LinearProgrammingChemicalEquilibrium + ] ReferencePotComparator: typing.Type[ReferencePotComparator] diff --git a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi index 7d29bac4..a26be063 100644 --- a/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/chemicalreaction/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,14 +16,31 @@ import jneqsim.thermo.system import jneqsim.util import typing - - -class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.ThermodynamicConstantsInterface): - def __init__(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, double5: float): ... - def calcK(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... - def calcKgamma(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... - def calcKx(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... - def checkK(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... +class ChemicalReaction( + jneqsim.util.NamedBaseClass, jneqsim.thermo.ThermodynamicConstantsInterface +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + double4: float, + double5: float, + ): ... + def calcK( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> float: ... + def calcKgamma( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> float: ... + def calcKx( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> float: ... + def checkK( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def getActivationEnergy(self) -> float: ... @typing.overload def getK(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -34,52 +51,125 @@ class ChemicalReaction(jneqsim.util.NamedBaseClass, jneqsim.thermo.Thermodynamic @typing.overload def getRateFactor(self) -> float: ... @typing.overload - def getRateFactor(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getRateFactor( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getReactantNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getReactionHeat(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getSaturationRatio(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def getReactionHeat( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getSaturationRatio( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> float: ... def getStocCoefs(self) -> typing.MutableSequence[float]: ... def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def initMoleNumbers(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def reactantsContains(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> bool: ... + def initMoleNumbers( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def reactantsContains( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> bool: ... def setActivationEnergy(self, double: float) -> None: ... @typing.overload - def setK(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setK( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setK(self, int: int, double: float) -> None: ... def setRateFactor(self, double: float) -> None: ... class ChemicalReactionFactory: @staticmethod - def getChemicalReaction(string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... + def getChemicalReaction( + string: typing.Union[java.lang.String, str] + ) -> ChemicalReaction: ... @staticmethod def getChemicalReactionNames() -> typing.MutableSequence[java.lang.String]: ... class ChemicalReactionList(jneqsim.thermo.ThermodynamicConstantsInterface): def __init__(self): ... - def calcReacMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcReacRates(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> Jama.Matrix: ... + def calcReacMatrix( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calcReacRates( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + ) -> Jama.Matrix: ... def calcReferencePotentials(self) -> typing.MutableSequence[float]: ... - def checkReactions(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def createReactionMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def checkReactions( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def createReactionMatrix( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getAllComponents(self) -> typing.MutableSequence[java.lang.String]: ... def getChemicalReactionList(self) -> java.util.ArrayList[ChemicalReaction]: ... - def getReacMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getReacMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def getReaction(self, int: int) -> ChemicalReaction: ... @typing.overload - def getReaction(self, string: typing.Union[java.lang.String, str]) -> ChemicalReaction: ... - def getReactionGMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getReactionMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getStocMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def initMoleNumbers(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def reacHeat(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]) -> float: ... - def readReactions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def getReaction( + self, string: typing.Union[java.lang.String, str] + ) -> ChemicalReaction: ... + def getReactionGMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getReactionMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getStocMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def initMoleNumbers( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def reacHeat( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + string: typing.Union[java.lang.String, str], + ) -> float: ... + def readReactions( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def removeDependentReactions(self) -> None: ... - def removeJunkReactions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setChemicalReactionList(self, arrayList: java.util.ArrayList[ChemicalReaction]) -> None: ... - def updateReferencePotentials(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> typing.MutableSequence[float]: ... - + def removeJunkReactions( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setChemicalReactionList( + self, arrayList: java.util.ArrayList[ChemicalReaction] + ) -> None: ... + def updateReferencePotentials( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + ) -> typing.MutableSequence[float]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.chemicalreaction")``. diff --git a/src/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi b/src/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi index 4582d9a0..d92d0dcf 100644 --- a/src/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi +++ b/src/jneqsim-stubs/chemicalreactions/kinetics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,27 @@ import jneqsim.chemicalreactions import jneqsim.thermo.phase import typing - - class Kinetics(java.io.Serializable): - def __init__(self, chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations): ... + def __init__( + self, + chemicalReactionOperations: jneqsim.chemicalreactions.ChemicalReactionOperations, + ): ... def calcKinetics(self) -> None: ... - def calcReacMatrix(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, phaseInterface2: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def calcReacMatrix( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + phaseInterface2: jneqsim.thermo.phase.PhaseInterface, + int: int, + ) -> float: ... def getPhiInfinite(self) -> float: ... - def getPseudoFirstOrderCoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, phaseInterface2: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def getPseudoFirstOrderCoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + phaseInterface2: jneqsim.thermo.phase.PhaseInterface, + int: int, + ) -> float: ... def isIrreversible(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.chemicalreactions.kinetics")``. diff --git a/src/jneqsim-stubs/datapresentation/__init__.pyi b/src/jneqsim-stubs/datapresentation/__init__.pyi index b0c27dc0..9049d753 100644 --- a/src/jneqsim-stubs/datapresentation/__init__.pyi +++ b/src/jneqsim-stubs/datapresentation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.datapresentation.filehandling import jneqsim.datapresentation.jfreechart import typing - - class DataHandling: def __init__(self): ... def getItemCount(self, int: int) -> int: ... @@ -22,17 +20,31 @@ class DataHandling: def getSeriesName(self, int: int) -> java.lang.String: ... def getXValue(self, int: int, int2: int) -> java.lang.Number: ... def getYValue(self, int: int, int2: int) -> java.lang.Number: ... - def printToFile(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def printToFile( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + string: typing.Union[java.lang.String, str], + ) -> None: ... class SampleXYDataSource: - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getItemCount(self, int: int) -> int: ... def getSeriesCount(self) -> int: ... def getSeriesName(self, int: int) -> java.lang.String: ... def getXValue(self, int: int, int2: int) -> java.lang.Number: ... def getYValue(self, int: int, int2: int) -> java.lang.Number: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation")``. diff --git a/src/jneqsim-stubs/datapresentation/filehandling/__init__.pyi b/src/jneqsim-stubs/datapresentation/filehandling/__init__.pyi index 1a332122..0870b3b0 100644 --- a/src/jneqsim-stubs/datapresentation/filehandling/__init__.pyi +++ b/src/jneqsim-stubs/datapresentation/filehandling/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,27 @@ import java.lang import jpype import typing - - class TextFile(java.io.Serializable): def __init__(self): ... def createFile(self) -> None: ... def newFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutputFileName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setValues(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setValues( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload - def setValues(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... - + def setValues( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation.filehandling")``. diff --git a/src/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi b/src/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi index 41806bf3..bffb7cec 100644 --- a/src/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi +++ b/src/jneqsim-stubs/datapresentation/jfreechart/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,27 +13,52 @@ import org.jfree.chart import org.jfree.data.category import typing - - class Graph2b(javax.swing.JFrame): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def createCategoryDataSource(self) -> org.jfree.data.category.CategoryDataset: ... def getBufferedImage(self) -> java.awt.image.BufferedImage: ... def getChart(self) -> org.jfree.chart.JFreeChart: ... def getChartPanel(self) -> org.jfree.chart.ChartPanel: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def saveFigure(self, string: typing.Union[java.lang.String, str]) -> None: ... def setChart(self, jFreeChart: org.jfree.chart.JFreeChart) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.datapresentation.jfreechart")``. diff --git a/src/jneqsim-stubs/fluidmechanics/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/__init__.pyi index e8ed463d..ba2a8adf 100644 --- a/src/jneqsim-stubs/fluidmechanics/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,12 +13,9 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.fluidmechanics.util import typing - - class FluidMech: def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi index fb4311a1..f15c1e44 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowleg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,46 +13,73 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class FlowLegInterface: @typing.overload def createFlowNodes(self) -> None: ... @typing.overload - def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def createFlowNodes( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... + def getFlowNodes( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getNumberOfNodes(self) -> int: ... - def setEquipmentGeometry(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setEquipmentGeometry( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... def setHeightCoordinates(self, double: float, double2: float) -> None: ... def setLongitudionalCoordinates(self, double: float, double2: float) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... - def setOuterHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setOuterHeatTransferCoefficients( + self, double: float, double2: float + ) -> None: ... def setOuterTemperatures(self, double: float, double2: float) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setWallHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setWallHeatTransferCoefficients( + self, double: float, double2: float + ) -> None: ... class FlowLeg(FlowLegInterface, java.io.Serializable): def __init__(self): ... @typing.overload - def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + def createFlowNodes( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... @typing.overload def createFlowNodes(self) -> None: ... - def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getFlowNodes( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getNumberOfNodes(self) -> int: ... - def setEquipmentGeometry(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setEquipmentGeometry( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setFlowNodeTypes(self) -> None: ... def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... def setHeightCoordinates(self, double: float, double2: float) -> None: ... def setLongitudionalCoordinates(self, double: float, double2: float) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... - def setOuterHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setOuterHeatTransferCoefficients( + self, double: float, double2: float + ) -> None: ... def setOuterTemperatures(self, double: float, double2: float) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setWallHeatTransferCoefficients(self, double: float, double2: float) -> None: ... - + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setWallHeatTransferCoefficients( + self, double: float, double2: float + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowleg")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi index 68ab91bf..e536bd22 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowleg/pipeleg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.flowleg import jneqsim.fluidmechanics.flownode import typing - - class PipeLeg(jneqsim.fluidmechanics.flowleg.FlowLeg): def __init__(self): ... @typing.overload def createFlowNodes(self) -> None: ... @typing.overload - def createFlowNodes(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + def createFlowNodes( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowleg.pipeleg")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi index 827f4cf0..43d0cf06 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,8 +20,6 @@ import jneqsim.thermodynamicoperations import jneqsim.util.util import typing - - class FlowNodeInterface(java.lang.Cloneable): def calcFluxes(self) -> None: ... def calcNusseltNumber(self, double: float, int: int) -> float: ... @@ -38,19 +36,31 @@ class FlowNodeInterface(java.lang.Cloneable): def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... def getFlowDirection(self, int: int) -> int: ... def getFlowNodeType(self) -> java.lang.String: ... - def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... - def getGeometry(self) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... + def getFluidBoundary( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface + ): ... + def getGeometry( + self, + ) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... def getHydraulicDiameter(self, int: int) -> float: ... def getInterPhaseFrictionFactor(self) -> float: ... def getInterphaseContactArea(self) -> float: ... def getInterphaseContactLength(self, int: int) -> float: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getInterphaseTransportCoefficient(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface: ... + def getInterphaseTransportCoefficient( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface + ): ... def getLengthOfNode(self) -> float: ... def getMassFlowRate(self, int: int) -> float: ... def getMolarMassTransferRate(self, int: int) -> float: ... - def getNextNode(self) -> 'FlowNodeInterface': ... - def getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getNextNode(self) -> "FlowNodeInterface": ... + def getOperations( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -82,15 +92,24 @@ class FlowNodeInterface(java.lang.Cloneable): def init(self) -> None: ... def initBulkSystem(self) -> None: ... def initFlowCalc(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setBulkSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setDistanceToCenterOfNode(self, double: float) -> None: ... def setEnhancementType(self, int: int) -> None: ... def setFlowDirection(self, int: int, int2: int) -> None: ... - def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFluxes( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setFrictionFactorType(self, int: int) -> None: ... - def setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setGeometryDefinitionInterface( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setLengthOfNode(self, double: float) -> None: ... def setPhaseFraction(self, int: int, double: float) -> None: ... @typing.overload @@ -100,19 +119,27 @@ class FlowNodeInterface(java.lang.Cloneable): @typing.overload def setVelocityIn(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityIn(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityIn( + self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityIn(self, double: float) -> None: ... @typing.overload - def setVelocityIn(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityIn( + self, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityOut(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityOut(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityOut( + self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityOut(self, double: float) -> None: ... @typing.overload - def setVelocityOut(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityOut( + self, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, int: int, double: float) -> None: ... @@ -120,159 +147,354 @@ class FlowNodeInterface(java.lang.Cloneable): def setWallFrictionFactor(self, double: float) -> None: ... def update(self) -> None: ... def updateMolarFlow(self) -> None: ... - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... class FlowNodeSelector: def __init__(self): ... - def getFlowNodeType(self, flowNodeInterfaceArray: typing.Union[typing.List[FlowNodeInterface], jpype.JArray]) -> None: ... - def setFlowPattern(self, flowNodeInterfaceArray: typing.Union[typing.List[FlowNodeInterface], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def getFlowNodeType( + self, + flowNodeInterfaceArray: typing.Union[ + typing.List[FlowNodeInterface], jpype.JArray + ], + ) -> None: ... + def setFlowPattern( + self, + flowNodeInterfaceArray: typing.Union[ + typing.List[FlowNodeInterface], jpype.JArray + ], + string: typing.Union[java.lang.String, str], + ) -> None: ... -class FlowPattern(java.lang.Enum['FlowPattern']): - STRATIFIED: typing.ClassVar['FlowPattern'] = ... - STRATIFIED_WAVY: typing.ClassVar['FlowPattern'] = ... - ANNULAR: typing.ClassVar['FlowPattern'] = ... - SLUG: typing.ClassVar['FlowPattern'] = ... - BUBBLE: typing.ClassVar['FlowPattern'] = ... - DROPLET: typing.ClassVar['FlowPattern'] = ... - CHURN: typing.ClassVar['FlowPattern'] = ... - DISPERSED_BUBBLE: typing.ClassVar['FlowPattern'] = ... - @staticmethod - def fromString(string: typing.Union[java.lang.String, str]) -> 'FlowPattern': ... +class FlowPattern(java.lang.Enum["FlowPattern"]): + STRATIFIED: typing.ClassVar["FlowPattern"] = ... + STRATIFIED_WAVY: typing.ClassVar["FlowPattern"] = ... + ANNULAR: typing.ClassVar["FlowPattern"] = ... + SLUG: typing.ClassVar["FlowPattern"] = ... + BUBBLE: typing.ClassVar["FlowPattern"] = ... + DROPLET: typing.ClassVar["FlowPattern"] = ... + CHURN: typing.ClassVar["FlowPattern"] = ... + DISPERSED_BUBBLE: typing.ClassVar["FlowPattern"] = ... + @staticmethod + def fromString(string: typing.Union[java.lang.String, str]) -> "FlowPattern": ... def getName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlowPattern': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "FlowPattern": ... @staticmethod - def values() -> typing.MutableSequence['FlowPattern']: ... + def values() -> typing.MutableSequence["FlowPattern"]: ... class FlowPatternDetector: @staticmethod - def calculateLiquidHoldup(flowPattern: FlowPattern, double: float, double2: float, double3: float) -> float: ... - @staticmethod - def detectFlowPattern(flowPatternModel: 'FlowPatternModel', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> FlowPattern: ... + def calculateLiquidHoldup( + flowPattern: FlowPattern, double: float, double2: float, double3: float + ) -> float: ... + @staticmethod + def detectFlowPattern( + flowPatternModel: "FlowPatternModel", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> FlowPattern: ... -class FlowPatternModel(java.lang.Enum['FlowPatternModel']): - MANUAL: typing.ClassVar['FlowPatternModel'] = ... - BAKER_CHART: typing.ClassVar['FlowPatternModel'] = ... - TAITEL_DUKLER: typing.ClassVar['FlowPatternModel'] = ... - BARNEA: typing.ClassVar['FlowPatternModel'] = ... - BEGGS_BRILL: typing.ClassVar['FlowPatternModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class FlowPatternModel(java.lang.Enum["FlowPatternModel"]): + MANUAL: typing.ClassVar["FlowPatternModel"] = ... + BAKER_CHART: typing.ClassVar["FlowPatternModel"] = ... + TAITEL_DUKLER: typing.ClassVar["FlowPatternModel"] = ... + BARNEA: typing.ClassVar["FlowPatternModel"] = ... + BEGGS_BRILL: typing.ClassVar["FlowPatternModel"] = ... + _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: ... + 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]) -> 'FlowPatternModel': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "FlowPatternModel": ... @staticmethod - def values() -> typing.MutableSequence['FlowPatternModel']: ... + def values() -> typing.MutableSequence["FlowPatternModel"]: ... class HeatTransferCoefficientCalculator: @staticmethod - def calculateCondensationHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... - @staticmethod - def calculateCondensationNusselt(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def calculateDittusBoelterNusselt(double: float, double2: float, boolean: bool) -> float: ... - @staticmethod - def calculateEvaporationHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... - @staticmethod - def calculateGasHeatTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def calculateGnielinskiNusselt(double: float, double2: float, double3: float) -> float: ... + def calculateCondensationHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... + @staticmethod + def calculateCondensationNusselt( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def calculateDittusBoelterNusselt( + double: float, double2: float, boolean: bool + ) -> float: ... + @staticmethod + def calculateEvaporationHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... + @staticmethod + def calculateGasHeatTransferCoefficient( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def calculateGnielinskiNusselt( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def calculateLaminarNusselt(boolean: bool) -> float: ... @staticmethod - def calculateLiquidHeatTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... - @staticmethod - def calculateOverallInterphaseCoefficient(double: float, double2: float) -> float: ... - @staticmethod - def calculateStantonNumber(double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateLiquidHeatTransferCoefficient( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... + @staticmethod + def calculateOverallInterphaseCoefficient( + double: float, double2: float + ) -> float: ... + @staticmethod + def calculateStantonNumber( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class InterfacialAreaCalculator: @staticmethod def calculateAnnularArea(double: float, double2: float) -> float: ... @staticmethod - def calculateAnnularAreaWithEntrainment(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calculateAnnularAreaWithEntrainment( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod - def calculateBubbleArea(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateBubbleArea( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod def calculateChurnArea(double: float, double2: float) -> float: ... @staticmethod - def calculateDropletArea(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - @staticmethod - def calculateEnhancedInterfacialArea(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool) -> float: ... - @staticmethod - def calculateInterfacialArea(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def calculateSauterDiameter(double: float, double2: float, double3: float, double4: float) -> float: ... - @staticmethod - def calculateSlugArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calculateDropletArea( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... + @staticmethod + def calculateEnhancedInterfacialArea( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + boolean2: bool, + ) -> float: ... + @staticmethod + def calculateInterfacialArea( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def calculateSauterDiameter( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + @staticmethod + def calculateSlugArea( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod def calculateStratifiedArea(double: float, double2: float) -> float: ... @staticmethod - def calculateStratifiedWavyArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def getExpectedInterfacialAreaRange(flowPattern: FlowPattern, double: float) -> typing.MutableSequence[float]: ... + def calculateStratifiedWavyArea( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def getExpectedInterfacialAreaRange( + flowPattern: FlowPattern, double: float + ) -> typing.MutableSequence[float]: ... -class InterfacialAreaModel(java.lang.Enum['InterfacialAreaModel']): - GEOMETRIC: typing.ClassVar['InterfacialAreaModel'] = ... - EMPIRICAL_CORRELATION: typing.ClassVar['InterfacialAreaModel'] = ... - USER_DEFINED: typing.ClassVar['InterfacialAreaModel'] = ... +class InterfacialAreaModel(java.lang.Enum["InterfacialAreaModel"]): + GEOMETRIC: typing.ClassVar["InterfacialAreaModel"] = ... + EMPIRICAL_CORRELATION: typing.ClassVar["InterfacialAreaModel"] = ... + USER_DEFINED: typing.ClassVar["InterfacialAreaModel"] = ... def getName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InterfacialAreaModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InterfacialAreaModel": ... @staticmethod - def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + def values() -> typing.MutableSequence["InterfacialAreaModel"]: ... class MassTransferCoefficientCalculator: @staticmethod - def applyMarangoniCorrection(double: float, double2: float, double3: float, double4: float) -> float: ... + def applyMarangoniCorrection( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def calculateDittusBoelterSherwood(double: float, double2: float) -> float: ... @staticmethod - def calculateEnhancedLiquidMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool, boolean2: bool) -> float: ... - @staticmethod - def calculateGasMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - @staticmethod - def calculateLiquidMassTransferCoefficient(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def calculateLiquidMassTransferCoefficientWithTurbulence(flowPattern: FlowPattern, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + def calculateEnhancedLiquidMassTransferCoefficient( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean: bool, + boolean2: bool, + ) -> float: ... + @staticmethod + def calculateGasMassTransferCoefficient( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + @staticmethod + def calculateLiquidMassTransferCoefficient( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def calculateLiquidMassTransferCoefficientWithTurbulence( + flowPattern: FlowPattern, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... @staticmethod def calculateRanzMarshallSherwood(double: float, double2: float) -> float: ... @staticmethod - def estimateTurbulentIntensity(flowPattern: FlowPattern, double: float) -> float: ... + def estimateTurbulentIntensity( + flowPattern: FlowPattern, double: float + ) -> float: ... @staticmethod - def getExpectedMassTransferCoefficientRange(flowPattern: FlowPattern, int: int) -> typing.MutableSequence[float]: ... + def getExpectedMassTransferCoefficientRange( + flowPattern: FlowPattern, int: int + ) -> typing.MutableSequence[float]: ... @staticmethod - def validateAgainstLiterature(double: float, flowPattern: FlowPattern, int: int) -> bool: ... + def validateAgainstLiterature( + double: float, flowPattern: FlowPattern, int: int + ) -> bool: ... -class WallHeatTransferModel(java.lang.Enum['WallHeatTransferModel']): - ADIABATIC: typing.ClassVar['WallHeatTransferModel'] = ... - CONSTANT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... - CONSTANT_HEAT_FLUX: typing.ClassVar['WallHeatTransferModel'] = ... - CONVECTIVE_BOUNDARY: typing.ClassVar['WallHeatTransferModel'] = ... - TRANSIENT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class WallHeatTransferModel(java.lang.Enum["WallHeatTransferModel"]): + ADIABATIC: typing.ClassVar["WallHeatTransferModel"] = ... + CONSTANT_WALL_TEMPERATURE: typing.ClassVar["WallHeatTransferModel"] = ... + CONSTANT_HEAT_FLUX: typing.ClassVar["WallHeatTransferModel"] = ... + CONVECTIVE_BOUNDARY: typing.ClassVar["WallHeatTransferModel"] = ... + TRANSIENT_WALL_TEMPERATURE: typing.ClassVar["WallHeatTransferModel"] = ... + _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: ... + 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]) -> 'WallHeatTransferModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WallHeatTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface): molarFlowRate: typing.MutableSequence[float] = ... @@ -290,16 +512,28 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... - @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... + @typing.overload + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + double: float, + double2: float, + ): ... def calcFluxes(self) -> None: ... def calcNusseltNumber(self, double: float, int: int) -> float: ... def calcSherwoodNumber(self, double: float, int: int) -> float: ... def calcStantonNumber(self, double: float, int: int) -> float: ... def calcTotalHeatTransferCoefficient(self, int: int) -> float: ... - def clone(self) -> 'FlowNode': ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def clone(self) -> "FlowNode": ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def display(self) -> None: ... @typing.overload @@ -310,19 +544,31 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface def getEffectiveSchmidtNumber(self, int: int, int2: int) -> float: ... def getFlowDirection(self, int: int) -> int: ... def getFlowNodeType(self) -> java.lang.String: ... - def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... - def getGeometry(self) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... + def getFluidBoundary( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface + ): ... + def getGeometry( + self, + ) -> jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface: ... def getHydraulicDiameter(self, int: int) -> float: ... def getInterPhaseFrictionFactor(self) -> float: ... def getInterphaseContactArea(self) -> float: ... def getInterphaseContactLength(self, int: int) -> float: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getInterphaseTransportCoefficient(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface: ... + def getInterphaseTransportCoefficient( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientInterface + ): ... def getLengthOfNode(self) -> float: ... def getMassFlowRate(self, int: int) -> float: ... def getMolarMassTransferRate(self, int: int) -> float: ... def getNextNode(self) -> FlowNodeInterface: ... - def getOperations(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getOperations( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getPhaseFraction(self, int: int) -> float: ... def getPrandtlNumber(self, int: int) -> float: ... @typing.overload @@ -353,17 +599,29 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface def increaseMolarRate(self, double: float) -> None: ... def init(self) -> None: ... def initBulkSystem(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setBulkSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setDistanceToCenterOfNode(self, double: float) -> None: ... def setEnhancementType(self, int: int) -> None: ... def setFlowDirection(self, int: int, int2: int) -> None: ... - def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFluxes( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setFrictionFactorType(self, int: int) -> None: ... - def setGeometryDefinitionInterface(self, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface) -> None: ... + def setGeometryDefinitionInterface( + self, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ) -> None: ... def setInterphaseModelType(self, int: int) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setLengthOfNode(self, double: float) -> None: ... - def setOperations(self, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations) -> None: ... + def setOperations( + self, + thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations, + ) -> None: ... def setPhaseFraction(self, int: int, double: float) -> None: ... @typing.overload def setVelocity(self, double: float) -> None: ... @@ -372,19 +630,27 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface @typing.overload def setVelocityIn(self, double: float) -> None: ... @typing.overload - def setVelocityIn(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityIn( + self, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityIn(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityIn(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityIn( + self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityOut(self, double: float) -> None: ... @typing.overload - def setVelocityOut(self, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityOut( + self, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... @typing.overload def setVelocityOut(self, int: int, double: float) -> None: ... @typing.overload - def setVelocityOut(self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable) -> None: ... + def setVelocityOut( + self, int: int, doubleCloneable: jneqsim.util.util.DoubleCloneable + ) -> None: ... def setVerticalPositionOfNode(self, double: float) -> None: ... @typing.overload def setWallFrictionFactor(self, double: float) -> None: ... @@ -392,8 +658,12 @@ class FlowNode(FlowNodeInterface, jneqsim.thermo.ThermodynamicConstantsInterface def setWallFrictionFactor(self, int: int, double: float) -> None: ... def update(self) -> None: ... def updateMolarFlow(self) -> None: ... - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... - + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi index a14f83ec..87d6582e 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary")``. - heatmasstransfercalc: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.__module_protocol__ - interphasetransportcoefficient: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.__module_protocol__ + heatmasstransfercalc: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.__module_protocol__ + ) + interphasetransportcoefficient: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi index 4da50665..1fe48ace 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,27 +17,37 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class FluidBoundaryInterface(java.lang.Cloneable): def calcFluxes(self) -> typing.MutableSequence[float]: ... - def clone(self) -> 'FluidBoundaryInterface': ... + def clone(self) -> "FluidBoundaryInterface": ... def display(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def getBinaryMassTransferCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getBulkSystemOpertions( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... - def getEnhancementFactor(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor: ... + def getEnhancementFactor( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor + ): ... def getInterphaseHeatFlux(self, int: int) -> float: ... def getInterphaseMolarFlux(self, int: int) -> float: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientMatrix( + self, + ) -> typing.MutableSequence[Jama.Matrix]: ... def heatTransSolve(self) -> None: ... def isHeatTransferCalc(self) -> bool: ... def massTransSolve(self) -> None: ... def setEnhancementType(self, int: int) -> None: ... def setHeatTransferCalc(self, boolean: bool) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def solve(self) -> None: ... @typing.overload @@ -52,59 +62,74 @@ class FluidBoundaryInterface(java.lang.Cloneable): def useThermodynamicCorrections(self, boolean: bool) -> None: ... @typing.overload def useThermodynamicCorrections(self, boolean: bool, int: int) -> None: ... - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... -class InterfacialAreaModel(java.lang.Enum['InterfacialAreaModel']): - GEOMETRIC: typing.ClassVar['InterfacialAreaModel'] = ... - EMPIRICAL_CORRELATION: typing.ClassVar['InterfacialAreaModel'] = ... - USER_DEFINED: typing.ClassVar['InterfacialAreaModel'] = ... +class InterfacialAreaModel(java.lang.Enum["InterfacialAreaModel"]): + GEOMETRIC: typing.ClassVar["InterfacialAreaModel"] = ... + EMPIRICAL_CORRELATION: typing.ClassVar["InterfacialAreaModel"] = ... + USER_DEFINED: typing.ClassVar["InterfacialAreaModel"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InterfacialAreaModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InterfacialAreaModel": ... @staticmethod - def values() -> typing.MutableSequence['InterfacialAreaModel']: ... + def values() -> typing.MutableSequence["InterfacialAreaModel"]: ... -class MassTransferModel(java.lang.Enum['MassTransferModel']): - KRISHNA_STANDART_FILM: typing.ClassVar['MassTransferModel'] = ... - PENETRATION_THEORY: typing.ClassVar['MassTransferModel'] = ... - SURFACE_RENEWAL: typing.ClassVar['MassTransferModel'] = ... +class MassTransferModel(java.lang.Enum["MassTransferModel"]): + KRISHNA_STANDART_FILM: typing.ClassVar["MassTransferModel"] = ... + PENETRATION_THEORY: typing.ClassVar["MassTransferModel"] = ... + SURFACE_RENEWAL: typing.ClassVar["MassTransferModel"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MassTransferModel': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "MassTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['MassTransferModel']: ... + def values() -> typing.MutableSequence["MassTransferModel"]: ... -class WallHeatTransferModel(java.lang.Enum['WallHeatTransferModel']): - CONSTANT_WALL_TEMPERATURE: typing.ClassVar['WallHeatTransferModel'] = ... - CONSTANT_HEAT_FLUX: typing.ClassVar['WallHeatTransferModel'] = ... - CONVECTIVE_BOUNDARY: typing.ClassVar['WallHeatTransferModel'] = ... - ADIABATIC: typing.ClassVar['WallHeatTransferModel'] = ... +class WallHeatTransferModel(java.lang.Enum["WallHeatTransferModel"]): + CONSTANT_WALL_TEMPERATURE: typing.ClassVar["WallHeatTransferModel"] = ... + CONSTANT_HEAT_FLUX: typing.ClassVar["WallHeatTransferModel"] = ... + CONVECTIVE_BOUNDARY: typing.ClassVar["WallHeatTransferModel"] = ... + ADIABATIC: typing.ClassVar["WallHeatTransferModel"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'WallHeatTransferModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WallHeatTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['WallHeatTransferModel']: ... + def values() -> typing.MutableSequence["WallHeatTransferModel"]: ... class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): interphaseHeatFlux: typing.MutableSequence[float] = ... @@ -112,28 +137,46 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): heatTransferCalc: bool = ... thermodynamicCorrections: typing.MutableSequence[bool] = ... finiteFluxCorrection: typing.MutableSequence[bool] = ... - binaryMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... + binaryMassTransferCoefficient: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] = ... heatTransferCoefficient: typing.MutableSequence[float] = ... heatTransferCorrection: typing.MutableSequence[float] = ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxTypeCorrectionMatrix(self, int: int, int2: int) -> None: ... def calcNonIdealCorrections(self, int: int) -> None: ... - def clone(self) -> 'FluidBoundary': ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def clone(self) -> "FluidBoundary": ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def display(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getBinaryMassTransferCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def getBinaryMassTransferCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getBulkSystemOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getBulkSystemOpertions( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getEffectiveMassTransferCoefficient(self, int: int, int2: int) -> float: ... - def getEnhancementFactor(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor: ... + def getEnhancementFactor( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.EnhancementFactor + ): ... def getInterphaseHeatFlux(self, int: int) -> float: ... def getInterphaseMolarFlux(self, int: int) -> float: ... - def getInterphaseOpertions(self) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... + def getInterphaseOpertions( + self, + ) -> jneqsim.thermodynamicoperations.ThermodynamicOperations: ... def getInterphaseSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getMassTransferCoefficientMatrix(self) -> typing.MutableSequence[Jama.Matrix]: ... + def getMassTransferCoefficientMatrix( + self, + ) -> typing.MutableSequence[Jama.Matrix]: ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -141,10 +184,14 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): def initMassTransferCalc(self) -> None: ... def isHeatTransferCalc(self) -> bool: ... def massTransSolve(self) -> None: ... - def setBulkSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setBulkSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setEnhancementType(self, int: int) -> None: ... def setHeatTransferCalc(self, boolean: bool) -> None: ... - def setInterphaseSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInterphaseSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setMassTransferCalc(self, boolean: bool) -> None: ... def setSolverType(self, int: int) -> None: ... @typing.overload @@ -159,8 +206,12 @@ class FluidBoundary(FluidBoundaryInterface, java.io.Serializable): def useThermodynamicCorrections(self, boolean: bool) -> None: ... @typing.overload def useThermodynamicCorrections(self, boolean: bool, int: int) -> None: ... - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... - + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc")``. @@ -170,6 +221,12 @@ class __module_protocol__(Protocol): InterfacialAreaModel: typing.Type[InterfacialAreaModel] MassTransferModel: typing.Type[MassTransferModel] WallHeatTransferModel: typing.Type[WallHeatTransferModel] - equilibriumfluidboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary.__module_protocol__ - finitevolumeboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.__module_protocol__ - nonequilibriumfluidboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.__module_protocol__ + equilibriumfluidboundary: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary.__module_protocol__ + ) + finitevolumeboundary: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.__module_protocol__ + ) + nonequilibriumfluidboundary: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi index 9d218f41..6a1dd224 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/equilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,22 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.thermo.system import typing - - -class EquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): +class EquilibriumFluidBoundary( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxes(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def solve(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.equilibriumfluidboundary")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi index c4b2b51b..93c977e3 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,15 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary")``. - fluidboundarynode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.__module_protocol__ - fluidboundarysolver: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.__module_protocol__ - fluidboundarysystem: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.__module_protocol__ + fluidboundarynode: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.__module_protocol__ + ) + fluidboundarysolver: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.__module_protocol__ + ) + fluidboundarysystem: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi index 13e342b7..fb7db6ac 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - class FluidBoundaryNodeInterface: def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -22,11 +20,14 @@ class FluidBoundaryNode(FluidBoundaryNodeInterface): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def getBulkSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode")``. FluidBoundaryNode: typing.Type[FluidBoundaryNode] FluidBoundaryNodeInterface: typing.Type[FluidBoundaryNodeInterface] - fluidboundarynonreactivenode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode.__module_protocol__ - fluidboundaryreactivenode: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode.__module_protocol__ + fluidboundarynonreactivenode: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode.__module_protocol__ + ) + fluidboundaryreactivenode: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi index 0352e096..1877686c 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundarynonreactivenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - -class FluidBoundaryNodeNonReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): +class FluidBoundaryNodeNonReactive( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundarynonreactivenode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi index 595bb4dd..9fa0f45b 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarynode/fluidboundaryreactivenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.thermo.system import typing - - -class FluidBoundaryNodeReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode): +class FluidBoundaryNodeReactive( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNode +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.fluidboundaryreactivenode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi index aee2c3cf..0a9ddf4e 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing - - class FluidBoundarySolverInterface: def getMolarFlux(self, int: int) -> float: ... def solve(self) -> None: ... @@ -19,9 +17,16 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface): ... + def __init__( + self, + fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface, + ): ... @typing.overload - def __init__(self, fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface, boolean: bool): ... + def __init__( + self, + fluidBoundarySystemInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystemInterface, + boolean: bool, + ): ... def getMolarFlux(self, int: int) -> float: ... def initComposition(self, int: int) -> None: ... def initMatrix(self) -> None: ... @@ -29,10 +34,11 @@ class FluidBoundarySolver(FluidBoundarySolverInterface): def setComponentConservationMatrix(self, int: int) -> None: ... def solve(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver")``. FluidBoundarySolver: typing.Type[FluidBoundarySolver] FluidBoundarySolverInterface: typing.Type[FluidBoundarySolverInterface] - fluidboundaryreactivesolver: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver.__module_protocol__ + fluidboundaryreactivesolver: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi index eb963873..efccbf8b 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysolver/fluidboundaryreactivesolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,11 @@ else: import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver import typing - - -class FluidBoundaryReactiveSolver(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.FluidBoundarySolver): +class FluidBoundaryReactiveSolver( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.FluidBoundarySolver +): def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysolver.fluidboundaryreactivesolver")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi index 6ca7b29d..0bfc1bab 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,23 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finite import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive import typing - - class FluidBoundarySystemInterface: - def addBoundary(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface) -> None: ... + def addBoundary( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ) -> None: ... def createSystem(self) -> None: ... def getFilmThickness(self) -> float: ... - def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface: ... + def getFluidBoundary( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface + ): ... + def getNode( + self, int: int + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface + ): ... def getNodeLength(self) -> float: ... def getNumberOfNodes(self) -> int: ... def setFilmThickness(self, double: float) -> None: ... @@ -29,23 +38,40 @@ class FluidBoundarySystem(FluidBoundarySystemInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... - def addBoundary(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface) -> None: ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... + def addBoundary( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ) -> None: ... def createSystem(self) -> None: ... def getFilmThickness(self) -> float: ... - def getFluidBoundary(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface: ... + def getFluidBoundary( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface + ): ... + def getNode( + self, int: int + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarynode.FluidBoundaryNodeInterface + ): ... def getNodeLength(self) -> float: ... def getNumberOfNodes(self) -> int: ... def setFilmThickness(self, double: float) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... def solve(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem")``. FluidBoundarySystem: typing.Type[FluidBoundarySystem] FluidBoundarySystemInterface: typing.Type[FluidBoundarySystemInterface] - fluidboundarynonreactive: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive.__module_protocol__ - fluidboundarysystemreactive: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive.__module_protocol__ + fluidboundarynonreactive: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive.__module_protocol__ + ) + fluidboundarysystemreactive: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi index eea1a2f0..1eb55f19 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarynonreactive/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,17 +11,21 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing - - -class FluidBoundarySystemNonReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem): +class FluidBoundarySystemNonReactive( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... def createSystem(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarynonreactive")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi index 2daa6377..56604d41 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/finitevolumeboundary/fluidboundarysystem/fluidboundarysystemreactive/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,17 +11,21 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem import typing - - -class FluidBoundarySystemReactive(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem): +class FluidBoundarySystemReactive( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.FluidBoundarySystem +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... def createSystem(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.finitevolumeboundary.fluidboundarysystem.fluidboundarysystemreactive")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi index 6f80cd92..37e20a75 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,19 +11,21 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing - - -class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary): +class NonEquilibriumFluidBoundary( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundary +): molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxes(self) -> typing.MutableSequence[float]: ... def calcHeatTransferCoefficients(self, int: int) -> None: ... def calcHeatTransferCorrection(self, int: int) -> None: ... def calcMolFractionDifference(self) -> None: ... - def clone(self) -> 'NonEquilibriumFluidBoundary': ... + def clone(self) -> "NonEquilibriumFluidBoundary": ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -37,9 +39,10 @@ class NonEquilibriumFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary. def solve(self) -> None: ... def updateMassTrans(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary")``. NonEquilibriumFluidBoundary: typing.Type[NonEquilibriumFluidBoundary] - filmmodelboundary: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.__module_protocol__ + filmmodelboundary: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi index 3bf40546..90fbb94c 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,11 +14,14 @@ import jneqsim.thermo import jneqsim.thermo.system import typing - - -class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, jneqsim.thermo.ThermodynamicConstantsInterface): +class KrishnaStandartFilmModel( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.NonEquilibriumFluidBoundary, + jneqsim.thermo.ThermodynamicConstantsInterface, +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcBinaryMassTransferCoefficients(self, int: int) -> float: ... @@ -29,18 +32,21 @@ class KrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.hea def calcRedCorrectionMatrix(self, int: int) -> None: ... def calcRedPhiMatrix(self, int: int) -> None: ... def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... - def clone(self) -> 'KrishnaStandartFilmModel': ... + def clone(self) -> "KrishnaStandartFilmModel": ... def init(self) -> None: ... def initCorrections(self, int: int) -> None: ... def initHeatTransferCalc(self) -> None: ... def initMassTransferCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def solve(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary")``. KrishnaStandartFilmModel: typing.Type[KrishnaStandartFilmModel] - reactivefilmmodel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.__module_protocol__ + reactivefilmmodel: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi index 18c88ea7..0605442c 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,14 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequ import jneqsim.thermo.system import typing - - -class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): +class ReactiveFluidBoundary( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel +): molFractionDifference: typing.MutableSequence[typing.MutableSequence[float]] = ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcFluxes(self) -> typing.MutableSequence[float]: ... @@ -24,7 +26,7 @@ class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatma def calcHeatTransferCoefficients(self, int: int) -> None: ... def calcHeatTransferCorrection(self, int: int) -> None: ... def calcMolFractionDifference(self) -> None: ... - def clone(self) -> 'ReactiveFluidBoundary': ... + def clone(self) -> "ReactiveFluidBoundary": ... def heatTransSolve(self) -> None: ... def init(self) -> None: ... def initHeatTransferCalc(self) -> None: ... @@ -38,18 +40,23 @@ class ReactiveFluidBoundary(jneqsim.fluidmechanics.flownode.fluidboundary.heatma def solve(self) -> None: ... def updateMassTrans(self) -> None: ... -class ReactiveKrishnaStandartFilmModel(jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel): +class ReactiveKrishnaStandartFilmModel( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.KrishnaStandartFilmModel +): @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcTotalMassTransferCoefficientMatrix(self, int: int) -> None: ... def setEnhancementType(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel")``. ReactiveFluidBoundary: typing.Type[ReactiveFluidBoundary] ReactiveKrishnaStandartFilmModel: typing.Type[ReactiveKrishnaStandartFilmModel] - enhancementfactor: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.__module_protocol__ + enhancementfactor: ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi index 774d694d..62fe4493 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/heatmasstransfercalc/nonequilibriumfluidboundary/filmmodelboundary/reactivefilmmodel/enhancementfactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import jpype import jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc import typing - - class EnhancementFactorInterface: def calcEnhancementVec(self, int: int) -> None: ... def getEnhancementVec(self, int: int) -> float: ... @@ -20,7 +18,10 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... @typing.overload def calcEnhancementVec(self, int: int) -> None: ... @typing.overload @@ -34,24 +35,33 @@ class EnhancementFactor(EnhancementFactorInterface): @typing.overload def getHattaNumber(self) -> typing.MutableSequence[float]: ... @typing.overload - def setEnhancementVec(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setEnhancementVec( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setEnhancementVec(self, int: int, double: float) -> None: ... - def setHattaNumber(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHattaNumber( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setOnesVec(self, int: int) -> None: ... class EnhancementFactorAlg(EnhancementFactor): - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... @typing.overload def calcEnhancementVec(self, int: int, int2: int) -> None: ... @typing.overload def calcEnhancementVec(self, int: int) -> None: ... class EnhancementFactorNumeric(EnhancementFactor): - def __init__(self, fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface): ... + def __init__( + self, + fluidBoundaryInterface: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.FluidBoundaryInterface, + ): ... def calcEnhancementMatrix(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.nonequilibriumfluidboundary.filmmodelboundary.reactivefilmmodel.enhancementfactor")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi index bc6265e2..5f984b14 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,45 +10,120 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase import typing - - class InterphaseTransportCoefficientInterface: - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class InterphaseTransportCoefficientBaseClass(InterphaseTransportCoefficientInterface): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient")``. - InterphaseTransportCoefficientBaseClass: typing.Type[InterphaseTransportCoefficientBaseClass] - InterphaseTransportCoefficientInterface: typing.Type[InterphaseTransportCoefficientInterface] - interphaseonephase: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.__module_protocol__ - interphasetwophase: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.__module_protocol__ + InterphaseTransportCoefficientBaseClass: typing.Type[ + InterphaseTransportCoefficientBaseClass + ] + InterphaseTransportCoefficientInterface: typing.Type[ + InterphaseTransportCoefficientInterface + ] + interphaseonephase: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.__module_protocol__ + ) + interphasetwophase: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi index e7791a37..af6ae6f4 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,20 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow import typing - - -class InterphaseOnePhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): +class InterphaseOnePhase( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase")``. InterphaseOnePhase: typing.Type[InterphaseOnePhase] - interphasepipeflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow.__module_protocol__ + interphasepipeflow: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi index 12d08770..b2e4d19c 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphaseonephase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,23 +9,44 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase import typing - - -class InterphasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase): +class InterphasePipeFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.InterphaseOnePhase +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphaseonephase.interphasepipeflow")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi index 6871db55..bd4f5228 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,19 +12,26 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell import typing - - -class InterphaseTwoPhase(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass): +class InterphaseTwoPhase( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.InterphaseTransportCoefficientBaseClass +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase")``. InterphaseTwoPhase: typing.Type[InterphaseTwoPhase] - interphasepipeflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.__module_protocol__ - interphasereactorflow: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow.__module_protocol__ - stirredcell: jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell.__module_protocol__ + interphasepipeflow: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.__module_protocol__ + ) + interphasereactorflow: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow.__module_protocol__ + ) + stirredcell: ( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi index 8b2e1d5d..259878c2 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasepipeflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,93 +10,262 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing - - -class InterphaseTwoPhasePipeFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): +class InterphaseTwoPhasePipeFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcHeatTransferCoefficientFromNusselt(self, double: float, double2: float, double3: float) -> float: ... - def calcMassTransferCoefficientFromSherwood(self, double: float, double2: float, double3: float) -> float: ... - def calcNusseltNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcHeatTransferCoefficientFromNusselt( + self, double: float, double2: float, double3: float + ) -> float: ... + def calcMassTransferCoefficientFromSherwood( + self, double: float, double2: float, double3: float + ) -> float: ... + def calcNusseltNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... -class InterphaseDropletFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +class InterphaseDropletFlow( + InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... def calcAbramzonSirignanoF(self, double: float) -> float: ... - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcNusseltNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcNusseltNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... def getSpaldingMassTransferNumber(self) -> float: ... def isUseAbramzonSirignano(self) -> bool: ... def setSpaldingMassTransferNumber(self, double: float) -> None: ... def setUseAbramzonSirignano(self, boolean: bool) -> None: ... -class InterphaseSlugFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +class InterphaseSlugFlow( + InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... def getLiquidHoldupInSlug(self) -> float: ... def getSlugLengthToDiameterRatio(self) -> float: ... def setLiquidHoldupInSlug(self, double: float) -> None: ... def setSlugLengthToDiameterRatio(self, double: float) -> None: ... -class InterphaseStratifiedFlow(InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +class InterphaseStratifiedFlow( + InterphaseTwoPhasePipeFlow, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class InterphaseAnnularFlow(InterphaseStratifiedFlow): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcSherwoodNumber(self, int: int, double: float, double2: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcSherwoodNumber( + self, + int: int, + double: float, + double2: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi index b3baf11f..dff0cc40 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/interphasereactorflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,32 +10,71 @@ import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoeffici import jneqsim.thermo import typing - - -class InterphaseReactorFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase): +class InterphaseReactorFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.InterphaseTwoPhase +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... -class InterphasePackedBed(InterphaseReactorFlow, jneqsim.thermo.ThermodynamicConstantsInterface): +class InterphasePackedBed( + InterphaseReactorFlow, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcInterPhaseFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcInterPhaseFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> float: ... @typing.overload - def calcWallFrictionFactor(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallFrictionFactor( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasereactorflow")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi index de38a3cc..01193480 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/fluidboundary/interphasetransportcoefficient/interphasetwophase/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,21 +9,46 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow import typing - - -class InterphaseStirredCellFlow(jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.InterphaseStratifiedFlow): +class InterphaseStirredCellFlow( + jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.interphasepipeflow.InterphaseStratifiedFlow +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface): ... - def calcInterphaseHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcInterphaseMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def __init__( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ): ... + def calcInterphaseHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcInterphaseMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... + def calcWallHeatTransferCoefficient( + self, + int: int, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... @typing.overload - def calcWallHeatTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - def calcWallMassTransferCoefficient(self, int: int, double: float, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> float: ... - + def calcWallHeatTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... + def calcWallMassTransferCoefficient( + self, + int: int, + double: float, + flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.fluidboundary.interphasetransportcoefficient.interphasetwophase.stirredcell")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi index ddb10290..60cc5d1a 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,28 +13,33 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class MultiPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcFluxes(self) -> None: ... def calcGasLiquidContactArea(self) -> float: ... def calcHydraulicDiameter(self) -> float: ... def calcReynoldNumber(self) -> float: ... def calcWallFrictionFactor(self) -> float: ... - def clone(self) -> jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode: ... + def clone( + self, + ) -> jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode: ... def init(self) -> None: ... def initFlowCalc(self) -> None: ... def initVelocity(self) -> float: ... - def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFluxes( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def update(self) -> None: ... def updateMolarFlow(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.multiphasenode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi index 184b718e..6c3e876a 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/multiphasenode/waxnode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,22 +14,36 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class WaxDepositionFlowNode(jneqsim.fluidmechanics.flownode.multiphasenode.MultiPhaseFlowNode): +class WaxDepositionFlowNode( + jneqsim.fluidmechanics.flownode.multiphasenode.MultiPhaseFlowNode +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... - def clone(self) -> jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.StratifiedFlowNode: ... + def clone( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.StratifiedFlowNode + ): ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.multiphasenode.waxnode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi index bb517645..5fbf5ef4 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,25 +11,28 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class onePhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): @typing.overload def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> 'onePhaseFlowNode': ... + def clone(self) -> "onePhaseFlowNode": ... def increaseMolarRate(self, double: float) -> None: ... def init(self) -> None: ... def initFlowCalc(self) -> None: ... def updateMolarFlow(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.onephasenode")``. onePhaseFlowNode: typing.Type[onePhaseFlowNode] - onephasepipeflownode: jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode.__module_protocol__ + onephasepipeflownode: ( + jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi index 7b538aa9..62fa2226 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/onephasenode/onephasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,18 +12,23 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class onePhasePipeFlowNode(jneqsim.fluidmechanics.flownode.onephasenode.onePhaseFlowNode): +class onePhasePipeFlowNode( + jneqsim.fluidmechanics.flownode.onephasenode.onePhaseFlowNode +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcReynoldsNumber(self) -> float: ... - def clone(self) -> 'onePhasePipeFlowNode': ... + def clone(self) -> "onePhasePipeFlowNode": ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.onephasenode.onephasepipeflownode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi index ae07d727..8c091c2a 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,15 +15,17 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): MIN_PHASE_FRACTION: typing.ClassVar[float] = ... NUCLEATION_PHASE_FRACTION: typing.ClassVar[float] = ... @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcFluxes(self) -> None: ... def calcGasLiquidContactArea(self) -> float: ... @@ -34,9 +36,13 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): def canCalculateMassTransfer(self) -> bool: ... def checkAndInitiatePhaseTransition(self) -> bool: ... def checkPhaseFormation(self) -> None: ... - def clone(self) -> 'TwoPhaseFlowNode': ... + def clone(self) -> "TwoPhaseFlowNode": ... def enforceMinimumPhaseFractions(self) -> None: ... - def getInterfacialAreaModel(self) -> jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel: ... + def getInterfacialAreaModel( + self, + ) -> ( + jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel + ): ... def getInterfacialAreaPerVolume(self) -> float: ... def getNucleationDiameter(self, boolean: bool) -> float: ... def init(self) -> None: ... @@ -48,8 +54,13 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): def isCondensationLikely(self) -> bool: ... def isEffectivelySinglePhaseGas(self) -> bool: ... def isEffectivelySinglePhaseLiquid(self) -> bool: ... - def setFluxes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInterfacialAreaModel(self, interfacialAreaModel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel) -> None: ... + def setFluxes( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setInterfacialAreaModel( + self, + interfacialAreaModel: jneqsim.fluidmechanics.flownode.fluidboundary.heatmasstransfercalc.InterfacialAreaModel, + ) -> None: ... def setUserDefinedInterfacialAreaPerVolume(self, double: float) -> None: ... @typing.overload def update(self) -> None: ... @@ -57,11 +68,16 @@ class TwoPhaseFlowNode(jneqsim.fluidmechanics.flownode.FlowNode): def update(self, double: float) -> None: ... def updateMolarFlow(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode")``. TwoPhaseFlowNode: typing.Type[TwoPhaseFlowNode] - twophasepipeflownode: jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.__module_protocol__ - twophasereactorflownode: jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode.__module_protocol__ - twophasestirredcellnode: jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode.__module_protocol__ + twophasepipeflownode: ( + jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode.__module_protocol__ + ) + twophasereactorflownode: ( + jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode.__module_protocol__ + ) + twophasestirredcellnode: ( + jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi index e0a8cca9..1fb3901b 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasepipeflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,78 +13,122 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class AnnularFlow(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... - def clone(self) -> 'AnnularFlow': ... + def clone(self) -> "AnnularFlow": ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class BubbleFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcGasLiquidContactArea(self) -> float: ... - def clone(self) -> 'BubbleFlowNode': ... + def clone(self) -> "BubbleFlowNode": ... def getAverageBubbleDiameter(self) -> float: ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setAverageBubbleDiameter(self, double: float) -> None: ... class DropletFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcGasLiquidContactArea(self) -> float: ... - def clone(self) -> 'DropletFlowNode': ... + def clone(self) -> "DropletFlowNode": ... def getAverageDropletDiameter(self) -> float: ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod - def mainOld(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def mainOld( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setAverageDropletDiameter(self, double: float) -> None: ... class SlugFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcGasLiquidContactArea(self) -> float: ... def calcSlugCharacteristics(self) -> None: ... - def clone(self) -> 'SlugFlowNode': ... + def clone(self) -> "SlugFlowNode": ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getSlugFrequency(self) -> float: ... def getSlugLengthRatio(self) -> float: ... def getSlugTranslationalVelocity(self) -> float: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setSlugFrequency(self, double: float) -> None: ... def setSlugLengthRatio(self, double: float) -> None: ... @@ -92,16 +136,26 @@ class StratifiedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFl @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... - def clone(self) -> 'StratifiedFlowNode': ... + def clone(self) -> "StratifiedFlowNode": ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasepipeflownode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi index 5178367d..626c0c3b 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasereactorflownode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,44 +13,67 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - -class TwoPhasePackedBedFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): +class TwoPhasePackedBedFlowNode( + jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcGasLiquidContactArea(self) -> float: ... def calcHydraulicDiameter(self) -> float: ... def calcReynoldNumber(self) -> float: ... - def clone(self) -> 'TwoPhasePackedBedFlowNode': ... + def clone(self) -> "TwoPhasePackedBedFlowNode": ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def update(self, double: float) -> None: ... @typing.overload def update(self) -> None: ... -class TwoPhaseTrayTowerFlowNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): +class TwoPhaseTrayTowerFlowNode( + jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... - def clone(self) -> 'TwoPhaseTrayTowerFlowNode': ... + def clone(self) -> "TwoPhaseTrayTowerFlowNode": ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasereactorflownode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi index 742b80a5..11e8fedd 100644 --- a/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flownode/twophasenode/twophasestirredcellnode/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,20 +13,27 @@ import jneqsim.fluidmechanics.geometrydefinitions import jneqsim.thermo.system import typing - - class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowNode): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + geometryDefinitionInterface: jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface, + ): ... def calcContactLength(self) -> float: ... def calcGasLiquidContactArea(self) -> float: ... def calcHydraulicDiameter(self) -> float: ... def calcReynoldNumber(self) -> float: ... - def clone(self) -> 'StirredCellNode': ... + def clone(self) -> "StirredCellNode": ... def getDt(self) -> float: ... def getNextNode(self) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getStirrerDiameter(self) -> typing.MutableSequence[float]: ... @@ -34,12 +41,16 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN def init(self) -> None: ... def initFlowCalc(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setDt(self, double: float) -> None: ... @typing.overload def setStirrerDiameter(self, double: float) -> None: ... @typing.overload - def setStirrerDiameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStirrerDiameter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setStirrerSpeed(self, double: float) -> None: ... @typing.overload @@ -49,7 +60,6 @@ class StirredCellNode(jneqsim.fluidmechanics.flownode.twophasenode.TwoPhaseFlowN @typing.overload def update(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flownode.twophasenode.twophasestirredcellnode")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi index 97c4bae1..8af62722 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,32 +11,32 @@ import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver import typing - - -class AdvectionScheme(java.lang.Enum['AdvectionScheme']): - FIRST_ORDER_UPWIND: typing.ClassVar['AdvectionScheme'] = ... - SECOND_ORDER_UPWIND: typing.ClassVar['AdvectionScheme'] = ... - QUICK: typing.ClassVar['AdvectionScheme'] = ... - TVD_VAN_LEER: typing.ClassVar['AdvectionScheme'] = ... - TVD_MINMOD: typing.ClassVar['AdvectionScheme'] = ... - TVD_SUPERBEE: typing.ClassVar['AdvectionScheme'] = ... - TVD_VAN_ALBADA: typing.ClassVar['AdvectionScheme'] = ... - MUSCL_VAN_LEER: typing.ClassVar['AdvectionScheme'] = ... +class AdvectionScheme(java.lang.Enum["AdvectionScheme"]): + FIRST_ORDER_UPWIND: typing.ClassVar["AdvectionScheme"] = ... + SECOND_ORDER_UPWIND: typing.ClassVar["AdvectionScheme"] = ... + QUICK: typing.ClassVar["AdvectionScheme"] = ... + TVD_VAN_LEER: typing.ClassVar["AdvectionScheme"] = ... + TVD_MINMOD: typing.ClassVar["AdvectionScheme"] = ... + TVD_SUPERBEE: typing.ClassVar["AdvectionScheme"] = ... + TVD_VAN_ALBADA: typing.ClassVar["AdvectionScheme"] = ... + MUSCL_VAN_LEER: typing.ClassVar["AdvectionScheme"] = ... def getDispersionReductionFactor(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... def getMaxCFL(self) -> float: ... def getOrder(self) -> int: ... def toString(self) -> java.lang.String: ... def usesTVD(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AdvectionScheme': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AdvectionScheme": ... @staticmethod - def values() -> typing.MutableSequence['AdvectionScheme']: ... + def values() -> typing.MutableSequence["AdvectionScheme"]: ... class FlowSolverInterface: def setBoundarySpecificationType(self, int: int) -> None: ... @@ -77,7 +77,6 @@ class FlowSolver(FlowSolverInterface, java.io.Serializable): def solve(self) -> None: ... def solveTDMA(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver")``. @@ -85,5 +84,9 @@ class __module_protocol__(Protocol): FlowSolver: typing.Type[FlowSolver] FlowSolverInterface: typing.Type[FlowSolverInterface] FluxLimiter: typing.Type[FluxLimiter] - onephaseflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.__module_protocol__ - twophaseflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.__module_protocol__ + onephaseflowsolver: ( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.__module_protocol__ + ) + twophaseflowsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi index 4c753bbf..c9a60408 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,13 @@ import jneqsim.fluidmechanics.flowsolver import jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver import typing - - class OnePhaseFlowSolver(jneqsim.fluidmechanics.flowsolver.FlowSolver): def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.onephaseflowsolver")``. OnePhaseFlowSolver: typing.Type[OnePhaseFlowSolver] - onephasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver.__module_protocol__ + onephasepipeflowsolver: ( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi index 4eb13069..90dd00a2 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/onephaseflowsolver/onephasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,34 @@ import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem import jneqsim.thermo import typing - - -class OnePhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): +class OnePhasePipeFlowSolver( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, double: float, int: int): ... - def clone(self) -> 'OnePhasePipeFlowSolver': ... - -class OnePhaseFixedStaggeredGrid(OnePhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): + def __init__( + self, + pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, + double: float, + int: int, + ): ... + def clone(self) -> "OnePhasePipeFlowSolver": ... + +class OnePhaseFixedStaggeredGrid( + OnePhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, double: float, int: int, boolean: bool): ... - def clone(self) -> 'OnePhaseFixedStaggeredGrid': ... + def __init__( + self, + pipeFlowSystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.PipeFlowSystem, + double: float, + int: int, + boolean: bool, + ): ... + def clone(self) -> "OnePhaseFixedStaggeredGrid": ... def initComposition(self, int: int) -> None: ... def initFinalResults(self) -> None: ... def initMatrix(self) -> None: ... @@ -38,7 +51,6 @@ class OnePhaseFixedStaggeredGrid(OnePhasePipeFlowSolver, jneqsim.thermo.Thermody def setMassConservationMatrixTDMA(self) -> None: ... def solveTDMA(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.onephasepipeflowsolver")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi index c076e8ef..5ff04415 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver import jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver")``. - stirredcellsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver.__module_protocol__ - twophasepipeflowsolver: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.__module_protocol__ + stirredcellsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver.__module_protocol__ + ) + twophasepipeflowsolver: ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi index 65f532c1..11632de8 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/stirredcellsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,33 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing - - -class StirredCellSolver(jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): +class StirredCellSolver( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhasePipeFlowSolver, + jneqsim.thermo.ThermodynamicConstantsInterface, +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + ): ... @typing.overload - def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int, boolean: bool): ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + boolean: bool, + ): ... def calcFluxes(self) -> None: ... - def clone(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver: ... + def clone( + self, + ) -> ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver + ): ... def initComposition(self, int: int, int2: int) -> None: ... def initFinalResults(self, int: int) -> None: ... def initMatrix(self) -> None: ... @@ -32,7 +48,6 @@ class StirredCellSolver(jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.two def initVelocity(self, int: int) -> None: ... def solveTDMA(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.stirredcellsolver")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi index 96c6b711..de2f633f 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsolver/twophaseflowsolver/twophasepipeflowsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,16 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo import typing - - class MassTransferConfig: def __init__(self): ... @staticmethod - def forDissolution() -> 'MassTransferConfig': ... + def forDissolution() -> "MassTransferConfig": ... @staticmethod - def forEvaporation() -> 'MassTransferConfig': ... + def forEvaporation() -> "MassTransferConfig": ... @staticmethod - def forHighAccuracy() -> 'MassTransferConfig': ... + def forHighAccuracy() -> "MassTransferConfig": ... @staticmethod - def forThreePhase() -> 'MassTransferConfig': ... + def forThreePhase() -> "MassTransferConfig": ... def getAbsoluteMinMoles(self) -> float: ... def getAqueousPhaseIndex(self) -> int: ... def getConvergenceTolerance(self) -> float: ... @@ -71,32 +69,56 @@ class MassTransferConfig: def setUseAdaptiveLimiting(self, boolean: bool) -> None: ... def toString(self) -> java.lang.String: ... -class TwoPhasePipeFlowSolver(jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver): +class TwoPhasePipeFlowSolver( + jneqsim.fluidmechanics.flowsolver.onephaseflowsolver.OnePhaseFlowSolver +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... - def clone(self) -> 'TwoPhasePipeFlowSolver': ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + ): ... + def clone(self) -> "TwoPhasePipeFlowSolver": ... -class TwoPhaseFixedStaggeredGridSolver(TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface): +class TwoPhaseFixedStaggeredGridSolver( + TwoPhasePipeFlowSolver, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int): ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + ): ... @typing.overload - def __init__(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float, int: int, boolean: bool): ... + def __init__( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + int: int, + boolean: bool, + ): ... def calcFluxes(self) -> None: ... def checkPhaseTransitions(self) -> int: ... - def clone(self) -> 'TwoPhaseFixedStaggeredGridSolver': ... - def getComponentMassTransferProfile(self, int: int) -> typing.MutableSequence[float]: ... + def clone(self) -> "TwoPhaseFixedStaggeredGridSolver": ... + def getComponentMassTransferProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getCumulativeMassTransfer(self, int: int) -> float: ... def getMassBalanceError(self) -> float: ... def getMassTransferConfig(self) -> MassTransferConfig: ... - def getMassTransferMode(self) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... + def getMassTransferMode( + self, + ) -> "TwoPhaseFixedStaggeredGridSolver.MassTransferMode": ... def getMassTransferSummary(self) -> typing.MutableSequence[float]: ... def getNodeMassTransferRate(self, int: int, int2: int) -> float: ... def getSinglePhaseNodeIndices(self) -> typing.MutableSequence[int]: ... - def getSolverTypeEnum(self) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... + def getSolverTypeEnum(self) -> "TwoPhaseFixedStaggeredGridSolver.SolverType": ... def initComposition(self, int: int, int2: int) -> None: ... def initFinalResults(self, int: int) -> None: ... def initMatrix(self) -> None: ... @@ -115,46 +137,73 @@ class TwoPhaseFixedStaggeredGridSolver(TwoPhasePipeFlowSolver, jneqsim.thermo.Th def setImpulsMatrixTDMA(self, int: int) -> None: ... def setMassConservationMatrix(self, int: int) -> None: ... def setMassTransferConfig(self, massTransferConfig: MassTransferConfig) -> None: ... - def setMassTransferMode(self, massTransferMode: 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode') -> None: ... + def setMassTransferMode( + self, massTransferMode: "TwoPhaseFixedStaggeredGridSolver.MassTransferMode" + ) -> None: ... def setPhaseFractionMatrix(self, int: int) -> None: ... @typing.overload def setSolverType(self, int: int) -> None: ... @typing.overload - def setSolverType(self, solverType: 'TwoPhaseFixedStaggeredGridSolver.SolverType') -> None: ... + def setSolverType( + self, solverType: "TwoPhaseFixedStaggeredGridSolver.SolverType" + ) -> None: ... def solveTDMA(self) -> None: ... def validateMassTransferAgainstLiterature(self) -> java.lang.String: ... - class MassTransferMode(java.lang.Enum['TwoPhaseFixedStaggeredGridSolver.MassTransferMode']): - BIDIRECTIONAL: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... - DISSOLUTION_ONLY: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... - EVAPORATION_ONLY: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.MassTransferMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class MassTransferMode( + java.lang.Enum["TwoPhaseFixedStaggeredGridSolver.MassTransferMode"] + ): + BIDIRECTIONAL: typing.ClassVar[ + "TwoPhaseFixedStaggeredGridSolver.MassTransferMode" + ] = ... + DISSOLUTION_ONLY: typing.ClassVar[ + "TwoPhaseFixedStaggeredGridSolver.MassTransferMode" + ] = ... + EVAPORATION_ONLY: typing.ClassVar[ + "TwoPhaseFixedStaggeredGridSolver.MassTransferMode" + ] = ... + _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: ... + 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]) -> 'TwoPhaseFixedStaggeredGridSolver.MassTransferMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoPhaseFixedStaggeredGridSolver.MassTransferMode": ... @staticmethod - def values() -> typing.MutableSequence['TwoPhaseFixedStaggeredGridSolver.MassTransferMode']: ... - class SolverType(java.lang.Enum['TwoPhaseFixedStaggeredGridSolver.SolverType']): - SIMPLE: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... - FULL: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... - DEFAULT: typing.ClassVar['TwoPhaseFixedStaggeredGridSolver.SolverType'] = ... + def values() -> ( + typing.MutableSequence["TwoPhaseFixedStaggeredGridSolver.MassTransferMode"] + ): ... + + class SolverType(java.lang.Enum["TwoPhaseFixedStaggeredGridSolver.SolverType"]): + SIMPLE: typing.ClassVar["TwoPhaseFixedStaggeredGridSolver.SolverType"] = ... + FULL: typing.ClassVar["TwoPhaseFixedStaggeredGridSolver.SolverType"] = ... + DEFAULT: typing.ClassVar["TwoPhaseFixedStaggeredGridSolver.SolverType"] = ... def getLegacyType(self) -> int: ... def solveComposition(self) -> bool: ... def solveEnergy(self) -> bool: ... def solveMomentum(self) -> bool: ... def solvePhaseFraction(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TwoPhaseFixedStaggeredGridSolver.SolverType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoPhaseFixedStaggeredGridSolver.SolverType": ... @staticmethod - def values() -> typing.MutableSequence['TwoPhaseFixedStaggeredGridSolver.SolverType']: ... - + def values() -> ( + typing.MutableSequence["TwoPhaseFixedStaggeredGridSolver.SolverType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi index ec0cb934..e57cef5d 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,18 +19,26 @@ import jneqsim.fluidmechanics.util.timeseries import jneqsim.thermo.system import typing - - class FlowSystemInterface: def calcFluxes(self) -> None: ... def createSystem(self) -> None: ... - def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... - def getDisplay(self) -> jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface: ... - def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getAdvectionScheme( + self, + ) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getDisplay( + self, + ) -> ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface + ): ... + def getFlowNodes( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... def getInletPressure(self) -> float: ... def getInletTemperature(self) -> float: ... def getLegHeights(self) -> typing.MutableSequence[float]: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getNumberOfLegs(self) -> int: ... def getNumberOfNodesInLeg(self, int: int) -> int: ... def getSolver(self) -> jneqsim.fluidmechanics.flowsolver.FlowSolverInterface: ... @@ -47,19 +55,43 @@ class FlowSystemInterface: def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setEndPressure(self, double: float) -> None: ... def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... - def setEquipmentGeometry(self, geometryDefinitionInterfaceArray: typing.Union[typing.List[jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface], jpype.JArray]) -> None: ... + def setEquipmentGeometry( + self, + geometryDefinitionInterfaceArray: typing.Union[ + typing.List[ + jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface + ], + jpype.JArray, + ], + ) -> None: ... def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setLegHeights( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNodes(self) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... @@ -81,13 +113,23 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): def calcTotalNumberOfNodes(self) -> int: ... def createSystem(self) -> None: ... def flowLegInit(self) -> None: ... - def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... - def getDisplay(self) -> jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface: ... - def getFlowNodes(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... + def getAdvectionScheme( + self, + ) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getDisplay( + self, + ) -> ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualizationInterface + ): ... + def getFlowNodes( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowNodeInterface]: ... def getInletPressure(self) -> float: ... def getInletTemperature(self) -> float: ... def getLegHeights(self) -> typing.MutableSequence[float]: ... - def getNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... + def getNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowNodeInterface: ... def getNumberOfLegs(self) -> int: ... def getNumberOfNodesInLeg(self, int: int) -> int: ... def getSolver(self) -> jneqsim.fluidmechanics.flowsolver.FlowSolverInterface: ... @@ -104,32 +146,59 @@ class FlowSystem(FlowSystemInterface, java.io.Serializable): def getTotalPressureDrop(self, int: int) -> float: ... def init(self) -> None: ... def print_(self) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setEndPressure(self, double: float) -> None: ... def setEquilibriumHeatTransfer(self, boolean: bool) -> None: ... def setEquilibriumHeatTransferModel(self, int: int, int2: int) -> None: ... def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... def setEquilibriumMassTransferModel(self, int: int, int2: int) -> None: ... - def setEquipmentGeometry(self, geometryDefinitionInterfaceArray: typing.Union[typing.List[jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface], jpype.JArray]) -> None: ... + def setEquipmentGeometry( + self, + geometryDefinitionInterfaceArray: typing.Union[ + typing.List[ + jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinitionInterface + ], + jpype.JArray, + ], + ) -> None: ... def setFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLegWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setLegHeights( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLegWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNodes(self) -> None: ... def setNonEquilibriumHeatTransferModel(self, int: int, int2: int) -> None: ... def setNonEquilibriumMassTransferModel(self, int: int, int2: int) -> None: ... def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem")``. FlowSystem: typing.Type[FlowSystem] FlowSystemInterface: typing.Type[FlowSystemInterface] - onephaseflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.__module_protocol__ - twophaseflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.__module_protocol__ + onephaseflowsystem: ( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.__module_protocol__ + ) + twophaseflowsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi index c9fb0710..cf27e7f5 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.fluidmechanics.geometrydefinitions.pipe import jneqsim.thermo.system import typing - - class OnePhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.PipeData = ... @typing.overload @@ -20,9 +18,10 @@ class OnePhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.onephaseflowsystem")``. OnePhaseFlowSystem: typing.Type[OnePhaseFlowSystem] - pipeflowsystem: jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.__module_protocol__ + pipeflowsystem: ( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi index 87483bf3..d25231a9 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/onephaseflowsystem/pipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,9 @@ import java.util import jneqsim.fluidmechanics.flowsystem.onephaseflowsystem import typing - - -class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem): +class PipeFlowSystem( + jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePhaseFlowSystem +): def __init__(self): ... def createSystem(self) -> None: ... def init(self) -> None: ... @@ -22,15 +22,25 @@ class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePha @typing.overload def runTransientClosedOutlet(self, double: float, double2: float) -> None: ... @typing.overload - def runTransientClosedOutlet(self, double: float, double2: float, int: int) -> None: ... + def runTransientClosedOutlet( + self, double: float, double2: float, int: int + ) -> None: ... @typing.overload - def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float) -> None: ... + def runTransientControlledOutletPressure( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def runTransientControlledOutletPressure(self, double: float, double2: float, double3: float, int: int) -> None: ... + def runTransientControlledOutletPressure( + self, double: float, double2: float, double3: float, int: int + ) -> None: ... @typing.overload - def runTransientControlledOutletVelocity(self, double: float, double2: float, double3: float) -> None: ... + def runTransientControlledOutletVelocity( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def runTransientControlledOutletVelocity(self, double: float, double2: float, double3: float, int: int) -> None: ... + def runTransientControlledOutletVelocity( + self, double: float, double2: float, double3: float, int: int + ) -> None: ... def setOutletClosed(self) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setOutletVelocity(self, double: float) -> None: ... @@ -43,7 +53,6 @@ class PipeFlowSystem(jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.OnePha @typing.overload def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.onephaseflowsystem.pipeflowsystem")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi index ae05f3e1..04722872 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ import jneqsim.fluidmechanics.geometrydefinitions.pipe import jneqsim.thermo.system import typing - - class TwoPhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.PipeData = ... @typing.overload @@ -23,12 +21,19 @@ class TwoPhaseFlowSystem(jneqsim.fluidmechanics.flowsystem.FlowSystem): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem")``. TwoPhaseFlowSystem: typing.Type[TwoPhaseFlowSystem] - shipsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem.__module_protocol__ - stirredcellsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem.__module_protocol__ - twophasepipeflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.__module_protocol__ - twophasereactorflowsystem: jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem.__module_protocol__ + shipsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem.__module_protocol__ + ) + stirredcellsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem.__module_protocol__ + ) + twophasepipeflowsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.__module_protocol__ + ) + twophasereactorflowsystem: ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi index 6c0e45d6..cbc0a5ca 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/shipsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.standards.gasquality import jneqsim.thermo.system import typing - - class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): totalTankVolume: float = ... numberOffTimeSteps: int = ... @@ -23,20 +21,31 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS volume: typing.MutableSequence[float] = ... tankTemperature: typing.MutableSequence[float] = ... endVolume: float = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def createSystem(self) -> None: ... def getEndTime(self) -> float: ... def getInitialTemperature(self) -> float: ... def getLiquidDensity(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getResults(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResults( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getStandardISO6976(self) -> jneqsim.standards.gasquality.Standard_ISO6976: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def init(self) -> None: ... def isBackCalculate(self) -> bool: ... def isSetInitialTemperature(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setBackCalculate(self, boolean: bool) -> None: ... def setEndTime(self, double: float) -> None: ... @typing.overload @@ -44,9 +53,18 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS @typing.overload def setInitialTemperature(self, double: float) -> None: ... def setLiquidDensity(self, double: float) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... - def setStandardISO6976(self, standard_ISO6976: jneqsim.standards.gasquality.Standard_ISO6976) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... + def setStandardISO6976( + self, standard_ISO6976: jneqsim.standards.gasquality.Standard_ISO6976 + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -55,8 +73,11 @@ class LNGship(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowS def solveTransient(self, int: int) -> None: ... @typing.overload def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... - def useStandardVersion(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - + def useStandardVersion( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.shipsystem")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi index 007411f6..e5dd1285 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/stirredcellsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,16 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing - - -class StirredCellSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): +class StirredCellSystem( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem +): def __init__(self): ... def createSystem(self) -> None: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -28,7 +30,6 @@ class StirredCellSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.Two @typing.overload def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.stirredcellsystem")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi index 2cdb462e..9fe6ea49 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasepipeflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,15 +15,17 @@ import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import jneqsim.thermo.system import typing - - class PipeFlowResult(java.io.Serializable): @staticmethod - def builder() -> 'PipeFlowResult.Builder': ... + def builder() -> "PipeFlowResult.Builder": ... @staticmethod - def fromPipeSystem(twoPhasePipeFlowSystem: 'TwoPhasePipeFlowSystem') -> 'PipeFlowResult': ... + def fromPipeSystem( + twoPhasePipeFlowSystem: "TwoPhasePipeFlowSystem", + ) -> "PipeFlowResult": ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getFlowPatternProfile(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + def getFlowPatternProfile( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... def getGasDensityProfile(self) -> typing.MutableSequence[float]: ... def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... def getInletPressure(self) -> float: ... @@ -47,61 +49,120 @@ class PipeFlowResult(java.io.Serializable): @typing.overload def getTotalMassTransferRate(self, int: int) -> float: ... @typing.overload - def getTotalMassTransferRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalMassTransferRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalPressureDrop(self) -> float: ... def getVoidFractionProfile(self) -> typing.MutableSequence[float]: ... - def toMap(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def toMap( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'PipeFlowResult': ... - def componentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def flowPatterns(self, flowPatternArray: typing.Union[typing.List[jneqsim.fluidmechanics.flownode.FlowPattern], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def gasDensities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def gasVelocities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def inletPressure(self, double: float) -> 'PipeFlowResult.Builder': ... - def inletTemperature(self, double: float) -> 'PipeFlowResult.Builder': ... - def interfacialAreas(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def liquidDensities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def liquidHoldups(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def liquidVelocities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def massTransferRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def numberOfNodes(self, int: int) -> 'PipeFlowResult.Builder': ... - def outletPressure(self, double: float) -> 'PipeFlowResult.Builder': ... - def outletTemperature(self, double: float) -> 'PipeFlowResult.Builder': ... - def pipeDiameter(self, double: float) -> 'PipeFlowResult.Builder': ... - def pipeLength(self, double: float) -> 'PipeFlowResult.Builder': ... - def positions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def pressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def temperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... - def totalHeatLoss(self, double: float) -> 'PipeFlowResult.Builder': ... - def totalPressureDrop(self, double: float) -> 'PipeFlowResult.Builder': ... - def voidFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'PipeFlowResult.Builder': ... + def build(self) -> "PipeFlowResult": ... + def componentNames( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def flowPatterns( + self, + flowPatternArray: typing.Union[ + typing.List[jneqsim.fluidmechanics.flownode.FlowPattern], jpype.JArray + ], + ) -> "PipeFlowResult.Builder": ... + def gasDensities( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def gasVelocities( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def inletPressure(self, double: float) -> "PipeFlowResult.Builder": ... + def inletTemperature(self, double: float) -> "PipeFlowResult.Builder": ... + def interfacialAreas( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def liquidDensities( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def liquidHoldups( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def liquidVelocities( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def massTransferRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def numberOfNodes(self, int: int) -> "PipeFlowResult.Builder": ... + def outletPressure(self, double: float) -> "PipeFlowResult.Builder": ... + def outletTemperature(self, double: float) -> "PipeFlowResult.Builder": ... + def pipeDiameter(self, double: float) -> "PipeFlowResult.Builder": ... + def pipeLength(self, double: float) -> "PipeFlowResult.Builder": ... + def positions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def pressures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def temperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... + def totalHeatLoss(self, double: float) -> "PipeFlowResult.Builder": ... + def totalPressureDrop(self, double: float) -> "PipeFlowResult.Builder": ... + def voidFractions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "PipeFlowResult.Builder": ... -class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): +class TwoPhasePipeFlowSystem( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem +): def __init__(self): ... @staticmethod - def builder() -> 'TwoPhasePipeFlowSystemBuilder': ... + def builder() -> "TwoPhasePipeFlowSystemBuilder": ... @staticmethod - def buriedPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def buriedPipe( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + double3: float, + ) -> "TwoPhasePipeFlowSystem": ... def calculateWallHeatFlux(self, int: int) -> float: ... def createSystem(self) -> None: ... - def detectFlowPatternAtNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... + def detectFlowPatternAtNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... def detectFlowPatterns(self) -> None: ... def enableAutomaticFlowPatternDetection(self, boolean: bool) -> None: ... def enableNonEquilibriumHeatTransfer(self) -> None: ... def enableNonEquilibriumMassTransfer(self) -> None: ... @typing.overload - def exportProfilesToCSV(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def exportProfilesToCSV( + self, + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> None: ... @typing.overload - def exportProfilesToCSV(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], string3: typing.Union[java.lang.String, str]) -> None: ... + def exportProfilesToCSV( + self, + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + string3: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def exportToCSV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def exportToCSV( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def getAccelerationPressureDrop(self) -> float: ... def getAmbientTemperature(self) -> float: ... - def getComponentMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getComponentMassBalance( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getCondensationRateAtNode(self, int: int) -> float: ... def getCondensationRateProfile(self) -> typing.MutableSequence[float]: ... def getConstantHeatFlux(self) -> float: ... @@ -112,18 +173,28 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste def getElevationProfile(self) -> typing.MutableSequence[float]: ... def getEnergyBalanceError(self) -> float: ... def getEnthalpyProfile(self, int: int) -> typing.MutableSequence[float]: ... - def getFlowPatternAtNode(self, int: int) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... - def getFlowPatternModel(self) -> jneqsim.fluidmechanics.flownode.FlowPatternModel: ... + def getFlowPatternAtNode( + self, int: int + ) -> jneqsim.fluidmechanics.flownode.FlowPattern: ... + def getFlowPatternModel( + self, + ) -> jneqsim.fluidmechanics.flownode.FlowPatternModel: ... def getFlowPatternNameProfile(self) -> typing.MutableSequence[java.lang.String]: ... - def getFlowPatternProfile(self) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... + def getFlowPatternProfile( + self, + ) -> typing.MutableSequence[jneqsim.fluidmechanics.flownode.FlowPattern]: ... def getFlowPatternTransitionCount(self) -> int: ... def getFlowPatternTransitionPositions(self) -> typing.MutableSequence[int]: ... def getFrictionalPressureDrop(self) -> float: ... - def getGasCompositionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGasCompositionProfile( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getGasHeatTransferCoefficientAtNode(self, int: int) -> float: ... def getGasHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... def getGasMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... - def getGasMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... + def getGasMassTransferCoefficientProfile( + self, double: float + ) -> typing.MutableSequence[float]: ... def getGasQualityProfile(self) -> typing.MutableSequence[float]: ... def getGravitationalPressureDrop(self) -> float: ... def getGravitationalPressureGradient(self, int: int) -> float: ... @@ -134,48 +205,82 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste def getInterphaseFrictionFactorProfile(self) -> typing.MutableSequence[float]: ... def getInterphaseHeatFluxAtNode(self, int: int) -> float: ... def getInterphaseHeatFluxProfile(self) -> typing.MutableSequence[float]: ... - def getLewisNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... - def getLiquidCompositionProfile(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getLewisNumberProfile( + self, int: int, double: float + ) -> typing.MutableSequence[float]: ... + def getLiquidCompositionProfile( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getLiquidHeatTransferCoefficientAtNode(self, int: int) -> float: ... - def getLiquidHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getLiquidHeatTransferCoefficientProfile( + self, + ) -> typing.MutableSequence[float]: ... def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getLiquidMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... - def getLiquidMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... + def getLiquidMassTransferCoefficientAtNode( + self, int: int, double: float + ) -> float: ... + def getLiquidMassTransferCoefficientProfile( + self, double: float + ) -> typing.MutableSequence[float]: ... def getLockhartMartinelliPressureGradient(self, int: int) -> float: ... - def getLockhartMartinelliPressureGradientProfile(self) -> typing.MutableSequence[float]: ... + def getLockhartMartinelliPressureGradientProfile( + self, + ) -> typing.MutableSequence[float]: ... def getMassBalanceError(self) -> float: ... def getMassFlowRateProfile(self, int: int) -> typing.MutableSequence[float]: ... - def getMassTransferMode(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode: ... + def getMassTransferMode( + self, + ) -> ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode + ): ... @typing.overload def getMassTransferProfile(self, int: int) -> typing.MutableSequence[float]: ... @typing.overload - def getMassTransferProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMassTransferProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getMixtureDensityProfile(self) -> typing.MutableSequence[float]: ... def getMixtureVelocityProfile(self) -> typing.MutableSequence[float]: ... def getNumberOfTimeSteps(self) -> int: ... def getNusseltNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... def getOverallHeatTransferCoefficient(self) -> float: ... def getOverallInterphaseHeatTransferCoefficientAtNode(self, int: int) -> float: ... - def getOverallInterphaseHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... + def getOverallInterphaseHeatTransferCoefficientProfile( + self, + ) -> typing.MutableSequence[float]: ... def getPositionProfile(self) -> typing.MutableSequence[float]: ... def getPrandtlNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... def getPressureDropBreakdown(self) -> java.lang.String: ... def getPressureGradientProfile(self) -> typing.MutableSequence[float]: ... def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getReynoldsNumberProfile(self, int: int) -> typing.MutableSequence[float]: ... - def getSchmidtNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... - def getSherwoodNumberProfile(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getSchmidtNumberProfile( + self, int: int, double: float + ) -> typing.MutableSequence[float]: ... + def getSherwoodNumberProfile( + self, int: int, double: float + ) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... def getSlipRatioProfile(self) -> typing.MutableSequence[float]: ... - def getSolverType(self) -> jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType: ... + def getSolverType( + self, + ) -> ( + jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType + ): ... def getSpecificInterfacialAreaAtNode(self, int: int) -> float: ... def getSpecificInterfacialAreaProfile(self) -> typing.MutableSequence[float]: ... - def getStantonNumberHeatProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getStantonNumberHeatProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getSummaryReport(self) -> java.lang.String: ... - def getSuperficialVelocityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getSuperficialVelocityProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getSurfaceTensionProfile(self) -> typing.MutableSequence[float]: ... def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... - def getThermalConductivityProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getThermalConductivityProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getTimeStep(self) -> float: ... def getTotalCondensationRate(self) -> float: ... def getTotalEnthalpyProfile(self) -> typing.MutableSequence[float]: ... @@ -191,43 +296,83 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste def getViscosityProfile(self, int: int) -> typing.MutableSequence[float]: ... def getVoidFractionProfile(self) -> typing.MutableSequence[float]: ... def getVolumetricHeatTransferCoefficientAtNode(self, int: int) -> float: ... - def getVolumetricHeatTransferCoefficientProfile(self) -> typing.MutableSequence[float]: ... - def getVolumetricMassTransferCoefficientAtNode(self, int: int, double: float) -> float: ... - def getVolumetricMassTransferCoefficientProfile(self, double: float) -> typing.MutableSequence[float]: ... - def getWallFrictionFactorProfile(self, int: int) -> typing.MutableSequence[float]: ... + def getVolumetricHeatTransferCoefficientProfile( + self, + ) -> typing.MutableSequence[float]: ... + def getVolumetricMassTransferCoefficientAtNode( + self, int: int, double: float + ) -> float: ... + def getVolumetricMassTransferCoefficientProfile( + self, double: float + ) -> typing.MutableSequence[float]: ... + def getWallFrictionFactorProfile( + self, int: int + ) -> typing.MutableSequence[float]: ... def getWallHeatFluxProfile(self) -> typing.MutableSequence[float]: ... - def getWallHeatTransferModel(self) -> jneqsim.fluidmechanics.flownode.WallHeatTransferModel: ... + def getWallHeatTransferModel( + self, + ) -> jneqsim.fluidmechanics.flownode.WallHeatTransferModel: ... @staticmethod - def horizontalPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int) -> 'TwoPhasePipeFlowSystem': ... + def horizontalPipe( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + ) -> "TwoPhasePipeFlowSystem": ... @staticmethod - def inclinedPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def inclinedPipe( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + double3: float, + ) -> "TwoPhasePipeFlowSystem": ... def init(self) -> None: ... def isDownwardFlow(self) -> bool: ... def isHorizontal(self) -> bool: ... def isUpwardFlow(self) -> bool: ... def isVertical(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def setAmbientTemperature(self, double: float) -> None: ... @typing.overload - def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAmbientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setConstantHeatFlux(self, double: float) -> None: ... @typing.overload def setConstantWallTemperature(self, double: float) -> None: ... @typing.overload - def setConstantWallTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowPatternModel(self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel) -> None: ... + def setConstantWallTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFlowPatternModel( + self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel + ) -> None: ... @typing.overload def setInclination(self, double: float) -> None: ... @typing.overload - def setInclination(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setMassTransferMode(self, massTransferMode: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode) -> None: ... + def setInclination( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMassTransferMode( + self, + massTransferMode: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.MassTransferMode, + ) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... def setSimulationTime(self, double: float) -> None: ... - def setSolverType(self, solverType: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType) -> None: ... + def setSolverType( + self, + solverType: jneqsim.fluidmechanics.flowsolver.twophaseflowsolver.twophasepipeflowsolver.TwoPhaseFixedStaggeredGridSolver.SolverType, + ) -> None: ... def setTimeStep(self, double: float) -> None: ... - def setWallHeatTransferModel(self, wallHeatTransferModel: jneqsim.fluidmechanics.flownode.WallHeatTransferModel) -> None: ... + def setWallHeatTransferModel( + self, + wallHeatTransferModel: jneqsim.fluidmechanics.flownode.WallHeatTransferModel, + ) -> None: ... def solve(self) -> PipeFlowResult: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @@ -244,44 +389,83 @@ class TwoPhasePipeFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsyste def solveWithHeatAndMassTransfer(self) -> PipeFlowResult: ... def solveWithMassTransfer(self) -> PipeFlowResult: ... @staticmethod - def subseaPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float) -> 'TwoPhasePipeFlowSystem': ... + def subseaPipe( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + double3: float, + ) -> "TwoPhasePipeFlowSystem": ... def updateFlowPatterns(self) -> None: ... @staticmethod - def verticalPipe(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, boolean: bool) -> 'TwoPhasePipeFlowSystem': ... + def verticalPipe( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + boolean: bool, + ) -> "TwoPhasePipeFlowSystem": ... class TwoPhasePipeFlowSystemBuilder: def build(self) -> TwoPhasePipeFlowSystem: ... @staticmethod - def create() -> 'TwoPhasePipeFlowSystemBuilder': ... - def enableNonEquilibriumHeatTransfer(self) -> 'TwoPhasePipeFlowSystemBuilder': ... - def enableNonEquilibriumMassTransfer(self) -> 'TwoPhasePipeFlowSystemBuilder': ... - def horizontal(self) -> 'TwoPhasePipeFlowSystemBuilder': ... - def vertical(self, boolean: bool) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withAdiabaticWall(self) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withAutomaticFlowPatternDetection(self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withConvectiveBoundary(self, double: float, string: typing.Union[java.lang.String, str], double2: float) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def create() -> "TwoPhasePipeFlowSystemBuilder": ... + def enableNonEquilibriumHeatTransfer(self) -> "TwoPhasePipeFlowSystemBuilder": ... + def enableNonEquilibriumMassTransfer(self) -> "TwoPhasePipeFlowSystemBuilder": ... + def horizontal(self) -> "TwoPhasePipeFlowSystemBuilder": ... + def vertical(self, boolean: bool) -> "TwoPhasePipeFlowSystemBuilder": ... + def withAdiabaticWall(self) -> "TwoPhasePipeFlowSystemBuilder": ... + def withAutomaticFlowPatternDetection( + self, flowPatternModel: jneqsim.fluidmechanics.flownode.FlowPatternModel + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withConvectiveBoundary( + self, double: float, string: typing.Union[java.lang.String, str], double2: float + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... @typing.overload - def withFlowPattern(self, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... @typing.overload - def withFlowPattern(self, flowPattern: jneqsim.fluidmechanics.flownode.FlowPattern) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withHeatFlux(self, double: float) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withInclination(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withLegHeights(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withLegs(self, int: int, int2: int) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withNodes(self, int: int) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... - def withWallTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TwoPhasePipeFlowSystemBuilder': ... + def withFlowPattern( + self, flowPattern: jneqsim.fluidmechanics.flownode.FlowPattern + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withHeatFlux(self, double: float) -> "TwoPhasePipeFlowSystemBuilder": ... + def withInclination( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withLegHeights( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withLegs(self, int: int, int2: int) -> "TwoPhasePipeFlowSystemBuilder": ... + def withLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withNodes(self, int: int) -> "TwoPhasePipeFlowSystemBuilder": ... + def withOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withRoughness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... + def withWallTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TwoPhasePipeFlowSystemBuilder": ... class TwoPhasePipeFlowSystemReac(TwoPhasePipeFlowSystem): def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem")``. diff --git a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi index f523ccba..3bdd4f0c 100644 --- a/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/flowsystem/twophaseflowsystem/twophasereactorflowsystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,16 @@ import jpype import jneqsim.fluidmechanics.flowsystem.twophaseflowsystem import typing - - -class TwoPhaseReactorFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem): +class TwoPhaseReactorFlowSystem( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.TwoPhaseFlowSystem +): def __init__(self): ... def createSystem(self) -> None: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def solveSteadyState(self, int: int) -> None: ... @typing.overload @@ -28,7 +30,6 @@ class TwoPhaseReactorFlowSystem(jneqsim.fluidmechanics.flowsystem.twophaseflowsy @typing.overload def solveTransient(self, int: int, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasereactorflowsystem")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi index 8d08de57..c1869877 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,24 +16,30 @@ import jneqsim.fluidmechanics.geometrydefinitions.surrounding import jneqsim.thermo import typing - - class GeometryDefinitionInterface(java.lang.Cloneable): - def clone(self) -> 'GeometryDefinitionInterface': ... + def clone(self) -> "GeometryDefinitionInterface": ... def getArea(self) -> float: ... def getCircumference(self) -> float: ... def getDiameter(self) -> float: ... - def getGeometry(self) -> 'GeometryDefinitionInterface': ... + def getGeometry(self) -> "GeometryDefinitionInterface": ... def getInnerSurfaceRoughness(self) -> float: ... def getInnerWallTemperature(self) -> float: ... def getNodeLength(self) -> float: ... - def getPacking(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface: ... + def getPacking( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface + ): ... def getRadius(self) -> float: ... @typing.overload def getRelativeRoughnes(self) -> float: ... @typing.overload def getRelativeRoughnes(self, double: float) -> float: ... - def getSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment: ... + def getSurroundingEnvironment( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment + ): ... def getWallHeatTransferCoefficient(self) -> float: ... def init(self) -> None: ... def setDiameter(self, double: float) -> None: ... @@ -43,11 +49,21 @@ class GeometryDefinitionInterface(java.lang.Cloneable): @typing.overload def setPackingType(self, int: int) -> None: ... @typing.overload - def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def setSurroundingEnvironment(self, surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment) -> None: ... + def setPackingType( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def setSurroundingEnvironment( + self, + surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment, + ) -> None: ... def setWallHeatTransferCoefficient(self, double: float) -> None: ... -class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.ThermodynamicConstantsInterface): +class GeometryDefinition( + GeometryDefinitionInterface, jneqsim.thermo.ThermodynamicConstantsInterface +): diameter: float = ... radius: float = ... innerSurfaceRoughness: float = ... @@ -71,14 +87,24 @@ class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.Thermodynam def getInnerSurfaceRoughness(self) -> float: ... def getInnerWallTemperature(self) -> float: ... def getNodeLength(self) -> float: ... - def getPacking(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface: ... + def getPacking( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.PackingInterface + ): ... def getRadius(self) -> float: ... @typing.overload def getRelativeRoughnes(self) -> float: ... @typing.overload def getRelativeRoughnes(self, double: float) -> float: ... - def getSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment: ... - def getWall(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall: ... + def getSurroundingEnvironment( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment + ): ... + def getWall( + self, + ) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall: ... def getWallHeatTransferCoefficient(self) -> float: ... def init(self) -> None: ... def setDiameter(self, double: float) -> None: ... @@ -88,19 +114,35 @@ class GeometryDefinition(GeometryDefinitionInterface, jneqsim.thermo.Thermodynam @typing.overload def setPackingType(self, int: int) -> None: ... @typing.overload - def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def setSurroundingEnvironment(self, surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment) -> None: ... - def setWall(self, wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall) -> None: ... + def setPackingType( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def setSurroundingEnvironment( + self, + surroundingEnvironment: jneqsim.fluidmechanics.geometrydefinitions.surrounding.SurroundingEnvironment, + ) -> None: ... + def setWall( + self, + wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.Wall, + ) -> None: ... def setWallHeatTransferCoefficient(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions")``. GeometryDefinition: typing.Type[GeometryDefinition] GeometryDefinitionInterface: typing.Type[GeometryDefinitionInterface] - internalgeometry: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.__module_protocol__ + internalgeometry: ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.__module_protocol__ + ) pipe: jneqsim.fluidmechanics.geometrydefinitions.pipe.__module_protocol__ reactor: jneqsim.fluidmechanics.geometrydefinitions.reactor.__module_protocol__ - stirredcell: jneqsim.fluidmechanics.geometrydefinitions.stirredcell.__module_protocol__ - surrounding: jneqsim.fluidmechanics.geometrydefinitions.surrounding.__module_protocol__ + stirredcell: ( + jneqsim.fluidmechanics.geometrydefinitions.stirredcell.__module_protocol__ + ) + surrounding: ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi index 7463f8c9..1d34ea88 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry")``. - packings: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.__module_protocol__ - wall: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.__module_protocol__ + packings: ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings.__module_protocol__ + ) + wall: ( + jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi index ec83b712..167b916a 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/packings/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.util import typing - - class PackingInterface: def getSize(self) -> float: ... def getSurfaceAreaPrVolume(self) -> float: ... @@ -21,7 +19,12 @@ class Packing(jneqsim.util.NamedBaseClass, PackingInterface): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ): ... def getSize(self) -> float: ... def getSurfaceAreaPrVolume(self) -> float: ... def getVoidFractionPacking(self) -> float: ... @@ -43,7 +46,6 @@ class RachigRingPacking(Packing): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.packings")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi index 581cfc98..6f5ddf14 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/internalgeometry/wall/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import java.util import jneqsim.fluidmechanics.geometrydefinitions.surrounding import typing - - class MaterialLayer: @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ): ... @typing.overload - def __init__(self, pipeMaterial: 'PipeMaterial', double: float): ... + def __init__(self, pipeMaterial: "PipeMaterial", double: float): ... @staticmethod - def carbonSteel(double: float) -> 'MaterialLayer': ... + def carbonSteel(double: float) -> "MaterialLayer": ... @staticmethod - def concrete(double: float) -> 'MaterialLayer': ... + def concrete(double: float) -> "MaterialLayer": ... def getConductivity(self) -> float: ... def getCv(self) -> float: ... def getCylindricalThermalResistance(self, double: float) -> float: ... @@ -33,7 +38,7 @@ class MaterialLayer: def getInsideTemperature(self) -> float: ... def getMaterialName(self) -> java.lang.String: ... def getOutsideTemperature(self) -> float: ... - def getPipeMaterial(self) -> 'PipeMaterial': ... + def getPipeMaterial(self) -> "PipeMaterial": ... def getSpecificHeatCapacity(self) -> float: ... def getThermalDiffusivity(self) -> float: ... def getThermalMassPerArea(self) -> float: ... @@ -42,11 +47,11 @@ class MaterialLayer: def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... @staticmethod - def mineralWool(double: float) -> 'MaterialLayer': ... + def mineralWool(double: float) -> "MaterialLayer": ... @staticmethod - def polyethylene(double: float) -> 'MaterialLayer': ... + def polyethylene(double: float) -> "MaterialLayer": ... @staticmethod - def polyurethaneFoam(double: float) -> 'MaterialLayer': ... + def polyurethaneFoam(double: float) -> "MaterialLayer": ... def setConductivity(self, double: float) -> None: ... def setCv(self, double: float) -> None: ... def setDensity(self, double: float) -> None: ... @@ -56,40 +61,40 @@ class MaterialLayer: def setSpecificHeatCapacity(self, double: float) -> None: ... def setThickness(self, double: float) -> None: ... @staticmethod - def stainlessSteel316(double: float) -> 'MaterialLayer': ... + def stainlessSteel316(double: float) -> "MaterialLayer": ... def toString(self) -> java.lang.String: ... -class PipeMaterial(java.lang.Enum['PipeMaterial']): - CARBON_STEEL: typing.ClassVar['PipeMaterial'] = ... - STAINLESS_STEEL_304: typing.ClassVar['PipeMaterial'] = ... - STAINLESS_STEEL_316: typing.ClassVar['PipeMaterial'] = ... - DUPLEX_2205: typing.ClassVar['PipeMaterial'] = ... - SUPER_DUPLEX_2507: typing.ClassVar['PipeMaterial'] = ... - INCONEL_625: typing.ClassVar['PipeMaterial'] = ... - TITANIUM_GRADE_2: typing.ClassVar['PipeMaterial'] = ... - COPPER: typing.ClassVar['PipeMaterial'] = ... - ALUMINUM_6061: typing.ClassVar['PipeMaterial'] = ... - MINERAL_WOOL: typing.ClassVar['PipeMaterial'] = ... - GLASS_WOOL: typing.ClassVar['PipeMaterial'] = ... - POLYURETHANE_FOAM: typing.ClassVar['PipeMaterial'] = ... - POLYSTYRENE_EPS: typing.ClassVar['PipeMaterial'] = ... - POLYSTYRENE_XPS: typing.ClassVar['PipeMaterial'] = ... - CELLULAR_GLASS: typing.ClassVar['PipeMaterial'] = ... - CALCIUM_SILICATE: typing.ClassVar['PipeMaterial'] = ... - AEROGEL: typing.ClassVar['PipeMaterial'] = ... - PERLITE: typing.ClassVar['PipeMaterial'] = ... - CONCRETE: typing.ClassVar['PipeMaterial'] = ... - FUSION_BONDED_EPOXY: typing.ClassVar['PipeMaterial'] = ... - POLYETHYLENE: typing.ClassVar['PipeMaterial'] = ... - POLYPROPYLENE: typing.ClassVar['PipeMaterial'] = ... - NEOPRENE: typing.ClassVar['PipeMaterial'] = ... - ASPHALT_ENAMEL: typing.ClassVar['PipeMaterial'] = ... - SOIL_DRY_SAND: typing.ClassVar['PipeMaterial'] = ... - SOIL_WET_SAND: typing.ClassVar['PipeMaterial'] = ... - SOIL_DRY_CLAY: typing.ClassVar['PipeMaterial'] = ... - SOIL_WET_CLAY: typing.ClassVar['PipeMaterial'] = ... - SOIL_TYPICAL: typing.ClassVar['PipeMaterial'] = ... - SOIL_FROZEN: typing.ClassVar['PipeMaterial'] = ... +class PipeMaterial(java.lang.Enum["PipeMaterial"]): + CARBON_STEEL: typing.ClassVar["PipeMaterial"] = ... + STAINLESS_STEEL_304: typing.ClassVar["PipeMaterial"] = ... + STAINLESS_STEEL_316: typing.ClassVar["PipeMaterial"] = ... + DUPLEX_2205: typing.ClassVar["PipeMaterial"] = ... + SUPER_DUPLEX_2507: typing.ClassVar["PipeMaterial"] = ... + INCONEL_625: typing.ClassVar["PipeMaterial"] = ... + TITANIUM_GRADE_2: typing.ClassVar["PipeMaterial"] = ... + COPPER: typing.ClassVar["PipeMaterial"] = ... + ALUMINUM_6061: typing.ClassVar["PipeMaterial"] = ... + MINERAL_WOOL: typing.ClassVar["PipeMaterial"] = ... + GLASS_WOOL: typing.ClassVar["PipeMaterial"] = ... + POLYURETHANE_FOAM: typing.ClassVar["PipeMaterial"] = ... + POLYSTYRENE_EPS: typing.ClassVar["PipeMaterial"] = ... + POLYSTYRENE_XPS: typing.ClassVar["PipeMaterial"] = ... + CELLULAR_GLASS: typing.ClassVar["PipeMaterial"] = ... + CALCIUM_SILICATE: typing.ClassVar["PipeMaterial"] = ... + AEROGEL: typing.ClassVar["PipeMaterial"] = ... + PERLITE: typing.ClassVar["PipeMaterial"] = ... + CONCRETE: typing.ClassVar["PipeMaterial"] = ... + FUSION_BONDED_EPOXY: typing.ClassVar["PipeMaterial"] = ... + POLYETHYLENE: typing.ClassVar["PipeMaterial"] = ... + POLYPROPYLENE: typing.ClassVar["PipeMaterial"] = ... + NEOPRENE: typing.ClassVar["PipeMaterial"] = ... + ASPHALT_ENAMEL: typing.ClassVar["PipeMaterial"] = ... + SOIL_DRY_SAND: typing.ClassVar["PipeMaterial"] = ... + SOIL_WET_SAND: typing.ClassVar["PipeMaterial"] = ... + SOIL_DRY_CLAY: typing.ClassVar["PipeMaterial"] = ... + SOIL_WET_CLAY: typing.ClassVar["PipeMaterial"] = ... + SOIL_TYPICAL: typing.ClassVar["PipeMaterial"] = ... + SOIL_FROZEN: typing.ClassVar["PipeMaterial"] = ... def createLayer(self, double: float) -> MaterialLayer: ... def getDensity(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... @@ -99,51 +104,80 @@ class PipeMaterial(java.lang.Enum['PipeMaterial']): def isInsulation(self) -> bool: ... def isMetal(self) -> bool: ... def isSoil(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PipeMaterial': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "PipeMaterial": ... @staticmethod - def values() -> typing.MutableSequence['PipeMaterial']: ... + def values() -> typing.MutableSequence["PipeMaterial"]: ... class PipeWallBuilder: - def addAerogelInsulation(self, double: float) -> 'PipeWallBuilder': ... - def addCoating(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... - def addConcreteCoating(self, double: float) -> 'PipeWallBuilder': ... - def addCustomLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'PipeWallBuilder': ... - def addFBECoating(self, double: float) -> 'PipeWallBuilder': ... - def addInsulation(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... - def addMineralWoolInsulation(self, double: float) -> 'PipeWallBuilder': ... - def addPipeLayer(self, pipeMaterial: PipeMaterial, double: float) -> 'PipeWallBuilder': ... - def addPolyethyleneJacket(self, double: float) -> 'PipeWallBuilder': ... - def addPolyurethaneFoamInsulation(self, double: float) -> 'PipeWallBuilder': ... - @staticmethod - def barePipe(double: float, pipeMaterial: PipeMaterial, double2: float) -> 'PipeWallBuilder': ... - def build(self) -> 'PipeWall': ... - def buildEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment: ... - def buriedInSoil(self, double: float, double2: float, pipeMaterial: PipeMaterial) -> 'PipeWallBuilder': ... - def buriedInTypicalSoil(self, double: float, double2: float) -> 'PipeWallBuilder': ... - @staticmethod - def buriedPipe(double: float, double2: float) -> 'PipeWallBuilder': ... + def addAerogelInsulation(self, double: float) -> "PipeWallBuilder": ... + def addCoating( + self, pipeMaterial: PipeMaterial, double: float + ) -> "PipeWallBuilder": ... + def addConcreteCoating(self, double: float) -> "PipeWallBuilder": ... + def addCustomLayer( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "PipeWallBuilder": ... + def addFBECoating(self, double: float) -> "PipeWallBuilder": ... + def addInsulation( + self, pipeMaterial: PipeMaterial, double: float + ) -> "PipeWallBuilder": ... + def addMineralWoolInsulation(self, double: float) -> "PipeWallBuilder": ... + def addPipeLayer( + self, pipeMaterial: PipeMaterial, double: float + ) -> "PipeWallBuilder": ... + def addPolyethyleneJacket(self, double: float) -> "PipeWallBuilder": ... + def addPolyurethaneFoamInsulation(self, double: float) -> "PipeWallBuilder": ... + @staticmethod + def barePipe( + double: float, pipeMaterial: PipeMaterial, double2: float + ) -> "PipeWallBuilder": ... + def build(self) -> "PipeWall": ... + def buildEnvironment( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment + ): ... + def buriedInSoil( + self, double: float, double2: float, pipeMaterial: PipeMaterial + ) -> "PipeWallBuilder": ... + def buriedInTypicalSoil( + self, double: float, double2: float + ) -> "PipeWallBuilder": ... + @staticmethod + def buriedPipe(double: float, double2: float) -> "PipeWallBuilder": ... def calcOverallUValue(self, double: float) -> float: ... @staticmethod - def carbonSteelPipe(double: float, double2: float) -> 'PipeWallBuilder': ... - def exposedToAir(self, double: float, double2: float) -> 'PipeWallBuilder': ... + def carbonSteelPipe(double: float, double2: float) -> "PipeWallBuilder": ... + def exposedToAir(self, double: float, double2: float) -> "PipeWallBuilder": ... def getSummary(self) -> java.lang.String: ... @staticmethod - def insulatedPipe(double: float, double2: float, pipeMaterial: PipeMaterial, double3: float) -> 'PipeWallBuilder': ... + def insulatedPipe( + double: float, double2: float, pipeMaterial: PipeMaterial, double3: float + ) -> "PipeWallBuilder": ... @staticmethod - def stainlessSteel316Pipe(double: float, double2: float) -> 'PipeWallBuilder': ... - def subseaEnvironment(self, double: float, double2: float) -> 'PipeWallBuilder': ... + def stainlessSteel316Pipe(double: float, double2: float) -> "PipeWallBuilder": ... + def subseaEnvironment(self, double: float, double2: float) -> "PipeWallBuilder": ... @staticmethod - def subseaPipe(double: float, double2: float, double3: float, double4: float) -> 'PipeWallBuilder': ... + def subseaPipe( + double: float, double2: float, double3: float, double4: float + ) -> "PipeWallBuilder": ... @staticmethod - def withInnerDiameter(double: float) -> 'PipeWallBuilder': ... + def withInnerDiameter(double: float) -> "PipeWallBuilder": ... @staticmethod - def withInnerRadius(double: float) -> 'PipeWallBuilder': ... + def withInnerRadius(double: float) -> "PipeWallBuilder": ... class WallInterface: def addMaterialLayer(self, materialLayer: MaterialLayer) -> None: ... @@ -173,7 +207,9 @@ class PipeWall(Wall): def calcCylindricalHeatTransferCoefficient(self) -> float: ... def calcCylindricalThermalResistancePerLength(self) -> float: ... def calcHeatLossPerLength(self, double: float, double2: float) -> float: ... - def calcTemperatureAtRadius(self, double: float, double2: float, double3: float) -> float: ... + def calcTemperatureAtRadius( + self, double: float, double2: float, double3: float + ) -> float: ... def getInnerRadius(self) -> float: ... def getLayerInnerRadius(self, int: int) -> float: ... def getLayerOuterRadius(self, int: int) -> float: ... @@ -183,7 +219,6 @@ class PipeWall(Wall): def setInnerRadius(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi index a4eb9437..2c4e8736 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/pipe/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import jneqsim.fluidmechanics.geometrydefinitions.surrounding import typing - - class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -20,29 +18,53 @@ class PipeData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): def __init__(self, double: float): ... @typing.overload def __init__(self, double: float, double2: float): ... - def addCoating(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def addCoating( + self, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + double: float, + ) -> None: ... def addConcreteCoating(self, double: float) -> None: ... - def addInsulation(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def addInsulation( + self, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + double: float, + ) -> None: ... def addMineralWoolInsulation(self, double: float) -> None: ... def addPolyurethaneFoamInsulation(self, double: float) -> None: ... def calcOverallHeatTransferCoefficient(self) -> float: ... - def clone(self) -> 'PipeData': ... + def clone(self) -> "PipeData": ... @staticmethod - def createFromBuilder(pipeWallBuilder: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWallBuilder) -> 'PipeData': ... + def createFromBuilder( + pipeWallBuilder: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWallBuilder, + ) -> "PipeData": ... def getOuterRadius(self) -> float: ... - def getPipeSurroundingEnvironment(self) -> jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment: ... - def getPipeWall(self) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWall: ... + def getPipeSurroundingEnvironment( + self, + ) -> ( + jneqsim.fluidmechanics.geometrydefinitions.surrounding.PipeSurroundingEnvironment + ): ... + def getPipeWall( + self, + ) -> jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeWall: ... def getTotalWallThickness(self) -> float: ... def setAirEnvironment(self, double: float, double2: float) -> None: ... - def setBuriedEnvironment(self, double: float, double2: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> None: ... + def setBuriedEnvironment( + self, + double: float, + double2: float, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + ) -> None: ... def setCarbonSteelWall(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... - def setPipeWallMaterial(self, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, double: float) -> None: ... + def setPipeWallMaterial( + self, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + double: float, + ) -> None: ... def setSeawaterEnvironment(self, double: float, double2: float) -> None: ... def setStainlessSteel316Wall(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.pipe")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi index 765c65d4..415d1201 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions import typing - - class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -20,14 +18,18 @@ class ReactorData(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, int: int): ... - def clone(self) -> 'ReactorData': ... + def clone(self) -> "ReactorData": ... @typing.overload def setPackingType(self, int: int) -> None: ... @typing.overload def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setPackingType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> None: ... - + def setPackingType( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.reactor")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi index 4d6bd40b..d92aa426 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/stirredcell/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,6 @@ else: import jneqsim.fluidmechanics.geometrydefinitions import typing - - class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition): @typing.overload def __init__(self): ... @@ -17,8 +15,7 @@ class StirredCell(jneqsim.fluidmechanics.geometrydefinitions.GeometryDefinition) def __init__(self, double: float): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'StirredCell': ... - + def clone(self) -> "StirredCell": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.stirredcell")``. diff --git a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi index 9b28a946..6f082f19 100644 --- a/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/geometrydefinitions/surrounding/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall import typing - - class SurroundingEnvironment: def getHeatTransferCoefficient(self) -> float: ... def getTemperature(self) -> float: ... @@ -30,41 +28,62 @@ class PipeSurroundingEnvironment(SurroundingEnvironmentBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod - def buriedPipe(double: float, double2: float, double3: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> 'PipeSurroundingEnvironment': ... + def buriedPipe( + double: float, + double2: float, + double3: float, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + ) -> "PipeSurroundingEnvironment": ... @staticmethod - def calcBuriedPipeHeatTransferCoefficient(double: float, double2: float, double3: float) -> float: ... + def calcBuriedPipeHeatTransferCoefficient( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calcBuriedPipeThermalResistance(double: float, double2: float, double3: float) -> float: ... + def calcBuriedPipeThermalResistance( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def exposedToAir(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... + def exposedToAir(double: float, double2: float) -> "PipeSurroundingEnvironment": ... def getBurialDepth(self) -> float: ... - def getEnvironmentType(self) -> 'PipeSurroundingEnvironment.EnvironmentType': ... + def getEnvironmentType(self) -> "PipeSurroundingEnvironment.EnvironmentType": ... def getSeawaterVelocity(self) -> float: ... def getSoilConductivity(self) -> float: ... def getWindVelocity(self) -> float: ... def isBuried(self) -> bool: ... def isSubsea(self) -> bool: ... def setForAir(self, double: float) -> None: ... - def setForBuried(self, double: float, double2: float, pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial) -> None: ... + def setForBuried( + self, + double: float, + double2: float, + pipeMaterial: jneqsim.fluidmechanics.geometrydefinitions.internalgeometry.wall.PipeMaterial, + ) -> None: ... def setForSeawater(self, double: float) -> None: ... @staticmethod - def subseaPipe(double: float, double2: float) -> 'PipeSurroundingEnvironment': ... + def subseaPipe(double: float, double2: float) -> "PipeSurroundingEnvironment": ... def toString(self) -> java.lang.String: ... - class EnvironmentType(java.lang.Enum['PipeSurroundingEnvironment.EnvironmentType']): - AIR: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... - SEAWATER: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... - BURIED: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... - CUSTOM: typing.ClassVar['PipeSurroundingEnvironment.EnvironmentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EnvironmentType(java.lang.Enum["PipeSurroundingEnvironment.EnvironmentType"]): + AIR: typing.ClassVar["PipeSurroundingEnvironment.EnvironmentType"] = ... + SEAWATER: typing.ClassVar["PipeSurroundingEnvironment.EnvironmentType"] = ... + BURIED: typing.ClassVar["PipeSurroundingEnvironment.EnvironmentType"] = ... + CUSTOM: typing.ClassVar["PipeSurroundingEnvironment.EnvironmentType"] = ... + _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: ... + 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]) -> 'PipeSurroundingEnvironment.EnvironmentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeSurroundingEnvironment.EnvironmentType": ... @staticmethod - def values() -> typing.MutableSequence['PipeSurroundingEnvironment.EnvironmentType']: ... - + def values() -> ( + typing.MutableSequence["PipeSurroundingEnvironment.EnvironmentType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.geometrydefinitions.surrounding")``. diff --git a/src/jneqsim-stubs/fluidmechanics/util/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/__init__.pyi index 2cc6ee48..304e42bc 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,34 +11,60 @@ import jneqsim.fluidmechanics.util.timeseries import jneqsim.thermo.system import typing - - class FlowRegimeDetector: @staticmethod - def detectFlowPatternName(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... + def detectFlowPatternName( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + ) -> java.lang.String: ... @typing.overload @staticmethod - def detectFlowRegime(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'FlowRegimeDetector.FlowRegime': ... + def detectFlowRegime( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> "FlowRegimeDetector.FlowRegime": ... @typing.overload @staticmethod - def detectFlowRegime(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float) -> 'FlowRegimeDetector.FlowRegime': ... - class FlowRegime(java.lang.Enum['FlowRegimeDetector.FlowRegime']): - STRATIFIED_SMOOTH: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... - STRATIFIED_WAVY: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... - SLUG: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... - ANNULAR: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... - BUBBLE: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... - DROPLET: typing.ClassVar['FlowRegimeDetector.FlowRegime'] = ... + def detectFlowRegime( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + ) -> "FlowRegimeDetector.FlowRegime": ... + + class FlowRegime(java.lang.Enum["FlowRegimeDetector.FlowRegime"]): + STRATIFIED_SMOOTH: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... + STRATIFIED_WAVY: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... + SLUG: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... + ANNULAR: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... + BUBBLE: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... + DROPLET: typing.ClassVar["FlowRegimeDetector.FlowRegime"] = ... def getNodeName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlowRegimeDetector.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRegimeDetector.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['FlowRegimeDetector.FlowRegime']: ... + def values() -> typing.MutableSequence["FlowRegimeDetector.FlowRegime"]: ... class FrictionFactorCalculator: RE_LAMINAR_LIMIT: typing.ClassVar[float] = ... @@ -50,15 +76,18 @@ class FrictionFactorCalculator: @staticmethod def calcHaalandFrictionFactor(double: float, double2: float) -> float: ... @staticmethod - def calcPressureDropPerLength(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcPressureDropPerLength( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def getFlowRegime(double: float) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util")``. FlowRegimeDetector: typing.Type[FlowRegimeDetector] FrictionFactorCalculator: typing.Type[FrictionFactorCalculator] - fluidmechanicsvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.__module_protocol__ + fluidmechanicsvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.__module_protocol__ + ) timeseries: jneqsim.fluidmechanics.util.timeseries.__module_protocol__ diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi index 4ab16300..2bda0082 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization")``. - flownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.__module_protocol__ - flowsystemvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.__module_protocol__ + flownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.__module_protocol__ + ) + flowsystemvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi index 4eb052b8..595c5378 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization import typing - - class FlowNodeVisualizationInterface: def getBulkComposition(self, int: int, int2: int) -> float: ... def getDistanceToCenterOfNode(self) -> float: ... @@ -28,7 +26,9 @@ class FlowNodeVisualizationInterface: def getTemperature(self, int: int) -> float: ... def getVelocity(self, int: int) -> float: ... def getWallContactLength(self, int: int) -> float: ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... + def setData( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class FlowNodeVisualization(FlowNodeVisualizationInterface): temperature: typing.MutableSequence[float] = ... @@ -40,7 +40,9 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): wallContactLength: typing.MutableSequence[float] = ... bulkComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... interfaceComposition: typing.MutableSequence[typing.MutableSequence[float]] = ... - effectiveMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[float]] = ... + effectiveMassTransferCoefficient: typing.MutableSequence[ + typing.MutableSequence[float] + ] = ... effectiveSchmidtNumber: typing.MutableSequence[typing.MutableSequence[float]] = ... molarFlux: typing.MutableSequence[typing.MutableSequence[float]] = ... interphaseContactLength: float = ... @@ -62,13 +64,18 @@ class FlowNodeVisualization(FlowNodeVisualizationInterface): def getTemperature(self, int: int) -> float: ... def getVelocity(self, int: int) -> float: ... def getWallContactLength(self, int: int) -> float: ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + def setData( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization")``. FlowNodeVisualization: typing.Type[FlowNodeVisualization] FlowNodeVisualizationInterface: typing.Type[FlowNodeVisualizationInterface] - onephaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.__module_protocol__ - twophaseflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization.__module_protocol__ + onephaseflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.__module_protocol__ + ) + twophaseflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi index 529b2ea9..30a87a4a 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualiza import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization import typing - - -class OnePhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): +class OnePhaseFlowNodeVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization +): def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization")``. OnePhaseFlowNodeVisualization: typing.Type[OnePhaseFlowNodeVisualization] - onephasepipeflownodevisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization.__module_protocol__ + onephasepipeflownodevisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi index 22e3a21e..943e8ab4 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/onephaseflownodevisualization/onephasepipeflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,13 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization import typing - - -class OnePhasePipeFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization): +class OnePhasePipeFlowNodeVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.OnePhaseFlowNodeVisualization +): def __init__(self): ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + def setData( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.onephaseflownodevisualization.onephasepipeflownodevisualization")``. diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi index 89734b0d..8ffb9cf2 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flownodevisualization/twophaseflownodevisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,13 @@ import jneqsim.fluidmechanics.flownode import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization import typing - - -class TwoPhaseFlowNodeVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization): +class TwoPhaseFlowNodeVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.FlowNodeVisualization +): def __init__(self): ... - def setData(self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface) -> None: ... - + def setData( + self, flowNodeInterface: jneqsim.fluidmechanics.flownode.FlowNodeInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flownodevisualization.twophaseflownodevisualization")``. diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi index 5fcd20b8..44d0d17b 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization import typing - - class FlowSystemVisualizationInterface: def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + def setNextData( + self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface + ) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + def setNextData( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + ) -> None: ... def setPoints(self) -> None: ... class FlowSystemVisualization(FlowSystemVisualizationInterface): @@ -28,16 +32,25 @@ class FlowSystemVisualization(FlowSystemVisualizationInterface): def __init__(self, int: int, int2: int): ... def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + def setNextData( + self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface + ) -> None: ... @typing.overload - def setNextData(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, double: float) -> None: ... + def setNextData( + self, + flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface, + double: float, + ) -> None: ... def setPoints(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization")``. FlowSystemVisualization: typing.Type[FlowSystemVisualization] FlowSystemVisualizationInterface: typing.Type[FlowSystemVisualizationInterface] - onephaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.__module_protocol__ - twophaseflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.__module_protocol__ + onephaseflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.__module_protocol__ + ) + twophaseflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi index e8afd882..0c62933b 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization import typing - - -class OnePhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): +class OnePhaseFlowVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, int: int, int2: int): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization")``. OnePhaseFlowVisualization: typing.Type[OnePhaseFlowVisualization] - pipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization.__module_protocol__ + pipeflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi index 620aa4af..4d82997b 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/onephaseflowvisualization/pipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,12 @@ import java.lang import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization import typing - - -class PipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.OnePhaseFlowVisualization): - bulkComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] = ... +class PipeFlowVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.OnePhaseFlowVisualization +): + bulkComposition: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] = ... @typing.overload def __init__(self): ... @typing.overload @@ -21,7 +23,6 @@ class PipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualizat def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPoints(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.onephaseflowvisualization.pipeflowvisualization")``. diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi index 5af529e1..9a2e025a 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,18 @@ import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisuali import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization import typing - - -class TwoPhaseFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization): +class TwoPhaseFlowVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.FlowSystemVisualization +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, int: int, int2: int): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization")``. TwoPhaseFlowVisualization: typing.Type[TwoPhaseFlowVisualization] - twophasepipeflowvisualization: jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization.__module_protocol__ + twophasepipeflowvisualization: ( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi index 73b872c6..bdafa337 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/fluidmechanicsvisualization/flowsystemvisualization/twophaseflowvisualization/twophasepipeflowvisualization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,30 @@ import java.lang import jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization import typing - - -class TwoPhasePipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.TwoPhaseFlowVisualization): - bulkComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - interfaceComposition: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - effectiveMassTransferCoefficient: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - molarFlux: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - schmidtNumber: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - totalMolarMassTransferRate: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... - totalVolumetricMassTransferRate: typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]] = ... +class TwoPhasePipeFlowVisualization( + jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.TwoPhaseFlowVisualization +): + bulkComposition: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + interfaceComposition: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + effectiveMassTransferCoefficient: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + molarFlux: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + schmidtNumber: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + totalMolarMassTransferRate: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... + totalVolumetricMassTransferRate: typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]] + ] = ... @typing.overload def __init__(self): ... @typing.overload @@ -26,7 +40,6 @@ class TwoPhasePipeFlowVisualization(jneqsim.fluidmechanics.util.fluidmechanicsvi def displayResult(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPoints(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.fluidmechanicsvisualization.flowsystemvisualization.twophaseflowvisualization.twophasepipeflowvisualization")``. diff --git a/src/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi b/src/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi index 60872ad4..a82f241a 100644 --- a/src/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi +++ b/src/jneqsim-stubs/fluidmechanics/util/timeseries/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,48 +12,70 @@ import jneqsim.fluidmechanics.flowsystem import jneqsim.thermo.system import typing - - class TimeSeries(java.io.Serializable): def __init__(self): ... - def getOutletBoundaryType(self) -> 'TimeSeries.OutletBoundaryType': ... + def getOutletBoundaryType(self) -> "TimeSeries.OutletBoundaryType": ... def getOutletMolarFlowRates(self) -> typing.MutableSequence[float]: ... def getOutletPressure(self, int: int) -> float: ... def getOutletPressures(self) -> typing.MutableSequence[float]: ... def getOutletVelocities(self) -> typing.MutableSequence[float]: ... def getOutletVelocity(self, int: int) -> float: ... - def getThermoSystem(self) -> typing.MutableSequence[jneqsim.thermo.system.SystemInterface]: ... + def getThermoSystem( + self, + ) -> typing.MutableSequence[jneqsim.thermo.system.SystemInterface]: ... @typing.overload def getTime(self, int: int) -> float: ... @typing.overload def getTime(self) -> typing.MutableSequence[float]: ... def getTimeStep(self) -> typing.MutableSequence[float]: ... - def init(self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface) -> None: ... + def init( + self, flowSystemInterface: jneqsim.fluidmechanics.flowsystem.FlowSystemInterface + ) -> None: ... def isOutletClosed(self) -> bool: ... def isOutletFlowControlled(self) -> bool: ... def isOutletPressureControlled(self) -> bool: ... - def setInletThermoSystems(self, systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray]) -> None: ... + def setInletThermoSystems( + self, + systemInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray + ], + ) -> None: ... def setNumberOfTimeStepsInInterval(self, int: int) -> None: ... - def setOutletBoundaryType(self, outletBoundaryType: 'TimeSeries.OutletBoundaryType') -> None: ... + def setOutletBoundaryType( + self, outletBoundaryType: "TimeSeries.OutletBoundaryType" + ) -> None: ... def setOutletClosed(self) -> None: ... - def setOutletMolarFlowRate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletPressure(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletVelocity(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTimes(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - class OutletBoundaryType(java.lang.Enum['TimeSeries.OutletBoundaryType']): - PRESSURE: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... - FLOW: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... - CLOSED: typing.ClassVar['TimeSeries.OutletBoundaryType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setOutletMolarFlowRate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOutletPressure( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOutletVelocity( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTimes( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + + class OutletBoundaryType(java.lang.Enum["TimeSeries.OutletBoundaryType"]): + PRESSURE: typing.ClassVar["TimeSeries.OutletBoundaryType"] = ... + FLOW: typing.ClassVar["TimeSeries.OutletBoundaryType"] = ... + CLOSED: typing.ClassVar["TimeSeries.OutletBoundaryType"] = ... + _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: ... + 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]) -> 'TimeSeries.OutletBoundaryType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TimeSeries.OutletBoundaryType": ... @staticmethod - def values() -> typing.MutableSequence['TimeSeries.OutletBoundaryType']: ... - + def values() -> typing.MutableSequence["TimeSeries.OutletBoundaryType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.fluidmechanics.util.timeseries")``. diff --git a/src/jneqsim-stubs/integration/__init__.pyi b/src/jneqsim-stubs/integration/__init__.pyi index fceda60c..eb640ca0 100644 --- a/src/jneqsim-stubs/integration/__init__.pyi +++ b/src/jneqsim-stubs/integration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,22 +13,28 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class EOSComparison(java.io.Serializable): def __init__(self): ... - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'EOSComparison': ... - def compare(self) -> 'EOSComparison.ComparisonResult': ... - def setConditions(self, double: float, double2: float) -> 'EOSComparison': ... - def setEOSTypes(self, *eOSType: 'EOSComparison.EOSType') -> 'EOSComparison': ... - def setMultiPhaseCheck(self, boolean: bool) -> 'EOSComparison': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EOSComparison": ... + def compare(self) -> "EOSComparison.ComparisonResult": ... + def setConditions(self, double: float, double2: float) -> "EOSComparison": ... + def setEOSTypes(self, *eOSType: "EOSComparison.EOSType") -> "EOSComparison": ... + def setMultiPhaseCheck(self, boolean: bool) -> "EOSComparison": ... + class ComparisonResult(java.io.Serializable): - def getMaxDeviation(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getResult(self, eOSType: 'EOSComparison.EOSType') -> 'EOSComparison.EOSResult': ... - def getResults(self) -> java.util.List['EOSComparison.EOSResult']: ... + def getMaxDeviation( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getResult( + self, eOSType: "EOSComparison.EOSType" + ) -> "EOSComparison.EOSResult": ... + def getResults(self) -> java.util.List["EOSComparison.EOSResult"]: ... def toJson(self) -> java.lang.String: ... + class EOSResult(java.io.Serializable): - eosType: 'EOSComparison.EOSType' = ... + eosType: "EOSComparison.EOSType" = ... error: java.lang.String = ... numberOfPhases: int = ... compressibilityFactor: float = ... @@ -44,61 +50,97 @@ class EOSComparison(java.io.Serializable): oilViscosity_cP: float = ... vapourFraction: float = ... def isSuccessful(self) -> bool: ... - class EOSType(java.lang.Enum['EOSComparison.EOSType']): - SRK: typing.ClassVar['EOSComparison.EOSType'] = ... - PR: typing.ClassVar['EOSComparison.EOSType'] = ... - SRK_CPA: typing.ClassVar['EOSComparison.EOSType'] = ... - GERG2008: typing.ClassVar['EOSComparison.EOSType'] = ... + + class EOSType(java.lang.Enum["EOSComparison.EOSType"]): + SRK: typing.ClassVar["EOSComparison.EOSType"] = ... + PR: typing.ClassVar["EOSComparison.EOSType"] = ... + SRK_CPA: typing.ClassVar["EOSComparison.EOSType"] = ... + GERG2008: typing.ClassVar["EOSComparison.EOSType"] = ... def getLabel(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EOSComparison.EOSType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EOSComparison.EOSType": ... @staticmethod - def values() -> typing.MutableSequence['EOSComparison.EOSType']: ... + def values() -> typing.MutableSequence["EOSComparison.EOSType"]: ... class EquipmentValidator: def __init__(self): ... @staticmethod - def isEquipmentReady(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> bool: ... + def isEquipmentReady( + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> bool: ... @staticmethod - def validateEquipment(processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + def validateEquipment( + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSequence(*processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> 'ValidationFramework.ValidationResult': ... + def validateSequence( + *processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> "ValidationFramework.ValidationResult": ... class StreamValidator: def __init__(self): ... @staticmethod - def hasStreamBeenRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + def hasStreamBeenRun( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> bool: ... @staticmethod - def isStreamReady(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> bool: ... + def isStreamReady( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> bool: ... @staticmethod - def validateStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + def validateStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateStreamConnection(streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + def validateStreamConnection( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateStreamHasRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ValidationFramework.ValidationResult': ... + def validateStreamHasRun( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ValidationFramework.ValidationResult": ... class ThermoValidator: def __init__(self): ... @staticmethod - def isSystemReady(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isSystemReady( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... @staticmethod - def validateCpAeos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateCpAeos( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateForEquilibrium(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateForEquilibrium( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSrkEos(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateSrkEos( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... @staticmethod - def validateSystem(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationFramework.ValidationResult': ... + def validateSystem( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ValidationFramework.ValidationResult": ... class ValidationFramework: def __init__(self): ... @staticmethod - def validate(string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + def validate( + string: typing.Union[java.lang.String, str] + ) -> "ValidationFramework.ValidationBuilder": ... + class CommonErrors: MIXING_RULE_NOT_SET: typing.ClassVar[java.lang.String] = ... REMEDIATION_MIXING_RULE: typing.ClassVar[java.lang.String] = ... @@ -119,67 +161,130 @@ class ValidationFramework: STREAM_NOT_RUN: typing.ClassVar[java.lang.String] = ... REMEDIATION_STREAM_RUN: typing.ClassVar[java.lang.String] = ... def __init__(self): ... + class CompositeValidator: - def __init__(self, string: typing.Union[java.lang.String, str], *validatable: 'ValidationFramework.Validatable'): ... - def validateAll(self) -> 'ValidationFramework.ValidationResult': ... - def validateAny(self) -> 'ValidationFramework.ValidationResult': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + *validatable: "ValidationFramework.Validatable", + ): ... + def validateAll(self) -> "ValidationFramework.ValidationResult": ... + def validateAny(self) -> "ValidationFramework.ValidationResult": ... + class Validatable: def getValidationName(self) -> java.lang.String: ... - def validate(self) -> 'ValidationFramework.ValidationResult': ... + def validate(self) -> "ValidationFramework.ValidationResult": ... + class ValidationBuilder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... - def build(self) -> 'ValidationFramework.ValidationResult': ... - def checkNotNull(self, object: typing.Any, string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... - def checkRange(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... - def checkTrue(self, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ValidationFramework.ValidationBuilder': ... + def addWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ValidationFramework.ValidationBuilder": ... + def build(self) -> "ValidationFramework.ValidationResult": ... + def checkNotNull( + self, object: typing.Any, string: typing.Union[java.lang.String, str] + ) -> "ValidationFramework.ValidationBuilder": ... + def checkRange( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> "ValidationFramework.ValidationBuilder": ... + def checkTrue( + self, + boolean: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ValidationFramework.ValidationBuilder": ... + class ValidationContext: def __init__(self): ... def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def getCheckedObjects(self) -> java.util.List[java.lang.String]: ... - def hasBeenChecked(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def hasBeenChecked( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def put( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def recordCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + class ValidationError: - def __init__(self, severity: 'ValidationFramework.ValidationError.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + severity: "ValidationFramework.ValidationError.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... - def getSeverity(self) -> 'ValidationFramework.ValidationError.Severity': ... + def getSeverity(self) -> "ValidationFramework.ValidationError.Severity": ... def toString(self) -> java.lang.String: ... - class Severity(java.lang.Enum['ValidationFramework.ValidationError.Severity']): - CRITICAL: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... - MAJOR: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... - MINOR: typing.ClassVar['ValidationFramework.ValidationError.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["ValidationFramework.ValidationError.Severity"]): + CRITICAL: typing.ClassVar[ + "ValidationFramework.ValidationError.Severity" + ] = ... + MAJOR: typing.ClassVar["ValidationFramework.ValidationError.Severity"] = ... + MINOR: typing.ClassVar["ValidationFramework.ValidationError.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: ... + 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]) -> 'ValidationFramework.ValidationError.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ValidationFramework.ValidationError.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ValidationFramework.ValidationError.Severity']: ... + def values() -> ( + typing.MutableSequence["ValidationFramework.ValidationError.Severity"] + ): ... + class ValidationResult: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addError(self, validationError: 'ValidationFramework.ValidationError') -> None: ... - def addWarning(self, validationWarning: 'ValidationFramework.ValidationWarning') -> None: ... - def getCriticalErrors(self) -> java.util.List['ValidationFramework.ValidationError']: ... - def getErrors(self) -> java.util.List['ValidationFramework.ValidationError']: ... + def addError( + self, validationError: "ValidationFramework.ValidationError" + ) -> None: ... + def addWarning( + self, validationWarning: "ValidationFramework.ValidationWarning" + ) -> None: ... + def getCriticalErrors( + self, + ) -> java.util.List["ValidationFramework.ValidationError"]: ... + def getErrors( + self, + ) -> java.util.List["ValidationFramework.ValidationError"]: ... def getErrorsSummary(self) -> java.lang.String: ... def getValidationTimeMs(self) -> int: ... - def getWarnings(self) -> java.util.List['ValidationFramework.ValidationWarning']: ... + def getWarnings( + self, + ) -> java.util.List["ValidationFramework.ValidationWarning"]: ... def getWarningsSummary(self) -> java.lang.String: ... def isReady(self) -> bool: ... def toString(self) -> java.lang.String: ... + class ValidationWarning: - 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getSuggestion(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.integration")``. diff --git a/src/jneqsim-stubs/mathlib/__init__.pyi b/src/jneqsim-stubs/mathlib/__init__.pyi index 1268c6e8..8d4339cf 100644 --- a/src/jneqsim-stubs/mathlib/__init__.pyi +++ b/src/jneqsim-stubs/mathlib/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,7 +9,6 @@ import jneqsim.mathlib.generalmath import jneqsim.mathlib.nonlinearsolver import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib")``. diff --git a/src/jneqsim-stubs/mathlib/generalmath/__init__.pyi b/src/jneqsim-stubs/mathlib/generalmath/__init__.pyi index cf8aaf86..08ece27e 100644 --- a/src/jneqsim-stubs/mathlib/generalmath/__init__.pyi +++ b/src/jneqsim-stubs/mathlib/generalmath/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,12 +8,14 @@ else: import jpype import typing - - class TDMAsolve: @staticmethod - def solve(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - + def solve( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.generalmath")``. diff --git a/src/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi b/src/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi index dbd97c1d..a5b9d6ce 100644 --- a/src/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi +++ b/src/jneqsim-stubs/mathlib/nonlinearsolver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,18 @@ import jneqsim.thermo.phase import jneqsim.thermo.system import typing - - class NewtonRhapson(java.io.Serializable): def __init__(self): ... def derivValue(self, double: float) -> float: ... def dubDerivValue(self, double: float) -> float: ... def funkValue(self, double: float) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setConstants(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setConstants( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setOrder(self, int: int) -> None: ... def solve(self, double: float) -> float: ... @@ -30,9 +32,22 @@ class NewtonRhapson(java.io.Serializable): class NumericalDerivative(java.io.Serializable): @staticmethod - def fugcoefDiffPres(componentInterface: jneqsim.thermo.component.ComponentInterface, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoefDiffPres( + componentInterface: jneqsim.thermo.component.ComponentInterface, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... @staticmethod - def fugcoefDiffTemp(componentInterface: jneqsim.thermo.component.ComponentInterface, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + def fugcoefDiffTemp( + componentInterface: jneqsim.thermo.component.ComponentInterface, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... class NumericalIntegration: def __init__(self): ... @@ -41,7 +56,12 @@ class SysNewtonRhapson(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def calcInc(self, int: int) -> None: ... def calcInc2(self, int: int) -> None: ... def findSpecEq(self) -> None: ... @@ -49,14 +69,15 @@ class SysNewtonRhapson(java.io.Serializable): def getNpCrit(self) -> int: ... def init(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def setu(self) -> None: ... def sign(self, double: float, double2: float) -> float: ... def solve(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mathlib.nonlinearsolver")``. diff --git a/src/jneqsim-stubs/mcp/__init__.pyi b/src/jneqsim-stubs/mcp/__init__.pyi index 0815d504..aa8b4098 100644 --- a/src/jneqsim-stubs/mcp/__init__.pyi +++ b/src/jneqsim-stubs/mcp/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,7 +10,6 @@ import jneqsim.mcp.model import jneqsim.mcp.runners import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp")``. diff --git a/src/jneqsim-stubs/mcp/catalog/__init__.pyi b/src/jneqsim-stubs/mcp/catalog/__init__.pyi index 58a1a738..3ab503c7 100644 --- a/src/jneqsim-stubs/mcp/catalog/__init__.pyi +++ b/src/jneqsim-stubs/mcp/catalog/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import java.util import typing - - class ExampleCatalog: @staticmethod def batchPressureSweep() -> java.lang.String: ... @@ -49,11 +47,18 @@ class ExampleCatalog: @staticmethod def getCategories() -> java.util.List[java.lang.String]: ... @staticmethod - def getExample(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getExample( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod - def getExampleNames(string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getExampleNames( + string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... @staticmethod - def getToolExample(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getToolExample( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def materialsReviewStidRegister() -> java.lang.String: ... @staticmethod @@ -153,7 +158,10 @@ class SchemaCatalog: @staticmethod def getCatalogJson() -> java.lang.String: ... @staticmethod - def getSchema(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getSchema( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def getToolNames() -> java.util.List[java.lang.String]: ... @staticmethod @@ -213,7 +221,6 @@ class SchemaCatalog: @staticmethod def waterHammerInputSchema() -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.catalog")``. diff --git a/src/jneqsim-stubs/mcp/model/__init__.pyi b/src/jneqsim-stubs/mcp/model/__init__.pyi index 10413bfa..b53fbe3e 100644 --- a/src/jneqsim-stubs/mcp/model/__init__.pyi +++ b/src/jneqsim-stubs/mcp/model/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,24 +12,35 @@ import jneqsim.process.processmodel import jneqsim.process.util.monitor import typing +_ApiEnvelope__T = typing.TypeVar("_ApiEnvelope__T") # - -_ApiEnvelope__T = typing.TypeVar('_ApiEnvelope__T') # class ApiEnvelope(typing.Generic[_ApiEnvelope__T]): API_VERSION: typing.ClassVar[java.lang.String] = ... def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod - def applyStandardFields(jsonObject: com.google.gson.JsonObject, string: typing.Union[java.lang.String, str], resultProvenance: 'ResultProvenance', jsonObject2: com.google.gson.JsonObject, jsonObject3: com.google.gson.JsonObject) -> None: ... - _error__T = typing.TypeVar('_error__T') # + def applyStandardFields( + jsonObject: com.google.gson.JsonObject, + string: typing.Union[java.lang.String, str], + resultProvenance: "ResultProvenance", + jsonObject2: com.google.gson.JsonObject, + jsonObject3: com.google.gson.JsonObject, + ) -> None: ... + _error__T = typing.TypeVar("_error__T") # @staticmethod - def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ApiEnvelope'[_error__T]: ... - _errors__T = typing.TypeVar('_errors__T') # + def error( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ApiEnvelope"[_error__T]: ... + _errors__T = typing.TypeVar("_errors__T") # @staticmethod - def errors(list: java.util.List['DiagnosticIssue']) -> 'ApiEnvelope'[_errors__T]: ... + def errors( + list: java.util.List["DiagnosticIssue"], + ) -> "ApiEnvelope"[_errors__T]: ... def getApiVersion(self) -> java.lang.String: ... def getData(self) -> _ApiEnvelope__T: ... - def getErrors(self) -> java.util.List['DiagnosticIssue']: ... - def getProvenance(self) -> 'ResultProvenance': ... + def getErrors(self) -> java.util.List["DiagnosticIssue"]: ... + def getProvenance(self) -> "ResultProvenance": ... def getQualityGate(self) -> com.google.gson.JsonObject: ... def getStatus(self) -> java.lang.String: ... def getTool(self) -> java.lang.String: ... @@ -37,27 +48,55 @@ class ApiEnvelope(typing.Generic[_ApiEnvelope__T]): def getWarnings(self) -> java.util.List[java.lang.String]: ... def isSuccess(self) -> bool: ... @staticmethod - def qualityGate(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> com.google.gson.JsonObject: ... - _success_0__T = typing.TypeVar('_success_0__T') # - _success_1__T = typing.TypeVar('_success_1__T') # + def qualityGate( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> com.google.gson.JsonObject: ... + _success_0__T = typing.TypeVar("_success_0__T") # + _success_1__T = typing.TypeVar("_success_1__T") # @typing.overload @staticmethod - def success(t: _success_0__T) -> 'ApiEnvelope'[_success_0__T]: ... + def success(t: _success_0__T) -> "ApiEnvelope"[_success_0__T]: ... @typing.overload @staticmethod - def success(t: _success_1__T, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ApiEnvelope'[_success_1__T]: ... + def success( + t: _success_1__T, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "ApiEnvelope"[_success_1__T]: ... def toJson(self) -> java.lang.String: ... @staticmethod - def validationStatus(boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> com.google.gson.JsonObject: ... - def withProvenance(self, resultProvenance: 'ResultProvenance') -> 'ApiEnvelope'[_ApiEnvelope__T]: ... - def withQualityGate(self, jsonObject: com.google.gson.JsonObject) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... - def withTool(self, string: typing.Union[java.lang.String, str]) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... - def withValidation(self, jsonObject: com.google.gson.JsonObject) -> 'ApiEnvelope'[_ApiEnvelope__T]: ... + def validationStatus( + boolean: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> com.google.gson.JsonObject: ... + def withProvenance( + self, resultProvenance: "ResultProvenance" + ) -> "ApiEnvelope"[_ApiEnvelope__T]: ... + def withQualityGate( + self, jsonObject: com.google.gson.JsonObject + ) -> "ApiEnvelope"[_ApiEnvelope__T]: ... + def withTool( + self, string: typing.Union[java.lang.String, str] + ) -> "ApiEnvelope"[_ApiEnvelope__T]: ... + def withValidation( + self, jsonObject: com.google.gson.JsonObject + ) -> "ApiEnvelope"[_ApiEnvelope__T]: ... class DiagnosticIssue: - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... @staticmethod - def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DiagnosticIssue': ... + def error( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "DiagnosticIssue": ... def getCode(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... @@ -66,34 +105,59 @@ class DiagnosticIssue: def toJson(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... @staticmethod - def warning(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DiagnosticIssue': ... + def warning( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "DiagnosticIssue": ... class FlashRequest: def __init__(self): ... - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'FlashRequest': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "FlashRequest": ... @staticmethod - def fromJson(jsonObject: com.google.gson.JsonObject) -> 'FlashRequest': ... + def fromJson(jsonObject: com.google.gson.JsonObject) -> "FlashRequest": ... def getComponents(self) -> java.util.Map[java.lang.String, float]: ... - def getEnthalpy(self) -> 'ValueWithUnit': ... - def getEntropy(self) -> 'ValueWithUnit': ... + def getEnthalpy(self) -> "ValueWithUnit": ... + def getEntropy(self) -> "ValueWithUnit": ... def getFlashType(self) -> java.lang.String: ... def getMixingRule(self) -> java.lang.String: ... def getModel(self) -> java.lang.String: ... - def getPressure(self) -> 'ValueWithUnit': ... - def getTemperature(self) -> 'ValueWithUnit': ... - def getVolume(self) -> 'ValueWithUnit': ... - def setComponents(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'FlashRequest': ... - def setEnthalpy(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... - def setEntropy(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... - def setFlashType(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... - def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... - def setModel(self, string: typing.Union[java.lang.String, str]) -> 'FlashRequest': ... - def setPressure(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... - def setTemperature(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... - def setVolume(self, valueWithUnit: 'ValueWithUnit') -> 'FlashRequest': ... + def getPressure(self) -> "ValueWithUnit": ... + def getTemperature(self) -> "ValueWithUnit": ... + def getVolume(self) -> "ValueWithUnit": ... + def setComponents( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "FlashRequest": ... + def setEnthalpy(self, valueWithUnit: "ValueWithUnit") -> "FlashRequest": ... + def setEntropy(self, valueWithUnit: "ValueWithUnit") -> "FlashRequest": ... + def setFlashType( + self, string: typing.Union[java.lang.String, str] + ) -> "FlashRequest": ... + def setMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> "FlashRequest": ... + def setModel( + self, string: typing.Union[java.lang.String, str] + ) -> "FlashRequest": ... + def setPressure(self, valueWithUnit: "ValueWithUnit") -> "FlashRequest": ... + def setTemperature(self, valueWithUnit: "ValueWithUnit") -> "FlashRequest": ... + def setVolume(self, valueWithUnit: "ValueWithUnit") -> "FlashRequest": ... class FlashResult: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int, list: java.util.List[typing.Union[java.lang.String, str]], fluidResponse: jneqsim.process.util.monitor.FluidResponse): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + list: java.util.List[typing.Union[java.lang.String, str]], + fluidResponse: jneqsim.process.util.monitor.FluidResponse, + ): ... def getFlashType(self) -> java.lang.String: ... def getFluidResponse(self) -> jneqsim.process.util.monitor.FluidResponse: ... def getModel(self) -> java.lang.String: ... @@ -102,9 +166,20 @@ class FlashResult: class ProcessResult: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processModel: jneqsim.process.processmodel.ProcessModel, + string2: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + string2: typing.Union[java.lang.String, str], + ): ... def getAreaNames(self) -> java.util.List[java.lang.String]: ... def getProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... def getProcessModelName(self) -> java.lang.String: ... @@ -115,26 +190,46 @@ class ProcessResult: class ResultProvenance: def __init__(self): ... - def addApplicabilityWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addApplicabilityWarning( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def addAssumption(self, string: typing.Union[java.lang.String, str]) -> None: ... def addLimitation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addValidationPassed(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addValidationPassed( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @staticmethod - def forBatch(string: typing.Union[java.lang.String, str], int: int, int2: int) -> 'ResultProvenance': ... + def forBatch( + string: typing.Union[java.lang.String, str], int: int, int2: int + ) -> "ResultProvenance": ... @staticmethod - def forFlash(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ResultProvenance': ... + def forFlash( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ResultProvenance": ... @staticmethod - def forPhaseEnvelope(string: typing.Union[java.lang.String, str]) -> 'ResultProvenance': ... + def forPhaseEnvelope( + string: typing.Union[java.lang.String, str] + ) -> "ResultProvenance": ... @staticmethod - def forProcess(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> 'ResultProvenance': ... + def forProcess( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> "ResultProvenance": ... @staticmethod - def forPropertyTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> 'ResultProvenance': ... + def forPropertyTable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> "ResultProvenance": ... def getApplicabilityWarnings(self) -> java.util.List[java.lang.String]: ... def getAssumptions(self) -> java.util.List[java.lang.String]: ... def getBenchmarkTrustLevel(self) -> java.lang.String: ... def getCalculationType(self) -> java.lang.String: ... def getComputationTimeMs(self) -> int: ... - def getConvergence(self) -> 'ResultProvenance.Convergence': ... + def getConvergence(self) -> "ResultProvenance.Convergence": ... def getEngine(self) -> java.lang.String: ... def getLimitations(self) -> java.util.List[java.lang.String]: ... def getMixingRule(self) -> java.lang.String: ... @@ -144,28 +239,39 @@ class ResultProvenance: def getTimestamp(self) -> java.lang.String: ... def getValidationsPassed(self) -> java.util.List[java.lang.String]: ... def isConverged(self) -> bool: ... - def setBenchmarkTrustLevel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCalculationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBenchmarkTrustLevel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCalculationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setComputationTimeMs(self, long: int) -> None: ... def setConverged(self, boolean: bool) -> None: ... def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... def setResultOrigin(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermodynamicModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + class Convergence: - def __init__(self, boolean: bool, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, boolean: bool, string: typing.Union[java.lang.String, str] + ): ... def getMessage(self) -> java.lang.String: ... def isConverged(self) -> bool: ... class ValueWithUnit: def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... @staticmethod - def fromJson(jsonElement: com.google.gson.JsonElement, string: typing.Union[java.lang.String, str]) -> 'ValueWithUnit': ... + def fromJson( + jsonElement: com.google.gson.JsonElement, + string: typing.Union[java.lang.String, str], + ) -> "ValueWithUnit": ... def getUnit(self) -> java.lang.String: ... def getValue(self) -> float: ... def toJson(self) -> com.google.gson.JsonElement: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.model")``. diff --git a/src/jneqsim-stubs/mcp/runners/__init__.pyi b/src/jneqsim-stubs/mcp/runners/__init__.pyi index dd262ad9..55d47729 100644 --- a/src/jneqsim-stubs/mcp/runners/__init__.pyi +++ b/src/jneqsim-stubs/mcp/runners/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,33 +10,64 @@ import java.util import jneqsim.mcp.model import typing - - class AgenticEngineeringRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... class AutomationRunner: @staticmethod - def compareStates(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def compareStates( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod - def diagnose(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def diagnose( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod - def getAdjustableParameters(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getAdjustableParameters( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getLearningReport(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getLearningReport( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getVariable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getVariable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def listUnits(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod - def listVariables(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def runLoop(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], string5: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def saveState(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def setVariableAndRun(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def listVariables( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + @staticmethod + def runLoop( + 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], + string5: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + @staticmethod + def saveState( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + @staticmethod + def setVariableAndRun( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... class BarrierRegisterRunner: @staticmethod @@ -48,24 +79,34 @@ class BatchRunner: class BenchmarkTrust: @staticmethod - def getMaturityLevel(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMaturityLevel( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getToolTrust(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getToolTrust( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def getTrustReport() -> java.lang.String: ... - class MaturityLevel(java.lang.Enum['BenchmarkTrust.MaturityLevel']): - VALIDATED: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... - TESTED: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... - EXPERIMENTAL: typing.ClassVar['BenchmarkTrust.MaturityLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class MaturityLevel(java.lang.Enum["BenchmarkTrust.MaturityLevel"]): + VALIDATED: typing.ClassVar["BenchmarkTrust.MaturityLevel"] = ... + TESTED: typing.ClassVar["BenchmarkTrust.MaturityLevel"] = ... + EXPERIMENTAL: typing.ClassVar["BenchmarkTrust.MaturityLevel"] = ... + _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: ... + 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]) -> 'BenchmarkTrust.MaturityLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BenchmarkTrust.MaturityLevel": ... @staticmethod - def values() -> typing.MutableSequence['BenchmarkTrust.MaturityLevel']: ... + def values() -> typing.MutableSequence["BenchmarkTrust.MaturityLevel"]: ... class BioprocessRunner: @staticmethod @@ -75,7 +116,9 @@ class CapabilitiesRunner: @staticmethod def getCapabilities() -> java.lang.String: ... @staticmethod - def getSetupTemplate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getSetupTemplate( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def getSetupTemplates() -> java.lang.String: ... @@ -87,7 +130,9 @@ class ChemistryRunner: class ComponentQuery: @staticmethod - def closestMatch(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def closestMatch( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def getAllNames() -> java.util.List[java.lang.String]: ... @staticmethod @@ -103,11 +148,15 @@ class CompositionRunner: class CrossValidationRunner: @staticmethod - def crossValidate(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def crossValidate( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... class DataCatalogRunner: @staticmethod - def getComponentProperties(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getComponentProperties( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def listComponentFamilies() -> java.lang.String: ... @staticmethod @@ -117,9 +166,14 @@ class DataCatalogRunner: @staticmethod def listEOSModels() -> java.lang.String: ... @staticmethod - def listMaterials(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def listMaterials( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def queryStandard(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def queryStandard( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -129,9 +183,15 @@ class DynamicRunner: class EngineeringValidator: @staticmethod - def validate(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def validate( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod - def validateEquipment(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def validateEquipment( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... class EquipmentSizingRunner: @staticmethod @@ -153,7 +213,9 @@ class FlashRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod - def runTyped(flashRequest: jneqsim.mcp.model.FlashRequest) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.FlashResult]: ... + def runTyped( + flashRequest: jneqsim.mcp.model.FlashRequest, + ) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.FlashResult]: ... class FlowAssuranceRunner: @staticmethod @@ -172,13 +234,18 @@ class HazopScenarioRunner: class IndustrialProfile: @staticmethod - def approveNextInvocation(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def approveNextInvocation( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def describeProfiles() -> java.lang.String: ... @staticmethod - def enforceAccess(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def enforceAccess( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getActiveMode() -> 'IndustrialProfile.DeploymentMode': ... + def getActiveMode() -> "IndustrialProfile.DeploymentMode": ... @staticmethod def getEngineeringAdvanced() -> java.util.Set[java.lang.String]: ... @staticmethod @@ -186,9 +253,13 @@ class IndustrialProfile: @staticmethod def getIndustrialCore() -> java.util.Set[java.lang.String]: ... @staticmethod - def getToolCategory(string: typing.Union[java.lang.String, str]) -> 'IndustrialProfile.ToolCategory': ... + def getToolCategory( + string: typing.Union[java.lang.String, str] + ) -> "IndustrialProfile.ToolCategory": ... @staticmethod - def getToolTier(string: typing.Union[java.lang.String, str]) -> 'IndustrialProfile.ToolTier': ... + def getToolTier( + string: typing.Union[java.lang.String, str] + ) -> "IndustrialProfile.ToolTier": ... @staticmethod def isAdminAuthorized(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod @@ -200,48 +271,66 @@ class IndustrialProfile: @staticmethod def requiresApproval(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def setActiveMode(deploymentMode: 'IndustrialProfile.DeploymentMode') -> None: ... - class DeploymentMode(java.lang.Enum['IndustrialProfile.DeploymentMode']): - DESKTOP_ENGINEER: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... - STUDY_TEAM: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... - DIGITAL_TWIN: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... - ENTERPRISE: typing.ClassVar['IndustrialProfile.DeploymentMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setActiveMode(deploymentMode: "IndustrialProfile.DeploymentMode") -> None: ... + + class DeploymentMode(java.lang.Enum["IndustrialProfile.DeploymentMode"]): + DESKTOP_ENGINEER: typing.ClassVar["IndustrialProfile.DeploymentMode"] = ... + STUDY_TEAM: typing.ClassVar["IndustrialProfile.DeploymentMode"] = ... + DIGITAL_TWIN: typing.ClassVar["IndustrialProfile.DeploymentMode"] = ... + ENTERPRISE: typing.ClassVar["IndustrialProfile.DeploymentMode"] = ... + _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: ... + 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]) -> 'IndustrialProfile.DeploymentMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "IndustrialProfile.DeploymentMode": ... @staticmethod - def values() -> typing.MutableSequence['IndustrialProfile.DeploymentMode']: ... - class ToolCategory(java.lang.Enum['IndustrialProfile.ToolCategory']): - ADVISORY: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... - CALCULATION: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... - EXECUTION: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... - PLATFORM: typing.ClassVar['IndustrialProfile.ToolCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["IndustrialProfile.DeploymentMode"]: ... + + class ToolCategory(java.lang.Enum["IndustrialProfile.ToolCategory"]): + ADVISORY: typing.ClassVar["IndustrialProfile.ToolCategory"] = ... + CALCULATION: typing.ClassVar["IndustrialProfile.ToolCategory"] = ... + EXECUTION: typing.ClassVar["IndustrialProfile.ToolCategory"] = ... + PLATFORM: typing.ClassVar["IndustrialProfile.ToolCategory"] = ... + _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: ... + 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]) -> 'IndustrialProfile.ToolCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "IndustrialProfile.ToolCategory": ... @staticmethod - def values() -> typing.MutableSequence['IndustrialProfile.ToolCategory']: ... - class ToolTier(java.lang.Enum['IndustrialProfile.ToolTier']): - TRUSTED_CORE: typing.ClassVar['IndustrialProfile.ToolTier'] = ... - ENGINEERING_ADVANCED: typing.ClassVar['IndustrialProfile.ToolTier'] = ... - EXPERIMENTAL: typing.ClassVar['IndustrialProfile.ToolTier'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["IndustrialProfile.ToolCategory"]: ... + + class ToolTier(java.lang.Enum["IndustrialProfile.ToolTier"]): + TRUSTED_CORE: typing.ClassVar["IndustrialProfile.ToolTier"] = ... + ENGINEERING_ADVANCED: typing.ClassVar["IndustrialProfile.ToolTier"] = ... + EXPERIMENTAL: typing.ClassVar["IndustrialProfile.ToolTier"] = ... + _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: ... + 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]) -> 'IndustrialProfile.ToolTier': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "IndustrialProfile.ToolTier": ... @staticmethod - def values() -> typing.MutableSequence['IndustrialProfile.ToolTier']: ... + def values() -> typing.MutableSequence["IndustrialProfile.ToolTier"]: ... class LOPARunner: @staticmethod @@ -301,7 +390,10 @@ class PluginRegistry: @staticmethod def register(mcpRunnerPlugin: McpRunnerPlugin) -> None: ... @staticmethod - def runPlugin(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def runPlugin( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def size() -> int: ... @staticmethod @@ -315,23 +407,41 @@ class ProcessRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod - def runTyped(string: typing.Union[java.lang.String, str]) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.ProcessResult]: ... + def runTyped( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.mcp.model.ApiEnvelope[jneqsim.mcp.model.ProcessResult]: ... @staticmethod - def validateAndRun(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def validateAndRun( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... class ProgressTracker: @staticmethod - def complete(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def complete( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def fail(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def fail( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def getProgress(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getProgress( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def listActive() -> java.lang.String: ... @staticmethod - def start(string: typing.Union[java.lang.String, str], int: int) -> java.lang.String: ... + def start( + string: typing.Union[java.lang.String, str], int: int + ) -> java.lang.String: ... @staticmethod - def update(string: typing.Union[java.lang.String, str], int: int, string2: typing.Union[java.lang.String, str]) -> None: ... + def update( + string: typing.Union[java.lang.String, str], + int: int, + string2: typing.Union[java.lang.String, str], + ) -> None: ... class PropertyTableRunner: @staticmethod @@ -369,7 +479,10 @@ class SafetySystemPerformanceRunner: class SecurityRunner: @staticmethod - def checkAccess(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def checkAccess( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -393,7 +506,9 @@ class StreamingRunner: class TaskSolverRunner: @staticmethod - def composeWorkflow(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def composeWorkflow( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def solveTask(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @@ -430,7 +545,6 @@ class WellIntegrityRunner: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.mcp.runners")``. diff --git a/src/jneqsim-stubs/physicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/__init__.pyi index 833ca43a..d68c019e 100644 --- a/src/jneqsim-stubs/physicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,37 +15,48 @@ import jneqsim.physicalproperties.util import jneqsim.thermo.phase import typing - - class PhysicalPropertyHandler(java.lang.Cloneable, java.io.Serializable): def __init__(self): ... - def clone(self) -> 'PhysicalPropertyHandler': ... - def getPhysicalProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> jneqsim.physicalproperties.system.PhysicalProperties: ... - def setPhysicalProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... - -class PhysicalPropertyType(java.lang.Enum['PhysicalPropertyType']): - MASS_DENSITY: typing.ClassVar['PhysicalPropertyType'] = ... - DYNAMIC_VISCOSITY: typing.ClassVar['PhysicalPropertyType'] = ... - THERMAL_CONDUCTIVITY: typing.ClassVar['PhysicalPropertyType'] = ... + def clone(self) -> "PhysicalPropertyHandler": ... + def getPhysicalProperties( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def setPhysicalProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... + +class PhysicalPropertyType(java.lang.Enum["PhysicalPropertyType"]): + MASS_DENSITY: typing.ClassVar["PhysicalPropertyType"] = ... + DYNAMIC_VISCOSITY: typing.ClassVar["PhysicalPropertyType"] = ... + THERMAL_CONDUCTIVITY: typing.ClassVar["PhysicalPropertyType"] = ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyType': ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def byName( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyType": ... + _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: ... + 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]) -> 'PhysicalPropertyType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyType": ... @staticmethod - def values() -> typing.MutableSequence['PhysicalPropertyType']: ... - + def values() -> typing.MutableSequence["PhysicalPropertyType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties")``. PhysicalPropertyHandler: typing.Type[PhysicalPropertyHandler] PhysicalPropertyType: typing.Type[PhysicalPropertyType] - interfaceproperties: jneqsim.physicalproperties.interfaceproperties.__module_protocol__ + interfaceproperties: ( + jneqsim.physicalproperties.interfaceproperties.__module_protocol__ + ) methods: jneqsim.physicalproperties.methods.__module_protocol__ mixingrule: jneqsim.physicalproperties.mixingrule.__module_protocol__ system: jneqsim.physicalproperties.system.__module_protocol__ diff --git a/src/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi index 1cd17acd..b5561c5d 100644 --- a/src/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/interfaceproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,33 @@ import jneqsim.physicalproperties.interfaceproperties.surfacetension import jneqsim.thermo.system import typing - - class InterphasePropertiesInterface(java.lang.Cloneable): def calcAdsorption(self) -> None: ... - def clone(self) -> 'InterphasePropertiesInterface': ... - @typing.overload - def getAdsorptionCalc(self, string: typing.Union[java.lang.String, str]) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... - @typing.overload - def getAdsorptionCalc(self) -> typing.MutableSequence[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface]: ... + def clone(self) -> "InterphasePropertiesInterface": ... + @typing.overload + def getAdsorptionCalc( + self, string: typing.Union[java.lang.String, str] + ) -> ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ): ... + @typing.overload + def getAdsorptionCalc( + self, + ) -> typing.MutableSequence[ + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ]: ... def getInterfacialTensionModel(self) -> int: ... @typing.overload def getSurfaceTension(self, int: int, int2: int) -> float: ... @typing.overload - def getSurfaceTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... - def getSurfaceTensionModel(self, int: int) -> jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface: ... + def getSurfaceTension( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getSurfaceTensionModel( + self, int: int + ) -> ( + jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface + ): ... @typing.overload def init(self) -> None: ... @typing.overload @@ -35,13 +47,31 @@ class InterphasePropertiesInterface(java.lang.Cloneable): @typing.overload def initAdsorption(self) -> None: ... @typing.overload - def initAdsorption(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... - def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> None: ... + def initAdsorption( + self, + isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType, + ) -> None: ... + def setAdsorptionCalc( + self, + adsorptionInterfaceArray: typing.Union[ + typing.List[ + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ], + jpype.JArray, + ], + ) -> None: ... @typing.overload def setInterfacialTensionModel(self, int: int) -> None: ... @typing.overload - def setInterfacialTensionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def setSolidAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInterfacialTensionModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def setSolidAdsorbentMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): @typing.overload @@ -49,17 +79,31 @@ class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcAdsorption(self) -> None: ... - def clone(self) -> 'InterfaceProperties': ... - @typing.overload - def getAdsorptionCalc(self, string: typing.Union[java.lang.String, str]) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... - @typing.overload - def getAdsorptionCalc(self) -> typing.MutableSequence[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface]: ... + def clone(self) -> "InterfaceProperties": ... + @typing.overload + def getAdsorptionCalc( + self, string: typing.Union[java.lang.String, str] + ) -> ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ): ... + @typing.overload + def getAdsorptionCalc( + self, + ) -> typing.MutableSequence[ + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ]: ... def getInterfacialTensionModel(self) -> int: ... @typing.overload def getSurfaceTension(self, int: int, int2: int) -> float: ... @typing.overload - def getSurfaceTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... - def getSurfaceTensionModel(self, int: int) -> jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface: ... + def getSurfaceTension( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getSurfaceTensionModel( + self, int: int + ) -> ( + jneqsim.physicalproperties.interfaceproperties.surfacetension.SurfaceTensionInterface + ): ... @typing.overload def init(self) -> None: ... @typing.overload @@ -67,19 +111,40 @@ class InterfaceProperties(InterphasePropertiesInterface, java.io.Serializable): @typing.overload def initAdsorption(self) -> None: ... @typing.overload - def initAdsorption(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... - def setAdsorptionCalc(self, adsorptionInterfaceArray: typing.Union[typing.List[jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface], jpype.JArray]) -> None: ... + def initAdsorption( + self, + isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType, + ) -> None: ... + def setAdsorptionCalc( + self, + adsorptionInterfaceArray: typing.Union[ + typing.List[ + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ], + jpype.JArray, + ], + ) -> None: ... @typing.overload def setInterfacialTensionModel(self, int: int) -> None: ... @typing.overload - def setInterfacialTensionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def setSolidAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - + def setInterfacialTensionModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def setSolidAdsorbentMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties")``. InterfaceProperties: typing.Type[InterfaceProperties] InterphasePropertiesInterface: typing.Type[InterphasePropertiesInterface] - solidadsorption: jneqsim.physicalproperties.interfaceproperties.solidadsorption.__module_protocol__ - surfacetension: jneqsim.physicalproperties.interfaceproperties.surfacetension.__module_protocol__ + solidadsorption: ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.__module_protocol__ + ) + surfacetension: ( + jneqsim.physicalproperties.interfaceproperties.surfacetension.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi b/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi index 1645292b..0ef82021 100644 --- a/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/interfaceproperties/solidadsorption/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,20 +11,24 @@ import jneqsim.thermo import jneqsim.thermo.system import typing - - -class AdsorptionInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.io.Serializable): +class AdsorptionInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, java.io.Serializable +): def calcAdsorption(self, int: int) -> None: ... - def getIsothermType(self) -> 'IsothermType': ... + def getIsothermType(self) -> "IsothermType": ... @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceExcess( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalSurfaceExcess(self) -> float: ... 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( + java.io.Serializable, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload def __init__(self): ... @typing.overload @@ -34,7 +38,9 @@ class CapillaryCondensationModel(java.io.Serializable, jneqsim.thermo.Thermodyna @typing.overload def getCondensateAmount(self, int: int) -> float: ... @typing.overload - def getCondensateAmount(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCondensateAmount( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getCondensationPressure(self, double: float, int: int, int2: int) -> float: ... def getContactAngle(self) -> float: ... @typing.overload @@ -46,7 +52,7 @@ class CapillaryCondensationModel(java.io.Serializable, jneqsim.thermo.Thermodyna def getMeanPoreRadius(self) -> float: ... def getMinPoreRadius(self) -> float: ... def getPoreRadiusStdDev(self) -> float: ... - def getPoreType(self) -> 'CapillaryCondensationModel.PoreType': ... + def getPoreType(self) -> "CapillaryCondensationModel.PoreType": ... def getSaturationPressure(self, int: int) -> float: ... def getSurfaceTension(self, int: int) -> float: ... def getTotalPoreVolume(self) -> float: ... @@ -57,69 +63,100 @@ class CapillaryCondensationModel(java.io.Serializable, jneqsim.thermo.Thermodyna def setMeanPoreRadius(self, double: float) -> None: ... def setMinPoreRadius(self, double: float) -> None: ... def setPoreRadiusStdDev(self, double: float) -> None: ... - def setPoreType(self, poreType: 'CapillaryCondensationModel.PoreType') -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setPoreType(self, poreType: "CapillaryCondensationModel.PoreType") -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTotalPoreVolume(self, double: float) -> None: ... - class PoreType(java.lang.Enum['CapillaryCondensationModel.PoreType']): - CYLINDRICAL: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... - SLIT: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... - SPHERICAL: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... - INK_BOTTLE: typing.ClassVar['CapillaryCondensationModel.PoreType'] = ... + + class PoreType(java.lang.Enum["CapillaryCondensationModel.PoreType"]): + CYLINDRICAL: typing.ClassVar["CapillaryCondensationModel.PoreType"] = ... + SLIT: typing.ClassVar["CapillaryCondensationModel.PoreType"] = ... + SPHERICAL: typing.ClassVar["CapillaryCondensationModel.PoreType"] = ... + INK_BOTTLE: typing.ClassVar["CapillaryCondensationModel.PoreType"] = ... def getGeometryFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CapillaryCondensationModel.PoreType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CapillaryCondensationModel.PoreType": ... @staticmethod - def values() -> typing.MutableSequence['CapillaryCondensationModel.PoreType']: ... + def values() -> ( + typing.MutableSequence["CapillaryCondensationModel.PoreType"] + ): ... class FluidPropertyEstimator: @staticmethod - def estimateAllProperties(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> typing.MutableSequence[float]: ... + def estimateAllProperties( + systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int + ) -> typing.MutableSequence[float]: ... @staticmethod - def estimateAllSaturationPressures(systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> typing.MutableSequence[float]: ... + def estimateAllSaturationPressures( + systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> typing.MutableSequence[float]: ... @typing.overload @staticmethod - def estimateLiquidMolarVolume(double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateLiquidMolarVolume( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def estimateLiquidMolarVolume(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + def estimateLiquidMolarVolume( + systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int + ) -> float: ... @typing.overload @staticmethod - def estimateSaturationPressure(double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateSaturationPressure( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def estimateSaturationPressure(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + def estimateSaturationPressure( + systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int + ) -> float: ... @typing.overload @staticmethod - def estimateSurfaceTension(double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateSurfaceTension( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def estimateSurfaceTension(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, double: float) -> float: ... + def estimateSurfaceTension( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + double: float, + ) -> float: ... -class IsothermType(java.lang.Enum['IsothermType']): - DRA: typing.ClassVar['IsothermType'] = ... - LANGMUIR: typing.ClassVar['IsothermType'] = ... - FREUNDLICH: typing.ClassVar['IsothermType'] = ... - BET: typing.ClassVar['IsothermType'] = ... - SIPS: typing.ClassVar['IsothermType'] = ... - EXTENDED_LANGMUIR: typing.ClassVar['IsothermType'] = ... +class IsothermType(java.lang.Enum["IsothermType"]): + DRA: typing.ClassVar["IsothermType"] = ... + LANGMUIR: typing.ClassVar["IsothermType"] = ... + FREUNDLICH: typing.ClassVar["IsothermType"] = ... + BET: typing.ClassVar["IsothermType"] = ... + SIPS: typing.ClassVar["IsothermType"] = ... + EXTENDED_LANGMUIR: typing.ClassVar["IsothermType"] = ... @staticmethod - def fromString(string: typing.Union[java.lang.String, str]) -> 'IsothermType': ... + def fromString(string: typing.Union[java.lang.String, str]) -> "IsothermType": ... def getDisplayName(self) -> java.lang.String: ... def supportsMultiComponent(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'IsothermType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "IsothermType": ... @staticmethod - def values() -> typing.MutableSequence['IsothermType']: ... + def values() -> typing.MutableSequence["IsothermType"]: ... class AbstractAdsorptionModel(AdsorptionInterface, java.io.Serializable): @typing.overload @@ -136,7 +173,9 @@ class AbstractAdsorptionModel(AdsorptionInterface, java.io.Serializable): @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceExcess( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTotalSurfaceExcess(self) -> float: ... def isCalculated(self) -> bool: ... @@ -144,7 +183,9 @@ class AbstractAdsorptionModel(AdsorptionInterface, java.io.Serializable): def setMeanPoreRadius(self, double: float) -> None: ... def setPoreVolume(self, double: float) -> None: ... def setSolidMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class PotentialTheoryAdsorption(AdsorptionInterface): @typing.overload @@ -156,7 +197,9 @@ class PotentialTheoryAdsorption(AdsorptionInterface): @typing.overload def getSurfaceExcess(self, int: int) -> float: ... @typing.overload - def getSurfaceExcess(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSurfaceExcess( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalSurfaceExcess(self) -> float: ... def isCalculated(self) -> bool: ... def readDBParameters(self) -> None: ... @@ -232,7 +275,6 @@ class SipsAdsorption(AbstractAdsorptionModel): def setNSips(self, int: int, double: float) -> None: ... def setQmax(self, int: int, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties.solidadsorption")``. diff --git a/src/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi b/src/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi index 74ae8fd7..5703ab74 100644 --- a/src/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/interfaceproperties/surfacetension/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,50 +11,169 @@ import jneqsim.thermo.system import org.apache.commons.math3.ode import typing - - class GTSurfaceTensionFullGT: normtol: float = ... reltol: float = ... abstol: float = ... maxit: int = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... @staticmethod - def Newton(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float, int: int, double3: float, boolean: bool, boolean2: bool, doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], systemInterface: jneqsim.thermo.system.SystemInterface, int2: int, double5: float, doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def calc_std_integral(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def Newton( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double2: float, + int: int, + double3: float, + boolean: bool, + boolean2: bool, + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + systemInterface: jneqsim.thermo.system.SystemInterface, + int2: int, + double5: float, + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... + def calc_std_integral( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> float: ... @staticmethod - def debugPlot(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def debugPlot( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @staticmethod - def delta_mu(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def delta_mu( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + double: 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], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @staticmethod - def directsolve(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double4: float, int: int, doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int2: int) -> None: ... + def directsolve( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[float]]], + jpype.JArray, + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double4: float, + int: int, + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + int2: int, + ) -> None: ... @staticmethod - def initmu(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], double6: float) -> None: ... + def initmu( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + double6: float, + ) -> None: ... @staticmethod - def linspace(double: float, double2: float, int: int) -> typing.MutableSequence[float]: ... + def linspace( + double: float, double2: float, int: int + ) -> typing.MutableSequence[float]: ... def runcase(self) -> float: ... @staticmethod - def sigmaCalc(double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], boolean: bool, doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], int: int) -> float: ... + def sigmaCalc( + double: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + boolean: bool, + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + int: int, + ) -> float: ... class GTSurfaceTensionODE(org.apache.commons.math3.ode.FirstOrderDifferentialEquations): normtol: float = ... reltol: float = ... abstol: float = ... maxit: int = ... - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int, double: float): ... - def computeDerivatives(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def fjacfun(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + int3: int, + double: float, + ): ... + def computeDerivatives( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def fjacfun( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def getDimension(self) -> int: ... def initmu(self) -> None: ... class GTSurfaceTensionUtils: @staticmethod - def mufun(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def mufun( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class SurfaceTensionInterface: def calcSurfaceTension(self, int: int, int2: int) -> float: ... -class SurfaceTension(jneqsim.physicalproperties.interfaceproperties.InterfaceProperties, SurfaceTensionInterface): +class SurfaceTension( + jneqsim.physicalproperties.interfaceproperties.InterfaceProperties, + SurfaceTensionInterface, +): @typing.overload def __init__(self): ... @typing.overload @@ -91,9 +210,16 @@ class GTSurfaceTension(SurfaceTension): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcSurfaceTension(self, int: int, int2: int) -> float: ... @staticmethod - def solveFullDensityProfile(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int) -> float: ... + def solveFullDensityProfile( + systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int + ) -> float: ... @staticmethod - def solveWithRefcomp(systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int) -> float: ... + def solveWithRefcomp( + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + int3: int, + ) -> float: ... class GTSurfaceTensionSimple(SurfaceTension): @typing.overload @@ -102,13 +228,23 @@ class GTSurfaceTensionSimple(SurfaceTension): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcInfluenceParameters(self) -> None: ... def calcSurfaceTension(self, int: int, int2: int) -> float: ... - def getDmudn2(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]: ... + def getDmudn2( + self, + ) -> typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ]: ... def getInfluenceParameter(self, double: float, int: int) -> float: ... def getMolarDensity(self, int: int) -> typing.MutableSequence[float]: ... def getMolarDensityTotal(self) -> typing.MutableSequence[float]: ... def getPressure(self) -> typing.MutableSequence[float]: ... def getz(self) -> typing.MutableSequence[float]: ... - def setDmudn2(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray]) -> None: ... + def setDmudn2( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[float]]], + jpype.JArray, + ], + ) -> None: ... class LGTSurfaceTension(SurfaceTension): @typing.overload @@ -129,7 +265,6 @@ class ParachorSurfaceTension(SurfaceTension): def calcPureComponentSurfaceTension(self, int: int) -> float: ... def calcSurfaceTension(self, int: int, int2: int) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.interfaceproperties.surfacetension")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/__init__.pyi index 68b6c72c..3d1c04d7 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,26 +15,37 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - class PhysicalPropertyMethodInterface(java.lang.Cloneable, java.io.Serializable): - def clone(self) -> 'PhysicalPropertyMethodInterface': ... - def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... + def clone(self) -> "PhysicalPropertyMethodInterface": ... + def setPhase( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ) -> None: ... def tuneModel(self, double: float, double2: float, double3: float) -> None: ... class PhysicalPropertyMethod(PhysicalPropertyMethodInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def clone(self) -> 'PhysicalPropertyMethod': ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def clone(self) -> "PhysicalPropertyMethod": ... def tuneModel(self, double: float, double2: float, double3: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods")``. PhysicalPropertyMethod: typing.Type[PhysicalPropertyMethod] PhysicalPropertyMethodInterface: typing.Type[PhysicalPropertyMethodInterface] - commonphasephysicalproperties: jneqsim.physicalproperties.methods.commonphasephysicalproperties.__module_protocol__ - gasphysicalproperties: jneqsim.physicalproperties.methods.gasphysicalproperties.__module_protocol__ - liquidphysicalproperties: jneqsim.physicalproperties.methods.liquidphysicalproperties.__module_protocol__ - methodinterface: jneqsim.physicalproperties.methods.methodinterface.__module_protocol__ - solidphysicalproperties: jneqsim.physicalproperties.methods.solidphysicalproperties.__module_protocol__ + commonphasephysicalproperties: ( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.__module_protocol__ + ) + gasphysicalproperties: ( + jneqsim.physicalproperties.methods.gasphysicalproperties.__module_protocol__ + ) + liquidphysicalproperties: ( + jneqsim.physicalproperties.methods.liquidphysicalproperties.__module_protocol__ + ) + methodinterface: ( + jneqsim.physicalproperties.methods.methodinterface.__module_protocol__ + ) + solidphysicalproperties: ( + jneqsim.physicalproperties.methods.solidphysicalproperties.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi index 535a6cfe..308ecca1 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,17 +12,26 @@ import jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosit import jneqsim.physicalproperties.system import typing - - -class CommonPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... - +class CommonPhysicalPropertyMethod( + jneqsim.physicalproperties.methods.PhysicalPropertyMethod +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def setPhase( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties")``. CommonPhysicalPropertyMethod: typing.Type[CommonPhysicalPropertyMethod] - conductivity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity.__module_protocol__ - diffusivity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity.__module_protocol__ - viscosity: jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity.__module_protocol__ + conductivity: ( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity.__module_protocol__ + ) + diffusivity: ( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity.__module_protocol__ + ) + viscosity: ( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi index 9aa1a5ae..c01bde19 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,44 +11,62 @@ import jneqsim.physicalproperties.system import jneqsim.thermo import typing - - -class Conductivity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def clone(self) -> 'Conductivity': ... +class Conductivity( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def clone(self) -> "Conductivity": ... class CO2ConductivityMethod(Conductivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... -class ChungDenseConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class ChungDenseConductivityMethod( + Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... -class FrictionTheoryConductivityMethod(Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface): +class FrictionTheoryConductivityMethod( + Conductivity, jneqsim.thermo.ThermodynamicConstantsInterface +): pureComponentConductivity: typing.MutableSequence[float] = ... omegaCond: typing.MutableSequence[float] = ... fc: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... class HydrogenConductivityMethod(Conductivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... - def clone(self) -> 'HydrogenConductivityMethod': ... + def clone(self) -> "HydrogenConductivityMethod": ... class PFCTConductivityMethodMod86(Conductivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... def calcMixLPViscosity(self) -> float: ... def getRefComponentConductivity(self, double: float, double2: float) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... class WaterConductivityMethod(Conductivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... - def clone(self) -> 'WaterConductivityMethod': ... - + def clone(self) -> "WaterConductivityMethod": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi index 68d90647..f1181a7c 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,22 +10,34 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Diffusivity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... +class Diffusivity( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... - def clone(self) -> 'Diffusivity': ... + def clone(self) -> "Diffusivity": ... def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... - def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... class CorrespondingStatesDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.diffusivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi index 8dbfb2e0..52ac4e7c 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/commonphasephysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,25 +12,34 @@ import jneqsim.physicalproperties.system import jneqsim.thermo import typing - - -class Viscosity(jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +class Viscosity( + jneqsim.physicalproperties.methods.commonphasephysicalproperties.CommonPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, +): pureComponentViscosity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... - def clone(self) -> 'Viscosity': ... + def clone(self) -> "Viscosity": ... def getPureComponentViscosity(self, int: int) -> float: ... def getViscosityPressureCorrection(self, int: int) -> float: ... class CO2ViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... -class FrictionTheoryViscosityMethod(Viscosity, jneqsim.thermo.ThermodynamicConstantsInterface): +class FrictionTheoryViscosityMethod( + Viscosity, jneqsim.thermo.ThermodynamicConstantsInterface +): pureComponentViscosity: typing.MutableSequence[float] = ... Fc: typing.MutableSequence[float] = ... omegaVisc: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... def getPureComponentViscosity(self, int: int) -> float: ... def getRedKapa(self, double: float, double2: float) -> float: ... @@ -38,29 +47,51 @@ class FrictionTheoryViscosityMethod(Viscosity, jneqsim.thermo.ThermodynamicConst def getRedKaprr(self, double: float, double2: float) -> float: ... def getTBPviscosityCorrection(self) -> float: ... def initChungPureComponentViscosity(self) -> None: ... - def setFrictionTheoryConstants(self, double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float) -> None: ... + def setFrictionTheoryConstants( + self, + double: float, + double2: float, + double3: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double6: float, + ) -> None: ... def setTBPviscosityCorrection(self, double: float) -> None: ... def tuneModel(self, double: float, double2: float, double3: float) -> None: ... class KTAViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class KTAViscosityMethodMod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class LBCViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'LBCViscosityMethod': ... + def clone(self) -> "LBCViscosityMethod": ... def getDenseContributionParameters(self) -> typing.MutableSequence[float]: ... def getPureComponentViscosity(self, int: int) -> float: ... def setDenseContributionParameter(self, int: int, double: float) -> None: ... - def setDenseContributionParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDenseContributionParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class LeeViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... @staticmethod def calcLowPressureViscosity(double: float, double2: float) -> float: ... @typing.overload @@ -70,45 +101,62 @@ class LeeViscosityMethod(Viscosity): def calcViscosity(double: float, double2: float, double3: float) -> float: ... class MethaneViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class MuznyModViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class MuznyViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... class PFCTViscosityMethod(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'PFCTViscosityMethod': ... + def clone(self) -> "PFCTViscosityMethod": ... def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... def getPureComponentViscosity(self, int: int) -> float: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... - def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCspViscosityCorrectionFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class PFCTViscosityMethodHeavyOil(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'PFCTViscosityMethodHeavyOil': ... + def clone(self) -> "PFCTViscosityMethodHeavyOil": ... def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... - def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCspViscosityCorrectionFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class PFCTViscosityMethodMod86(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'PFCTViscosityMethodMod86': ... + def clone(self) -> "PFCTViscosityMethodMod86": ... def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... def getRefComponentViscosity(self, double: float, double2: float) -> float: ... def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... - def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - + def setCspViscosityCorrectionFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.commonphasephysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi index 3d5a53ad..85ae476b 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,32 @@ import jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity import jneqsim.physicalproperties.system import typing - - -class GasPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): +class GasPhysicalPropertyMethod( + jneqsim.physicalproperties.methods.PhysicalPropertyMethod +): binaryMolecularDiameter: typing.MutableSequence[typing.MutableSequence[float]] = ... binaryEnergyParameter: typing.MutableSequence[typing.MutableSequence[float]] = ... binaryMolecularMass: typing.MutableSequence[typing.MutableSequence[float]] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... - + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def setPhase( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties")``. GasPhysicalPropertyMethod: typing.Type[GasPhysicalPropertyMethod] - conductivity: jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity.__module_protocol__ - density: jneqsim.physicalproperties.methods.gasphysicalproperties.density.__module_protocol__ - diffusivity: jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity.__module_protocol__ - viscosity: jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity.__module_protocol__ + conductivity: ( + jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity.__module_protocol__ + ) + density: ( + jneqsim.physicalproperties.methods.gasphysicalproperties.density.__module_protocol__ + ) + diffusivity: ( + jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity.__module_protocol__ + ) + viscosity: ( + jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi index 1dceae9a..8d4b5eae 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,19 +10,23 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Conductivity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def clone(self) -> 'Conductivity': ... +class Conductivity( + jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def clone(self) -> "Conductivity": ... class ChungConductivityMethod(Conductivity): pureComponentConductivity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... def calcPureComponentConductivity(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi index 4aba4d2e..b474b4ef 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Density(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class Density( + jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... - def clone(self) -> 'Density': ... - + def clone(self) -> "Density": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi index abc00f39..601bd6c7 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,29 +10,45 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Diffusivity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... +class Diffusivity( + jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... - def clone(self) -> 'Diffusivity': ... + def clone(self) -> "Diffusivity": ... def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... - def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... def isTemperatureInValidRange(self) -> bool: ... def setEnableTemperatureWarnings(self, boolean: bool) -> None: ... def setUseDiffusionLJOverride(self, boolean: bool) -> None: ... class FullerSchettlerGiddingsDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class WilkeLeeDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.diffusivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi index 3f8a06f9..9d58e45d 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/gasphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,23 +10,27 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Viscosity(jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def clone(self) -> 'Viscosity': ... +class Viscosity( + jneqsim.physicalproperties.methods.gasphysicalproperties.GasPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def clone(self) -> "Viscosity": ... class ChungViscosityMethod(Viscosity): pureComponentViscosity: typing.MutableSequence[float] = ... relativeViscosity: typing.MutableSequence[float] = ... Fc: typing.MutableSequence[float] = ... omegaVisc: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... def getPureComponentViscosity(self, int: int) -> float: ... def initChungPureComponentViscosity(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.gasphysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi index a6846849..79d7a46b 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,29 @@ import jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity import jneqsim.physicalproperties.system import typing - - -class LiquidPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... - +class LiquidPhysicalPropertyMethod( + jneqsim.physicalproperties.methods.PhysicalPropertyMethod +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def setPhase( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties")``. LiquidPhysicalPropertyMethod: typing.Type[LiquidPhysicalPropertyMethod] - conductivity: jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity.__module_protocol__ - density: jneqsim.physicalproperties.methods.liquidphysicalproperties.density.__module_protocol__ - diffusivity: jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity.__module_protocol__ - viscosity: jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity.__module_protocol__ + conductivity: ( + jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity.__module_protocol__ + ) + density: ( + jneqsim.physicalproperties.methods.liquidphysicalproperties.density.__module_protocol__ + ) + diffusivity: ( + jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity.__module_protocol__ + ) + viscosity: ( + jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi index 927448c6..00705cd7 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,27 +10,34 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Conductivity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): +class Conductivity( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, +): pureComponentConductivity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... def calcPureComponentConductivity(self) -> None: ... - def clone(self) -> 'Conductivity': ... + def clone(self) -> "Conductivity": ... -class FilippovConductivityMethod(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): +class FilippovConductivityMethod( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, +): pureComponentConductivity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... def calcPureComponentConductivity(self) -> None: ... - def clone(self) -> 'FilippovConductivityMethod': ... + def clone(self) -> "FilippovConductivityMethod": ... def getFilippovCoefficient(self) -> float: ... def isUsePressureCorrection(self) -> bool: ... def setFilippovCoefficient(self, double: float) -> None: ... def setUsePressureCorrection(self, boolean: bool) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi index 043acb34..3e5f4a8d 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,32 +10,49 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Costald(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class Costald( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... - def clone(self) -> 'Costald': ... + def clone(self) -> "Costald": ... def isUsePolarCorrection(self) -> bool: ... def setUsePolarCorrection(self, boolean: bool) -> None: ... -class Density(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class Density( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... - def clone(self) -> 'Density': ... - -class Rackett(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> "Density": ... + +class Rackett( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... - def clone(self) -> 'Rackett': ... - -class Water(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def clone(self) -> "Rackett": ... + +class Water( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... @staticmethod def calculatePureWaterDensity(double: float, double2: float) -> float: ... - def clone(self) -> 'Water': ... - + def clone(self) -> "Water": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi index a83d3d46..bfb9b69b 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,95 +10,177 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class DiffusivityModelSelector: @staticmethod - def createAutoSelectedModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> 'Diffusivity': ... + def createAutoSelectedModel( + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + ) -> "Diffusivity": ... @staticmethod - def createModel(physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivityModelType: 'DiffusivityModelSelector.DiffusivityModelType') -> 'Diffusivity': ... + def createModel( + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + diffusivityModelType: "DiffusivityModelSelector.DiffusivityModelType", + ) -> "Diffusivity": ... @staticmethod - def getModelSelectionReason(phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> java.lang.String: ... + def getModelSelectionReason( + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> java.lang.String: ... @staticmethod - def selectOptimalModel(phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 'DiffusivityModelSelector.DiffusivityModelType': ... - class DiffusivityModelType(java.lang.Enum['DiffusivityModelSelector.DiffusivityModelType']): - SIDDIQI_LUCAS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - HAYDUK_MINHAS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - WILKE_CHANG: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - TYN_CALUS: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - HIGH_PRESSURE_CORRECTED: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - AMINE: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - CO2_WATER: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - CORRESPONDING_STATES: typing.ClassVar['DiffusivityModelSelector.DiffusivityModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def selectOptimalModel( + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> "DiffusivityModelSelector.DiffusivityModelType": ... + + class DiffusivityModelType( + java.lang.Enum["DiffusivityModelSelector.DiffusivityModelType"] + ): + SIDDIQI_LUCAS: typing.ClassVar[ + "DiffusivityModelSelector.DiffusivityModelType" + ] = ... + HAYDUK_MINHAS: typing.ClassVar[ + "DiffusivityModelSelector.DiffusivityModelType" + ] = ... + WILKE_CHANG: typing.ClassVar[ + "DiffusivityModelSelector.DiffusivityModelType" + ] = ... + TYN_CALUS: typing.ClassVar["DiffusivityModelSelector.DiffusivityModelType"] = ( + ... + ) + HIGH_PRESSURE_CORRECTED: typing.ClassVar[ + "DiffusivityModelSelector.DiffusivityModelType" + ] = ... + AMINE: typing.ClassVar["DiffusivityModelSelector.DiffusivityModelType"] = ... + CO2_WATER: typing.ClassVar["DiffusivityModelSelector.DiffusivityModelType"] = ( + ... + ) + CORRESPONDING_STATES: typing.ClassVar[ + "DiffusivityModelSelector.DiffusivityModelType" + ] = ... + _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: ... + 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]) -> 'DiffusivityModelSelector.DiffusivityModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DiffusivityModelSelector.DiffusivityModelType": ... @staticmethod - def values() -> typing.MutableSequence['DiffusivityModelSelector.DiffusivityModelType']: ... + def values() -> ( + typing.MutableSequence["DiffusivityModelSelector.DiffusivityModelType"] + ): ... class Diffusivity: ... class CO2water(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class HaydukMinhasDiffusivity(Diffusivity): @typing.overload - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... @typing.overload - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, solventType: 'HaydukMinhasDiffusivity.SolventType'): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getSolventType(self) -> 'HaydukMinhasDiffusivity.SolventType': ... - def setSolventType(self, solventType: 'HaydukMinhasDiffusivity.SolventType') -> None: ... - class SolventType(java.lang.Enum['HaydukMinhasDiffusivity.SolventType']): - PARAFFIN: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... - AQUEOUS: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... - AUTO: typing.ClassVar['HaydukMinhasDiffusivity.SolventType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + solventType: "HaydukMinhasDiffusivity.SolventType", + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSolventType(self) -> "HaydukMinhasDiffusivity.SolventType": ... + def setSolventType( + self, solventType: "HaydukMinhasDiffusivity.SolventType" + ) -> None: ... + + class SolventType(java.lang.Enum["HaydukMinhasDiffusivity.SolventType"]): + PARAFFIN: typing.ClassVar["HaydukMinhasDiffusivity.SolventType"] = ... + AQUEOUS: typing.ClassVar["HaydukMinhasDiffusivity.SolventType"] = ... + AUTO: typing.ClassVar["HaydukMinhasDiffusivity.SolventType"] = ... + _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: ... + 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]) -> 'HaydukMinhasDiffusivity.SolventType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HaydukMinhasDiffusivity.SolventType": ... @staticmethod - def values() -> typing.MutableSequence['HaydukMinhasDiffusivity.SolventType']: ... + def values() -> ( + typing.MutableSequence["HaydukMinhasDiffusivity.SolventType"] + ): ... class HighPressureDiffusivity(Diffusivity): @typing.overload - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... @typing.overload - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, diffusivity: Diffusivity): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__( + self, + physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties, + diffusivity: Diffusivity, + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressureCorrectionFactor(self) -> float: ... def setBaseDiffusivityModel(self, diffusivity: Diffusivity) -> None: ... class SiddiqiLucasMethod(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... def setAutoSelectCorrelation(self, boolean: bool) -> None: ... class TynCalusDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class WilkeChangDiffusivity(Diffusivity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... class AmineDiffusivity(SiddiqiLucasMethod): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.diffusivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi index 9e7258d7..096a5263 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/liquidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,41 +11,53 @@ import jneqsim.physicalproperties.methods.methodinterface import jneqsim.physicalproperties.system import typing - - -class Viscosity(jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +class Viscosity( + jneqsim.physicalproperties.methods.liquidphysicalproperties.LiquidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, +): pureComponentViscosity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Viscosity': ... + def clone(self) -> "Viscosity": ... def getPureComponentViscosity(self, int: int) -> float: ... def getViscosityPressureCorrection(self, int: int) -> float: ... class AmineViscosity(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - class AmineType(java.lang.Enum['AmineViscosity.AmineType']): - MEA: typing.ClassVar['AmineViscosity.AmineType'] = ... - DEA: typing.ClassVar['AmineViscosity.AmineType'] = ... - MDEA: typing.ClassVar['AmineViscosity.AmineType'] = ... - AMDEA: typing.ClassVar['AmineViscosity.AmineType'] = ... - UNKNOWN: typing.ClassVar['AmineViscosity.AmineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AmineType(java.lang.Enum["AmineViscosity.AmineType"]): + MEA: typing.ClassVar["AmineViscosity.AmineType"] = ... + DEA: typing.ClassVar["AmineViscosity.AmineType"] = ... + MDEA: typing.ClassVar["AmineViscosity.AmineType"] = ... + AMDEA: typing.ClassVar["AmineViscosity.AmineType"] = ... + UNKNOWN: typing.ClassVar["AmineViscosity.AmineType"] = ... + _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: ... + 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]) -> 'AmineViscosity.AmineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AmineViscosity.AmineType": ... @staticmethod - def values() -> typing.MutableSequence['AmineViscosity.AmineType']: ... + def values() -> typing.MutableSequence["AmineViscosity.AmineType"]: ... class Water(Viscosity): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Water': ... - + def clone(self) -> "Water": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.liquidphysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi index 6e22bfa4..acafabf5 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/methodinterface/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,31 +9,45 @@ import jneqsim.physicalproperties.methods import jneqsim.thermo import typing - - -class ConductivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +class ConductivityInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, +): def calcConductivity(self) -> float: ... - def clone(self) -> 'ConductivityInterface': ... + def clone(self) -> "ConductivityInterface": ... -class DensityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +class DensityInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, +): def calcDensity(self) -> float: ... - def clone(self) -> 'DensityInterface': ... - -class DiffusivityInterface(jneqsim.thermo.ThermodynamicConstantsInterface, jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def clone(self) -> "DensityInterface": ... + +class DiffusivityInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface, +): + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... - def clone(self) -> 'DiffusivityInterface': ... + def clone(self) -> "DiffusivityInterface": ... def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... - def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... + def getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... -class ViscosityInterface(jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface): +class ViscosityInterface( + jneqsim.physicalproperties.methods.PhysicalPropertyMethodInterface +): def calcViscosity(self) -> float: ... - def clone(self) -> 'ViscosityInterface': ... + def clone(self) -> "ViscosityInterface": ... def getPureComponentViscosity(self, int: int) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.methodinterface")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi index 2b1af6e3..1f74c105 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,29 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity import jneqsim.physicalproperties.system import typing - - -class SolidPhysicalPropertyMethod(jneqsim.physicalproperties.methods.PhysicalPropertyMethod): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def setPhase(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties) -> None: ... - +class SolidPhysicalPropertyMethod( + jneqsim.physicalproperties.methods.PhysicalPropertyMethod +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def setPhase( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties")``. SolidPhysicalPropertyMethod: typing.Type[SolidPhysicalPropertyMethod] - conductivity: jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity.__module_protocol__ - density: jneqsim.physicalproperties.methods.solidphysicalproperties.density.__module_protocol__ - diffusivity: jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity.__module_protocol__ - viscosity: jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity.__module_protocol__ + conductivity: ( + jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity.__module_protocol__ + ) + density: ( + jneqsim.physicalproperties.methods.solidphysicalproperties.density.__module_protocol__ + ) + diffusivity: ( + jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity.__module_protocol__ + ) + viscosity: ( + jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi index c825dc55..d6c01b3e 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/conductivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - -class Conductivity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class Conductivity( + jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcConductivity(self) -> float: ... - def clone(self) -> 'Conductivity': ... - + def clone(self) -> "Conductivity": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.conductivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi index b040be27..55362c1e 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/density/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,13 +10,15 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - -class Density(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DensityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... +class Density( + jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DensityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcDensity(self) -> float: ... - def clone(self) -> 'Density': ... - + def clone(self) -> "Density": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.density")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi index 4a643c08..9355bd17 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/diffusivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,26 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - -class Diffusivity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface): - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... - def calcBinaryDiffusionCoefficient(self, int: int, int2: int, int3: int) -> float: ... - def calcDiffusionCoefficients(self, int: int, int2: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... +class Diffusivity( + jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface, +): + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... + def calcBinaryDiffusionCoefficient( + self, int: int, int2: int, int3: int + ) -> float: ... + def calcDiffusionCoefficients( + self, int: int, int2: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... - def clone(self) -> 'Diffusivity': ... + def clone(self) -> "Diffusivity": ... def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... def getFickBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... - def getMaxwellStefanBinaryDiffusionCoefficient(self, int: int, int2: int) -> float: ... - + def getMaxwellStefanBinaryDiffusionCoefficient( + self, int: int, int2: int + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.diffusivity")``. diff --git a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi index 05e66fcd..8a8bb111 100644 --- a/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/methods/solidphysicalproperties/viscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,18 +10,20 @@ import jneqsim.physicalproperties.methods.solidphysicalproperties import jneqsim.physicalproperties.system import typing - - -class Viscosity(jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface): +class Viscosity( + jneqsim.physicalproperties.methods.solidphysicalproperties.SolidPhysicalPropertyMethod, + jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface, +): pureComponentViscosity: typing.MutableSequence[float] = ... - def __init__(self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties): ... + def __init__( + self, physicalProperties: jneqsim.physicalproperties.system.PhysicalProperties + ): ... def calcPureComponentViscosity(self) -> None: ... def calcViscosity(self) -> float: ... - def clone(self) -> 'Viscosity': ... + def clone(self) -> "Viscosity": ... def getPureComponentViscosity(self, int: int) -> float: ... def getViscosityPressureCorrection(self, int: int) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.methods.solidphysicalproperties.viscosity")``. diff --git a/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi b/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi index 47abd115..ff0e2338 100644 --- a/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,26 +10,31 @@ import jneqsim.thermo import jneqsim.thermo.phase import typing - - class PhysicalPropertyMixingRuleInterface(java.lang.Cloneable): - def clone(self) -> 'PhysicalPropertyMixingRuleInterface': ... + def clone(self) -> "PhysicalPropertyMixingRuleInterface": ... def getViscosityGij(self, int: int, int2: int) -> float: ... - def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + 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): +class PhysicalPropertyMixingRule( + PhysicalPropertyMixingRuleInterface, jneqsim.thermo.ThermodynamicConstantsInterface +): Gij: typing.MutableSequence[typing.MutableSequence[float]] = ... def __init__(self): ... - def clone(self) -> 'PhysicalPropertyMixingRule': ... + def clone(self) -> "PhysicalPropertyMixingRule": ... def getPhysicalPropertyMixingRule(self) -> PhysicalPropertyMixingRuleInterface: ... def getViscosityGij(self, int: int, int2: int) -> float: ... - def initMixingRules(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def initMixingRules( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... def setViscosityGij(self, double: float, int: int, int2: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.mixingrule")``. PhysicalPropertyMixingRule: typing.Type[PhysicalPropertyMixingRule] - PhysicalPropertyMixingRuleInterface: typing.Type[PhysicalPropertyMixingRuleInterface] + PhysicalPropertyMixingRuleInterface: typing.Type[ + PhysicalPropertyMixingRuleInterface + ] diff --git a/src/jneqsim-stubs/physicalproperties/system/__init__.pyi b/src/jneqsim-stubs/physicalproperties/system/__init__.pyi index 2532f990..dc9a5f4a 100644 --- a/src/jneqsim-stubs/physicalproperties/system/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,13 +18,21 @@ import jneqsim.thermo import jneqsim.thermo.phase import typing - - -class PhysicalProperties(java.lang.Cloneable, jneqsim.thermo.ThermodynamicConstantsInterface): - conductivityCalc: jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface = ... - viscosityCalc: jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface = ... - diffusivityCalc: jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface = ... - densityCalc: jneqsim.physicalproperties.methods.methodinterface.DensityInterface = ... +class PhysicalProperties( + java.lang.Cloneable, jneqsim.thermo.ThermodynamicConstantsInterface +): + conductivityCalc: ( + jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface + ) = ... + viscosityCalc: ( + jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface + ) = ... + diffusivityCalc: ( + jneqsim.physicalproperties.methods.methodinterface.DiffusivityInterface + ) = ... + densityCalc: jneqsim.physicalproperties.methods.methodinterface.DensityInterface = ( + ... + ) kinematicViscosity: float = ... density: float = ... viscosity: float = ... @@ -32,94 +40,146 @@ class PhysicalProperties(java.lang.Cloneable, jneqsim.thermo.ThermodynamicConsta @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... @typing.overload - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... def calcDensity(self) -> float: ... def calcEffectiveDiffusionCoefficients(self) -> None: ... def calcKinematicViscosity(self) -> float: ... - def clone(self) -> 'PhysicalProperties': ... + def clone(self) -> "PhysicalProperties": ... def getConductivity(self) -> float: ... - def getConductivityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... + def getConductivityModel( + self, + ) -> jneqsim.physicalproperties.methods.methodinterface.ConductivityInterface: ... def getCspViscosityCorrectionFactors(self) -> typing.MutableSequence[float]: ... def getCspViscosityParameters(self) -> typing.MutableSequence[float]: ... def getDensity(self) -> float: ... @typing.overload def getDiffusionCoefficient(self, int: int, int2: int) -> float: ... @typing.overload - def getDiffusionCoefficient(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getDiffusionCoefficient( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getEffectiveDiffusionCoefficient(self, int: int) -> float: ... @typing.overload - def getEffectiveDiffusionCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEffectiveDiffusionCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getEffectiveSchmidtNumber(self, int: int) -> float: ... def getFickDiffusionCoefficient(self, int: int, int2: int) -> float: ... def getKinematicViscosity(self) -> float: ... def getLbcParameters(self) -> typing.MutableSequence[float]: ... - def getMixingRule(self) -> jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface: ... + def getMixingRule( + self, + ) -> jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface: ... def getPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getPureComponentViscosity(self, int: int) -> float: ... def getViscosity(self) -> float: ... - def getViscosityModel(self) -> jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface: ... + def getViscosityModel( + self, + ) -> jneqsim.physicalproperties.methods.methodinterface.ViscosityInterface: ... def getViscosityOfWaxyOil(self, double: float, double2: float) -> float: ... def getWaxViscosityParameter(self) -> typing.MutableSequence[float]: ... @typing.overload def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... @typing.overload - def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType, + ) -> None: ... def isLBCViscosityModel(self) -> bool: ... def isPFCTViscosityModel(self) -> bool: ... def setBinaryDiffusionCoefficientMethod(self, int: int) -> None: ... - def setConductivityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConductivityModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCspViscosityCorrectionFactor(self, int: int, double: float) -> None: ... - def setCspViscosityCorrectionFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCspViscosityCorrectionFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setCspViscosityParameter(self, int: int, double: float) -> None: ... - def setCspViscosityParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCspViscosityParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDiffusionCoefficientModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiffusionCoefficientModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLbcParameter(self, int: int, double: float) -> None: ... - def setLbcParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMixingRule(self, physicalPropertyMixingRuleInterface: jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface) -> None: ... + def setLbcParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMixingRule( + self, + physicalPropertyMixingRuleInterface: jneqsim.physicalproperties.mixingrule.PhysicalPropertyMixingRuleInterface, + ) -> None: ... def setMixingRuleNull(self) -> None: ... def setMulticomponentDiffusionMethod(self, int: int) -> None: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def setPhases(self) -> None: ... - def setViscosityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setViscosityModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setWaxViscosityParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWaxViscosityParameter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setWaxViscosityParameter(self, int: int, double: float) -> None: ... -class PhysicalPropertyModel(java.lang.Enum['PhysicalPropertyModel']): - DEFAULT: typing.ClassVar['PhysicalPropertyModel'] = ... - WATER: typing.ClassVar['PhysicalPropertyModel'] = ... - GLYCOL: typing.ClassVar['PhysicalPropertyModel'] = ... - AMINE: typing.ClassVar['PhysicalPropertyModel'] = ... - CO2WATER: typing.ClassVar['PhysicalPropertyModel'] = ... - BASIC: typing.ClassVar['PhysicalPropertyModel'] = ... - SALT_WATER: typing.ClassVar['PhysicalPropertyModel'] = ... +class PhysicalPropertyModel(java.lang.Enum["PhysicalPropertyModel"]): + DEFAULT: typing.ClassVar["PhysicalPropertyModel"] = ... + WATER: typing.ClassVar["PhysicalPropertyModel"] = ... + GLYCOL: typing.ClassVar["PhysicalPropertyModel"] = ... + AMINE: typing.ClassVar["PhysicalPropertyModel"] = ... + CO2WATER: typing.ClassVar["PhysicalPropertyModel"] = ... + BASIC: typing.ClassVar["PhysicalPropertyModel"] = ... + SALT_WATER: typing.ClassVar["PhysicalPropertyModel"] = ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'PhysicalPropertyModel': ... + def byName( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyModel": ... @staticmethod - def byValue(int: int) -> 'PhysicalPropertyModel': ... + def byValue(int: int) -> "PhysicalPropertyModel": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PhysicalPropertyModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhysicalPropertyModel": ... @staticmethod - def values() -> typing.MutableSequence['PhysicalPropertyModel']: ... - + def values() -> typing.MutableSequence["PhysicalPropertyModel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system")``. PhysicalProperties: typing.Type[PhysicalProperties] PhysicalPropertyModel: typing.Type[PhysicalPropertyModel] - commonphasephysicalproperties: jneqsim.physicalproperties.system.commonphasephysicalproperties.__module_protocol__ - gasphysicalproperties: jneqsim.physicalproperties.system.gasphysicalproperties.__module_protocol__ - liquidphysicalproperties: jneqsim.physicalproperties.system.liquidphysicalproperties.__module_protocol__ - solidphysicalproperties: jneqsim.physicalproperties.system.solidphysicalproperties.__module_protocol__ + commonphasephysicalproperties: ( + jneqsim.physicalproperties.system.commonphasephysicalproperties.__module_protocol__ + ) + gasphysicalproperties: ( + jneqsim.physicalproperties.system.gasphysicalproperties.__module_protocol__ + ) + liquidphysicalproperties: ( + jneqsim.physicalproperties.system.liquidphysicalproperties.__module_protocol__ + ) + solidphysicalproperties: ( + jneqsim.physicalproperties.system.solidphysicalproperties.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi index 2eef4c1f..a2439e48 100644 --- a/src/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/system/commonphasephysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,11 +9,10 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class DefaultPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.commonphasephysicalproperties")``. diff --git a/src/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi index 06ed955d..150b05aa 100644 --- a/src/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/system/gasphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,18 +9,21 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class GasPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - def clone(self) -> 'GasPhysicalProperties': ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... + def clone(self) -> "GasPhysicalProperties": ... class AirPhysicalProperties(GasPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class NaturalGasPhysicalProperties(GasPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.gasphysicalproperties")``. diff --git a/src/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi index 01620630..05babcd3 100644 --- a/src/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/system/liquidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,28 +9,37 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class CO2waterPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - def clone(self) -> 'CO2waterPhysicalProperties': ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... + def clone(self) -> "CO2waterPhysicalProperties": ... class LiquidPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - def clone(self) -> 'LiquidPhysicalProperties': ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... + def clone(self) -> "LiquidPhysicalProperties": ... class AminePhysicalProperties(LiquidPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class GlycolPhysicalProperties(LiquidPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class WaterPhysicalProperties(LiquidPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class SaltWaterPhysicalProperties(WaterPhysicalProperties): - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int): ... - + def __init__( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.liquidphysicalproperties")``. diff --git a/src/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi b/src/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi index 15663403..bc024b28 100644 --- a/src/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/system/solidphysicalproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,12 +9,9 @@ import jneqsim.physicalproperties.system import jneqsim.thermo.phase import typing - - class SolidPhysicalProperties(jneqsim.physicalproperties.system.PhysicalProperties): def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.system.solidphysicalproperties")``. diff --git a/src/jneqsim-stubs/physicalproperties/util/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/__init__.pyi index b370d2ff..cba76fa1 100644 --- a/src/jneqsim-stubs/physicalproperties/util/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,9 @@ else: import jneqsim.physicalproperties.util.parameterfitting import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util")``. - parameterfitting: jneqsim.physicalproperties.util.parameterfitting.__module_protocol__ + parameterfitting: ( + jneqsim.physicalproperties.util.parameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi index 8472550e..d1c65431 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,9 @@ else: import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting")``. - purecomponentparameterfitting: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.__module_protocol__ + purecomponentparameterfitting: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi index 02780107..f105ed84 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting")``. - purecompinterfacetension: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension.__module_protocol__ - purecompviscosity: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.__module_protocol__ + purecompinterfacetension: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension.__module_protocol__ + ) + purecompviscosity: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi index 83490b4a..c9722906 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompinterfacetension/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - -class ParachorFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ParachorFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class TestParachorFit: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompinterfacetension")``. diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi index cb694af1..ffe9f92a 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfi import jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity")``. - chungmethod: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod.__module_protocol__ - linearliquidmodel: jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel.__module_protocol__ + chungmethod: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod.__module_protocol__ + ) + linearliquidmodel: ( + jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi index 353c3046..79f98106 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/chungmethod/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - -class ChungFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ChungFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class TestChungFit: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.chungmethod")``. diff --git a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi index abde4dda..5fad580c 100644 --- a/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi +++ b/src/jneqsim-stubs/physicalproperties/util/parameterfitting/purecomponentparameterfitting/purecompviscosity/linearliquidmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,21 +10,26 @@ import jpype import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - class TestViscosityFit: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ViscosityFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.physicalproperties.util.parameterfitting.purecomponentparameterfitting.purecompviscosity.linearliquidmodel")``. diff --git a/src/jneqsim-stubs/process/__init__.pyi b/src/jneqsim-stubs/process/__init__.pyi index f89e64f8..36743332 100644 --- a/src/jneqsim-stubs/process/__init__.pyi +++ b/src/jneqsim-stubs/process/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -47,11 +47,11 @@ import jneqsim.process.util import jneqsim.util import typing - - class ProcessElementInterface(jneqsim.util.NamedInterface, java.io.Serializable): ... -class SimulationInterface(jneqsim.util.NamedInterface, java.lang.Runnable, java.io.Serializable): +class SimulationInterface( + jneqsim.util.NamedInterface, java.lang.Runnable, java.io.Serializable +): def getCalculateSteadyState(self) -> bool: ... def getCalculationIdentifier(self) -> java.util.UUID: ... def getReport_json(self) -> java.lang.String: ... @@ -88,7 +88,6 @@ class SimulationBaseClass(jneqsim.util.NamedBaseClass, SimulationInterface): def setRunInSteps(self, boolean: bool) -> None: ... def setTime(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process")``. diff --git a/src/jneqsim-stubs/process/advisory/__init__.pyi b/src/jneqsim-stubs/process/advisory/__init__.pyi index 219675b2..3bac2121 100644 --- a/src/jneqsim-stubs/process/advisory/__init__.pyi +++ b/src/jneqsim-stubs/process/advisory/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,65 +11,118 @@ import java.time import java.util import typing - - class PredictionResult(java.io.Serializable): @typing.overload def __init__(self, duration: java.time.Duration): ... @typing.overload - def __init__(self, duration: java.time.Duration, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, duration: java.time.Duration, string: typing.Union[java.lang.String, str] + ): ... def addAssumption(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addPredictedValue(self, string: typing.Union[java.lang.String, str], predictedValue: 'PredictionResult.PredictedValue') -> None: ... - def addViolation(self, constraintViolation: 'PredictionResult.ConstraintViolation') -> None: ... + def addPredictedValue( + self, + string: typing.Union[java.lang.String, str], + predictedValue: "PredictionResult.PredictedValue", + ) -> None: ... + def addViolation( + self, constraintViolation: "PredictionResult.ConstraintViolation" + ) -> None: ... def getAdvisoryRecommendation(self) -> java.lang.String: ... - def getAllPredictedValues(self) -> java.util.Map[java.lang.String, 'PredictionResult.PredictedValue']: ... + def getAllPredictedValues( + self, + ) -> java.util.Map[java.lang.String, "PredictionResult.PredictedValue"]: ... def getAssumptions(self) -> java.util.List[java.lang.String]: ... def getExplanation(self) -> java.lang.String: ... def getHorizon(self) -> java.time.Duration: ... def getOverallConfidence(self) -> float: ... def getPredictionTime(self) -> java.time.Instant: ... def getScenarioName(self) -> java.lang.String: ... - def getStatus(self) -> 'PredictionResult.PredictionStatus': ... - def getValue(self, string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictedValue': ... + def getStatus(self) -> "PredictionResult.PredictionStatus": ... + def getValue( + self, string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.PredictedValue": ... def getViolationSummary(self) -> java.lang.String: ... - def getViolations(self) -> java.util.List['PredictionResult.ConstraintViolation']: ... + def getViolations( + self, + ) -> java.util.List["PredictionResult.ConstraintViolation"]: ... def hasViolations(self) -> bool: ... def setExplanation(self, string: typing.Union[java.lang.String, str]) -> None: ... def setOverallConfidence(self, double: float) -> None: ... - def setStatus(self, predictionStatus: 'PredictionResult.PredictionStatus') -> None: ... + def setStatus( + self, predictionStatus: "PredictionResult.PredictionStatus" + ) -> None: ... + class ConstraintViolation(java.io.Serializable): - def __init__(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], duration: java.time.Duration, severity: 'PredictionResult.ConstraintViolation.Severity'): ... + def __init__( + 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], + duration: java.time.Duration, + severity: "PredictionResult.ConstraintViolation.Severity", + ): ... def getConstraintName(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getLimitValue(self) -> float: ... def getPredictedValue(self) -> float: ... - def getSeverity(self) -> 'PredictionResult.ConstraintViolation.Severity': ... + def getSeverity(self) -> "PredictionResult.ConstraintViolation.Severity": ... def getSuggestedAction(self) -> java.lang.String: ... def getTimeToViolation(self) -> java.time.Duration: ... def getUnit(self) -> java.lang.String: ... def getVariableName(self) -> java.lang.String: ... - def setSuggestedAction(self, string: typing.Union[java.lang.String, str]) -> None: ... - class Severity(java.lang.Enum['PredictionResult.ConstraintViolation.Severity']): - LOW: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... - MEDIUM: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... - HIGH: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... - CRITICAL: typing.ClassVar['PredictionResult.ConstraintViolation.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setSuggestedAction( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class Severity(java.lang.Enum["PredictionResult.ConstraintViolation.Severity"]): + LOW: typing.ClassVar["PredictionResult.ConstraintViolation.Severity"] = ... + MEDIUM: typing.ClassVar["PredictionResult.ConstraintViolation.Severity"] = ( + ... + ) + HIGH: typing.ClassVar["PredictionResult.ConstraintViolation.Severity"] = ... + CRITICAL: typing.ClassVar[ + "PredictionResult.ConstraintViolation.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: ... + 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]) -> 'PredictionResult.ConstraintViolation.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.ConstraintViolation.Severity": ... @staticmethod - def values() -> typing.MutableSequence['PredictionResult.ConstraintViolation.Severity']: ... + def values() -> ( + typing.MutableSequence["PredictionResult.ConstraintViolation.Severity"] + ): ... + class PredictedValue(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + double4: float, + ): ... @typing.overload - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... @staticmethod - def deterministic(double: float, string: typing.Union[java.lang.String, str]) -> 'PredictionResult.PredictedValue': ... + def deterministic( + double: float, string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.PredictedValue": ... def getConfidence(self) -> float: ... def getLower95(self) -> float: ... def getMean(self) -> float: ... @@ -77,21 +130,26 @@ class PredictionResult(java.io.Serializable): def getUnit(self) -> java.lang.String: ... def getUpper95(self) -> float: ... def toString(self) -> java.lang.String: ... - class PredictionStatus(java.lang.Enum['PredictionResult.PredictionStatus']): - SUCCESS: typing.ClassVar['PredictionResult.PredictionStatus'] = ... - WARNING: typing.ClassVar['PredictionResult.PredictionStatus'] = ... - FAILED: typing.ClassVar['PredictionResult.PredictionStatus'] = ... - DATA_QUALITY_ISSUE: typing.ClassVar['PredictionResult.PredictionStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class PredictionStatus(java.lang.Enum["PredictionResult.PredictionStatus"]): + SUCCESS: typing.ClassVar["PredictionResult.PredictionStatus"] = ... + WARNING: typing.ClassVar["PredictionResult.PredictionStatus"] = ... + FAILED: typing.ClassVar["PredictionResult.PredictionStatus"] = ... + DATA_QUALITY_ISSUE: typing.ClassVar["PredictionResult.PredictionStatus"] = ... + _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: ... + 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]) -> 'PredictionResult.PredictionStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PredictionResult.PredictionStatus": ... @staticmethod - def values() -> typing.MutableSequence['PredictionResult.PredictionStatus']: ... - + def values() -> typing.MutableSequence["PredictionResult.PredictionStatus"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.advisory")``. diff --git a/src/jneqsim-stubs/process/alarm/__init__.pyi b/src/jneqsim-stubs/process/alarm/__init__.pyi index 10418788..dbe9ba2f 100644 --- a/src/jneqsim-stubs/process/alarm/__init__.pyi +++ b/src/jneqsim-stubs/process/alarm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,121 +13,184 @@ import jneqsim.process.measurementdevice import jneqsim.process.processmodel import typing - - class AlarmActionHandler(java.io.Serializable): @staticmethod - def activateLogic(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', alarmEventType: 'AlarmEventType', processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + def activateLogic( + string: typing.Union[java.lang.String, str], + alarmLevel: "AlarmLevel", + alarmEventType: "AlarmEventType", + processLogic: jneqsim.process.logic.ProcessLogic, + ) -> "AlarmActionHandler": ... @staticmethod - def activateLogicOnHIHI(string: typing.Union[java.lang.String, str], processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + def activateLogicOnHIHI( + string: typing.Union[java.lang.String, str], + processLogic: jneqsim.process.logic.ProcessLogic, + ) -> "AlarmActionHandler": ... @staticmethod - def activateLogicOnLOLO(string: typing.Union[java.lang.String, str], processLogic: jneqsim.process.logic.ProcessLogic) -> 'AlarmActionHandler': ... + def activateLogicOnLOLO( + string: typing.Union[java.lang.String, str], + processLogic: jneqsim.process.logic.ProcessLogic, + ) -> "AlarmActionHandler": ... @staticmethod - def composite(list: java.util.List[typing.Union['AlarmActionHandler', typing.Callable]]) -> 'AlarmActionHandler': ... + def composite( + list: java.util.List[typing.Union["AlarmActionHandler", typing.Callable]] + ) -> "AlarmActionHandler": ... def getActionDescription(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def handle(self, alarmEvent: 'AlarmEvent') -> bool: ... + def handle(self, alarmEvent: "AlarmEvent") -> bool: ... class AlarmConfig(java.io.Serializable): @staticmethod - def builder() -> 'AlarmConfig.Builder': ... + def builder() -> "AlarmConfig.Builder": ... def getDeadband(self) -> float: ... def getDelay(self) -> float: ... def getHighHighLimit(self) -> float: ... def getHighLimit(self) -> float: ... - def getLimit(self, alarmLevel: 'AlarmLevel') -> float: ... + def getLimit(self, alarmLevel: "AlarmLevel") -> float: ... def getLowLimit(self) -> float: ... def getLowLowLimit(self) -> float: ... def getUnit(self) -> java.lang.String: ... - def hasLimit(self, alarmLevel: 'AlarmLevel') -> bool: ... + def hasLimit(self, alarmLevel: "AlarmLevel") -> bool: ... + class Builder: - def build(self) -> 'AlarmConfig': ... - def deadband(self, double: float) -> 'AlarmConfig.Builder': ... - def delay(self, double: float) -> 'AlarmConfig.Builder': ... - def highHighLimit(self, double: float) -> 'AlarmConfig.Builder': ... - def highLimit(self, double: float) -> 'AlarmConfig.Builder': ... - def lowLimit(self, double: float) -> 'AlarmConfig.Builder': ... - def lowLowLimit(self, double: float) -> 'AlarmConfig.Builder': ... - def unit(self, string: typing.Union[java.lang.String, str]) -> 'AlarmConfig.Builder': ... + def build(self) -> "AlarmConfig": ... + def deadband(self, double: float) -> "AlarmConfig.Builder": ... + def delay(self, double: float) -> "AlarmConfig.Builder": ... + def highHighLimit(self, double: float) -> "AlarmConfig.Builder": ... + def highLimit(self, double: float) -> "AlarmConfig.Builder": ... + def lowLimit(self, double: float) -> "AlarmConfig.Builder": ... + def lowLowLimit(self, double: float) -> "AlarmConfig.Builder": ... + def unit( + self, string: typing.Union[java.lang.String, str] + ) -> "AlarmConfig.Builder": ... class AlarmEvaluator: @staticmethod - def evaluateAll(processAlarmManager: 'ProcessAlarmManager', processSystem: jneqsim.process.processmodel.ProcessSystem, double: float, double2: float) -> java.util.List['AlarmEvent']: ... + def evaluateAll( + processAlarmManager: "ProcessAlarmManager", + processSystem: jneqsim.process.processmodel.ProcessSystem, + double: float, + double2: float, + ) -> java.util.List["AlarmEvent"]: ... @staticmethod - def evaluateAndDisplay(processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface], double: float, double2: float) -> java.util.List['AlarmEvent']: ... + def evaluateAndDisplay( + processAlarmManager: "ProcessAlarmManager", + list: java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ], + double: float, + double2: float, + ) -> java.util.List["AlarmEvent"]: ... @staticmethod - def evaluateDevices(processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface], double: float, double2: float) -> java.util.List['AlarmEvent']: ... + def evaluateDevices( + processAlarmManager: "ProcessAlarmManager", + list: java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ], + double: float, + double2: float, + ) -> java.util.List["AlarmEvent"]: ... class AlarmEvent(java.io.Serializable): @staticmethod - def acknowledged(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... + def acknowledged( + string: typing.Union[java.lang.String, str], + alarmLevel: "AlarmLevel", + double: float, + double2: float, + ) -> "AlarmEvent": ... @staticmethod - def activated(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... + def activated( + string: typing.Union[java.lang.String, str], + alarmLevel: "AlarmLevel", + double: float, + double2: float, + ) -> "AlarmEvent": ... @staticmethod - def cleared(string: typing.Union[java.lang.String, str], alarmLevel: 'AlarmLevel', double: float, double2: float) -> 'AlarmEvent': ... - def getLevel(self) -> 'AlarmLevel': ... + def cleared( + string: typing.Union[java.lang.String, str], + alarmLevel: "AlarmLevel", + double: float, + double2: float, + ) -> "AlarmEvent": ... + def getLevel(self) -> "AlarmLevel": ... def getSource(self) -> java.lang.String: ... def getTimestamp(self) -> float: ... - def getType(self) -> 'AlarmEventType': ... + def getType(self) -> "AlarmEventType": ... def getValue(self) -> float: ... def toString(self) -> java.lang.String: ... -class AlarmEventType(java.lang.Enum['AlarmEventType']): - ACTIVATED: typing.ClassVar['AlarmEventType'] = ... - CLEARED: typing.ClassVar['AlarmEventType'] = ... - ACKNOWLEDGED: typing.ClassVar['AlarmEventType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class AlarmEventType(java.lang.Enum["AlarmEventType"]): + ACTIVATED: typing.ClassVar["AlarmEventType"] = ... + CLEARED: typing.ClassVar["AlarmEventType"] = ... + ACKNOWLEDGED: typing.ClassVar["AlarmEventType"] = ... + _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: ... + 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]) -> 'AlarmEventType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AlarmEventType": ... @staticmethod - def values() -> typing.MutableSequence['AlarmEventType']: ... + def values() -> typing.MutableSequence["AlarmEventType"]: ... -class AlarmLevel(java.lang.Enum['AlarmLevel']): - LOLO: typing.ClassVar['AlarmLevel'] = ... - LO: typing.ClassVar['AlarmLevel'] = ... - HI: typing.ClassVar['AlarmLevel'] = ... - HIHI: typing.ClassVar['AlarmLevel'] = ... - def getDirection(self) -> 'AlarmLevel.Direction': ... +class AlarmLevel(java.lang.Enum["AlarmLevel"]): + LOLO: typing.ClassVar["AlarmLevel"] = ... + LO: typing.ClassVar["AlarmLevel"] = ... + HI: typing.ClassVar["AlarmLevel"] = ... + HIHI: typing.ClassVar["AlarmLevel"] = ... + def getDirection(self) -> "AlarmLevel.Direction": ... def getPriority(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AlarmLevel': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AlarmLevel": ... @staticmethod - def values() -> typing.MutableSequence['AlarmLevel']: ... - class Direction(java.lang.Enum['AlarmLevel.Direction']): - LOW: typing.ClassVar['AlarmLevel.Direction'] = ... - HIGH: typing.ClassVar['AlarmLevel.Direction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["AlarmLevel"]: ... + + class Direction(java.lang.Enum["AlarmLevel.Direction"]): + LOW: typing.ClassVar["AlarmLevel.Direction"] = ... + HIGH: typing.ClassVar["AlarmLevel.Direction"] = ... + _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: ... + 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]) -> 'AlarmLevel.Direction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AlarmLevel.Direction": ... @staticmethod - def values() -> typing.MutableSequence['AlarmLevel.Direction']: ... + def values() -> typing.MutableSequence["AlarmLevel.Direction"]: ... class AlarmReporter: @staticmethod def displayAlarmEvents(list: java.util.List[AlarmEvent]) -> None: ... @typing.overload @staticmethod - def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager') -> None: ... + def displayAlarmHistory(processAlarmManager: "ProcessAlarmManager") -> None: ... @typing.overload @staticmethod - def displayAlarmHistory(processAlarmManager: 'ProcessAlarmManager', int: int) -> None: ... + def displayAlarmHistory( + processAlarmManager: "ProcessAlarmManager", int: int + ) -> None: ... @staticmethod - def displayAlarmStatistics(processAlarmManager: 'ProcessAlarmManager') -> None: ... + def displayAlarmStatistics(processAlarmManager: "ProcessAlarmManager") -> None: ... @staticmethod - def displayAlarmStatus(processAlarmManager: 'ProcessAlarmManager', string: typing.Union[java.lang.String, str]) -> None: ... + def displayAlarmStatus( + processAlarmManager: "ProcessAlarmManager", + string: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod def formatAlarmEvent(alarmEvent: AlarmEvent) -> java.lang.String: ... @staticmethod @@ -137,8 +200,17 @@ class AlarmReporter: class AlarmState(java.io.Serializable): def __init__(self): ... - def acknowledge(self, string: typing.Union[java.lang.String, str], double: float) -> AlarmEvent: ... - def evaluate(self, alarmConfig: AlarmConfig, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> java.util.List[AlarmEvent]: ... + def acknowledge( + self, string: typing.Union[java.lang.String, str], double: float + ) -> AlarmEvent: ... + def evaluate( + self, + alarmConfig: AlarmConfig, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> java.util.List[AlarmEvent]: ... def getActiveLevel(self) -> AlarmLevel: ... def getLastUpdateTime(self) -> float: ... def getLastValue(self) -> float: ... @@ -151,12 +223,23 @@ class AlarmState(java.io.Serializable): @typing.overload def shelve(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def shelve(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def snapshot(self, string: typing.Union[java.lang.String, str]) -> 'AlarmStatusSnapshot': ... + def shelve( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def snapshot( + self, string: typing.Union[java.lang.String, str] + ) -> "AlarmStatusSnapshot": ... def unshelve(self) -> None: ... class AlarmStatusSnapshot(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], alarmLevel: AlarmLevel, boolean: bool, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + alarmLevel: AlarmLevel, + boolean: bool, + double: float, + double2: float, + ): ... def getLevel(self) -> AlarmLevel: ... def getSource(self) -> java.lang.String: ... def getTimestamp(self) -> float: ... @@ -166,19 +249,42 @@ class AlarmStatusSnapshot(java.io.Serializable): class ProcessAlarmManager(java.io.Serializable): def __init__(self): ... def acknowledgeAll(self, double: float) -> java.util.List[AlarmEvent]: ... - def applyFrom(self, processAlarmManager: 'ProcessAlarmManager', list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]) -> None: ... + def applyFrom( + self, + processAlarmManager: "ProcessAlarmManager", + list: java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ], + ) -> None: ... def clearHistory(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def evaluateMeasurement(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, double2: float, double3: float) -> java.util.List[AlarmEvent]: ... + def evaluateMeasurement( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + double: float, + double2: float, + double3: float, + ) -> java.util.List[AlarmEvent]: ... def getActionHandlers(self) -> java.util.List[AlarmActionHandler]: ... def getActiveAlarms(self) -> java.util.List[AlarmStatusSnapshot]: ... def getHistory(self) -> java.util.List[AlarmEvent]: ... def hashCode(self) -> int: ... - def register(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... - def registerActionHandler(self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable]) -> None: ... - def registerAll(self, list: java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]) -> None: ... - def removeActionHandler(self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable]) -> None: ... - + def register( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... + def registerActionHandler( + self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable] + ) -> None: ... + def registerAll( + self, + list: java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ], + ) -> None: ... + def removeActionHandler( + self, alarmActionHandler: typing.Union[AlarmActionHandler, typing.Callable] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.alarm")``. diff --git a/src/jneqsim-stubs/process/allocation/__init__.pyi b/src/jneqsim-stubs/process/allocation/__init__.pyi index d2e1db1c..cf8d3684 100644 --- a/src/jneqsim-stubs/process/allocation/__init__.pyi +++ b/src/jneqsim-stubs/process/allocation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,87 +14,184 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class AllocationComparison: SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... DEFAULT_TOLERANCE: typing.ClassVar[float] = ... - def __init__(self, map: typing.Union[java.util.Map['AllocationMethod', 'ProductionAllocationResult'], typing.Mapping['AllocationMethod', 'ProductionAllocationResult']], map2: typing.Union[java.util.Map['AllocationMethod', int], typing.Mapping['AllocationMethod', int]]): ... - def getMaxRelativeDifference(self, allocationMethod: 'AllocationMethod', allocationMethod2: 'AllocationMethod') -> float: ... - def getOwnerSensitivity(self, string: typing.Union[java.lang.String, str]) -> java.util.List['AllocationComparison.OwnerSensitivity']: ... + def __init__( + self, + map: typing.Union[ + java.util.Map["AllocationMethod", "ProductionAllocationResult"], + typing.Mapping["AllocationMethod", "ProductionAllocationResult"], + ], + map2: typing.Union[ + java.util.Map["AllocationMethod", int], + typing.Mapping["AllocationMethod", int], + ], + ): ... + def getMaxRelativeDifference( + self, + allocationMethod: "AllocationMethod", + allocationMethod2: "AllocationMethod", + ) -> float: ... + def getOwnerSensitivity( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["AllocationComparison.OwnerSensitivity"]: ... def getRecommendationRationale(self) -> java.lang.String: ... - def getRecommendedMethod(self) -> 'AllocationMethod': ... - def getResult(self, allocationMethod: 'AllocationMethod') -> 'ProductionAllocationResult': ... - def getResults(self) -> java.util.Map['AllocationMethod', 'ProductionAllocationResult']: ... - def getRuntimeMillis(self, allocationMethod: 'AllocationMethod') -> int: ... - def setTolerance(self, double: float) -> 'AllocationComparison': ... + def getRecommendedMethod(self) -> "AllocationMethod": ... + def getResult( + self, allocationMethod: "AllocationMethod" + ) -> "ProductionAllocationResult": ... + def getResults( + self, + ) -> java.util.Map["AllocationMethod", "ProductionAllocationResult"]: ... + def getRuntimeMillis(self, allocationMethod: "AllocationMethod") -> int: ... + def setTolerance(self, double: float) -> "AllocationComparison": ... def toJson(self) -> java.lang.String: ... + class OwnerSensitivity: - def getPerMethod(self) -> java.util.Map['AllocationMethod', float]: ... - def getProduct(self) -> 'ProductType': ... + def getPerMethod(self) -> java.util.Map["AllocationMethod", float]: ... + def getProduct(self) -> "ProductType": ... def getSource(self) -> java.lang.String: ... def getSpread(self) -> float: ... def getUnit(self) -> java.lang.String: ... -class AllocationMethod(java.lang.Enum['AllocationMethod']): - COMPONENT_RATIO: typing.ClassVar['AllocationMethod'] = ... - ALL_IN: typing.ClassVar['AllocationMethod'] = ... - STAND_ALONE: typing.ClassVar['AllocationMethod'] = ... +class AllocationMethod(java.lang.Enum["AllocationMethod"]): + COMPONENT_RATIO: typing.ClassVar["AllocationMethod"] = ... + ALL_IN: typing.ClassVar["AllocationMethod"] = ... + STAND_ALONE: typing.ClassVar["AllocationMethod"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getRelativeCostRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AllocationMethod': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "AllocationMethod": ... @staticmethod - def values() -> typing.MutableSequence['AllocationMethod']: ... + def values() -> typing.MutableSequence["AllocationMethod"]: ... class AllocationNetwork(java.io.Serializable): - def __init__(self, recoveryFactorExtractor: 'RecoveryFactorExtractor'): ... - def buildRoutingMatrix(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def findCustodyStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def findEntryUnit(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... - def findProducer(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[int]: ... - def findSourceStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def __init__(self, recoveryFactorExtractor: "RecoveryFactorExtractor"): ... + def buildRoutingMatrix( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def findCustodyStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def findEntryUnit( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> int: ... + def findProducer( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> typing.MutableSequence[int]: ... + def findSourceStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getComponentCount(self) -> int: ... - def getCustodyFactor(self, intArray: typing.Union[typing.List[int], jpype.JArray], int2: int) -> float: ... - def getFactors(self) -> 'RecoveryFactorExtractor': ... + def getCustodyFactor( + self, intArray: typing.Union[typing.List[int], jpype.JArray], int2: int + ) -> float: ... + def getFactors(self) -> "RecoveryFactorExtractor": ... def getNodeCount(self) -> int: ... - def getUnits(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUnits( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... class AllocationSource(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getName(self) -> java.lang.String: ... class AllocationUncertaintyEstimator(java.io.Serializable): def __init__(self): ... @typing.overload - def propagate(self, allocationNetwork: AllocationNetwork, intArray: typing.Union[typing.List[int], jpype.JArray], list: java.util.List['CustodyOutlet'], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], productTypeArray: typing.Union[typing.List['ProductType'], jpype.JArray], stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 'AllocationUncertaintyEstimator.UncertaintyResult': ... + def propagate( + self, + allocationNetwork: AllocationNetwork, + intArray: typing.Union[typing.List[int], jpype.JArray], + list: java.util.List["CustodyOutlet"], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + productTypeArray: typing.Union[typing.List["ProductType"], jpype.JArray], + stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> "AllocationUncertaintyEstimator.UncertaintyResult": ... @typing.overload - def propagate(self, sourceAllocator: 'SourceAllocator', doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 'AllocationUncertaintyEstimator.UncertaintyResult': ... + def propagate( + self, + sourceAllocator: "SourceAllocator", + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> "AllocationUncertaintyEstimator.UncertaintyResult": ... def setNegativeClipTolerance(self, double: float) -> None: ... + class UncertaintyResult(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], productTypeArray: typing.Union[typing.List['ProductType'], jpype.JArray], stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray]): ... - def getAllocatedComponentFlowStdDevMoles(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getAllocatedFlowStdDevKgPerHr(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getAllocatedFlowStdDevMoles(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getAllocatedFlowVariance(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + productTypeArray: typing.Union[typing.List["ProductType"], jpype.JArray], + stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[float]]], + jpype.JArray, + ], + ): ... + def getAllocatedComponentFlowStdDevMoles( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getAllocatedFlowStdDevKgPerHr( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getAllocatedFlowStdDevMoles( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getAllocatedFlowVariance( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getCustodyNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getProductAllocationStdDev(self, string: typing.Union[java.lang.String, str], productType: 'ProductType', string2: typing.Union[java.lang.String, str]) -> float: ... + def getProductAllocationStdDev( + self, + string: typing.Union[java.lang.String, str], + productType: "ProductType", + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getSourceNames(self) -> typing.MutableSequence[java.lang.String]: ... def toJson(self) -> java.lang.String: ... class CustodyOutlet(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, productType: 'ProductType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + productType: "ProductType", + ): ... def getName(self) -> java.lang.String: ... - def getProductType(self) -> 'ProductType': ... + def getProductType(self) -> "ProductType": ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... class LinearAllocationSolver(java.io.Serializable): @@ -102,89 +199,183 @@ class LinearAllocationSolver(java.io.Serializable): def setMaxIterations(self, int: int) -> None: ... def setNegativeClipTolerance(self, double: float) -> None: ... def setTolerance(self, double: float) -> None: ... - def solve(self, allocationNetwork: AllocationNetwork, intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 'LinearAllocationSolver.SolverResult': ... + def solve( + self, + allocationNetwork: AllocationNetwork, + intArray: typing.Union[typing.List[int], jpype.JArray], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> "LinearAllocationSolver.SolverResult": ... + class ComponentDiagnostics(java.io.Serializable): def getComponentIndex(self) -> int: ... def getIterations(self) -> int: ... def getMethod(self) -> java.lang.String: ... def getResidual(self) -> float: ... + class SolverResult(java.io.Serializable): - def getDiagnostics(self) -> java.util.List['LinearAllocationSolver.ComponentDiagnostics']: ... + def getDiagnostics( + self, + ) -> java.util.List["LinearAllocationSolver.ComponentDiagnostics"]: ... def getNodeFlow(self, int: int, int2: int, int3: int) -> float: ... class MultiMethodAllocator: def __init__(self): ... @typing.overload - def addCustodyOutlet(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, productType: 'ProductType') -> 'MultiMethodAllocator': ... + def addCustodyOutlet( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + productType: "ProductType", + ) -> "MultiMethodAllocator": ... @typing.overload - def addCustodyOutlet(self, custodyOutlet: CustodyOutlet) -> 'MultiMethodAllocator': ... + def addCustodyOutlet( + self, custodyOutlet: CustodyOutlet + ) -> "MultiMethodAllocator": ... @typing.overload - def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'MultiMethodAllocator': ... + def addSource( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "MultiMethodAllocator": ... @typing.overload - def addSource(self, allocationSource: AllocationSource) -> 'MultiMethodAllocator': ... - def allocate(self, allocationMethod: AllocationMethod) -> 'ProductionAllocationResult': ... + def addSource( + self, allocationSource: AllocationSource + ) -> "MultiMethodAllocator": ... + def allocate( + self, allocationMethod: AllocationMethod + ) -> "ProductionAllocationResult": ... def allocateAll(self) -> AllocationComparison: ... def getBaseCase(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getCustodyOutlets(self) -> java.util.List[CustodyOutlet]: ... def getSources(self) -> java.util.List[AllocationSource]: ... - def setBaseCase(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'MultiMethodAllocator': ... - def setEnforceMassClosure(self, boolean: bool) -> 'MultiMethodAllocator': ... - def setStandaloneZeroFactor(self, double: float) -> 'MultiMethodAllocator': ... - -class ProductType(java.lang.Enum['ProductType']): - GAS: typing.ClassVar['ProductType'] = ... - OIL: typing.ClassVar['ProductType'] = ... - WATER: typing.ClassVar['ProductType'] = ... - MIXED: typing.ClassVar['ProductType'] = ... - UNKNOWN: typing.ClassVar['ProductType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setBaseCase( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "MultiMethodAllocator": ... + def setEnforceMassClosure(self, boolean: bool) -> "MultiMethodAllocator": ... + def setStandaloneZeroFactor(self, double: float) -> "MultiMethodAllocator": ... + +class ProductType(java.lang.Enum["ProductType"]): + GAS: typing.ClassVar["ProductType"] = ... + OIL: typing.ClassVar["ProductType"] = ... + WATER: typing.ClassVar["ProductType"] = ... + MIXED: typing.ClassVar["ProductType"] = ... + UNKNOWN: typing.ClassVar["ProductType"] = ... + _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: ... + 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]) -> 'ProductType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ProductType": ... @staticmethod - def values() -> typing.MutableSequence['ProductType']: ... + def values() -> typing.MutableSequence["ProductType"]: ... class ProductionAllocationResult(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], productTypeArray: typing.Union[typing.List[ProductType], jpype.JArray], stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[float]]], jpype.JArray], list: java.util.List[LinearAllocationSolver.ComponentDiagnostics]): ... - def getAllocatedComponentFlow(self, 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]) -> float: ... - def getAllocatedFlow(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getAllocationFactor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + productTypeArray: typing.Union[typing.List[ProductType], jpype.JArray], + stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[float]]], + jpype.JArray, + ], + list: java.util.List[LinearAllocationSolver.ComponentDiagnostics], + ): ... + def getAllocatedComponentFlow( + self, + 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], + ) -> float: ... + def getAllocatedFlow( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getAllocationFactor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getComponentRecoveryFactor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getComponentRecoveryFactor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getCustodyNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getCustodyTotal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getDiagnostics(self) -> java.util.List[LinearAllocationSolver.ComponentDiagnostics]: ... + def getCustodyTotal( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getDiagnostics( + self, + ) -> java.util.List[LinearAllocationSolver.ComponentDiagnostics]: ... def getMaxResidual(self) -> float: ... - def getProductAllocation(self, string: typing.Union[java.lang.String, str], productType: ProductType, string2: typing.Union[java.lang.String, str]) -> float: ... - def getProductTotal(self, productType: ProductType, string: typing.Union[java.lang.String, str]) -> float: ... + def getProductAllocation( + self, + string: typing.Union[java.lang.String, str], + productType: ProductType, + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getProductTotal( + self, productType: ProductType, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSourceNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getSourceTotal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def renormalizeMassClosure(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def getSourceTotal( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def renormalizeMassClosure( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def toJson(self) -> java.lang.String: ... class RecoveryFactorExtractor(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def extract(self) -> 'RecoveryFactorExtractor': ... + def extract(self) -> "RecoveryFactorExtractor": ... def getComponentNames(self) -> java.util.List[java.lang.String]: ... def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNodeUnits(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getNodeUnits( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getUnitSplits(self) -> java.util.Map[java.lang.String, 'UnitSplit']: ... + def getUnitSplits(self) -> java.util.Map[java.lang.String, "UnitSplit"]: ... class SourceAllocator(java.io.Serializable): def __init__(self): ... @typing.overload - def addCustodyOutlet(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, productType: ProductType) -> 'SourceAllocator': ... + def addCustodyOutlet( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + productType: ProductType, + ) -> "SourceAllocator": ... @typing.overload - def addCustodyOutlet(self, custodyOutlet: CustodyOutlet) -> 'SourceAllocator': ... + def addCustodyOutlet(self, custodyOutlet: CustodyOutlet) -> "SourceAllocator": ... @typing.overload - def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'SourceAllocator': ... + def addSource( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "SourceAllocator": ... @typing.overload - def addSource(self, allocationSource: AllocationSource) -> 'SourceAllocator': ... + def addSource(self, allocationSource: AllocationSource) -> "SourceAllocator": ... def allocate(self) -> ProductionAllocationResult: ... def getBaseCase(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getCustodyOutlets(self) -> java.util.List[CustodyOutlet]: ... @@ -192,21 +383,37 @@ class SourceAllocator(java.io.Serializable): def getNetwork(self) -> AllocationNetwork: ... def getSolver(self) -> LinearAllocationSolver: ... def getSources(self) -> java.util.List[AllocationSource]: ... - def setBaseCase(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'SourceAllocator': ... - def setEnforceMassClosure(self, boolean: bool) -> 'SourceAllocator': ... + def setBaseCase( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "SourceAllocator": ... + def setEnforceMassClosure(self, boolean: bool) -> "SourceAllocator": ... class UnitSplit(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], list2: java.util.List[jneqsim.process.equipment.stream.StreamInterface], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + list2: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getEquipmentType(self) -> java.lang.String: ... def getFactor(self, int: int, int2: int) -> float: ... def getInletComponentFlow(self, int: int) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOutletCount(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getUnitName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.allocation")``. diff --git a/src/jneqsim-stubs/process/automation/__init__.pyi b/src/jneqsim-stubs/process/automation/__init__.pyi index 0b9b1f57..63da7b78 100644 --- a/src/jneqsim-stubs/process/automation/__init__.pyi +++ b/src/jneqsim-stubs/process/automation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,14 +14,22 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - class AdjustableParameter(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], double: float, double2: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], source: 'AdjustableParameter.Source'): ... + 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, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + source: "AdjustableParameter.Source", + ): ... def getAddress(self) -> java.lang.String: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... - def getSource(self) -> 'AdjustableParameter.Source': ... + def getSource(self) -> "AdjustableParameter.Source": ... def getTargetProperty(self) -> java.lang.String: ... def getTargetUnitName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... @@ -29,66 +37,153 @@ class AdjustableParameter(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... - class Source(java.lang.Enum['AdjustableParameter.Source']): - INPUT_VARIABLE: typing.ClassVar['AdjustableParameter.Source'] = ... - ADJUSTER: typing.ClassVar['AdjustableParameter.Source'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Source(java.lang.Enum["AdjustableParameter.Source"]): + INPUT_VARIABLE: typing.ClassVar["AdjustableParameter.Source"] = ... + ADJUSTER: typing.ClassVar["AdjustableParameter.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: ... + 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]) -> 'AdjustableParameter.Source': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AdjustableParameter.Source": ... @staticmethod - def values() -> typing.MutableSequence['AdjustableParameter.Source']: ... + def values() -> typing.MutableSequence["AdjustableParameter.Source"]: ... class AgenticProcessOptimizer(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... - def __init__(self, processAutomation: 'ProcessAutomation'): ... - def addConstraint(self, string: typing.Union[java.lang.String, str], constraintType: 'AgenticProcessOptimizer.ConstraintType', double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... - def addConstraintGreaterOrEqual(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... - def addConstraintLessOrEqual(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float) -> 'AgenticProcessOptimizer': ... - def addVariable(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... - def addWatch(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... - def getConstraints(self) -> java.util.List['AgenticProcessOptimizer.Constraint']: ... + def __init__(self, processAutomation: "ProcessAutomation"): ... + def addConstraint( + self, + string: typing.Union[java.lang.String, str], + constraintType: "AgenticProcessOptimizer.ConstraintType", + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + ) -> "AgenticProcessOptimizer": ... + def addConstraintGreaterOrEqual( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + ) -> "AgenticProcessOptimizer": ... + def addConstraintLessOrEqual( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + ) -> "AgenticProcessOptimizer": ... + def addVariable( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "AgenticProcessOptimizer": ... + def addWatch( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "AgenticProcessOptimizer": ... + def getConstraints( + self, + ) -> java.util.List["AgenticProcessOptimizer.Constraint"]: ... def getReadbackAddresses(self) -> java.util.Set[java.lang.String]: ... def getReadinessJson(self) -> java.lang.String: ... def getVariableAddresses(self) -> java.util.List[java.lang.String]: ... - def getVariables(self) -> java.util.List['AgenticProcessOptimizer.DecisionVariable']: ... - def maximize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... - def minimize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... - def optimize(self) -> 'AgenticProcessOptimizer.OptimizationResult': ... + def getVariables( + self, + ) -> java.util.List["AgenticProcessOptimizer.DecisionVariable"]: ... + def maximize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "AgenticProcessOptimizer": ... + def minimize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "AgenticProcessOptimizer": ... + def optimize(self) -> "AgenticProcessOptimizer.OptimizationResult": ... def optimizeToJson(self) -> java.lang.String: ... - def setConvergenceTolerance(self, double: float) -> 'AgenticProcessOptimizer': ... - def setInnerConvergence(self, int: int, double: float) -> 'AgenticProcessOptimizer': ... - def setMaxEvaluations(self, int: int) -> 'AgenticProcessOptimizer': ... - def setObjective(self, string: typing.Union[java.lang.String, str], sense: 'AgenticProcessOptimizer.Sense', string2: typing.Union[java.lang.String, str]) -> 'AgenticProcessOptimizer': ... - def setObjectiveFunction(self, function: typing.Union[java.util.function.Function[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], float], typing.Callable[[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], float]]) -> 'AgenticProcessOptimizer': ... - def setSeed(self, long: int) -> 'AgenticProcessOptimizer': ... + def setConvergenceTolerance(self, double: float) -> "AgenticProcessOptimizer": ... + def setInnerConvergence( + self, int: int, double: float + ) -> "AgenticProcessOptimizer": ... + def setMaxEvaluations(self, int: int) -> "AgenticProcessOptimizer": ... + def setObjective( + self, + string: typing.Union[java.lang.String, str], + sense: "AgenticProcessOptimizer.Sense", + string2: typing.Union[java.lang.String, str], + ) -> "AgenticProcessOptimizer": ... + def setObjectiveFunction( + self, + function: typing.Union[ + java.util.function.Function[ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + float, + ], + typing.Callable[ + [ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ] + ], + float, + ], + ], + ) -> "AgenticProcessOptimizer": ... + def setSeed(self, long: int) -> "AgenticProcessOptimizer": ... def useAdjustableParameters(self) -> int: ... + class Constraint(java.io.Serializable): def getAddress(self) -> java.lang.String: ... def getLimit(self) -> float: ... def getPenaltyWeight(self) -> float: ... - def getType(self) -> 'AgenticProcessOptimizer.ConstraintType': ... + def getType(self) -> "AgenticProcessOptimizer.ConstraintType": ... def getUnit(self) -> java.lang.String: ... - class ConstraintType(java.lang.Enum['AgenticProcessOptimizer.ConstraintType']): - LESS_OR_EQUAL: typing.ClassVar['AgenticProcessOptimizer.ConstraintType'] = ... - GREATER_OR_EQUAL: typing.ClassVar['AgenticProcessOptimizer.ConstraintType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConstraintType(java.lang.Enum["AgenticProcessOptimizer.ConstraintType"]): + LESS_OR_EQUAL: typing.ClassVar["AgenticProcessOptimizer.ConstraintType"] = ... + GREATER_OR_EQUAL: typing.ClassVar["AgenticProcessOptimizer.ConstraintType"] = ( + ... + ) + _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: ... + 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]) -> 'AgenticProcessOptimizer.ConstraintType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgenticProcessOptimizer.ConstraintType": ... @staticmethod - def values() -> typing.MutableSequence['AgenticProcessOptimizer.ConstraintType']: ... + def values() -> ( + typing.MutableSequence["AgenticProcessOptimizer.ConstraintType"] + ): ... + class DecisionVariable(java.io.Serializable): def getAddress(self) -> java.lang.String: ... def getLowerBound(self) -> float: ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... + class OptimizationResult(java.io.Serializable): def __init__(self): ... def getBestObjective(self) -> float: ... @@ -97,22 +192,29 @@ class AgenticProcessOptimizer(java.io.Serializable): def getBestSetpoints(self) -> java.util.Map[java.lang.String, float]: ... def getEvaluations(self) -> int: ... def getMessage(self) -> java.lang.String: ... - def getTrajectory(self) -> java.util.List['AgenticProcessOptimizer.Trial']: ... + def getTrajectory(self) -> java.util.List["AgenticProcessOptimizer.Trial"]: ... def isFeasible(self) -> bool: ... def isSuccess(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class Sense(java.lang.Enum['AgenticProcessOptimizer.Sense']): - MINIMIZE: typing.ClassVar['AgenticProcessOptimizer.Sense'] = ... - MAXIMIZE: typing.ClassVar['AgenticProcessOptimizer.Sense'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Sense(java.lang.Enum["AgenticProcessOptimizer.Sense"]): + MINIMIZE: typing.ClassVar["AgenticProcessOptimizer.Sense"] = ... + MAXIMIZE: typing.ClassVar["AgenticProcessOptimizer.Sense"] = ... + _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: ... + 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]) -> 'AgenticProcessOptimizer.Sense': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgenticProcessOptimizer.Sense": ... @staticmethod - def values() -> typing.MutableSequence['AgenticProcessOptimizer.Sense']: ... + def values() -> typing.MutableSequence["AgenticProcessOptimizer.Sense"]: ... + class Trial(java.io.Serializable): def __init__(self): ... def getIndex(self) -> int: ... @@ -127,24 +229,79 @@ class AutomationDiagnostics(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def autoCorrectName(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... - def diagnosePortNotFound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'AutomationDiagnostics.DiagnosticResult': ... - def diagnosePropertyNotFound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], list: java.util.List['SimulationVariable']) -> 'AutomationDiagnostics.DiagnosticResult': ... - def diagnoseUnitNotFound(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'AutomationDiagnostics.DiagnosticResult': ... - def findClosestNames(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], int: int) -> java.util.List[java.lang.String]: ... + def autoCorrectName( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ) -> java.lang.String: ... + def diagnosePortNotFound( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ) -> "AutomationDiagnostics.DiagnosticResult": ... + def diagnosePropertyNotFound( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + list: java.util.List["SimulationVariable"], + ) -> "AutomationDiagnostics.DiagnosticResult": ... + def diagnoseUnitNotFound( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ) -> "AutomationDiagnostics.DiagnosticResult": ... + def findClosestNames( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + int: int, + ) -> java.util.List[java.lang.String]: ... def getErrorCategoryCounts(self) -> java.util.Map[java.lang.String, int]: ... - def getLearnedCorrections(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getLearnedCorrections( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getLearningReport(self) -> java.lang.String: ... def getOperationCount(self) -> int: ... def getSuccessRate(self) -> float: ... - def recordFailure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], errorCategory: 'AutomationDiagnostics.ErrorCategory', string3: typing.Union[java.lang.String, str]) -> None: ... - def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def recordFailure( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + errorCategory: "AutomationDiagnostics.ErrorCategory", + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def recordSuccess( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def reset(self) -> None: ... - def validatePhysicalBounds(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'AutomationDiagnostics.DiagnosticResult': ... + def validatePhysicalBounds( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "AutomationDiagnostics.DiagnosticResult": ... + class DiagnosticResult(java.io.Serializable): - def __init__(self, errorCategory: 'AutomationDiagnostics.ErrorCategory', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + def __init__( + self, + errorCategory: "AutomationDiagnostics.ErrorCategory", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ): ... def getAutoCorrection(self) -> java.lang.String: ... - def getCategory(self) -> 'AutomationDiagnostics.ErrorCategory': ... + def getCategory(self) -> "AutomationDiagnostics.ErrorCategory": ... def getContext(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getErrorMessage(self) -> java.lang.String: ... def getOriginalInput(self) -> java.lang.String: ... @@ -152,24 +309,38 @@ class AutomationDiagnostics(java.io.Serializable): def getSuggestions(self) -> java.util.List[java.lang.String]: ... def hasAutoCorrection(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class ErrorCategory(java.lang.Enum['AutomationDiagnostics.ErrorCategory']): - UNIT_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - PROPERTY_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - PORT_NOT_FOUND: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - READ_ONLY_VARIABLE: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - VALUE_OUT_OF_BOUNDS: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - UNKNOWN_UNIT: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - INVALID_ADDRESS_FORMAT: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - CONVERGENCE_FAILURE: typing.ClassVar['AutomationDiagnostics.ErrorCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ErrorCategory(java.lang.Enum["AutomationDiagnostics.ErrorCategory"]): + UNIT_NOT_FOUND: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ... + PROPERTY_NOT_FOUND: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ... + PORT_NOT_FOUND: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ... + READ_ONLY_VARIABLE: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ... + VALUE_OUT_OF_BOUNDS: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ( + ... + ) + UNKNOWN_UNIT: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ... + INVALID_ADDRESS_FORMAT: typing.ClassVar[ + "AutomationDiagnostics.ErrorCategory" + ] = ... + CONVERGENCE_FAILURE: typing.ClassVar["AutomationDiagnostics.ErrorCategory"] = ( + ... + ) + _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: ... + 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]) -> 'AutomationDiagnostics.ErrorCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AutomationDiagnostics.ErrorCategory": ... @staticmethod - def values() -> typing.MutableSequence['AutomationDiagnostics.ErrorCategory']: ... + def values() -> ( + typing.MutableSequence["AutomationDiagnostics.ErrorCategory"] + ): ... class ProcessAutomation: AREA_SEPARATOR: typing.ClassVar[java.lang.String] = ... @@ -180,33 +351,80 @@ class ProcessAutomation: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def describe(self) -> 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]]) -> java.lang.String: ... + 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: ... + 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: ... 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 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 getDiagnostics(self) -> AutomationDiagnostics: ... - def getEquipmentType(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getNeighbors(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getEquipmentType( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def getNeighbors( + self, string: typing.Union[java.lang.String, str] + ) -> 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 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 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]: ... + 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']: ... + 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 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 markDirty(self) -> None: ... @@ -215,46 +433,130 @@ class ProcessAutomation: 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 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: ... class SensitivityAnalyzer: SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... def __init__(self, processAutomation: ProcessAutomation): ... def getAbsoluteStep(self) -> float: ... def getInputAddresses(self) -> java.util.List[java.lang.String]: ... - def getMode(self) -> 'SensitivityAnalyzer.Mode': ... + def getMode(self) -> "SensitivityAnalyzer.Mode": ... def getRelativeStep(self) -> float: ... - def gradient(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def gradientAsJson(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def jacobian(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def jacobianAsJson(self, list: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str], list2: java.util.List[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def partial(self, 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]) -> float: ... - def setAbsoluteStep(self, double: float) -> 'SensitivityAnalyzer': ... - def setMode(self, mode: 'SensitivityAnalyzer.Mode') -> 'SensitivityAnalyzer': ... - def setRelativeStep(self, double: float) -> 'SensitivityAnalyzer': ... - class Mode(java.lang.Enum['SensitivityAnalyzer.Mode']): - CENTRAL: typing.ClassVar['SensitivityAnalyzer.Mode'] = ... - FORWARD: typing.ClassVar['SensitivityAnalyzer.Mode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def gradient( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[java.lang.String, float]: ... + def gradientAsJson( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def jacobian( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + string: typing.Union[java.lang.String, str], + list2: java.util.List[typing.Union[java.lang.String, str]], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def jacobianAsJson( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + string: typing.Union[java.lang.String, str], + list2: java.util.List[typing.Union[java.lang.String, str]], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def partial( + self, + 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], + ) -> float: ... + def setAbsoluteStep(self, double: float) -> "SensitivityAnalyzer": ... + def setMode(self, mode: "SensitivityAnalyzer.Mode") -> "SensitivityAnalyzer": ... + def setRelativeStep(self, double: float) -> "SensitivityAnalyzer": ... + + class Mode(java.lang.Enum["SensitivityAnalyzer.Mode"]): + CENTRAL: typing.ClassVar["SensitivityAnalyzer.Mode"] = ... + FORWARD: typing.ClassVar["SensitivityAnalyzer.Mode"] = ... + _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: ... + 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]) -> 'SensitivityAnalyzer.Mode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SensitivityAnalyzer.Mode": ... @staticmethod - def values() -> typing.MutableSequence['SensitivityAnalyzer.Mode']: ... + def values() -> typing.MutableSequence["SensitivityAnalyzer.Mode"]: ... class SimulationVariable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], variableType: 'SimulationVariable.VariableType', string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + variableType: "SimulationVariable.VariableType", + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getAddress(self) -> java.lang.String: ... def getAllowedValues(self) -> java.util.List[java.lang.String]: ... def getApplicability(self) -> java.lang.String: ... @@ -265,136 +567,278 @@ class SimulationVariable(java.io.Serializable): def getMinimumValue(self) -> float: ... def getName(self) -> java.lang.String: ... def getSource(self) -> java.lang.String: ... - def getType(self) -> 'SimulationVariable.VariableType': ... + def getType(self) -> "SimulationVariable.VariableType": ... def getUnitFamily(self) -> java.lang.String: ... def isInvalidatesProcess(self) -> bool: ... def isWritable(self) -> bool: ... def toString(self) -> java.lang.String: ... - def withAllowedValues(self, *string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... - def withApplicability(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... - def withBounds(self, double: float, double2: float) -> 'SimulationVariable': ... - def withCategory(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... - def withSource(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... - def withUnitFamily(self, string: typing.Union[java.lang.String, str]) -> 'SimulationVariable': ... - def withWritableSafety(self, boolean: bool, boolean2: bool) -> 'SimulationVariable': ... - class VariableType(java.lang.Enum['SimulationVariable.VariableType']): - OUTPUT: typing.ClassVar['SimulationVariable.VariableType'] = ... - INPUT: typing.ClassVar['SimulationVariable.VariableType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def withAllowedValues( + self, *string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable": ... + def withApplicability( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable": ... + def withBounds(self, double: float, double2: float) -> "SimulationVariable": ... + def withCategory( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable": ... + def withSource( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable": ... + def withUnitFamily( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable": ... + def withWritableSafety( + self, boolean: bool, boolean2: bool + ) -> "SimulationVariable": ... + + class VariableType(java.lang.Enum["SimulationVariable.VariableType"]): + OUTPUT: typing.ClassVar["SimulationVariable.VariableType"] = ... + INPUT: typing.ClassVar["SimulationVariable.VariableType"] = ... + _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: ... + 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]) -> 'SimulationVariable.VariableType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SimulationVariable.VariableType": ... @staticmethod - def values() -> typing.MutableSequence['SimulationVariable.VariableType']: ... + def values() -> typing.MutableSequence["SimulationVariable.VariableType"]: ... class TransactionalBatchResult(java.io.Serializable): - def __init__(self, boolean: bool, rollbackCategory: 'TransactionalBatchResult.RollbackCategory', string: typing.Union[java.lang.String, str], list: java.util.List['TransactionalBatchResult.WriteOutcome']): ... + def __init__( + self, + boolean: bool, + rollbackCategory: "TransactionalBatchResult.RollbackCategory", + string: typing.Union[java.lang.String, str], + list: java.util.List["TransactionalBatchResult.WriteOutcome"], + ): ... @staticmethod - def committed(list: java.util.List['TransactionalBatchResult.WriteOutcome']) -> 'TransactionalBatchResult': ... - def getRollbackCategory(self) -> 'TransactionalBatchResult.RollbackCategory': ... + def committed( + list: java.util.List["TransactionalBatchResult.WriteOutcome"], + ) -> "TransactionalBatchResult": ... + def getRollbackCategory(self) -> "TransactionalBatchResult.RollbackCategory": ... def getRollbackReason(self) -> java.lang.String: ... - def getWrites(self) -> java.util.List['TransactionalBatchResult.WriteOutcome']: ... + def getWrites(self) -> java.util.List["TransactionalBatchResult.WriteOutcome"]: ... def isCommitted(self) -> bool: ... def isRolledBack(self) -> bool: ... @staticmethod def newRequestMap() -> java.util.Map[java.lang.String, float]: ... @staticmethod - def rolledBack(rollbackCategory: 'TransactionalBatchResult.RollbackCategory', string: typing.Union[java.lang.String, str], list: java.util.List['TransactionalBatchResult.WriteOutcome']) -> 'TransactionalBatchResult': ... + def rolledBack( + rollbackCategory: "TransactionalBatchResult.RollbackCategory", + string: typing.Union[java.lang.String, str], + list: java.util.List["TransactionalBatchResult.WriteOutcome"], + ) -> "TransactionalBatchResult": ... def toJson(self) -> com.google.gson.JsonObject: ... - class RollbackCategory(java.lang.Enum['TransactionalBatchResult.RollbackCategory']): - VALIDATION_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... - APPLY_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... - RUN_FAILED: typing.ClassVar['TransactionalBatchResult.RollbackCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class RollbackCategory(java.lang.Enum["TransactionalBatchResult.RollbackCategory"]): + VALIDATION_FAILED: typing.ClassVar[ + "TransactionalBatchResult.RollbackCategory" + ] = ... + APPLY_FAILED: typing.ClassVar["TransactionalBatchResult.RollbackCategory"] = ... + RUN_FAILED: typing.ClassVar["TransactionalBatchResult.RollbackCategory"] = ... + _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: ... + 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]) -> 'TransactionalBatchResult.RollbackCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransactionalBatchResult.RollbackCategory": ... @staticmethod - def values() -> typing.MutableSequence['TransactionalBatchResult.RollbackCategory']: ... + def values() -> ( + typing.MutableSequence["TransactionalBatchResult.RollbackCategory"] + ): ... + class WriteOutcome(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, writeValidationResult: 'WriteValidationResult', boolean: bool, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + writeValidationResult: "WriteValidationResult", + boolean: bool, + string3: typing.Union[java.lang.String, str], + ): ... def getAddress(self) -> java.lang.String: ... def getError(self) -> java.lang.String: ... def getPreviousValue(self) -> float: ... def getRequestedValue(self) -> float: ... def getUnit(self) -> java.lang.String: ... - def getValidation(self) -> 'WriteValidationResult': ... + def getValidation(self) -> "WriteValidationResult": ... def isApplied(self) -> bool: ... def toJson(self) -> com.google.gson.JsonObject: ... class WriteValidationResult(java.io.Serializable): - def __init__(self, severity: 'WriteValidationResult.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + severity: "WriteValidationResult.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @staticmethod - def fail(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'WriteValidationResult': ... + def fail( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "WriteValidationResult": ... def getCode(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'WriteValidationResult.Severity': ... + def getSeverity(self) -> "WriteValidationResult.Severity": ... def isAllowed(self) -> bool: ... @staticmethod - def ok() -> 'WriteValidationResult': ... + def ok() -> "WriteValidationResult": ... def toJson(self) -> com.google.gson.JsonObject: ... @staticmethod - def warn(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'WriteValidationResult': ... - class Severity(java.lang.Enum['WriteValidationResult.Severity']): - OK: typing.ClassVar['WriteValidationResult.Severity'] = ... - WARNING: typing.ClassVar['WriteValidationResult.Severity'] = ... - ERROR: typing.ClassVar['WriteValidationResult.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def warn( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "WriteValidationResult": ... + + class Severity(java.lang.Enum["WriteValidationResult.Severity"]): + OK: typing.ClassVar["WriteValidationResult.Severity"] = ... + WARNING: typing.ClassVar["WriteValidationResult.Severity"] = ... + ERROR: typing.ClassVar["WriteValidationResult.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: ... + 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]) -> 'WriteValidationResult.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WriteValidationResult.Severity": ... @staticmethod - def values() -> typing.MutableSequence['WriteValidationResult.Severity']: ... + def values() -> typing.MutableSequence["WriteValidationResult.Severity"]: ... class WriteValidator: - 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: ... + 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 WriteValidatorRegistry(java.io.Serializable): def __init__(self): ... @staticmethod - def createDefault() -> 'WriteValidatorRegistry': ... - def getRegisteredClasses(self) -> java.util.Map[typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface], int]: ... - def getValidatorsFor(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[WriteValidator]: ... + def createDefault() -> "WriteValidatorRegistry": ... + def getRegisteredClasses( + self, + ) -> java.util.Map[ + typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface], int + ]: ... + def getValidatorsFor( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[WriteValidator]: ... def register(self, writeValidator: WriteValidator) -> None: ... - def unregister(self, class_: typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]) -> None: ... - 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: ... + def unregister( + self, class_: typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface] + ) -> None: ... + 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 DefaultWriteValidators: class CompressorWriteValidator(WriteValidator): def __init__(self): ... - 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: ... + 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 CoolerWriteValidator(WriteValidator): def __init__(self): ... - 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: ... + 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 HeaterWriteValidator(WriteValidator): def __init__(self): ... - 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: ... + 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 PumpWriteValidator(WriteValidator): def __init__(self): ... - 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: ... + 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 SeparatorWriteValidator(WriteValidator): def __init__(self): ... - 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: ... + 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 ThrottlingValveWriteValidator(WriteValidator): def __init__(self): ... - 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: ... - + 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 __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.automation")``. diff --git a/src/jneqsim-stubs/process/calibration/__init__.pyi b/src/jneqsim-stubs/process/calibration/__init__.pyi index d3d77104..e4706c0b 100644 --- a/src/jneqsim-stubs/process/calibration/__init__.pyi +++ b/src/jneqsim-stubs/process/calibration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,42 +17,97 @@ import jneqsim.process.util.uncertainty import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import typing - - class BatchParameterEstimator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def addDataPoint(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'BatchParameterEstimator': ... + def addDataPoint( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "BatchParameterEstimator": ... @typing.overload - def addDataPoint(self, 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]]) -> 'BatchParameterEstimator': ... - def addMeasuredVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'BatchParameterEstimator': ... - def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'BatchParameterEstimator': ... - def clearDataPoints(self) -> 'BatchParameterEstimator': ... + def addDataPoint( + self, + 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], + ], + ) -> "BatchParameterEstimator": ... + def addMeasuredVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "BatchParameterEstimator": ... + def addTunableParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "BatchParameterEstimator": ... + def clearDataPoints(self) -> "BatchParameterEstimator": ... def displayCurveFit(self) -> None: ... def displayResult(self) -> None: ... def getDataPointCount(self) -> int: ... - def getLastResult(self) -> 'BatchResult': ... + def getLastResult(self) -> "BatchResult": ... def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def reset(self) -> 'BatchParameterEstimator': ... + def reset(self) -> "BatchParameterEstimator": ... def runMonteCarloSimulation(self, int: int) -> None: ... - def setMaxIterations(self, int: int) -> 'BatchParameterEstimator': ... - def setUseAnalyticalJacobian(self, boolean: bool) -> 'BatchParameterEstimator': ... - def solve(self) -> 'BatchResult': ... - def toCalibrationResult(self) -> 'CalibrationResult': ... + def setMaxIterations(self, int: int) -> "BatchParameterEstimator": ... + def setUseAnalyticalJacobian(self, boolean: bool) -> "BatchParameterEstimator": ... + def solve(self) -> "BatchResult": ... + def toCalibrationResult(self) -> "CalibrationResult": ... + class DataPoint(java.io.Serializable): - def __init__(self, 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]]): ... + def __init__( + self, + 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], + ], + ): ... def getConditions(self) -> java.util.Map[java.lang.String, float]: ... def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... + class MeasuredVariable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... def getPath(self) -> java.lang.String: ... def getStandardDeviation(self) -> float: ... def getUnit(self) -> java.lang.String: ... + class TunableParameter(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getInitialGuess(self) -> float: ... def getLowerBound(self) -> float: ... def getPath(self) -> java.lang.String: ... @@ -61,15 +116,46 @@ class BatchParameterEstimator(java.io.Serializable): class BatchResult(java.io.Serializable): @typing.overload - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, int: int, int2: int, boolean: bool): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + int: int, + int2: int, + boolean: bool, + ): ... @typing.overload - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, int: int, int2: int, boolean: bool, doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float, double7: float, double8: float): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + int: int, + int2: int, + boolean: bool, + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double6: float, + double7: float, + double8: float, + ): ... def getBias(self) -> float: ... def getChiSquare(self) -> float: ... def getConfidenceIntervalLower(self) -> typing.MutableSequence[float]: ... def getConfidenceIntervalUpper(self) -> typing.MutableSequence[float]: ... - def getCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getCovarianceMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCorrelationMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCovarianceMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDataPointCount(self) -> int: ... def getDegreesOfFreedom(self) -> int: ... @typing.overload @@ -87,21 +173,32 @@ class BatchResult(java.io.Serializable): def getUncertainty(self, int: int) -> float: ... def isConverged(self) -> bool: ... def printSummary(self) -> None: ... - def toCalibrationResult(self) -> 'CalibrationResult': ... + def toCalibrationResult(self) -> "CalibrationResult": ... def toMap(self) -> java.util.Map[java.lang.String, float]: ... def toString(self) -> java.lang.String: ... class CalibrationFrameworkExample: def __init__(self): ... def buildNetwork(self) -> None: ... - def createEstimator(self) -> 'EnKFParameterEstimator': ... + def createEstimator(self) -> "EnKFParameterEstimator": ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runLiveEstimation(self) -> None: ... def runValidationTests(self) -> None: ... class CalibrationQuality(java.io.Serializable): - def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, int: int, double5: float): ... + def __init__( + self, + instant: typing.Union[java.time.Instant, datetime.datetime], + double: float, + double2: float, + double3: float, + double4: float, + int: int, + double5: float, + ): ... def getCoverage(self) -> float: ... def getMae(self) -> float: ... def getMse(self) -> float: ... @@ -116,7 +213,7 @@ class CalibrationQuality(java.io.Serializable): class CalibrationResult(java.io.Serializable): @staticmethod - def failure(string: typing.Union[java.lang.String, str]) -> 'CalibrationResult': ... + def failure(string: typing.Union[java.lang.String, str]) -> "CalibrationResult": ... def getCalibratedParameters(self) -> java.util.Map[java.lang.String, float]: ... def getErrorMessage(self) -> java.lang.String: ... def getIterations(self) -> int: ... @@ -127,30 +224,73 @@ class CalibrationResult(java.io.Serializable): def isSuccess(self) -> bool: ... def isSuccessful(self) -> bool: ... @staticmethod - def success(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, int: int, int2: int) -> 'CalibrationResult': ... + def success( + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + int: int, + int2: int, + ) -> "CalibrationResult": ... def toString(self) -> java.lang.String: ... class EnKFParameterEstimator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addMeasuredVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EnKFParameterEstimator': ... + def addMeasuredVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "EnKFParameterEstimator": ... @typing.overload - def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'EnKFParameterEstimator': ... + def addTunableParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "EnKFParameterEstimator": ... @typing.overload - def addTunableParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'EnKFParameterEstimator': ... + def addTunableParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "EnKFParameterEstimator": ... def getEstimates(self) -> typing.MutableSequence[float]: ... - def getHistory(self) -> java.util.List['EnKFParameterEstimator.EnKFResult']: ... + def getHistory(self) -> java.util.List["EnKFParameterEstimator.EnKFResult"]: ... def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... def getUncertainties(self) -> typing.MutableSequence[float]: ... def getUpdateCount(self) -> int: ... def initialize(self, int: int, long: int) -> None: ... def reset(self) -> None: ... - def setMaxChangePerUpdate(self, double: float) -> 'EnKFParameterEstimator': ... - def setProcessNoise(self, double: float) -> 'EnKFParameterEstimator': ... + def setMaxChangePerUpdate(self, double: float) -> "EnKFParameterEstimator": ... + def setProcessNoise(self, double: float) -> "EnKFParameterEstimator": ... def toCalibrationResult(self) -> CalibrationResult: ... - def update(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'EnKFParameterEstimator.EnKFResult': ... + def update( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "EnKFParameterEstimator.EnKFResult": ... + class EnKFResult(java.io.Serializable): - def __init__(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], boolean: bool): ... + def __init__( + self, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + ): ... def getConfidenceIntervalLower(self) -> typing.MutableSequence[float]: ... def getConfidenceIntervalUpper(self) -> typing.MutableSequence[float]: ... def getEstimates(self) -> typing.MutableSequence[float]: ... @@ -160,12 +300,21 @@ class EnKFParameterEstimator(java.io.Serializable): def getStep(self) -> int: ... def getUncertainties(self) -> typing.MutableSequence[float]: ... def isAnomalyDetected(self) -> bool: ... - def toCalibrationResult(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> CalibrationResult: ... + def toCalibrationResult( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> CalibrationResult: ... + class MeasuredVariableSpec(java.io.Serializable): path: java.lang.String = ... unit: java.lang.String = ... noiseStd: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... + class TunableParameterSpec(java.io.Serializable): path: java.lang.String = ... unit: java.lang.String = ... @@ -173,45 +322,128 @@ class EnKFParameterEstimator(java.io.Serializable): maxValue: float = ... initialValue: float = ... initialUncertainty: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ): ... class EstimationTestHarness(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addMeasurement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EstimationTestHarness': ... + def addMeasurement( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "EstimationTestHarness": ... @typing.overload - def addParameter(self, string: typing.Union[java.lang.String, str], double: float) -> 'EstimationTestHarness': ... + def addParameter( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EstimationTestHarness": ... @typing.overload - def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'EstimationTestHarness': ... - def generateMeasurement(self, double: float) -> java.util.Map[java.lang.String, float]: ... + def addParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "EstimationTestHarness": ... + def generateMeasurement( + self, double: float + ) -> java.util.Map[java.lang.String, float]: ... @typing.overload - def runConvergenceTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int) -> 'EstimationTestHarness.TestReport': ... + def runConvergenceTest( + self, enKFParameterEstimator: EnKFParameterEstimator, int: int + ) -> "EstimationTestHarness.TestReport": ... @typing.overload - def runConvergenceTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, double: float, consumer: typing.Union[java.util.function.Consumer[int], typing.Callable[[int], None]]) -> 'EstimationTestHarness.TestReport': ... - def runDriftTrackingTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, int2: int, double: float) -> 'EstimationTestHarness.TestReport': ... - def runMonteCarloValidation(self, supplier: typing.Union[java.util.function.Supplier[EnKFParameterEstimator], typing.Callable[[], EnKFParameterEstimator]], int: int, int2: int) -> 'EstimationTestHarness.MonteCarloReport': ... - def runNoiseRobustnessTest(self, enKFParameterEstimator: EnKFParameterEstimator, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[float, 'EstimationTestHarness.TestReport']: ... - def setSeed(self, long: int) -> 'EstimationTestHarness': ... + def runConvergenceTest( + self, + enKFParameterEstimator: EnKFParameterEstimator, + int: int, + double: float, + consumer: typing.Union[ + java.util.function.Consumer[int], typing.Callable[[int], None] + ], + ) -> "EstimationTestHarness.TestReport": ... + def runDriftTrackingTest( + self, + enKFParameterEstimator: EnKFParameterEstimator, + int: int, + int2: int, + double: float, + ) -> "EstimationTestHarness.TestReport": ... + def runMonteCarloValidation( + self, + supplier: typing.Union[ + java.util.function.Supplier[EnKFParameterEstimator], + typing.Callable[[], EnKFParameterEstimator], + ], + int: int, + int2: int, + ) -> "EstimationTestHarness.MonteCarloReport": ... + def runNoiseRobustnessTest( + self, + enKFParameterEstimator: EnKFParameterEstimator, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> java.util.Map[float, "EstimationTestHarness.TestReport"]: ... + def setSeed(self, long: int) -> "EstimationTestHarness": ... + class MeasurementSpec(java.io.Serializable): path: java.lang.String = ... unit: java.lang.String = ... noiseStd: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... + class MonteCarloReport(java.io.Serializable): - def __init__(self, int: int, int2: int, list: java.util.List[float], list2: java.util.List[float], int3: int): ... + def __init__( + self, + int: int, + int2: int, + list: java.util.List[float], + list2: java.util.List[float], + int3: int, + ): ... def getMeanCoverage(self) -> float: ... def getMeanRMSE(self) -> float: ... def getPercentile95RMSE(self) -> float: ... def getStdRMSE(self) -> float: ... def getSuccessRate(self) -> float: ... def printSummary(self) -> None: ... + class ParameterWithTruth(java.io.Serializable): path: java.lang.String = ... trueValue: float = ... minBound: float = ... maxBound: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... + class TestReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + ): ... def getCoverageRate(self) -> float: ... def getFinalEstimates(self) -> typing.MutableSequence[float]: ... def getMaxError(self) -> float: ... @@ -226,35 +458,104 @@ class EstimationTestHarness(java.io.Serializable): class OnlineCalibrator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def clearHistory(self) -> None: ... - def exportHistory(self) -> java.util.List['OnlineCalibrator.DataPoint']: ... + def exportHistory(self) -> java.util.List["OnlineCalibrator.DataPoint"]: ... def fullRecalibration(self) -> CalibrationResult: ... def getHistorySize(self) -> int: ... def getLastCalibrationTime(self) -> java.time.Instant: ... def getQualityMetrics(self) -> CalibrationQuality: ... - def incrementalUpdate(self, 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]]) -> CalibrationResult: ... + def incrementalUpdate( + self, + 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], + ], + ) -> CalibrationResult: ... @typing.overload - def recordDataPoint(self, 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]]) -> bool: ... + def recordDataPoint( + self, + 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], + ], + ) -> bool: ... @typing.overload - def recordDataPoint(self, 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]]) -> bool: ... + def recordDataPoint( + self, + 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], + ], + ) -> bool: ... def setDeviationThreshold(self, double: float) -> None: ... def setMaxHistorySize(self, int: int) -> None: ... - def setTunableParameters(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + def setTunableParameters( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> None: ... + class DataPoint(java.io.Serializable): - def __init__(self, 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]]): ... + def __init__( + self, + 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], + ], + ): ... def getConditions(self) -> java.util.Map[java.lang.String, float]: ... def getError(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... def getPredictions(self) -> java.util.Map[java.lang.String, float]: ... - def getRelativeError(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRelativeError( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTimestamp(self) -> java.time.Instant: ... -class ProcessSimulationFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ProcessSimulationFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addDataPointConditions(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def addMeasurement(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSimulationFunction': ... - def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessSimulationFunction': ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def computeAnalyticalJacobian(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def addDataPointConditions( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def addMeasurement( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSimulationFunction": ... + def addParameter( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "ProcessSimulationFunction": ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def computeAnalyticalJacobian( + self, + ) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... def getMeasurementCount(self) -> int: ... def getMeasurementPaths(self) -> java.util.List[java.lang.String]: ... def getParameterCount(self) -> int: ... @@ -265,7 +566,9 @@ class ProcessSimulationFunction(jneqsim.statistics.parameterfitting.nonlinearpar @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setUseAnalyticalJacobian(self, boolean: bool) -> None: ... class WellRoutingEstimationExample: @@ -274,13 +577,24 @@ class WellRoutingEstimationExample: def createEstimator(self) -> EnKFParameterEstimator: ... def createTestHarness(self) -> EstimationTestHarness: ... def getMeasurementsWithNoise(self) -> java.util.Map[java.lang.String, float]: ... - def getRoutingSchedule(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getRoutingSchedule( + self, + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def runLiveEstimation(self, enKFParameterEstimator: EnKFParameterEstimator) -> None: ... - def runValidation(self, enKFParameterEstimator: EnKFParameterEstimator, estimationTestHarness: EstimationTestHarness) -> bool: ... - def setRouting(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def runLiveEstimation( + self, enKFParameterEstimator: EnKFParameterEstimator + ) -> None: ... + def runValidation( + self, + enKFParameterEstimator: EnKFParameterEstimator, + estimationTestHarness: EstimationTestHarness, + ) -> bool: ... + def setRouting( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.calibration")``. diff --git a/src/jneqsim-stubs/process/chemistry/__init__.pyi b/src/jneqsim-stubs/process/chemistry/__init__.pyi index 86cdec02..2f20063d 100644 --- a/src/jneqsim-stubs/process/chemistry/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,49 +21,82 @@ import jneqsim.process.chemistry.wax import jneqsim.process.equipment.stream import typing - - class ChemicalCompatibilityAssessor(java.io.Serializable): def __init__(self): ... - def addChemical(self, productionChemical: 'ProductionChemical') -> None: ... + def addChemical(self, productionChemical: "ProductionChemical") -> None: ... def clearChemicals(self) -> None: ... def evaluate(self) -> None: ... @staticmethod - def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ChemicalCompatibilityAssessor': ... - def getHighestSeverity(self) -> 'ChemicalInteractionRule.Severity': ... - def getInteractionMatrix(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, java.lang.String]]: ... - def getIssues(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def fromStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ChemicalCompatibilityAssessor": ... + def getHighestSeverity(self) -> "ChemicalInteractionRule.Severity": ... + def getInteractionMatrix( + self, + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, java.lang.String] + ]: ... + def getIssues( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getThermalStability(self) -> java.util.Map[java.lang.String, bool]: ... - def getVerdict(self) -> 'ChemicalCompatibilityAssessor.Verdict': ... + def getVerdict(self) -> "ChemicalCompatibilityAssessor.Verdict": ... def isEvaluated(self) -> bool: ... def setBicarbonateMgL(self, double: float) -> None: ... def setCalciumMgL(self, double: float) -> None: ... def setIronMgL(self, double: float) -> None: ... def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPressureBara(self, double: float) -> None: ... - def setRules(self, list: java.util.List['ChemicalInteractionRule']) -> None: ... + def setRules(self, list: java.util.List["ChemicalInteractionRule"]) -> None: ... def setTemperatureCelsius(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Verdict(java.lang.Enum['ChemicalCompatibilityAssessor.Verdict']): - COMPATIBLE: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... - CAUTION: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... - INCOMPATIBLE: typing.ClassVar['ChemicalCompatibilityAssessor.Verdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Verdict(java.lang.Enum["ChemicalCompatibilityAssessor.Verdict"]): + COMPATIBLE: typing.ClassVar["ChemicalCompatibilityAssessor.Verdict"] = ... + CAUTION: typing.ClassVar["ChemicalCompatibilityAssessor.Verdict"] = ... + INCOMPATIBLE: typing.ClassVar["ChemicalCompatibilityAssessor.Verdict"] = ... + _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: ... + 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]) -> 'ChemicalCompatibilityAssessor.Verdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ChemicalCompatibilityAssessor.Verdict": ... @staticmethod - def values() -> typing.MutableSequence['ChemicalCompatibilityAssessor.Verdict']: ... + def values() -> ( + typing.MutableSequence["ChemicalCompatibilityAssessor.Verdict"] + ): ... class ChemicalInteractionRule(java.io.Serializable): DEFAULT_RESOURCE: typing.ClassVar[java.lang.String] = ... - def __init__(self, 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], string5: typing.Union[java.lang.String, str], severity: 'ChemicalInteractionRule.Severity', string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]): ... - def environmentMatches(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]) -> bool: ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + severity: "ChemicalInteractionRule.Severity", + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + ): ... + def environmentMatches( + self, + double: float, + double2: float, + double3: float, + double4: float, + string: typing.Union[java.lang.String, str], + ) -> bool: ... def getChemical1Ingredient(self) -> java.lang.String: ... def getChemical1Type(self) -> java.lang.String: ... def getChemical2Ingredient(self) -> java.lang.String: ... @@ -71,112 +104,153 @@ class ChemicalInteractionRule(java.io.Serializable): def getCondition(self) -> java.lang.String: ... def getMechanism(self) -> java.lang.String: ... def getMitigation(self) -> java.lang.String: ... - def getSeverity(self) -> 'ChemicalInteractionRule.Severity': ... + def getSeverity(self) -> "ChemicalInteractionRule.Severity": ... def isEnvironmentRule(self) -> bool: ... @staticmethod - def loadDefaultRules() -> java.util.List['ChemicalInteractionRule']: ... + def loadDefaultRules() -> java.util.List["ChemicalInteractionRule"]: ... @staticmethod - def loadFromResource(string: typing.Union[java.lang.String, str]) -> java.util.List['ChemicalInteractionRule']: ... - def matches(self, productionChemical: 'ProductionChemical', productionChemical2: 'ProductionChemical') -> bool: ... + def loadFromResource( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["ChemicalInteractionRule"]: ... + def matches( + self, + productionChemical: "ProductionChemical", + productionChemical2: "ProductionChemical", + ) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Severity(java.lang.Enum['ChemicalInteractionRule.Severity']): - HIGH: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... - MEDIUM: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... - LOW: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... - INFO: typing.ClassVar['ChemicalInteractionRule.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["ChemicalInteractionRule.Severity"]): + HIGH: typing.ClassVar["ChemicalInteractionRule.Severity"] = ... + MEDIUM: typing.ClassVar["ChemicalInteractionRule.Severity"] = ... + LOW: typing.ClassVar["ChemicalInteractionRule.Severity"] = ... + INFO: typing.ClassVar["ChemicalInteractionRule.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: ... + 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]) -> 'ChemicalInteractionRule.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ChemicalInteractionRule.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ChemicalInteractionRule.Severity']: ... + def values() -> typing.MutableSequence["ChemicalInteractionRule.Severity"]: ... class ProductionChemical(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], chemicalType: 'ProductionChemical.ChemicalType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + chemicalType: "ProductionChemical.ChemicalType", + ): ... @staticmethod - def acid(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def acid( + string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionChemical": ... @staticmethod - def corrosionInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def corrosionInhibitor( + string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionChemical": ... def getActiveIngredient(self) -> java.lang.String: ... def getActiveWtPct(self) -> float: ... def getDensityKgM3(self) -> float: ... def getDosagePpm(self) -> float: ... - def getIonicNature(self) -> 'ProductionChemical.IonicNature': ... + def getIonicNature(self) -> "ProductionChemical.IonicNature": ... def getMaxTemperatureC(self) -> float: ... def getMinTemperatureC(self) -> float: ... def getName(self) -> java.lang.String: ... def getNotes(self) -> java.lang.String: ... def getPH(self) -> float: ... def getSolvent(self) -> java.lang.String: ... - def getType(self) -> 'ProductionChemical.ChemicalType': ... + def getType(self) -> "ProductionChemical.ChemicalType": ... @staticmethod - def h2sScavenger(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def h2sScavenger( + string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionChemical": ... def isStableAt(self, double: float) -> bool: ... @staticmethod - def scaleInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... - def setActiveIngredient(self, string: typing.Union[java.lang.String, str]) -> None: ... + def scaleInhibitor( + string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionChemical": ... + def setActiveIngredient( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setActiveWtPct(self, double: float) -> None: ... def setDensityKgM3(self, double: float) -> None: ... def setDosagePpm(self, double: float) -> None: ... - def setIonicNature(self, ionicNature: 'ProductionChemical.IonicNature') -> None: ... + def setIonicNature(self, ionicNature: "ProductionChemical.IonicNature") -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPH(self, double: float) -> None: ... def setSolvent(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTemperatureRangeC(self, double: float, double2: float) -> None: ... - def setType(self, chemicalType: 'ProductionChemical.ChemicalType') -> None: ... + def setType(self, chemicalType: "ProductionChemical.ChemicalType") -> None: ... @staticmethod - def thermodynamicHydrateInhibitor(string: typing.Union[java.lang.String, str], double: float) -> 'ProductionChemical': ... + def thermodynamicHydrateInhibitor( + string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionChemical": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class ChemicalType(java.lang.Enum['ProductionChemical.ChemicalType']): - SCALE_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - CORROSION_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - HYDRATE_INHIBITOR_THERMODYNAMIC: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - HYDRATE_INHIBITOR_LDHI: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - DEMULSIFIER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - WAX_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - ASPHALTENE_INHIBITOR: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - BIOCIDE: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - OXYGEN_SCAVENGER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - H2S_SCAVENGER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - ANTIFOAM: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - DRAG_REDUCER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - PH_ADJUSTER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - ACID: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - CHELANT: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - OTHER: typing.ClassVar['ProductionChemical.ChemicalType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ChemicalType(java.lang.Enum["ProductionChemical.ChemicalType"]): + SCALE_INHIBITOR: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + CORROSION_INHIBITOR: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + HYDRATE_INHIBITOR_THERMODYNAMIC: typing.ClassVar[ + "ProductionChemical.ChemicalType" + ] = ... + HYDRATE_INHIBITOR_LDHI: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + DEMULSIFIER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + WAX_INHIBITOR: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + ASPHALTENE_INHIBITOR: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + BIOCIDE: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + OXYGEN_SCAVENGER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + H2S_SCAVENGER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + ANTIFOAM: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + DRAG_REDUCER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + PH_ADJUSTER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + ACID: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + CHELANT: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + OTHER: typing.ClassVar["ProductionChemical.ChemicalType"] = ... + _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: ... + 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]) -> 'ProductionChemical.ChemicalType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionChemical.ChemicalType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionChemical.ChemicalType']: ... - class IonicNature(java.lang.Enum['ProductionChemical.IonicNature']): - CATIONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... - ANIONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... - NON_IONIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... - AMPHOTERIC: typing.ClassVar['ProductionChemical.IonicNature'] = ... - UNKNOWN: typing.ClassVar['ProductionChemical.IonicNature'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["ProductionChemical.ChemicalType"]: ... + + class IonicNature(java.lang.Enum["ProductionChemical.IonicNature"]): + CATIONIC: typing.ClassVar["ProductionChemical.IonicNature"] = ... + ANIONIC: typing.ClassVar["ProductionChemical.IonicNature"] = ... + NON_IONIC: typing.ClassVar["ProductionChemical.IonicNature"] = ... + AMPHOTERIC: typing.ClassVar["ProductionChemical.IonicNature"] = ... + UNKNOWN: typing.ClassVar["ProductionChemical.IonicNature"] = ... + _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: ... + 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]) -> 'ProductionChemical.IonicNature': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionChemical.IonicNature": ... @staticmethod - def values() -> typing.MutableSequence['ProductionChemical.IonicNature']: ... - + def values() -> typing.MutableSequence["ProductionChemical.IonicNature"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry")``. diff --git a/src/jneqsim-stubs/process/chemistry/acid/__init__.pyi b/src/jneqsim-stubs/process/chemistry/acid/__init__.pyi index dba62386..ad42cd91 100644 --- a/src/jneqsim-stubs/process/chemistry/acid/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/acid/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import java.util import typing - - class AcidTreatmentSimulator(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @@ -22,35 +20,44 @@ class AcidTreatmentSimulator(java.io.Serializable): def getScaleDissolvedKg(self) -> float: ... def getSpentAcidPH(self) -> float: ... def getSpentCalciumMgL(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def isEvaluated(self) -> bool: ... def setAcidDensityKgM3(self, double: float) -> None: ... def setAcidStrengthWtPct(self, double: float) -> None: ... - def setAcidType(self, acidType: 'AcidTreatmentSimulator.AcidType') -> None: ... + def setAcidType(self, acidType: "AcidTreatmentSimulator.AcidType") -> None: ... def setAcidVolumeM3(self, double: float) -> None: ... def setInhibitorPresent(self, boolean: bool) -> None: ... def setScaleCaCO3Kg(self, double: float) -> None: ... def setScaleFeOH3Kg(self, double: float) -> None: ... def setScaleMgCO3Kg(self, double: float) -> None: ... def setTemperatureCelsius(self, double: float) -> None: ... - def setTubularMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubularMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class AcidType(java.lang.Enum['AcidTreatmentSimulator.AcidType']): - HCL: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... - HF: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... - ACETIC: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... - FORMIC: typing.ClassVar['AcidTreatmentSimulator.AcidType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AcidType(java.lang.Enum["AcidTreatmentSimulator.AcidType"]): + HCL: typing.ClassVar["AcidTreatmentSimulator.AcidType"] = ... + HF: typing.ClassVar["AcidTreatmentSimulator.AcidType"] = ... + ACETIC: typing.ClassVar["AcidTreatmentSimulator.AcidType"] = ... + FORMIC: typing.ClassVar["AcidTreatmentSimulator.AcidType"] = ... + _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: ... + 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]) -> 'AcidTreatmentSimulator.AcidType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AcidTreatmentSimulator.AcidType": ... @staticmethod - def values() -> typing.MutableSequence['AcidTreatmentSimulator.AcidType']: ... - + def values() -> typing.MutableSequence["AcidTreatmentSimulator.AcidType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.acid")``. diff --git a/src/jneqsim-stubs/process/chemistry/asphaltene/__init__.pyi b/src/jneqsim-stubs/process/chemistry/asphaltene/__init__.pyi index 1ee2d3be..dea016d1 100644 --- a/src/jneqsim-stubs/process/chemistry/asphaltene/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/asphaltene/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import java.util import typing - - class AsphalteneInhibitorPerformance(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @@ -20,7 +18,9 @@ class AsphalteneInhibitorPerformance(java.io.Serializable): def getEfficacyFraction(self) -> float: ... def getInhibitedAopBara(self) -> float: ... def getInhibitedCii(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isEvaluated(self) -> bool: ... def isStableAfterTreatment(self) -> bool: ... @@ -28,26 +28,43 @@ class AsphalteneInhibitorPerformance(java.io.Serializable): def setBaseColloidalInstabilityIndex(self, double: float) -> None: ... def setDoseAt50PctEfficacyMgL(self, double: float) -> None: ... def setDoseMgL(self, double: float) -> None: ... - def setInhibitorChemistry(self, inhibitorChemistry: 'AsphalteneInhibitorPerformance.InhibitorChemistry') -> None: ... + def setInhibitorChemistry( + self, inhibitorChemistry: "AsphalteneInhibitorPerformance.InhibitorChemistry" + ) -> None: ... def setMaxAopShiftBar(self, double: float) -> None: ... def setMaxCiiReduction(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class InhibitorChemistry(java.lang.Enum['AsphalteneInhibitorPerformance.InhibitorChemistry']): - ALKYLPHENOL_RESIN: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... - POAA: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... - SURFACTANT: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... - POLYMERIC_ESTER: typing.ClassVar['AsphalteneInhibitorPerformance.InhibitorChemistry'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class InhibitorChemistry( + java.lang.Enum["AsphalteneInhibitorPerformance.InhibitorChemistry"] + ): + ALKYLPHENOL_RESIN: typing.ClassVar[ + "AsphalteneInhibitorPerformance.InhibitorChemistry" + ] = ... + POAA: typing.ClassVar["AsphalteneInhibitorPerformance.InhibitorChemistry"] = ... + SURFACTANT: typing.ClassVar[ + "AsphalteneInhibitorPerformance.InhibitorChemistry" + ] = ... + POLYMERIC_ESTER: typing.ClassVar[ + "AsphalteneInhibitorPerformance.InhibitorChemistry" + ] = ... + _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: ... + 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]) -> 'AsphalteneInhibitorPerformance.InhibitorChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AsphalteneInhibitorPerformance.InhibitorChemistry": ... @staticmethod - def values() -> typing.MutableSequence['AsphalteneInhibitorPerformance.InhibitorChemistry']: ... - + def values() -> ( + typing.MutableSequence["AsphalteneInhibitorPerformance.InhibitorChemistry"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.asphaltene")``. diff --git a/src/jneqsim-stubs/process/chemistry/corrosion/__init__.pyi b/src/jneqsim-stubs/process/chemistry/corrosion/__init__.pyi index 523334ba..ab68eb4d 100644 --- a/src/jneqsim-stubs/process/chemistry/corrosion/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/corrosion/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,52 +12,85 @@ import jneqsim.process.equipment.stream import jneqsim.pvtsimulation.flowassurance import typing - - class CorrosionInhibitorPerformance(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @staticmethod - def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'CorrosionInhibitorPerformance': ... + def fromStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> "CorrosionInhibitorPerformance": ... def getEfficiency(self) -> float: ... def getInhibitedCorrosionRateMmYr(self) -> float: ... def getMinimumEffectiveDoseMgL(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def isEvaluated(self) -> bool: ... def setAcidicService(self, boolean: bool) -> None: ... def setBaseCorrosionRateMmYr(self, double: float) -> None: ... - def setChemistry(self, inhibitorChemistry: 'CorrosionInhibitorPerformance.InhibitorChemistry') -> None: ... + def setChemistry( + self, inhibitorChemistry: "CorrosionInhibitorPerformance.InhibitorChemistry" + ) -> None: ... def setDoseMgL(self, double: float) -> None: ... - def setFromDeWaardMilliams(self, deWaardMilliamsCorrosion: jneqsim.pvtsimulation.flowassurance.DeWaardMilliamsCorrosion) -> None: ... + def setFromDeWaardMilliams( + self, + deWaardMilliamsCorrosion: jneqsim.pvtsimulation.flowassurance.DeWaardMilliamsCorrosion, + ) -> None: ... def setH2SPartialPressureBar(self, double: float) -> None: ... def setOrganicAcidPpm(self, double: float) -> None: ... def setOxygenPpb(self, double: float) -> None: ... def setTemperatureCelsius(self, double: float) -> None: ... def setWallShearStressPa(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class InhibitorChemistry(java.lang.Enum['CorrosionInhibitorPerformance.InhibitorChemistry']): - IMIDAZOLINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - QUATERNARY_AMMONIUM: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - AMIDO_AMINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - PHOSPHATE_ESTER: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - PYRIDINE: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - MERCAPTAN: typing.ClassVar['CorrosionInhibitorPerformance.InhibitorChemistry'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class InhibitorChemistry( + java.lang.Enum["CorrosionInhibitorPerformance.InhibitorChemistry"] + ): + IMIDAZOLINE: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + QUATERNARY_AMMONIUM: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + AMIDO_AMINE: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + PHOSPHATE_ESTER: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + PYRIDINE: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + MERCAPTAN: typing.ClassVar[ + "CorrosionInhibitorPerformance.InhibitorChemistry" + ] = ... + _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: ... + 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]) -> 'CorrosionInhibitorPerformance.InhibitorChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CorrosionInhibitorPerformance.InhibitorChemistry": ... @staticmethod - def values() -> typing.MutableSequence['CorrosionInhibitorPerformance.InhibitorChemistry']: ... + def values() -> ( + typing.MutableSequence["CorrosionInhibitorPerformance.InhibitorChemistry"] + ): ... class LangmuirInhibitorIsotherm(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def getCoverage(self, double: float, double2: float) -> float: ... def getDoseForEfficiency(self, double: float, double2: float) -> float: ... def getEfficiency(self, double: float, double2: float) -> float: ... @@ -67,7 +100,7 @@ class LangmuirInhibitorIsotherm(java.io.Serializable): class MechanisticCorrosionModel(java.io.Serializable): def __init__(self): ... - def evaluate(self) -> 'MechanisticCorrosionModel': ... + def evaluate(self) -> "MechanisticCorrosionModel": ... def getInhibitedRateMmYr(self) -> float: ... def getInhibitorCoverage(self) -> float: ... def getInhibitorEfficiency(self) -> float: ... @@ -77,18 +110,27 @@ class MechanisticCorrosionModel(java.io.Serializable): def getReynoldsNumber(self) -> float: ... def getSchmidtNumber(self) -> float: ... def getSherwoodNumber(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def isEvaluated(self) -> bool: ... - def setFlow(self, double: float, double2: float, double3: float, double4: float) -> 'MechanisticCorrosionModel': ... - def setGasComposition(self, double: float, double2: float) -> 'MechanisticCorrosionModel': ... - def setInhibitor(self, langmuirInhibitorIsotherm: LangmuirInhibitorIsotherm, double: float) -> 'MechanisticCorrosionModel': ... - def setTemperatureCelsius(self, double: float) -> 'MechanisticCorrosionModel': ... - def setTotalPressureBara(self, double: float) -> 'MechanisticCorrosionModel': ... - def setWaterChemistry(self, double: float, double2: float, double3: float) -> 'MechanisticCorrosionModel': ... + def setFlow( + self, double: float, double2: float, double3: float, double4: float + ) -> "MechanisticCorrosionModel": ... + def setGasComposition( + self, double: float, double2: float + ) -> "MechanisticCorrosionModel": ... + def setInhibitor( + self, langmuirInhibitorIsotherm: LangmuirInhibitorIsotherm, double: float + ) -> "MechanisticCorrosionModel": ... + def setTemperatureCelsius(self, double: float) -> "MechanisticCorrosionModel": ... + def setTotalPressureBara(self, double: float) -> "MechanisticCorrosionModel": ... + def setWaterChemistry( + self, double: float, double2: float, double3: float + ) -> "MechanisticCorrosionModel": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.corrosion")``. diff --git a/src/jneqsim-stubs/process/chemistry/equipment/__init__.pyi b/src/jneqsim-stubs/process/chemistry/equipment/__init__.pyi index 2ec39393..276f3986 100644 --- a/src/jneqsim-stubs/process/chemistry/equipment/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/equipment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,13 +12,15 @@ import jneqsim.process.equipment import jneqsim.process.equipment.stream import typing - - class InhibitorInjectionPoint(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActiveIngredientPpmInWater(self) -> float: ... def getChemical(self) -> jneqsim.process.chemistry.ProductionChemical: ... def getInjectionRateKgPerHour(self) -> float: ... @@ -26,25 +28,32 @@ class InhibitorInjectionPoint(jneqsim.process.equipment.TwoPortEquipment): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setChemical(self, productionChemical: jneqsim.process.chemistry.ProductionChemical) -> None: ... + def setChemical( + self, productionChemical: jneqsim.process.chemistry.ProductionChemical + ) -> None: ... def setDoseInKgPerHour(self, double: float) -> None: ... def setDoseInPpmOnWater(self, double: float) -> None: ... - def setDoseMode(self, doseMode: 'InhibitorInjectionPoint.DoseMode') -> None: ... + def setDoseMode(self, doseMode: "InhibitorInjectionPoint.DoseMode") -> None: ... def setDoseValue(self, double: float) -> None: ... - class DoseMode(java.lang.Enum['InhibitorInjectionPoint.DoseMode']): - PPM: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... - PPM_TOTAL: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... - KG_PER_HOUR: typing.ClassVar['InhibitorInjectionPoint.DoseMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DoseMode(java.lang.Enum["InhibitorInjectionPoint.DoseMode"]): + PPM: typing.ClassVar["InhibitorInjectionPoint.DoseMode"] = ... + PPM_TOTAL: typing.ClassVar["InhibitorInjectionPoint.DoseMode"] = ... + KG_PER_HOUR: typing.ClassVar["InhibitorInjectionPoint.DoseMode"] = ... + _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: ... + 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]) -> 'InhibitorInjectionPoint.DoseMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InhibitorInjectionPoint.DoseMode": ... @staticmethod - def values() -> typing.MutableSequence['InhibitorInjectionPoint.DoseMode']: ... - + def values() -> typing.MutableSequence["InhibitorInjectionPoint.DoseMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.equipment")``. diff --git a/src/jneqsim-stubs/process/chemistry/hydrate/__init__.pyi b/src/jneqsim-stubs/process/chemistry/hydrate/__init__.pyi index 0645901c..4c2192a3 100644 --- a/src/jneqsim-stubs/process/chemistry/hydrate/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/hydrate/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,19 @@ import java.lang import java.util import typing - - class KineticHydrateInhibitorPerformance(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... def getPredictedInductionTimeHours(self) -> float: ... def getRequiredDoseWtPct(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isEvaluated(self) -> bool: ... - def setCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setCoefficients( + self, double: float, double2: float, double3: float + ) -> None: ... def setDoseWtPct(self, double: float) -> None: ... def setSubcoolingC(self, double: float) -> None: ... def setTargetInductionTimeHours(self, double: float) -> None: ... @@ -32,36 +34,62 @@ class ThermodynamicHydrateInhibitorPerformance(java.io.Serializable): def evaluate(self) -> None: ... def getRequiredInhibitorWtPctInWater(self) -> float: ... def getRequiredInjectionKgPerHour(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isEvaluated(self) -> bool: ... - def setInhibitorChemistry(self, inhibitorChemistry: 'ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry') -> None: ... + def setInhibitorChemistry( + self, + inhibitorChemistry: "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry", + ) -> None: ... def setInhibitorPurityWtPct(self, double: float) -> None: ... def setLeanInhibitorWtPctInWater(self, double: float) -> None: ... def setTargetSubcoolingC(self, double: float) -> None: ... def setWaterFlowKgPerHour(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class InhibitorChemistry(java.lang.Enum['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry']): - METHANOL: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... - MEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... - DEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... - TEG: typing.ClassVar['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry'] = ... + + class InhibitorChemistry( + java.lang.Enum["ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry"] + ): + METHANOL: typing.ClassVar[ + "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry" + ] = ... + MEG: typing.ClassVar[ + "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry" + ] = ... + DEG: typing.ClassVar[ + "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry" + ] = ... + TEG: typing.ClassVar[ + "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry" + ] = ... def getHammerschmidtK(self) -> float: ... def getMolarMassGmol(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry": ... @staticmethod - def values() -> typing.MutableSequence['ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry']: ... - + def values() -> ( + typing.MutableSequence[ + "ThermodynamicHydrateInhibitorPerformance.InhibitorChemistry" + ] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.hydrate")``. KineticHydrateInhibitorPerformance: typing.Type[KineticHydrateInhibitorPerformance] - ThermodynamicHydrateInhibitorPerformance: typing.Type[ThermodynamicHydrateInhibitorPerformance] + ThermodynamicHydrateInhibitorPerformance: typing.Type[ + ThermodynamicHydrateInhibitorPerformance + ] diff --git a/src/jneqsim-stubs/process/chemistry/rca/__init__.pyi b/src/jneqsim-stubs/process/chemistry/rca/__init__.pyi index 1a8f188d..c599e0ea 100644 --- a/src/jneqsim-stubs/process/chemistry/rca/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/rca/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,25 +11,36 @@ import java.util import jneqsim.process.chemistry import typing - - class RootCauseAnalyser(java.io.Serializable): def __init__(self): ... - def addChemical(self, productionChemical: jneqsim.process.chemistry.ProductionChemical) -> 'RootCauseAnalyser': ... + def addChemical( + self, productionChemical: jneqsim.process.chemistry.ProductionChemical + ) -> "RootCauseAnalyser": ... @typing.overload - def addEvidence(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addEvidence( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addEvidence(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def addSymptom(self, symptom: 'Symptom') -> 'RootCauseAnalyser': ... + def addEvidence( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def addSymptom(self, symptom: "Symptom") -> "RootCauseAnalyser": ... def analyse(self) -> None: ... def getBayesianPosteriors(self) -> java.util.Map[java.lang.String, float]: ... - def getCandidates(self) -> java.util.List['RootCauseCandidate']: ... + def getCandidates(self) -> java.util.List["RootCauseCandidate"]: ... def getDataGaps(self) -> java.util.List[java.lang.String]: ... - def getPrimary(self) -> 'RootCauseCandidate': ... + def getPrimary(self) -> "RootCauseCandidate": ... def isEvaluated(self) -> bool: ... def setCO2PartialPressureBar(self, double: float) -> None: ... def setCalciumMgL(self, double: float) -> None: ... - def setCompatibilityAssessor(self, chemicalCompatibilityAssessor: jneqsim.process.chemistry.ChemicalCompatibilityAssessor) -> None: ... + def setCompatibilityAssessor( + self, + chemicalCompatibilityAssessor: jneqsim.process.chemistry.ChemicalCompatibilityAssessor, + ) -> None: ... def setH2SPartialPressureBar(self, double: float) -> None: ... def setIronMgL(self, double: float) -> None: ... def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -42,62 +53,84 @@ class RootCauseAnalyser(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class RootCauseCandidate(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getCode(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getEvidence(self) -> java.lang.String: ... def getRecommendation(self) -> java.lang.String: ... def getScore(self) -> float: ... - def getTag(self) -> 'RootCauseCandidate.Tag': ... - def setTag(self, tag: 'RootCauseCandidate.Tag') -> None: ... + def getTag(self) -> "RootCauseCandidate.Tag": ... + def setTag(self, tag: "RootCauseCandidate.Tag") -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Tag(java.lang.Enum['RootCauseCandidate.Tag']): - PRIMARY: typing.ClassVar['RootCauseCandidate.Tag'] = ... - CONTRIBUTING: typing.ClassVar['RootCauseCandidate.Tag'] = ... - POSSIBLE: typing.ClassVar['RootCauseCandidate.Tag'] = ... - RULED_OUT: typing.ClassVar['RootCauseCandidate.Tag'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Tag(java.lang.Enum["RootCauseCandidate.Tag"]): + PRIMARY: typing.ClassVar["RootCauseCandidate.Tag"] = ... + CONTRIBUTING: typing.ClassVar["RootCauseCandidate.Tag"] = ... + POSSIBLE: typing.ClassVar["RootCauseCandidate.Tag"] = ... + RULED_OUT: typing.ClassVar["RootCauseCandidate.Tag"] = ... + _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: ... + 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]) -> 'RootCauseCandidate.Tag': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RootCauseCandidate.Tag": ... @staticmethod - def values() -> typing.MutableSequence['RootCauseCandidate.Tag']: ... + def values() -> typing.MutableSequence["RootCauseCandidate.Tag"]: ... class Symptom(java.io.Serializable): - def __init__(self, category: 'Symptom.Category', string: typing.Union[java.lang.String, str]): ... - def getCategory(self) -> 'Symptom.Category': ... + def __init__( + self, category: "Symptom.Category", string: typing.Union[java.lang.String, str] + ): ... + def getCategory(self) -> "Symptom.Category": ... def getConfidence(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getMeasurement(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMeasurements(self) -> java.util.Map[java.lang.String, float]: ... @staticmethod - def of(*symptom: 'Symptom') -> java.util.List['Symptom']: ... + def of(*symptom: "Symptom") -> java.util.List["Symptom"]: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def withConfidence(self, double: float) -> 'Symptom': ... - def withMeasurement(self, string: typing.Union[java.lang.String, str], double: float) -> 'Symptom': ... - class Category(java.lang.Enum['Symptom.Category']): - DEPOSIT: typing.ClassVar['Symptom.Category'] = ... - CORROSION: typing.ClassVar['Symptom.Category'] = ... - EMULSION: typing.ClassVar['Symptom.Category'] = ... - PH_EXCURSION: typing.ClassVar['Symptom.Category'] = ... - FLOW_RESTRICTION: typing.ClassVar['Symptom.Category'] = ... - H2S_BREAKTHROUGH: typing.ClassVar['Symptom.Category'] = ... - SAMPLE_APPEARANCE: typing.ClassVar['Symptom.Category'] = ... - OFF_SPEC: typing.ClassVar['Symptom.Category'] = ... - OTHER: typing.ClassVar['Symptom.Category'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def withConfidence(self, double: float) -> "Symptom": ... + def withMeasurement( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "Symptom": ... + + class Category(java.lang.Enum["Symptom.Category"]): + DEPOSIT: typing.ClassVar["Symptom.Category"] = ... + CORROSION: typing.ClassVar["Symptom.Category"] = ... + EMULSION: typing.ClassVar["Symptom.Category"] = ... + PH_EXCURSION: typing.ClassVar["Symptom.Category"] = ... + FLOW_RESTRICTION: typing.ClassVar["Symptom.Category"] = ... + H2S_BREAKTHROUGH: typing.ClassVar["Symptom.Category"] = ... + SAMPLE_APPEARANCE: typing.ClassVar["Symptom.Category"] = ... + OFF_SPEC: typing.ClassVar["Symptom.Category"] = ... + OTHER: typing.ClassVar["Symptom.Category"] = ... + _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: ... + 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]) -> 'Symptom.Category': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Symptom.Category": ... @staticmethod - def values() -> typing.MutableSequence['Symptom.Category']: ... - + def values() -> typing.MutableSequence["Symptom.Category"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.rca")``. diff --git a/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi b/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi index 66615dd7..10724735 100644 --- a/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/scale/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,25 +13,27 @@ import jneqsim.process.equipment.stream import jneqsim.pvtsimulation.flowassurance import typing - - class ClosedLoopDepositionSolver(java.io.Serializable): - def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, scaleDepositionAccumulator: 'ScaleDepositionAccumulator'): ... + def __init__( + self, + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + scaleDepositionAccumulator: "ScaleDepositionAccumulator", + ): ... def getDiameterHistoryM(self) -> java.util.List[float]: ... def getFinalEffectiveDiameterM(self) -> float: ... def getIterationsTaken(self) -> int: ... def getMaxThicknessHistoryMm(self) -> java.util.List[float]: ... def getVelocityHistoryMs(self) -> java.util.List[float]: ... def isConverged(self) -> bool: ... - def setMaxIterations(self, int: int) -> 'ClosedLoopDepositionSolver': ... - def setToleranceM(self, double: float) -> 'ClosedLoopDepositionSolver': ... - def solve(self) -> 'ClosedLoopDepositionSolver': ... + def setMaxIterations(self, int: int) -> "ClosedLoopDepositionSolver": ... + def setToleranceM(self, double: float) -> "ClosedLoopDepositionSolver": ... + def solve(self) -> "ClosedLoopDepositionSolver": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ElectrolyteScaleCalculator(java.io.Serializable): def __init__(self): ... - def calculate(self) -> 'ElectrolyteScaleCalculator': ... + def calculate(self) -> "ElectrolyteScaleCalculator": ... def getActivityCoefficients(self) -> java.util.Map[java.lang.String, float]: ... def getBaSO4SaturationIndex(self) -> float: ... def getCaCO3SaturationIndex(self) -> float: ... @@ -39,47 +41,89 @@ class ElectrolyteScaleCalculator(java.io.Serializable): def getDebyeHueckelA(self) -> float: ... def getIonicStrength(self) -> float: ... def getSrSO4SaturationIndex(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def isEvaluated(self) -> bool: ... - def setAnions(self, double: float, double2: float, double3: float, double4: float) -> 'ElectrolyteScaleCalculator': ... - def setCO2PartialPressureBar(self, double: float) -> 'ElectrolyteScaleCalculator': ... - def setCations(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'ElectrolyteScaleCalculator': ... - def setPH(self, double: float) -> 'ElectrolyteScaleCalculator': ... - def setPressureBara(self, double: float) -> 'ElectrolyteScaleCalculator': ... - def setTemperatureCelsius(self, double: float) -> 'ElectrolyteScaleCalculator': ... + def setAnions( + self, double: float, double2: float, double3: float, double4: float + ) -> "ElectrolyteScaleCalculator": ... + def setCO2PartialPressureBar( + self, double: float + ) -> "ElectrolyteScaleCalculator": ... + def setCations( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> "ElectrolyteScaleCalculator": ... + def setPH(self, double: float) -> "ElectrolyteScaleCalculator": ... + def setPressureBara(self, double: float) -> "ElectrolyteScaleCalculator": ... + def setTemperatureCelsius(self, double: float) -> "ElectrolyteScaleCalculator": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ScaleControlAssessor(java.io.Serializable): - def __init__(self, scalePredictionCalculator: jneqsim.pvtsimulation.flowassurance.ScalePredictionCalculator): ... - def addInhibitor(self, scaleType: 'ScaleInhibitorPerformance.ScaleType', scaleInhibitorPerformance: 'ScaleInhibitorPerformance') -> None: ... + def __init__( + self, + scalePredictionCalculator: jneqsim.pvtsimulation.flowassurance.ScalePredictionCalculator, + ): ... + def addInhibitor( + self, + scaleType: "ScaleInhibitorPerformance.ScaleType", + scaleInhibitorPerformance: "ScaleInhibitorPerformance", + ) -> None: ... def evaluate(self) -> None: ... @staticmethod - def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ScaleControlAssessor': ... - def getResidualSI(self, scaleType: 'ScaleInhibitorPerformance.ScaleType') -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def fromStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ScaleControlAssessor": ... + def getResidualSI( + self, scaleType: "ScaleInhibitorPerformance.ScaleType" + ) -> float: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWorstResidualSI(self) -> float: ... def isControlled(self, double: float) -> bool: ... def isEvaluated(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ScaleDepositionAccumulator(java.io.Serializable): - def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... - def evaluate(self) -> 'ScaleDepositionAccumulator': ... + def __init__( + self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills + ): ... + def evaluate(self) -> "ScaleDepositionAccumulator": ... def getMaxThicknessMm(self) -> float: ... def getSegmentDepositionMassKg(self) -> java.util.List[float]: ... def getSegmentSaturationIndex(self) -> java.util.List[float]: ... def getSegmentThicknessMm(self) -> java.util.List[float]: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getTimeToBlockageYears(self) -> float: ... def getTotalDepositionMassKg(self) -> float: ... def isEvaluated(self) -> bool: ... - def setBaseRate(self, double: float) -> 'ScaleDepositionAccumulator': ... - def setBrineChemistry(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'ScaleDepositionAccumulator': ... - def setInhibitorEfficiency(self, double: float) -> 'ScaleDepositionAccumulator': ... - def setScaleDensity(self, double: float) -> 'ScaleDepositionAccumulator': ... - def setServiceYears(self, double: float) -> 'ScaleDepositionAccumulator': ... - def setpHAndCo2(self, double: float, double2: float) -> 'ScaleDepositionAccumulator': ... + def setBaseRate(self, double: float) -> "ScaleDepositionAccumulator": ... + def setBrineChemistry( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> "ScaleDepositionAccumulator": ... + def setInhibitorEfficiency(self, double: float) -> "ScaleDepositionAccumulator": ... + def setScaleDensity(self, double: float) -> "ScaleDepositionAccumulator": ... + def setServiceYears(self, double: float) -> "ScaleDepositionAccumulator": ... + def setpHAndCo2( + self, double: float, double2: float + ) -> "ScaleDepositionAccumulator": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -89,49 +133,82 @@ class ScaleInhibitorPerformance(java.io.Serializable): def getEfficiency(self) -> float: ... def getMinimumInhibitorConcentrationMgL(self) -> float: ... def getRecommendedDoseMgL(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def isAdequate(self) -> bool: ... def isEvaluated(self) -> bool: ... def setAvailableDoseMgL(self, double: float) -> None: ... def setCalciumMgL(self, double: float) -> None: ... - def setInhibitorChemistry(self, inhibitorChemistry: 'ScaleInhibitorPerformance.InhibitorChemistry') -> None: ... + def setInhibitorChemistry( + self, inhibitorChemistry: "ScaleInhibitorPerformance.InhibitorChemistry" + ) -> None: ... def setSaturationRatio(self, double: float) -> None: ... - def setScaleType(self, scaleType: 'ScaleInhibitorPerformance.ScaleType') -> None: ... + def setScaleType( + self, scaleType: "ScaleInhibitorPerformance.ScaleType" + ) -> None: ... def setTdsMgL(self, double: float) -> None: ... def setTemperatureCelsius(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class InhibitorChemistry(java.lang.Enum['ScaleInhibitorPerformance.InhibitorChemistry']): - PHOSPHONATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... - POLYMALEATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... - POLYACRYLATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... - PHOSPHATE_ESTER: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... - VINYL_SULPHONATE: typing.ClassVar['ScaleInhibitorPerformance.InhibitorChemistry'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class InhibitorChemistry( + java.lang.Enum["ScaleInhibitorPerformance.InhibitorChemistry"] + ): + PHOSPHONATE: typing.ClassVar["ScaleInhibitorPerformance.InhibitorChemistry"] = ( + ... + ) + POLYMALEATE: typing.ClassVar["ScaleInhibitorPerformance.InhibitorChemistry"] = ( + ... + ) + POLYACRYLATE: typing.ClassVar[ + "ScaleInhibitorPerformance.InhibitorChemistry" + ] = ... + PHOSPHATE_ESTER: typing.ClassVar[ + "ScaleInhibitorPerformance.InhibitorChemistry" + ] = ... + VINYL_SULPHONATE: typing.ClassVar[ + "ScaleInhibitorPerformance.InhibitorChemistry" + ] = ... + _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: ... + 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]) -> 'ScaleInhibitorPerformance.InhibitorChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ScaleInhibitorPerformance.InhibitorChemistry": ... @staticmethod - def values() -> typing.MutableSequence['ScaleInhibitorPerformance.InhibitorChemistry']: ... - class ScaleType(java.lang.Enum['ScaleInhibitorPerformance.ScaleType']): - CACO3: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... - BASO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... - SRSO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... - CASO4: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... - FECO3: typing.ClassVar['ScaleInhibitorPerformance.ScaleType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ScaleInhibitorPerformance.InhibitorChemistry"] + ): ... + + class ScaleType(java.lang.Enum["ScaleInhibitorPerformance.ScaleType"]): + CACO3: typing.ClassVar["ScaleInhibitorPerformance.ScaleType"] = ... + BASO4: typing.ClassVar["ScaleInhibitorPerformance.ScaleType"] = ... + SRSO4: typing.ClassVar["ScaleInhibitorPerformance.ScaleType"] = ... + CASO4: typing.ClassVar["ScaleInhibitorPerformance.ScaleType"] = ... + FECO3: typing.ClassVar["ScaleInhibitorPerformance.ScaleType"] = ... + _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: ... + 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]) -> 'ScaleInhibitorPerformance.ScaleType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ScaleInhibitorPerformance.ScaleType": ... @staticmethod - def values() -> typing.MutableSequence['ScaleInhibitorPerformance.ScaleType']: ... - + def values() -> ( + typing.MutableSequence["ScaleInhibitorPerformance.ScaleType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.scale")``. diff --git a/src/jneqsim-stubs/process/chemistry/scavenger/__init__.pyi b/src/jneqsim-stubs/process/chemistry/scavenger/__init__.pyi index 1a75a061..3c344f61 100644 --- a/src/jneqsim-stubs/process/chemistry/scavenger/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/scavenger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import java.util import typing - - class H2SScavengerPerformance(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @@ -19,11 +17,15 @@ class H2SScavengerPerformance(java.io.Serializable): def getCapacityKgH2SPerKgActive(self) -> float: ... def getH2SToRemoveKgPerDay(self) -> float: ... def getScavengerDemandKgPerDay(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def isEvaluated(self) -> bool: ... def setActiveWtPct(self, double: float) -> None: ... - def setChemistry(self, scavengerChemistry: 'H2SScavengerPerformance.ScavengerChemistry') -> None: ... + def setChemistry( + self, scavengerChemistry: "H2SScavengerPerformance.ScavengerChemistry" + ) -> None: ... def setGasFlowMSm3PerDay(self, double: float) -> None: ... def setH2SInletPpm(self, double: float) -> None: ... def setH2STargetPpm(self, double: float) -> None: ... @@ -31,43 +33,66 @@ class H2SScavengerPerformance(java.io.Serializable): def setScavengerInventoryKg(self, double: float) -> None: ... def setTemperatureCelsius(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ScavengerChemistry(java.lang.Enum['H2SScavengerPerformance.ScavengerChemistry']): - MEA_TRIAZINE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... - MMA_TRIAZINE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... - IRON_CHELATE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... - IRON_SPONGE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... - ALDEHYDE: typing.ClassVar['H2SScavengerPerformance.ScavengerChemistry'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ScavengerChemistry( + java.lang.Enum["H2SScavengerPerformance.ScavengerChemistry"] + ): + MEA_TRIAZINE: typing.ClassVar["H2SScavengerPerformance.ScavengerChemistry"] = ( + ... + ) + MMA_TRIAZINE: typing.ClassVar["H2SScavengerPerformance.ScavengerChemistry"] = ( + ... + ) + IRON_CHELATE: typing.ClassVar["H2SScavengerPerformance.ScavengerChemistry"] = ( + ... + ) + IRON_SPONGE: typing.ClassVar["H2SScavengerPerformance.ScavengerChemistry"] = ... + ALDEHYDE: typing.ClassVar["H2SScavengerPerformance.ScavengerChemistry"] = ... + _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: ... + 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]) -> 'H2SScavengerPerformance.ScavengerChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "H2SScavengerPerformance.ScavengerChemistry": ... @staticmethod - def values() -> typing.MutableSequence['H2SScavengerPerformance.ScavengerChemistry']: ... + def values() -> ( + typing.MutableSequence["H2SScavengerPerformance.ScavengerChemistry"] + ): ... class PackedBedScavengerReactor(java.io.Serializable): def __init__(self): ... - def evaluate(self) -> 'PackedBedScavengerReactor': ... + def evaluate(self) -> "PackedBedScavengerReactor": ... def getBedUtilisationProfile(self) -> java.util.List[float]: ... def getBreakthroughTimeS(self) -> float: ... def getFinalBedUtilisation(self) -> float: ... def getOutletConcentrationProfile(self) -> java.util.List[float]: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getTimeSeriesS(self) -> java.util.List[float]: ... def getTotalH2sRemovedKg(self) -> float: ... def isEvaluated(self) -> bool: ... - def setDiscretisation(self, int: int, int2: int) -> 'PackedBedScavengerReactor': ... - def setFeed(self, double: float, double2: float) -> 'PackedBedScavengerReactor': ... - def setGeometry(self, double: float, double2: float, double3: float) -> 'PackedBedScavengerReactor': ... - def setMedia(self, double: float, double2: float, double3: float) -> 'PackedBedScavengerReactor': ... - def setRateConstant(self, double: float) -> 'PackedBedScavengerReactor': ... - def setSimulationTime(self, double: float, double2: float) -> 'PackedBedScavengerReactor': ... + def setDiscretisation(self, int: int, int2: int) -> "PackedBedScavengerReactor": ... + def setFeed(self, double: float, double2: float) -> "PackedBedScavengerReactor": ... + def setGeometry( + self, double: float, double2: float, double3: float + ) -> "PackedBedScavengerReactor": ... + def setMedia( + self, double: float, double2: float, double3: float + ) -> "PackedBedScavengerReactor": ... + def setRateConstant(self, double: float) -> "PackedBedScavengerReactor": ... + def setSimulationTime( + self, double: float, double2: float + ) -> "PackedBedScavengerReactor": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.scavenger")``. diff --git a/src/jneqsim-stubs/process/chemistry/util/__init__.pyi b/src/jneqsim-stubs/process/chemistry/util/__init__.pyi index b825779b..c04d8856 100644 --- a/src/jneqsim-stubs/process/chemistry/util/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,57 +14,117 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class ChemistryUncertaintyAnalyzer(java.io.Serializable): def __init__(self): ... - def addParameter(self, uncertainParameter: 'ChemistryUncertaintyAnalyzer.UncertainParameter') -> None: ... + def addParameter( + self, uncertainParameter: "ChemistryUncertaintyAnalyzer.UncertainParameter" + ) -> None: ... def getMean(self) -> float: ... def getP10(self) -> float: ... def getP50(self) -> float: ... def getP90(self) -> float: ... - def getParameters(self) -> java.util.List['ChemistryUncertaintyAnalyzer.UncertainParameter']: ... + def getParameters( + self, + ) -> java.util.List["ChemistryUncertaintyAnalyzer.UncertainParameter"]: ... def getStd(self) -> float: ... - def getTornado(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getTornado( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... @staticmethod def identity() -> java.util.function.DoubleUnaryOperator: ... def isEvaluated(self) -> bool: ... @staticmethod - def mapOutput(string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[typing.Union[typing.List[float], jpype.JArray], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]]) -> java.util.function.ToDoubleFunction[typing.MutableSequence[float]]: ... - def run(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[typing.Union[typing.List[float], jpype.JArray]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], float]]) -> None: ... + def mapOutput( + string: typing.Union[java.lang.String, str], + function: typing.Union[ + java.util.function.Function[ + typing.Union[typing.List[float], jpype.JArray], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ], + typing.Callable[ + [typing.Union[typing.List[float], jpype.JArray]], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ], + ], + ) -> java.util.function.ToDoubleFunction[typing.MutableSequence[float]]: ... + def run( + self, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + typing.Union[typing.List[float], jpype.JArray] + ], + typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], float], + ], + ) -> None: ... def setNumberOfTrials(self, int: int) -> None: ... def setRandomSeed(self, long: int) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def triangular(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ChemistryUncertaintyAnalyzer.UncertainParameter': ... + def triangular( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "ChemistryUncertaintyAnalyzer.UncertainParameter": ... + class UncertainParameter(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], doubleSupplier: typing.Union[java.util.function.DoubleSupplier, typing.Callable], double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + doubleSupplier: typing.Union[ + java.util.function.DoubleSupplier, typing.Callable + ], + double2: float, + double3: float, + double4: float, + ): ... def getBase(self) -> float: ... def getHigh(self) -> float: ... def getLow(self) -> float: ... def getName(self) -> java.lang.String: ... def sample(self) -> float: ... @staticmethod - def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, random: java.util.Random) -> 'ChemistryUncertaintyAnalyzer.UncertainParameter': ... + def triangular( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + random: java.util.Random, + ) -> "ChemistryUncertaintyAnalyzer.UncertainParameter": ... class StandardsRegistry(java.io.Serializable): - NACE_TM0374: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - NACE_TM0169: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - NACE_MR0175: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - NACE_SP0775: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - NORSOK_M506: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - NORSOK_M001: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - API_RP87: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - GPSA_DB: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - ISO_13443: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - ISO_15156: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - API_RP14E: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - ASTM_G31: typing.ClassVar['StandardsRegistry.StandardReference'] = ... - DNV_RP_O501: typing.ClassVar['StandardsRegistry.StandardReference'] = ... + NACE_TM0374: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + NACE_TM0169: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + NACE_MR0175: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + NACE_SP0775: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + NORSOK_M506: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + NORSOK_M001: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + API_RP87: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + GPSA_DB: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + ISO_13443: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + ISO_15156: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + API_RP14E: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + ASTM_G31: typing.ClassVar["StandardsRegistry.StandardReference"] = ... + DNV_RP_O501: typing.ClassVar["StandardsRegistry.StandardReference"] = ... @staticmethod - def toMapList(*standardReference: 'StandardsRegistry.StandardReference') -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def toMapList( + *standardReference: "StandardsRegistry.StandardReference", + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + class StandardReference(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]): ... + 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 getCode(self) -> java.lang.String: ... def getOrganisation(self) -> java.lang.String: ... def getTopic(self) -> java.lang.String: ... @@ -72,11 +132,15 @@ class StandardsRegistry(java.io.Serializable): class StreamChemistryAdapter(java.io.Serializable): @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def estimateWallShearStressPa(self, double: float, double2: float) -> float: ... - def getAqueousConcentrationMgL(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getAqueousConcentrationMgL( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getBariumMgL(self) -> float: ... def getBicarbonateMgL(self) -> float: ... def getCalciumMgL(self) -> float: ... @@ -84,7 +148,9 @@ class StreamChemistryAdapter(java.io.Serializable): def getGasFlowSm3PerDay(self) -> float: ... def getH2SInGasPpm(self) -> float: ... def getIronMgL(self) -> float: ... - def getPartialPressureBara(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPartialPressureBara( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPressureBara(self) -> float: ... def getSodiumMgL(self) -> float: ... def getSulphateMgL(self) -> float: ... @@ -92,7 +158,6 @@ class StreamChemistryAdapter(java.io.Serializable): def getTemperatureCelsius(self) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.util")``. diff --git a/src/jneqsim-stubs/process/chemistry/wax/__init__.pyi b/src/jneqsim-stubs/process/chemistry/wax/__init__.pyi index 2b9ded8a..aede6102 100644 --- a/src/jneqsim-stubs/process/chemistry/wax/__init__.pyi +++ b/src/jneqsim-stubs/process/chemistry/wax/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import java.util import typing - - class WaxInhibitorPerformance(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @@ -19,7 +17,9 @@ class WaxInhibitorPerformance(java.io.Serializable): def getInhibitedPourPointC(self) -> float: ... def getInhibitedWaxAppearanceTemperatureC(self) -> float: ... def getPourPointDepressionC(self) -> float: ... - def getStandardsApplied(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getStandardsApplied( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def getYieldStressReductionFraction(self) -> float: ... def isEvaluated(self) -> bool: ... @@ -27,25 +27,42 @@ class WaxInhibitorPerformance(java.io.Serializable): def setBaseWaxAppearanceTemperatureC(self, double: float) -> None: ... def setDoseAt50PctEfficacyMgL(self, double: float) -> None: ... def setDoseMgL(self, double: float) -> None: ... - def setInhibitorChemistry(self, inhibitorChemistry: 'WaxInhibitorPerformance.InhibitorChemistry') -> None: ... + def setInhibitorChemistry( + self, inhibitorChemistry: "WaxInhibitorPerformance.InhibitorChemistry" + ) -> None: ... def setMaxPourPointDepressionC(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class InhibitorChemistry(java.lang.Enum['WaxInhibitorPerformance.InhibitorChemistry']): - EVA: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... - POLY_ACRYLATE: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... - OLEFIN_ESTER: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... - MALEIC_VINYL_ESTER: typing.ClassVar['WaxInhibitorPerformance.InhibitorChemistry'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class InhibitorChemistry( + java.lang.Enum["WaxInhibitorPerformance.InhibitorChemistry"] + ): + EVA: typing.ClassVar["WaxInhibitorPerformance.InhibitorChemistry"] = ... + POLY_ACRYLATE: typing.ClassVar["WaxInhibitorPerformance.InhibitorChemistry"] = ( + ... + ) + OLEFIN_ESTER: typing.ClassVar["WaxInhibitorPerformance.InhibitorChemistry"] = ( + ... + ) + MALEIC_VINYL_ESTER: typing.ClassVar[ + "WaxInhibitorPerformance.InhibitorChemistry" + ] = ... + _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: ... + 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]) -> 'WaxInhibitorPerformance.InhibitorChemistry': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WaxInhibitorPerformance.InhibitorChemistry": ... @staticmethod - def values() -> typing.MutableSequence['WaxInhibitorPerformance.InhibitorChemistry']: ... - + def values() -> ( + typing.MutableSequence["WaxInhibitorPerformance.InhibitorChemistry"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.chemistry.wax")``. diff --git a/src/jneqsim-stubs/process/conditionmonitor/__init__.pyi b/src/jneqsim-stubs/process/conditionmonitor/__init__.pyi index e2024f0f..c63c3909 100644 --- a/src/jneqsim-stubs/process/conditionmonitor/__init__.pyi +++ b/src/jneqsim-stubs/process/conditionmonitor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import jneqsim.process.processmodel import typing - - class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def __init__(self): ... @@ -20,7 +18,9 @@ class ConditionMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def conditionAnalysis(self) -> None: ... @typing.overload - def conditionAnalysis(self, string: typing.Union[java.lang.String, str]) -> None: ... + def conditionAnalysis( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getReport(self) -> java.lang.String: ... def run(self) -> None: ... @@ -29,7 +29,6 @@ class ConditionMonitorSpecifications(java.io.Serializable): HXmaxDeltaT: typing.ClassVar[float] = ... HXmaxDeltaT_ErrorMsg: typing.ClassVar[java.lang.String] = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.conditionmonitor")``. diff --git a/src/jneqsim-stubs/process/controllerdevice/__init__.pyi b/src/jneqsim-stubs/process/controllerdevice/__init__.pyi index 0054f02c..2489fd7e 100644 --- a/src/jneqsim-stubs/process/controllerdevice/__init__.pyi +++ b/src/jneqsim-stubs/process/controllerdevice/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,10 +18,10 @@ import jneqsim.process.measurementdevice import jneqsim.util import typing - - class ControllerDeviceInterface(jneqsim.process.ProcessElementInterface): - def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def addGainSchedulePoint( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -31,23 +31,31 @@ class ControllerDeviceInterface(jneqsim.process.ProcessElementInterface): @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + def autoTuneStepResponse( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def autoTuneStepResponse( + self, double: float, double2: float, double3: float, boolean: bool + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getControllerSetPoint(self) -> float: ... - def getEventLog(self) -> java.util.List['ControllerEvent']: ... + def getEventLog(self) -> java.util.List["ControllerEvent"]: ... def getIntegralAbsoluteError(self) -> float: ... def getManualOutput(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMode(self) -> 'ControllerDeviceInterface.ControllerMode': ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getMode(self) -> "ControllerDeviceInterface.ControllerMode": ... def getResponse(self) -> float: ... def getSetpointWeight(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod(self) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... + def getStepResponseTuningMethod( + self, + ) -> "ControllerDeviceInterface.StepResponseTuningMethod": ... def getUnit(self) -> java.lang.String: ... def hashCode(self) -> int: ... def isActive(self) -> bool: ... @@ -55,52 +63,95 @@ class ControllerDeviceInterface(jneqsim.process.ProcessElementInterface): def resetEventLog(self) -> None: ... def resetPerformanceMetrics(self) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... @typing.overload def runTransient(self, double: float, double2: float) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + def setControllerParameters( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload def setControllerSetPoint(self, double: float) -> None: ... @typing.overload - def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDerivativeFilterTime(self, double: float) -> None: ... def setManualOutput(self, double: float) -> None: ... - def setMode(self, controllerMode: 'ControllerDeviceInterface.ControllerMode') -> None: ... + def setMode( + self, controllerMode: "ControllerDeviceInterface.ControllerMode" + ) -> None: ... def setOutputLimits(self, double: float, double2: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... def setSetpointWeight(self, double: float) -> None: ... - def setStepResponseTuningMethod(self, stepResponseTuningMethod: 'ControllerDeviceInterface.StepResponseTuningMethod') -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setStepResponseTuningMethod( + self, + stepResponseTuningMethod: "ControllerDeviceInterface.StepResponseTuningMethod", + ) -> None: ... + def setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - class ControllerMode(java.lang.Enum['ControllerDeviceInterface.ControllerMode']): - AUTO: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... - MANUAL: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... - CASCADE: typing.ClassVar['ControllerDeviceInterface.ControllerMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ControllerMode(java.lang.Enum["ControllerDeviceInterface.ControllerMode"]): + AUTO: typing.ClassVar["ControllerDeviceInterface.ControllerMode"] = ... + MANUAL: typing.ClassVar["ControllerDeviceInterface.ControllerMode"] = ... + CASCADE: typing.ClassVar["ControllerDeviceInterface.ControllerMode"] = ... + _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: ... + 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]) -> 'ControllerDeviceInterface.ControllerMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDeviceInterface.ControllerMode": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDeviceInterface.ControllerMode']: ... - class StepResponseTuningMethod(java.lang.Enum['ControllerDeviceInterface.StepResponseTuningMethod']): - CLASSIC: typing.ClassVar['ControllerDeviceInterface.StepResponseTuningMethod'] = ... - SIMC: typing.ClassVar['ControllerDeviceInterface.StepResponseTuningMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ControllerDeviceInterface.ControllerMode"] + ): ... + + class StepResponseTuningMethod( + java.lang.Enum["ControllerDeviceInterface.StepResponseTuningMethod"] + ): + CLASSIC: typing.ClassVar[ + "ControllerDeviceInterface.StepResponseTuningMethod" + ] = ... + SIMC: typing.ClassVar["ControllerDeviceInterface.StepResponseTuningMethod"] = ( + ... + ) + _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: ... + 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]) -> 'ControllerDeviceInterface.StepResponseTuningMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDeviceInterface.StepResponseTuningMethod": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDeviceInterface.StepResponseTuningMethod']: ... + def values() -> ( + typing.MutableSequence["ControllerDeviceInterface.StepResponseTuningMethod"] + ): ... class ControllerEvent(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getError(self) -> float: ... def getMeasuredValue(self) -> float: ... def getResponse(self) -> float: ... @@ -109,9 +160,21 @@ class ControllerEvent(java.io.Serializable): class SequentialFunctionChart(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStep(self, sfcStep: 'SequentialFunctionChart.SfcStep') -> None: ... - def addTimedTransition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... - def addTransition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], booleanSupplier: typing.Union[java.util.function.BooleanSupplier, typing.Callable]) -> None: ... + def addStep(self, sfcStep: "SequentialFunctionChart.SfcStep") -> None: ... + def addTimedTransition( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + def addTransition( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + booleanSupplier: typing.Union[ + java.util.function.BooleanSupplier, typing.Callable + ], + ) -> None: ... def getActiveStepName(self) -> java.lang.String: ... def getElapsedTimeInStep(self) -> float: ... def getEventHistory(self) -> java.util.List[java.lang.String]: ... @@ -123,17 +186,32 @@ class SequentialFunctionChart(java.io.Serializable): def setInitialStep(self, string: typing.Union[java.lang.String, str]) -> None: ... def start(self) -> None: ... def stop(self) -> None: ... + class SfcStep(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getActiveAction(self) -> java.lang.Runnable: ... def getEntryAction(self) -> java.lang.Runnable: ... def getExitAction(self) -> java.lang.Runnable: ... def getName(self) -> java.lang.String: ... - def setActiveAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... - def setEntryAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... - def setExitAction(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + def setActiveAction( + self, runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... + def setEntryAction( + self, runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... + def setExitAction( + self, runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... + class SfcTransition(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], booleanSupplier: typing.Union[java.util.function.BooleanSupplier, typing.Callable]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + booleanSupplier: typing.Union[ + java.util.function.BooleanSupplier, typing.Callable + ], + ): ... def getFromStep(self) -> java.lang.String: ... def getGuard(self) -> java.util.function.BooleanSupplier: ... def getToStep(self) -> java.lang.String: ... @@ -143,7 +221,9 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addGainSchedulePoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def addGainSchedulePoint( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload @@ -153,9 +233,13 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def autoTuneFromEventLog(self, boolean: bool) -> bool: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float) -> None: ... + def autoTuneStepResponse( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def autoTuneStepResponse(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def autoTuneStepResponse( + self, double: float, double2: float, double3: float, boolean: bool + ) -> None: ... def getControllerSetPoint(self) -> float: ... def getEventLog(self) -> java.util.List[ControllerEvent]: ... def getIntegralAbsoluteError(self) -> float: ... @@ -164,14 +248,20 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMode(self) -> ControllerDeviceInterface.ControllerMode: ... - def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getReferenceDesignation( + self, + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... def getReferenceDesignationString(self) -> java.lang.String: ... def getResponse(self) -> float: ... def getSetpointWeight(self) -> float: ... def getSettlingTime(self) -> float: ... - def getStepResponseTuningMethod(self) -> ControllerDeviceInterface.StepResponseTuningMethod: ... + def getStepResponseTuningMethod( + self, + ) -> ControllerDeviceInterface.StepResponseTuningMethod: ... def getTd(self) -> float: ... def getTi(self) -> float: ... def getUnit(self) -> java.lang.String: ... @@ -182,41 +272,69 @@ class ControllerDeviceBaseClass(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def runTransient(self, double: float, double2: float) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + def setControllerParameters( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload def setControllerSetPoint(self, double: float) -> None: ... @typing.overload - def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDerivativeFilterTime(self, double: float) -> None: ... def setKp(self, double: float) -> None: ... def setManualOutput(self, double: float) -> None: ... - def setMode(self, controllerMode: ControllerDeviceInterface.ControllerMode) -> None: ... + def setMode( + self, controllerMode: ControllerDeviceInterface.ControllerMode + ) -> None: ... def setOutputLimits(self, double: float, double2: float) -> None: ... - def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setReferenceDesignation( + self, + referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation, + ) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... def setSetpointWeight(self, double: float) -> None: ... - def setStepResponseTuningMethod(self, stepResponseTuningMethod: ControllerDeviceInterface.StepResponseTuningMethod) -> None: ... + def setStepResponseTuningMethod( + self, + stepResponseTuningMethod: ControllerDeviceInterface.StepResponseTuningMethod, + ) -> None: ... def setTd(self, double: float) -> None: ... def setTi(self, double: float) -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class LogicBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): - def __init__(self, string: typing.Union[java.lang.String, str], operator: 'LogicBlock.Operator'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + operator: "LogicBlock.Operator", + ): ... def addFixedInput(self, boolean: bool) -> None: ... @typing.overload - def addInput(self, logicBlock: 'LogicBlock') -> None: ... + def addInput(self, logicBlock: "LogicBlock") -> None: ... @typing.overload - def addInput(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, comparator: 'LogicBlock.Comparator') -> None: ... + def addInput( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + double: float, + comparator: "LogicBlock.Comparator", + ) -> None: ... def getControllerSetPoint(self) -> float: ... - def getInputs(self) -> java.util.List['LogicBlock.LogicInput']: ... + def getInputs(self) -> java.util.List["LogicBlock.LogicInput"]: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... - def getOperator(self) -> 'LogicBlock.Operator': ... + def getOperator(self) -> "LogicBlock.Operator": ... def getOutput(self) -> float: ... def getOutputBoolean(self) -> bool: ... def getResponse(self) -> float: ... @@ -226,74 +344,115 @@ class LogicBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): @typing.overload def runTransient(self, double: float, double2: float) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + def setControllerParameters( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setControllerSetPoint(self, double: float) -> None: ... def setEqualityTolerance(self, double: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - class Comparator(java.lang.Enum['LogicBlock.Comparator']): - GREATER_THAN: typing.ClassVar['LogicBlock.Comparator'] = ... - GREATER_EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... - LESS_THAN: typing.ClassVar['LogicBlock.Comparator'] = ... - LESS_EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... - EQUAL: typing.ClassVar['LogicBlock.Comparator'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Comparator(java.lang.Enum["LogicBlock.Comparator"]): + GREATER_THAN: typing.ClassVar["LogicBlock.Comparator"] = ... + GREATER_EQUAL: typing.ClassVar["LogicBlock.Comparator"] = ... + LESS_THAN: typing.ClassVar["LogicBlock.Comparator"] = ... + LESS_EQUAL: typing.ClassVar["LogicBlock.Comparator"] = ... + EQUAL: typing.ClassVar["LogicBlock.Comparator"] = ... + _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: ... + 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]) -> 'LogicBlock.Comparator': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LogicBlock.Comparator": ... @staticmethod - def values() -> typing.MutableSequence['LogicBlock.Comparator']: ... + def values() -> typing.MutableSequence["LogicBlock.Comparator"]: ... + class LogicInput(java.io.Serializable): - def __init__(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, double: float, comparator: 'LogicBlock.Comparator'): ... + def __init__( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + double: float, + comparator: "LogicBlock.Comparator", + ): ... def evaluate(self, double: float) -> bool: ... - def getComparator(self) -> 'LogicBlock.Comparator': ... - def getDevice(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getComparator(self) -> "LogicBlock.Comparator": ... + def getDevice( + self, + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def getThreshold(self) -> float: ... - class Operator(java.lang.Enum['LogicBlock.Operator']): - AND: typing.ClassVar['LogicBlock.Operator'] = ... - OR: typing.ClassVar['LogicBlock.Operator'] = ... - NOT: typing.ClassVar['LogicBlock.Operator'] = ... - NAND: typing.ClassVar['LogicBlock.Operator'] = ... - NOR: typing.ClassVar['LogicBlock.Operator'] = ... - XOR: typing.ClassVar['LogicBlock.Operator'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Operator(java.lang.Enum["LogicBlock.Operator"]): + AND: typing.ClassVar["LogicBlock.Operator"] = ... + OR: typing.ClassVar["LogicBlock.Operator"] = ... + NOT: typing.ClassVar["LogicBlock.Operator"] = ... + NAND: typing.ClassVar["LogicBlock.Operator"] = ... + NOR: typing.ClassVar["LogicBlock.Operator"] = ... + XOR: typing.ClassVar["LogicBlock.Operator"] = ... + _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: ... + 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]) -> 'LogicBlock.Operator': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LogicBlock.Operator": ... @staticmethod - def values() -> typing.MutableSequence['LogicBlock.Operator']: ... + def values() -> typing.MutableSequence["LogicBlock.Operator"]: ... class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addQualityConstraint(self, qualityConstraint: 'ModelPredictiveController.QualityConstraint') -> None: ... + def addQualityConstraint( + self, qualityConstraint: "ModelPredictiveController.QualityConstraint" + ) -> None: ... @typing.overload def autoTune(self, double: float, double2: float) -> None: ... @typing.overload def autoTune(self, double: float, double2: float, boolean: bool) -> None: ... @typing.overload - def autoTune(self) -> 'ModelPredictiveController.AutoTuneResult': ... + def autoTune(self) -> "ModelPredictiveController.AutoTuneResult": ... @typing.overload - def autoTune(self, list: java.util.List[float], list2: java.util.List[float], list3: java.util.List[float], autoTuneConfiguration: 'ModelPredictiveController.AutoTuneConfiguration') -> 'ModelPredictiveController.AutoTuneResult': ... + def autoTune( + self, + list: java.util.List[float], + list2: java.util.List[float], + list3: java.util.List[float], + autoTuneConfiguration: "ModelPredictiveController.AutoTuneConfiguration", + ) -> "ModelPredictiveController.AutoTuneResult": ... @typing.overload - def autoTune(self, autoTuneConfiguration: 'ModelPredictiveController.AutoTuneConfiguration') -> 'ModelPredictiveController.AutoTuneResult': ... + def autoTune( + self, autoTuneConfiguration: "ModelPredictiveController.AutoTuneConfiguration" + ) -> "ModelPredictiveController.AutoTuneResult": ... def clearMovingHorizonHistory(self) -> None: ... def clearQualityConstraints(self) -> None: ... - def configureControls(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def configureControls( + self, *string: typing.Union[java.lang.String, str] + ) -> None: ... def disableMovingHorizonEstimation(self) -> None: ... def enableMovingHorizonEstimation(self, int: int) -> None: ... def equals(self, object: typing.Any) -> bool: ... @@ -307,20 +466,28 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getControlWeight(self) -> float: ... def getControllerSetPoint(self) -> float: ... def getLastAppliedControl(self) -> float: ... - def getLastMovingHorizonEstimate(self) -> 'ModelPredictiveController.MovingHorizonEstimate': ... + def getLastMovingHorizonEstimate( + self, + ) -> "ModelPredictiveController.MovingHorizonEstimate": ... def getLastSampleTime(self) -> float: ... def getLastSampledValue(self) -> float: ... def getMaxResponse(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMinResponse(self) -> float: ... def getMoveWeight(self) -> float: ... def getMovingHorizonEstimationWindow(self) -> int: ... def getOutputWeight(self) -> float: ... - def getPredictedQuality(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPredictedTrajectory(self, int: int, double: float) -> typing.MutableSequence[float]: ... + def getPredictedQuality( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getPredictedTrajectory( + self, int: int, double: float + ) -> typing.MutableSequence[float]: ... def getPredictionHorizon(self) -> int: ... def getProcessBias(self) -> float: ... def getProcessGain(self) -> float: ... @@ -331,27 +498,39 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def ingestPlantSample(self, double: float, double2: float) -> None: ... @typing.overload - def ingestPlantSample(self, double: float, double2: float, double3: float) -> None: ... + def ingestPlantSample( + self, double: float, double2: float, double3: float + ) -> None: ... def isActive(self) -> bool: ... def isMovingHorizonEstimationEnabled(self) -> bool: ... def isReverseActing(self) -> bool: ... @typing.overload def runTransient(self, double: float, double2: float) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... def setActive(self, boolean: bool) -> None: ... @typing.overload def setControlLimits(self, int: int, double: float, double2: float) -> None: ... @typing.overload - def setControlLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setControlLimits( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... @typing.overload def setControlMoveLimits(self, int: int, double: float, double2: float) -> None: ... @typing.overload - def setControlMoveLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setControlMoveLimits( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def setControlWeights(self, *double: float) -> None: ... - def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + def setControllerParameters( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setControllerSetPoint(self, double: float) -> None: ... def setEnergyReference(self, double: float) -> None: ... @@ -368,17 +547,38 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt @typing.overload def setProcessModel(self, double: float, double2: float) -> None: ... @typing.overload - def setProcessModel(self, double: float, double2: float, double3: float) -> None: ... + def setProcessModel( + self, double: float, double2: float, double3: float + ) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWeights(self, double: float, double2: float, double3: float) -> None: ... - def updateFeedConditions(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> None: ... - def updateQualityMeasurement(self, string: typing.Union[java.lang.String, str], double: float) -> bool: ... - def updateQualityMeasurements(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def updateFeedConditions( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + ) -> None: ... + def updateQualityMeasurement( + self, string: typing.Union[java.lang.String, str], double: float + ) -> bool: ... + def updateQualityMeasurements( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + class AutoTuneConfiguration: @staticmethod - def builder() -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def builder() -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... def getClosedLoopTimeConstantRatio(self) -> float: ... def getControlWeightFactor(self) -> float: ... def getMaximumHorizon(self) -> int: ... @@ -388,18 +588,40 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getPredictionHorizonMultiple(self) -> float: ... def getSampleTimeOverride(self) -> float: ... def isApplyImmediately(self) -> bool: ... + class Builder: - def applyImmediately(self, boolean: bool) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def build(self) -> 'ModelPredictiveController.AutoTuneConfiguration': ... - def closedLoopTimeConstantRatio(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def controlWeightFactor(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def defaults(self) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def maximumHorizon(self, int: int) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def minimumHorizon(self, int: int) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def moveWeightFactor(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def outputWeight(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def predictionHorizonMultiple(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... - def sampleTimeOverride(self, double: float) -> 'ModelPredictiveController.AutoTuneConfiguration.Builder': ... + def applyImmediately( + self, boolean: bool + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def build(self) -> "ModelPredictiveController.AutoTuneConfiguration": ... + def closedLoopTimeConstantRatio( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def controlWeightFactor( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def defaults( + self, + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def maximumHorizon( + self, int: int + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def minimumHorizon( + self, int: int + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def moveWeightFactor( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def outputWeight( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def predictionHorizonMultiple( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + def sampleTimeOverride( + self, double: float + ) -> "ModelPredictiveController.AutoTuneConfiguration.Builder": ... + class AutoTuneResult: def getClosedLoopTimeConstant(self) -> float: ... def getControlWeight(self) -> float: ... @@ -413,28 +635,58 @@ class ModelPredictiveController(jneqsim.util.NamedBaseClass, ControllerDeviceInt def getSampleTime(self) -> float: ... def getTimeConstant(self) -> float: ... def isApplied(self) -> bool: ... + class MovingHorizonEstimate: def getMeanSquaredError(self) -> float: ... def getProcessBias(self) -> float: ... def getProcessGain(self) -> float: ... def getSampleCount(self) -> int: ... def getTimeConstant(self) -> float: ... + class QualityConstraint: @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + class Builder: - def build(self) -> 'ModelPredictiveController.QualityConstraint': ... - def compositionSensitivities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def compositionSensitivity(self, string: typing.Union[java.lang.String, str], double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def controlSensitivity(self, *double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def limit(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def margin(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def measurement(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def rateSensitivity(self, double: float) -> 'ModelPredictiveController.QualityConstraint.Builder': ... - def unit(self, string: typing.Union[java.lang.String, str]) -> 'ModelPredictiveController.QualityConstraint.Builder': ... + def build(self) -> "ModelPredictiveController.QualityConstraint": ... + def compositionSensitivities( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def compositionSensitivity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def controlSensitivity( + self, *double: float + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def limit( + self, double: float + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def margin( + self, double: float + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def measurement( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def rateSensitivity( + self, double: float + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... + def unit( + self, string: typing.Union[java.lang.String, str] + ) -> "ModelPredictiveController.QualityConstraint.Builder": ... class TransferFunctionBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterface): - def __init__(self, string: typing.Union[java.lang.String, str], type: 'TransferFunctionBlock.Type'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + type: "TransferFunctionBlock.Type", + ): ... def getControllerSetPoint(self) -> float: ... def getDeadTime(self) -> float: ... def getGain(self) -> float: ... @@ -443,13 +695,15 @@ class TransferFunctionBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterfa def getLagTime2(self) -> float: ... def getLeadTime(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... def getOutput(self) -> float: ... def getOutputBias(self) -> float: ... def getResponse(self) -> float: ... - def getType(self) -> 'TransferFunctionBlock.Type': ... + def getType(self) -> "TransferFunctionBlock.Type": ... def getUnit(self) -> java.lang.String: ... def isActive(self) -> bool: ... def isReverseActing(self) -> bool: ... @@ -457,11 +711,17 @@ class TransferFunctionBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterfa @typing.overload def runTransient(self, double: float, double2: float) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setControllerParameters(self, double: float, double2: float, double3: float) -> None: ... + def setControllerParameters( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def setControllerSetPoint(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllerSetPoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setControllerSetPoint(self, double: float) -> None: ... def setDeadTime(self, double: float) -> None: ... @@ -472,22 +732,31 @@ class TransferFunctionBlock(jneqsim.util.NamedBaseClass, ControllerDeviceInterfa def setLeadTime(self, double: float) -> None: ... def setOutputBias(self, double: float) -> None: ... def setReverseActing(self, boolean: bool) -> None: ... - def setTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def setTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - class Type(java.lang.Enum['TransferFunctionBlock.Type']): - FIRST_ORDER_LAG: typing.ClassVar['TransferFunctionBlock.Type'] = ... - LEAD_LAG: typing.ClassVar['TransferFunctionBlock.Type'] = ... - DEAD_TIME: typing.ClassVar['TransferFunctionBlock.Type'] = ... - SECOND_ORDER: typing.ClassVar['TransferFunctionBlock.Type'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Type(java.lang.Enum["TransferFunctionBlock.Type"]): + FIRST_ORDER_LAG: typing.ClassVar["TransferFunctionBlock.Type"] = ... + LEAD_LAG: typing.ClassVar["TransferFunctionBlock.Type"] = ... + DEAD_TIME: typing.ClassVar["TransferFunctionBlock.Type"] = ... + SECOND_ORDER: typing.ClassVar["TransferFunctionBlock.Type"] = ... + _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: ... + 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]) -> 'TransferFunctionBlock.Type': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransferFunctionBlock.Type": ... @staticmethod - def values() -> typing.MutableSequence['TransferFunctionBlock.Type']: ... + def values() -> typing.MutableSequence["TransferFunctionBlock.Type"]: ... class AntiSurgeController(ControllerDeviceBaseClass): @typing.overload @@ -495,13 +764,20 @@ class AntiSurgeController(ControllerDeviceBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + compressor: jneqsim.process.equipment.compressor.Compressor, + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + ): ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... def getIntegralTime(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getProportionalGain(self) -> float: ... def getRecycleValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getResponse(self) -> float: ... @@ -511,15 +787,20 @@ class AntiSurgeController(ControllerDeviceBaseClass): @typing.overload def runTransient(self, double: float, double2: float) -> None: ... @typing.overload - def runTransient(self, double: float, double2: float, uUID: java.util.UUID) -> None: ... - def setCompressor(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + def runTransient( + self, double: float, double2: float, uUID: java.util.UUID + ) -> None: ... + def setCompressor( + self, compressor: jneqsim.process.equipment.compressor.Compressor + ) -> None: ... def setIntegralTime(self, double: float) -> None: ... def setOpeningRange(self, double: float, double2: float) -> None: ... def setProportionalGain(self, double: float) -> None: ... - def setRecycleValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setRecycleValve( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... def setSurgeMarginSetPoint(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice")``. diff --git a/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi b/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi index f9a97735..469369df 100644 --- a/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi +++ b/src/jneqsim-stubs/process/controllerdevice/structure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.process.controllerdevice import jneqsim.process.measurementdevice import typing - - class ControlStructureInterface(java.io.Serializable): def getOutput(self) -> float: ... def isActive(self) -> bool: ... @@ -21,14 +19,22 @@ class ControlStructureInterface(java.io.Serializable): def setActive(self, boolean: bool) -> None: ... class CascadeControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ): ... def getOutput(self) -> float: ... def isActive(self) -> bool: ... def runTransient(self, double: float) -> None: ... def setActive(self, boolean: bool) -> None: ... class FeedForwardControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ): ... def getOutput(self) -> float: ... def isActive(self) -> bool: ... def runTransient(self, double: float) -> None: ... @@ -36,28 +42,45 @@ class FeedForwardControllerStructure(ControlStructureInterface): def setFeedForwardGain(self, double: float) -> None: ... class OverrideControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, selectionType: 'OverrideControllerStructure.SelectionType'): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + controllerDeviceInterface2: jneqsim.process.controllerdevice.ControllerDeviceInterface, + selectionType: "OverrideControllerStructure.SelectionType", + ): ... def getOutput(self) -> float: ... - def getSelectionType(self) -> 'OverrideControllerStructure.SelectionType': ... + def getSelectionType(self) -> "OverrideControllerStructure.SelectionType": ... def isActive(self) -> bool: ... def isOverrideActive(self) -> bool: ... def runTransient(self, double: float) -> None: ... def setActive(self, boolean: bool) -> None: ... - class SelectionType(java.lang.Enum['OverrideControllerStructure.SelectionType']): - HIGH_SELECT: typing.ClassVar['OverrideControllerStructure.SelectionType'] = ... - LOW_SELECT: typing.ClassVar['OverrideControllerStructure.SelectionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SelectionType(java.lang.Enum["OverrideControllerStructure.SelectionType"]): + HIGH_SELECT: typing.ClassVar["OverrideControllerStructure.SelectionType"] = ... + LOW_SELECT: typing.ClassVar["OverrideControllerStructure.SelectionType"] = ... + _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: ... + 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]) -> 'OverrideControllerStructure.SelectionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OverrideControllerStructure.SelectionType": ... @staticmethod - def values() -> typing.MutableSequence['OverrideControllerStructure.SelectionType']: ... + def values() -> ( + typing.MutableSequence["OverrideControllerStructure.SelectionType"] + ): ... class RatioControllerStructure(ControlStructureInterface): - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ): ... def getOutput(self) -> float: ... def isActive(self) -> bool: ... def runTransient(self, double: float) -> None: ... @@ -66,9 +89,18 @@ class RatioControllerStructure(ControlStructureInterface): class SplitRangeControllerStructure(ControlStructureInterface): @typing.overload - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... @typing.overload - def __init__(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, int: int): ... + def __init__( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + int: int, + ): ... def getNumberOfElements(self) -> int: ... @typing.overload def getOutput(self) -> float: ... @@ -78,7 +110,6 @@ class SplitRangeControllerStructure(ControlStructureInterface): def runTransient(self, double: float) -> None: ... def setActive(self, boolean: bool) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.controllerdevice.structure")``. diff --git a/src/jneqsim-stubs/process/corrosion/__init__.pyi b/src/jneqsim-stubs/process/corrosion/__init__.pyi index 8d51c7fd..36183f23 100644 --- a/src/jneqsim-stubs/process/corrosion/__init__.pyi +++ b/src/jneqsim-stubs/process/corrosion/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import java.util import jneqsim.thermo.system import typing - - class AmmoniaCompatibility(java.io.Serializable): def __init__(self): ... def evaluate(self) -> None: ... @@ -94,7 +92,9 @@ class DensePhaseCO2Corrosion(java.io.Serializable): def isMeetsImpuritySpecs(self) -> bool: ... def setArContentMolPct(self, double: float) -> None: ... def setCo2PurityMolPct(self, double: float) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setH2ContentMolPct(self, double: float) -> None: ... def setH2sContentPpmv(self, double: float) -> None: ... def setMaterialType(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -117,7 +117,7 @@ class HydrogenMaterialAssessment(java.io.Serializable): def getHTHARisk(self) -> java.lang.String: ... def getHydrogenDeratingFactor(self) -> float: ... def getHydrogenEmbrittlementRisk(self) -> java.lang.String: ... - def getNelsonCurveAssessment(self) -> 'NelsonCurveAssessment': ... + def getNelsonCurveAssessment(self) -> "NelsonCurveAssessment": ... def getOverallRiskLevel(self) -> java.lang.String: ... def getRecommendations(self) -> java.util.List[java.lang.String]: ... def getRecommendedMaterial(self) -> java.lang.String: ... @@ -131,7 +131,9 @@ class HydrogenMaterialAssessment(java.io.Serializable): def setCyclicService(self, boolean: bool) -> None: ... def setDesignLifeYears(self, double: float) -> None: ... def setDesignTemperatureC(self, double: float) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFreeWaterPresent(self, boolean: bool) -> None: ... def setH2MoleFractionGas(self, double: float) -> None: ... def setH2PartialPressureBar(self, double: float) -> None: ... @@ -222,8 +224,12 @@ class NorsokM506CorrosionRate(java.io.Serializable): def getSourSeverityClassification(self) -> java.lang.String: ... def getWallShearStressPa(self) -> float: ... def isSourService(self) -> bool: ... - def runPressureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def runTemperatureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runPressureSweep( + self, double: float, double2: float, int: int + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runTemperatureSweep( + self, double: float, double2: float, int: int + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def setActualPH(self, double: float) -> None: ... def setBicarbonateConcentrationMgL(self, double: float) -> None: ... def setCO2MoleFraction(self, double: float) -> None: ... @@ -283,7 +289,9 @@ class SourServiceAssessment(java.io.Serializable): def setCO2PartialPressureBar(self, double: float) -> None: ... def setChlorideConcentrationMgL(self, double: float) -> None: ... def setElementalSulfurPresent(self, boolean: bool) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFreeWaterPresent(self, boolean: bool) -> None: ... def setH2SPartialPressureBar(self, double: float) -> None: ... def setHardnessHRC(self, double: float) -> None: ... @@ -296,7 +304,6 @@ class SourServiceAssessment(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.corrosion")``. diff --git a/src/jneqsim-stubs/process/costestimation/__init__.pyi b/src/jneqsim-stubs/process/costestimation/__init__.pyi index f7e9bd44..346ef67a 100644 --- a/src/jneqsim-stubs/process/costestimation/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -32,13 +32,18 @@ import jneqsim.process.mechanicaldesign import jneqsim.process.processmodel import typing - - class CostEstimateBaseClass(java.io.Serializable): @typing.overload - def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... + def __init__( + self, + systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, + ): ... @typing.overload - def __init__(self, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, double: float): ... + def __init__( + self, + systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, + double: float, + ): ... def equals(self, object: typing.Any) -> bool: ... def getCAPEXestimate(self) -> float: ... def getWeightBasedCAPEXEstimate(self) -> float: ... @@ -49,45 +54,92 @@ class CostEstimateBasis(java.io.Serializable): def getCostYear(self) -> int: ... def getCurrencyCode(self) -> java.lang.String: ... def getDataSource(self) -> java.lang.String: ... - def getEstimateClass(self) -> 'EstimateClass': ... + def getEstimateClass(self) -> "EstimateClass": ... def getEstimatingMethod(self) -> java.lang.String: ... def getLocationBasis(self) -> java.lang.String: ... def getLocationFactor(self) -> float: ... def getNotes(self) -> java.lang.String: ... - def setCostYear(self, int: int) -> 'CostEstimateBasis': ... - def setCurrencyCode(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateBasis': ... - def setDataSource(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateBasis': ... - def setEstimateClass(self, estimateClass: 'EstimateClass') -> 'CostEstimateBasis': ... - def setEstimatingMethod(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateBasis': ... - def setLocationBasis(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateBasis': ... - def setLocationFactor(self, double: float) -> 'CostEstimateBasis': ... - def setNotes(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateBasis': ... + def setCostYear(self, int: int) -> "CostEstimateBasis": ... + def setCurrencyCode( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateBasis": ... + def setDataSource( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateBasis": ... + def setEstimateClass( + self, estimateClass: "EstimateClass" + ) -> "CostEstimateBasis": ... + def setEstimatingMethod( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateBasis": ... + def setLocationBasis( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateBasis": ... + def setLocationFactor(self, double: float) -> "CostEstimateBasis": ... + def setNotes( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateBasis": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class CostEstimateResult(java.io.Serializable): def __init__(self): ... - def addCapitalCost(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... - def addCapitalCostBreakdown(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... - def addCapitalCostSummary(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... - def addMaterialQuantity(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], double2: float) -> 'CostEstimateResult': ... - def addMaterialTakeOff(self, materialTakeOffItem: 'MaterialTakeOffItem') -> 'CostEstimateResult': ... - def addProjectCost(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... - def addProjectCostSummary(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... - def addQualityFlag(self, string: typing.Union[java.lang.String, str]) -> 'CostEstimateResult': ... - def addQuantityBasis(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'CostEstimateResult': ... - def addWeightBasis(self, string: typing.Union[java.lang.String, str], double: float) -> 'CostEstimateResult': ... + def addCapitalCost( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... + def addCapitalCostBreakdown( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... + def addCapitalCostSummary( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... + def addMaterialQuantity( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + double2: float, + ) -> "CostEstimateResult": ... + def addMaterialTakeOff( + self, materialTakeOffItem: "MaterialTakeOffItem" + ) -> "CostEstimateResult": ... + def addProjectCost( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... + def addProjectCostSummary( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... + def addQualityFlag( + self, string: typing.Union[java.lang.String, str] + ) -> "CostEstimateResult": ... + def addQuantityBasis( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "CostEstimateResult": ... + def addWeightBasis( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "CostEstimateResult": ... def getBasis(self) -> CostEstimateBasis: ... def getCapitalCostBreakdown(self) -> java.util.Map[java.lang.String, float]: ... def getCapitalCostSummary(self) -> java.util.Map[java.lang.String, float]: ... def getCapitalCosts(self) -> java.util.Map[java.lang.String, float]: ... - def getMaterialTakeOff(self) -> java.util.List['MaterialTakeOffItem']: ... + def getMaterialTakeOff(self) -> java.util.List["MaterialTakeOffItem"]: ... def getProjectCostSummary(self) -> java.util.Map[java.lang.String, float]: ... def getProjectCosts(self) -> java.util.Map[java.lang.String, float]: ... def getQuantityBasis(self) -> java.util.Map[java.lang.String, float]: ... def getQuantityUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getWeightBasis(self) -> java.util.Map[java.lang.String, float]: ... - def setBasis(self, costEstimateBasis: CostEstimateBasis) -> 'CostEstimateResult': ... - def setIdentification(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'CostEstimateResult': ... + def setBasis( + self, costEstimateBasis: CostEstimateBasis + ) -> "CostEstimateResult": ... + def setIdentification( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "CostEstimateResult": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -133,7 +185,9 @@ class CostEstimationCalculator(java.io.Serializable): @typing.overload def calcBareModuleCost(self, double: float, double2: float) -> float: ... @typing.overload - def calcBareModuleCost(self, double: float, double2: float, double3: float) -> float: ... + def calcBareModuleCost( + self, double: float, double2: float, double3: float + ) -> float: ... def calcBubbleCapTraysCost(self, double: float, int: int) -> float: ... def calcCentrifugalCompressorCost(self, double: float) -> float: ... def calcCentrifugalPumpCost(self, double: float) -> float: ... @@ -142,8 +196,12 @@ class CostEstimationCalculator(java.io.Serializable): def calcGrassRootsCost(self, double: float) -> float: ... def calcHorizontalVesselCost(self, double: float) -> float: ... def calcHorizontalVesselCostByVolume(self, double: float) -> float: ... - def calcInstallationManHours(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... - def calcPackingCost(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calcInstallationManHours( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... + def calcPackingCost( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def calcPipingCost(self, double: float, double2: float, int: int) -> float: ... def calcPipingInstallationManHours(self, double: float) -> float: ... def calcPlateHeatExchangerCost(self, double: float) -> float: ... @@ -154,11 +212,19 @@ class CostEstimationCalculator(java.io.Serializable): def calcValveTraysCost(self, double: float, int: int) -> float: ... def calcVerticalVesselCost(self, double: float) -> float: ... def calcVerticalVesselCostByVolume(self, double: float) -> float: ... - def calculateCostEstimate(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + def calculateCostEstimate( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> None: ... def convertFromUSD(self, double: float) -> float: ... def convertToUSD(self, double: float) -> float: ... def formatCost(self, double: float) -> java.lang.String: ... - def generateVesselBOM(self, double: float, double2: float, int: int, double3: float) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateVesselBOM( + self, double: float, double2: float, int: int, double3: float + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... @staticmethod def getAvailableLocationFactors() -> java.util.Map[java.lang.String, float]: ... def getBareModuleCost(self) -> float: ... @@ -179,43 +245,61 @@ class CostEstimationCalculator(java.io.Serializable): def getPurchasedEquipmentCost(self) -> float: ... def getTotalModuleCost(self) -> float: ... def setContingencyFactor(self, double: float) -> None: ... - def setCurrency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCurrency( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setCurrencyCode(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCurrentCepci(self, double: float) -> None: ... def setEngineeringFactor(self, double: float) -> None: ... def setInstallationFactor(self, double: float) -> None: ... - def setLocationByRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationByRegion( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLocationFactor(self, double: float) -> None: ... def setMaterialFactor(self, double: float) -> None: ... - def setMaterialOfConstruction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterialOfConstruction( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... -class EstimateClass(java.lang.Enum['EstimateClass']): - CLASS_1: typing.ClassVar['EstimateClass'] = ... - CLASS_2: typing.ClassVar['EstimateClass'] = ... - CLASS_3: typing.ClassVar['EstimateClass'] = ... - CLASS_4: typing.ClassVar['EstimateClass'] = ... - CLASS_5: typing.ClassVar['EstimateClass'] = ... +class EstimateClass(java.lang.Enum["EstimateClass"]): + CLASS_1: typing.ClassVar["EstimateClass"] = ... + CLASS_2: typing.ClassVar["EstimateClass"] = ... + CLASS_3: typing.ClassVar["EstimateClass"] = ... + CLASS_4: typing.ClassVar["EstimateClass"] = ... + CLASS_5: typing.ClassVar["EstimateClass"] = ... @staticmethod - def fromClassNumber(int: int) -> 'EstimateClass': ... + def fromClassNumber(int: int) -> "EstimateClass": ... def getClassNumber(self) -> int: ... def getDefaultMethod(self) -> java.lang.String: ... def getHighAccuracyFraction(self) -> float: ... def getLowAccuracyFraction(self) -> float: ... def getMaturity(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EstimateClass': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EstimateClass": ... @staticmethod - def values() -> typing.MutableSequence['EstimateClass']: ... + def values() -> typing.MutableSequence["EstimateClass"]: ... class MaterialTakeOffItem(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], double: float, string4: typing.Union[java.lang.String, str], double2: float, double3: float, string5: typing.Union[java.lang.String, str]): ... + 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, + string4: typing.Union[java.lang.String, str], + double2: float, + double3: float, + string5: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getCostUSD(self) -> float: ... def getItem(self) -> java.lang.String: ... @@ -232,13 +316,19 @@ class ProcessCostEstimate(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + systemMechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign, + ): ... def calculateAllCosts(self) -> None: ... def calculateNPV(self, double: float, double2: float, int: int) -> float: ... @typing.overload def calculateOperatingCost(self, int: int) -> float: ... @typing.overload - def calculateOperatingCost(self, int: int, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateOperatingCost( + self, int: int, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calculatePaybackPeriod(self, double: float) -> float: ... def calculateROI(self, double: float) -> float: ... def generateEquipmentListReport(self) -> java.lang.String: ... @@ -249,7 +339,9 @@ class ProcessCostEstimate(java.io.Serializable): def getCostsInCurrency(self) -> java.util.Map[java.lang.String, float]: ... def getCurrencyCode(self) -> java.lang.String: ... def getDetailedEstimateResult(self) -> CostEstimateResult: ... - def getEquipmentCosts(self) -> java.util.List['ProcessCostEstimate.EquipmentCostSummary']: ... + def getEquipmentCosts( + self, + ) -> java.util.List["ProcessCostEstimate.EquipmentCostSummary"]: ... def getEstimateBasis(self) -> CostEstimateBasis: ... def getEstimateClass(self) -> EstimateClass: ... def getLocationFactor(self) -> float: ... @@ -267,14 +359,23 @@ class ProcessCostEstimate(java.io.Serializable): def setCurrency(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEstimateBasis(self, costEstimateBasis: CostEstimateBasis) -> None: ... def setEstimateClass(self, estimateClass: EstimateClass) -> None: ... - def setLocationByRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationByRegion( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLocationFactor(self, double: float) -> None: ... def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class EquipmentCostSummary(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getBareModuleCost(self) -> float: ... def getEstimateBasis(self) -> CostEstimateBasis: ... def getGrassRootsCost(self) -> float: ... @@ -303,11 +404,17 @@ class UnitCostEstimateBaseClass(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... def calculateCostEstimate(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getBareModuleCost(self) -> float: ... def getCostCalculator(self) -> CostEstimationCalculator: ... def getCostPerWeightUnit(self) -> float: ... @@ -323,19 +430,22 @@ class UnitCostEstimateBaseClass(java.io.Serializable): def getTotalCost(self) -> float: ... def getTotalModuleCost(self) -> float: ... def hashCode(self) -> int: ... - def setCostCalculator(self, costEstimationCalculator: CostEstimationCalculator) -> None: ... + def setCostCalculator( + self, costEstimationCalculator: CostEstimationCalculator + ) -> None: ... def setCostPerWeightUnit(self, double: float) -> None: ... def setCurrentCepci(self, double: float) -> None: ... def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEstimateBasis(self, costEstimateBasis: CostEstimateBasis) -> None: ... def setEstimateClass(self, estimateClass: EstimateClass) -> None: ... def setLocationFactor(self, double: float) -> None: ... - def setMaterialOfConstruction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaterialOfConstruction( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation")``. diff --git a/src/jneqsim-stubs/process/costestimation/absorber/__init__.pyi b/src/jneqsim-stubs/process/costestimation/absorber/__init__.pyi index bded59f8..f1704e47 100644 --- a/src/jneqsim-stubs/process/costestimation/absorber/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/absorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,19 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.absorber import typing - - class AbsorberCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, absorberMechanicalDesign: jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign): ... + def __init__( + self, + absorberMechanicalDesign: jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign, + ): ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload - def calcAnnualOperatingCost(self, int: int, double: float, double2: float) -> float: ... + def calcAnnualOperatingCost( + self, int: int, double: float, double2: float + ) -> float: ... def getAbsorberType(self) -> java.lang.String: ... def getColumnDiameter(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -37,7 +42,6 @@ class AbsorberCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseCl def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.absorber")``. diff --git a/src/jneqsim-stubs/process/costestimation/adsorber/__init__.pyi b/src/jneqsim-stubs/process/costestimation/adsorber/__init__.pyi index 1045a049..b39893af 100644 --- a/src/jneqsim-stubs/process/costestimation/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/adsorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,11 +11,16 @@ import jneqsim.process.equipment.adsorber import jneqsim.process.mechanicaldesign.adsorber import typing - - -class MercuryRemovalCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mercuryRemovalMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign): ... - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... +class MercuryRemovalCostEstimate( + jneqsim.process.costestimation.UnitCostEstimateBaseClass +): + def __init__( + self, + mercuryRemovalMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign, + ): ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... def getAnnualSorbentCost(self, double: float) -> float: ... def getInstallationFactor(self) -> float: ... def getSorbentReplacementCost(self) -> float: ... @@ -33,17 +38,24 @@ class PSACostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): @typing.overload def __init__(self, pSACascade: jneqsim.process.equipment.adsorber.PSACascade): ... @typing.overload - def __init__(self, adsorberMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign): ... + def __init__( + self, + adsorberMechanicalDesign: jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign, + ): ... def getNumberOfBeds(self) -> int: ... - def getSorbent(self) -> jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType: ... + def getSorbent( + self, + ) -> jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType: ... def getSorbentMassPerBedKg(self) -> float: ... def getSorbentUnitPriceUsdPerKg(self) -> float: ... def setIncludeBalanceOfPlant(self, boolean: bool) -> None: ... def setNumberOfBeds(self, int: int) -> None: ... - def setSorbent(self, sorbentType: jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType) -> None: ... + def setSorbent( + self, + sorbentType: jneqsim.process.equipment.adsorber.PressureSwingAdsorptionBed.SorbentType, + ) -> None: ... def setSorbentMassPerBedKg(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.adsorber")``. diff --git a/src/jneqsim-stubs/process/costestimation/column/__init__.pyi b/src/jneqsim-stubs/process/costestimation/column/__init__.pyi index 139b0695..1616b5b7 100644 --- a/src/jneqsim-stubs/process/costestimation/column/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/column/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,11 +11,13 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign import typing - - class ColumnCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... - def calcAnnualUtilityCost(self, double: float, double2: float, double3: float) -> float: ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... + def calcAnnualUtilityCost( + self, double: float, double2: float, double3: float + ) -> float: ... def calcColumnWeight(self) -> float: ... def getColumnDiameter(self) -> float: ... def getColumnType(self) -> java.lang.String: ... @@ -34,7 +36,6 @@ class ColumnCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClas def setReboilerDuty(self, double: float) -> None: ... def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.column")``. diff --git a/src/jneqsim-stubs/process/costestimation/compressor/__init__.pyi b/src/jneqsim-stubs/process/costestimation/compressor/__init__.pyi index 7f79b1a2..7c1345b8 100644 --- a/src/jneqsim-stubs/process/costestimation/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,26 +11,32 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.compressor import typing - - class CompressorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign): ... + def __init__( + self, + compressorMechanicalDesign: jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign, + ): ... def calcAnnualMaintenanceCost(self) -> float: ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float + ) -> float: ... def getCompressorType(self) -> java.lang.String: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDriverType(self) -> java.lang.String: ... def getTotalCost(self) -> float: ... - def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDriverType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setIncludeDriver(self, boolean: bool) -> None: ... def setIncludeIntercoolers(self, boolean: bool) -> None: ... def setNumberOfStages(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.compressor")``. diff --git a/src/jneqsim-stubs/process/costestimation/ejector/__init__.pyi b/src/jneqsim-stubs/process/costestimation/ejector/__init__.pyi index e7468078..499dbdd6 100644 --- a/src/jneqsim-stubs/process/costestimation/ejector/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/ejector/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,19 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.ejector import typing - - class EjectorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, ejectorMechanicalDesign: jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign): ... + def __init__( + self, + ejectorMechanicalDesign: jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign, + ): ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload - def calcAnnualOperatingCost(self, int: int, double: float, double2: float) -> float: ... + def calcAnnualOperatingCost( + self, int: int, double: float, double2: float + ) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getEjectorType(self) -> java.lang.String: ... def getNumberOfStages(self) -> int: ... @@ -32,7 +37,6 @@ class EjectorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseCla def setSuctionPressure(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.ejector")``. diff --git a/src/jneqsim-stubs/process/costestimation/electrolyzer/__init__.pyi b/src/jneqsim-stubs/process/costestimation/electrolyzer/__init__.pyi index 88ba7fcd..4790623b 100644 --- a/src/jneqsim-stubs/process/costestimation/electrolyzer/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/electrolyzer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,16 +10,18 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.electrolyzer import typing - - -class ElectrolyzerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, electrolyzerMechanicalDesign: jneqsim.process.mechanicaldesign.electrolyzer.ElectrolyzerMechanicalDesign): ... +class ElectrolyzerCostEstimate( + jneqsim.process.costestimation.UnitCostEstimateBaseClass +): + def __init__( + self, + electrolyzerMechanicalDesign: jneqsim.process.mechanicaldesign.electrolyzer.ElectrolyzerMechanicalDesign, + ): ... def getSpecificCapexUsdPerKw(self) -> float: ... def getTechnology(self) -> java.lang.String: ... def setIncludeBalanceOfPlant(self, boolean: bool) -> None: ... def setTechnology(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.electrolyzer")``. diff --git a/src/jneqsim-stubs/process/costestimation/expander/__init__.pyi b/src/jneqsim-stubs/process/costestimation/expander/__init__.pyi index 667b2637..50435408 100644 --- a/src/jneqsim-stubs/process/costestimation/expander/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/expander/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,15 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.expander import typing - - class ExpanderCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, expanderMechanicalDesign: jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign): ... + def __init__( + self, + expanderMechanicalDesign: jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign, + ): ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload def calcAnnualOperatingCost(self, int: int) -> float: ... def calcPowerGenerationRevenue(self, int: int, double: float) -> float: ... @@ -35,7 +38,6 @@ class ExpanderCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseCl def setShaftPower(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.expander")``. diff --git a/src/jneqsim-stubs/process/costestimation/filter/__init__.pyi b/src/jneqsim-stubs/process/costestimation/filter/__init__.pyi index ee82e7ba..9abeb89e 100644 --- a/src/jneqsim-stubs/process/costestimation/filter/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/filter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,14 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.filter import typing - - class FilterCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, filterMechanicalDesign: jneqsim.process.mechanicaldesign.filter.FilterMechanicalDesign): ... + def __init__( + self, + filterMechanicalDesign: jneqsim.process.mechanicaldesign.filter.FilterMechanicalDesign, + ): ... def setAuxiliariesFraction(self, double: float) -> None: ... def setElementCostUSD(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.filter")``. diff --git a/src/jneqsim-stubs/process/costestimation/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/costestimation/heatexchanger/__init__.pyi index 49088a3b..4374c144 100644 --- a/src/jneqsim-stubs/process/costestimation/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,11 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.heatexchanger import typing - - class BAHXCostEstimator(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, bAHXMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.BAHXMechanicalDesign): ... + def __init__( + self, + bAHXMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.BAHXMechanicalDesign, + ): ... def calcInstalledCost(self) -> float: ... def getAnnualMaintenanceCostUSD(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -22,16 +23,22 @@ class BAHXCostEstimator(jneqsim.process.costestimation.UnitCostEstimateBaseClass def getInstalledCostUSD(self) -> float: ... def getSpecificCostPerM2(self) -> float: ... -class HeatExchangerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, heatExchangerMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign): ... - def calcUtilityOperatingCost(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... +class HeatExchangerCostEstimate( + jneqsim.process.costestimation.UnitCostEstimateBaseClass +): + def __init__( + self, + heatExchangerMechanicalDesign: jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign, + ): ... + def calcUtilityOperatingCost( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getExchangerType(self) -> java.lang.String: ... def getTotalCost(self) -> float: ... def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTemaType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.heatexchanger")``. diff --git a/src/jneqsim-stubs/process/costestimation/manifold/__init__.pyi b/src/jneqsim-stubs/process/costestimation/manifold/__init__.pyi index 109bd56e..cabec265 100644 --- a/src/jneqsim-stubs/process/costestimation/manifold/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/manifold/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,14 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.manifold import typing - - class ManifoldCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, manifoldMechanicalDesign: jneqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign): ... + def __init__( + self, + manifoldMechanicalDesign: jneqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign, + ): ... def setBaseCostUSDPerKg(self, double: float) -> None: ... def setBranchAllowanceUSD(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.manifold")``. diff --git a/src/jneqsim-stubs/process/costestimation/mixer/__init__.pyi b/src/jneqsim-stubs/process/costestimation/mixer/__init__.pyi index c0a42889..9e6663a2 100644 --- a/src/jneqsim-stubs/process/costestimation/mixer/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/mixer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,10 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign import typing - - class MixerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getMixerType(self) -> java.lang.String: ... def getPipeDiameter(self) -> float: ... @@ -25,7 +25,6 @@ class MixerCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass def setPressureClass(self, int: int) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.mixer")``. diff --git a/src/jneqsim-stubs/process/costestimation/pipe/__init__.pyi b/src/jneqsim-stubs/process/costestimation/pipe/__init__.pyi index b9bd7003..55d1db73 100644 --- a/src/jneqsim-stubs/process/costestimation/pipe/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/pipe/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,10 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign import typing - - class PipeCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def calcPipeWeight(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getNominalDiameter(self) -> float: ... @@ -23,14 +23,15 @@ class PipeCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass) def setFittingsPerHundredMeters(self, int: int) -> None: ... def setIncludeFittings(self, boolean: bool) -> None: ... def setIncludeInsulation(self, boolean: bool) -> None: ... - def setInstallationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstallationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInsulationThickness(self, double: float) -> None: ... def setNominalDiameter(self, double: float) -> None: ... def setNumberOfFlanges(self, int: int) -> None: ... def setPipeLength(self, double: float) -> None: ... def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.pipe")``. diff --git a/src/jneqsim-stubs/process/costestimation/pump/__init__.pyi b/src/jneqsim-stubs/process/costestimation/pump/__init__.pyi index e1adb1e7..b9948457 100644 --- a/src/jneqsim-stubs/process/costestimation/pump/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,13 +11,16 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.pump import typing - - class PumpCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, pumpMechanicalDesign: jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign): ... + def __init__( + self, + pumpMechanicalDesign: jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign, + ): ... def calcAnnualMaintenanceCost(self) -> float: ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload def calcAnnualOperatingCost(self, double: float, double2: float) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -28,7 +31,6 @@ class PumpCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass) def setPumpType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.pump")``. diff --git a/src/jneqsim-stubs/process/costestimation/reactor/__init__.pyi b/src/jneqsim-stubs/process/costestimation/reactor/__init__.pyi index fdf1243b..f274b752 100644 --- a/src/jneqsim-stubs/process/costestimation/reactor/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,14 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.reactor import typing - - class ReactorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, reactorMechanicalDesign: jneqsim.process.mechanicaldesign.reactor.ReactorMechanicalDesign): ... + def __init__( + self, + reactorMechanicalDesign: jneqsim.process.mechanicaldesign.reactor.ReactorMechanicalDesign, + ): ... def setCatalystCostUSDPerKg(self, double: float) -> None: ... def setInternalsFraction(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.reactor")``. diff --git a/src/jneqsim-stubs/process/costestimation/separator/__init__.pyi b/src/jneqsim-stubs/process/costestimation/separator/__init__.pyi index 35af7c89..8050d4ec 100644 --- a/src/jneqsim-stubs/process/costestimation/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.separator import typing - - class SeparatorCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, separatorMechanicalDesign: jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): ... + def __init__( + self, + separatorMechanicalDesign: jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign, + ): ... def getTotalCost(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.separator")``. diff --git a/src/jneqsim-stubs/process/costestimation/splitter/__init__.pyi b/src/jneqsim-stubs/process/costestimation/splitter/__init__.pyi index 1638ecd5..c5b025f7 100644 --- a/src/jneqsim-stubs/process/costestimation/splitter/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/splitter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,10 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign import typing - - class SplitterCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getNumberOfOutlets(self) -> int: ... def getSplitterType(self) -> java.lang.String: ... @@ -27,7 +27,6 @@ class SplitterCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseCl def setSplitterType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.splitter")``. diff --git a/src/jneqsim-stubs/process/costestimation/tank/__init__.pyi b/src/jneqsim-stubs/process/costestimation/tank/__init__.pyi index 80a9643e..23945054 100644 --- a/src/jneqsim-stubs/process/costestimation/tank/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/tank/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,15 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.tank import typing - - class TankCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, tankMechanicalDesign: jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign): ... + def __init__( + self, + tankMechanicalDesign: jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign, + ): ... @typing.overload - def calcAnnualOperatingCost(self, double: float, double2: float, double3: float, int: int) -> float: ... + def calcAnnualOperatingCost( + self, double: float, double2: float, double3: float, int: int + ) -> float: ... @typing.overload def calcAnnualOperatingCost(self, int: int) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -34,7 +37,6 @@ class TankCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass) def setTankVolume(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.tank")``. diff --git a/src/jneqsim-stubs/process/costestimation/topsides/__init__.pyi b/src/jneqsim-stubs/process/costestimation/topsides/__init__.pyi index e837ad00..4e110a1c 100644 --- a/src/jneqsim-stubs/process/costestimation/topsides/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/topsides/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,66 +11,111 @@ import jneqsim.process.costestimation import jneqsim.process.processmodel import typing - - class TopsidesFacilityCostEstimator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processCostEstimate: jneqsim.process.costestimation.ProcessCostEstimate): ... + def __init__( + self, processCostEstimate: jneqsim.process.costestimation.ProcessCostEstimate + ): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def estimate(self) -> jneqsim.process.costestimation.CostEstimateResult: ... def getEstimateBasis(self) -> jneqsim.process.costestimation.CostEstimateBasis: ... - def getFacilityType(self) -> 'TopsidesFacilityCostEstimator.FacilityType': ... - def getProjectContext(self) -> 'TopsidesFacilityCostEstimator.ProjectContext': ... - def setElectricalInstrumentationFactor(self, double: float) -> 'TopsidesFacilityCostEstimator': ... - def setEstimateBasis(self, costEstimateBasis: jneqsim.process.costestimation.CostEstimateBasis) -> 'TopsidesFacilityCostEstimator': ... - def setEstimateClass(self, estimateClass: jneqsim.process.costestimation.EstimateClass) -> 'TopsidesFacilityCostEstimator': ... - def setFacilityType(self, facilityType: 'TopsidesFacilityCostEstimator.FacilityType') -> 'TopsidesFacilityCostEstimator': ... - def setIncludeUtilitiesAndOffsites(self, boolean: bool) -> 'TopsidesFacilityCostEstimator': ... - def setLocationFactor(self, double: float) -> 'TopsidesFacilityCostEstimator': ... - def setPipingBulkFactor(self, double: float) -> 'TopsidesFacilityCostEstimator': ... - def setProcessCostEstimate(self, processCostEstimate: jneqsim.process.costestimation.ProcessCostEstimate) -> 'TopsidesFacilityCostEstimator': ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'TopsidesFacilityCostEstimator': ... - def setProjectContext(self, projectContext: 'TopsidesFacilityCostEstimator.ProjectContext') -> 'TopsidesFacilityCostEstimator': ... - class FacilityType(java.lang.Enum['TopsidesFacilityCostEstimator.FacilityType']): - FIXED_PLATFORM: typing.ClassVar['TopsidesFacilityCostEstimator.FacilityType'] = ... - FPSO: typing.ClassVar['TopsidesFacilityCostEstimator.FacilityType'] = ... - SEMI_SUBMERSIBLE: typing.ClassVar['TopsidesFacilityCostEstimator.FacilityType'] = ... - ONSHORE: typing.ClassVar['TopsidesFacilityCostEstimator.FacilityType'] = ... - BROWNFIELD_TIE_IN: typing.ClassVar['TopsidesFacilityCostEstimator.FacilityType'] = ... + def getFacilityType(self) -> "TopsidesFacilityCostEstimator.FacilityType": ... + def getProjectContext(self) -> "TopsidesFacilityCostEstimator.ProjectContext": ... + def setElectricalInstrumentationFactor( + self, double: float + ) -> "TopsidesFacilityCostEstimator": ... + def setEstimateBasis( + self, costEstimateBasis: jneqsim.process.costestimation.CostEstimateBasis + ) -> "TopsidesFacilityCostEstimator": ... + def setEstimateClass( + self, estimateClass: jneqsim.process.costestimation.EstimateClass + ) -> "TopsidesFacilityCostEstimator": ... + def setFacilityType( + self, facilityType: "TopsidesFacilityCostEstimator.FacilityType" + ) -> "TopsidesFacilityCostEstimator": ... + def setIncludeUtilitiesAndOffsites( + self, boolean: bool + ) -> "TopsidesFacilityCostEstimator": ... + def setLocationFactor(self, double: float) -> "TopsidesFacilityCostEstimator": ... + def setPipingBulkFactor(self, double: float) -> "TopsidesFacilityCostEstimator": ... + def setProcessCostEstimate( + self, processCostEstimate: jneqsim.process.costestimation.ProcessCostEstimate + ) -> "TopsidesFacilityCostEstimator": ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "TopsidesFacilityCostEstimator": ... + def setProjectContext( + self, projectContext: "TopsidesFacilityCostEstimator.ProjectContext" + ) -> "TopsidesFacilityCostEstimator": ... + + class FacilityType(java.lang.Enum["TopsidesFacilityCostEstimator.FacilityType"]): + FIXED_PLATFORM: typing.ClassVar[ + "TopsidesFacilityCostEstimator.FacilityType" + ] = ... + FPSO: typing.ClassVar["TopsidesFacilityCostEstimator.FacilityType"] = ... + SEMI_SUBMERSIBLE: typing.ClassVar[ + "TopsidesFacilityCostEstimator.FacilityType" + ] = ... + ONSHORE: typing.ClassVar["TopsidesFacilityCostEstimator.FacilityType"] = ... + BROWNFIELD_TIE_IN: typing.ClassVar[ + "TopsidesFacilityCostEstimator.FacilityType" + ] = ... def getDisplayName(self) -> java.lang.String: ... def getHookUpFactor(self) -> float: ... def getInstallationFactor(self) -> float: ... def getModuleIntegrationFactor(self) -> float: ... def getStructuralWeightFactor(self) -> float: ... def getUtilityOffsiteFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TopsidesFacilityCostEstimator.FacilityType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TopsidesFacilityCostEstimator.FacilityType": ... @staticmethod - def values() -> typing.MutableSequence['TopsidesFacilityCostEstimator.FacilityType']: ... - class ProjectContext(java.lang.Enum['TopsidesFacilityCostEstimator.ProjectContext']): - GREENFIELD: typing.ClassVar['TopsidesFacilityCostEstimator.ProjectContext'] = ... - BROWNFIELD_MODIFICATION: typing.ClassVar['TopsidesFacilityCostEstimator.ProjectContext'] = ... - HOST_TIE_IN: typing.ClassVar['TopsidesFacilityCostEstimator.ProjectContext'] = ... + def values() -> ( + typing.MutableSequence["TopsidesFacilityCostEstimator.FacilityType"] + ): ... + + class ProjectContext( + java.lang.Enum["TopsidesFacilityCostEstimator.ProjectContext"] + ): + GREENFIELD: typing.ClassVar["TopsidesFacilityCostEstimator.ProjectContext"] = ( + ... + ) + BROWNFIELD_MODIFICATION: typing.ClassVar[ + "TopsidesFacilityCostEstimator.ProjectContext" + ] = ... + HOST_TIE_IN: typing.ClassVar["TopsidesFacilityCostEstimator.ProjectContext"] = ( + ... + ) def getCongestionFactor(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TopsidesFacilityCostEstimator.ProjectContext': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TopsidesFacilityCostEstimator.ProjectContext": ... @staticmethod - def values() -> typing.MutableSequence['TopsidesFacilityCostEstimator.ProjectContext']: ... - + def values() -> ( + typing.MutableSequence["TopsidesFacilityCostEstimator.ProjectContext"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.topsides")``. diff --git a/src/jneqsim-stubs/process/costestimation/valve/__init__.pyi b/src/jneqsim-stubs/process/costestimation/valve/__init__.pyi index 49b94821..259c534a 100644 --- a/src/jneqsim-stubs/process/costestimation/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,11 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign.valve import typing - - class ValveCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign): ... + def __init__( + self, + valveMechanicalDesign: jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign, + ): ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getTotalCost(self) -> float: ... def getValveCv(self) -> float: ... @@ -26,7 +27,6 @@ class ValveCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass def setValveCv(self, double: float) -> None: ... def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.valve")``. diff --git a/src/jneqsim-stubs/process/costestimation/well/__init__.pyi b/src/jneqsim-stubs/process/costestimation/well/__init__.pyi index b1785b76..69e28cd4 100644 --- a/src/jneqsim-stubs/process/costestimation/well/__init__.pyi +++ b/src/jneqsim-stubs/process/costestimation/well/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,15 @@ import jneqsim.process.costestimation import jneqsim.process.mechanicaldesign import typing - - class WellFlowCostEstimate(jneqsim.process.costestimation.UnitCostEstimateBaseClass): - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def calculateCostEstimate(self) -> None: ... def getTotalCost(self) -> float: ... def getWellCapexUsd(self) -> float: ... def setWellCapexUsd(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.costestimation.well")``. diff --git a/src/jneqsim-stubs/process/design/__init__.pyi b/src/jneqsim-stubs/process/design/__init__.pyi index 1a93d4e8..63988059 100644 --- a/src/jneqsim-stubs/process/design/__init__.pyi +++ b/src/jneqsim-stubs/process/design/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,71 +15,111 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class AutoSizeable: @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... def isAutoSized(self) -> bool: ... class DesignOptimizer: - def applyDefaultConstraints(self) -> 'DesignOptimizer': ... + def applyDefaultConstraints(self) -> "DesignOptimizer": ... @typing.overload - def autoSizeEquipment(self) -> 'DesignOptimizer': ... + def autoSizeEquipment(self) -> "DesignOptimizer": ... @typing.overload - def autoSizeEquipment(self, double: float) -> 'DesignOptimizer': ... - def excludeEquipment(self, *string: typing.Union[java.lang.String, str]) -> 'DesignOptimizer': ... + def autoSizeEquipment(self, double: float) -> "DesignOptimizer": ... + def excludeEquipment( + self, *string: typing.Union[java.lang.String, str] + ) -> "DesignOptimizer": ... @typing.overload @staticmethod - def forProcess(processModule: jneqsim.process.processmodel.ProcessModule) -> 'DesignOptimizer': ... + def forProcess( + processModule: jneqsim.process.processmodel.ProcessModule, + ) -> "DesignOptimizer": ... @typing.overload @staticmethod - def forProcess(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'DesignOptimizer': ... + def forProcess( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "DesignOptimizer": ... @staticmethod - def fromTemplate(processTemplate: 'ProcessTemplate', processBasis: 'ProcessBasis') -> 'DesignOptimizer': ... - def getBasis(self) -> 'ProcessBasis': ... + def fromTemplate( + processTemplate: "ProcessTemplate", processBasis: "ProcessBasis" + ) -> "DesignOptimizer": ... + def getBasis(self) -> "ProcessBasis": ... def getModule(self) -> jneqsim.process.processmodel.ProcessModule: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def isModuleMode(self) -> bool: ... - def optimize(self) -> 'DesignResult': ... - def runAutoSizing(self) -> 'DesignOptimizer': ... - def setObjective(self, objectiveType: 'DesignOptimizer.ObjectiveType') -> 'DesignOptimizer': ... - def validate(self) -> 'DesignResult': ... - class ObjectiveType(java.lang.Enum['DesignOptimizer.ObjectiveType']): - MAXIMIZE_PRODUCTION: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... - MAXIMIZE_OIL: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... - MAXIMIZE_GAS: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... - MINIMIZE_ENERGY: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... - CUSTOM: typing.ClassVar['DesignOptimizer.ObjectiveType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def optimize(self) -> "DesignResult": ... + def runAutoSizing(self) -> "DesignOptimizer": ... + def setObjective( + self, objectiveType: "DesignOptimizer.ObjectiveType" + ) -> "DesignOptimizer": ... + def validate(self) -> "DesignResult": ... + + class ObjectiveType(java.lang.Enum["DesignOptimizer.ObjectiveType"]): + MAXIMIZE_PRODUCTION: typing.ClassVar["DesignOptimizer.ObjectiveType"] = ... + MAXIMIZE_OIL: typing.ClassVar["DesignOptimizer.ObjectiveType"] = ... + MAXIMIZE_GAS: typing.ClassVar["DesignOptimizer.ObjectiveType"] = ... + MINIMIZE_ENERGY: typing.ClassVar["DesignOptimizer.ObjectiveType"] = ... + CUSTOM: typing.ClassVar["DesignOptimizer.ObjectiveType"] = ... + _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: ... + 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]) -> 'DesignOptimizer.ObjectiveType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DesignOptimizer.ObjectiveType": ... @staticmethod - def values() -> typing.MutableSequence['DesignOptimizer.ObjectiveType']: ... + def values() -> typing.MutableSequence["DesignOptimizer.ObjectiveType"]: ... class DesignResult: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addConstraintStatus(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addEquipmentSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... - def addOptimizedFlowRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addConstraintStatus( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addEquipmentSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + def addOptimizedFlowRate( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def addViolation(self, string: typing.Union[java.lang.String, str]) -> None: ... def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getConstraintStatus(self) -> java.util.Map[java.lang.String, 'DesignResult.ConstraintStatus']: ... - def getEquipment(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getEquipmentSizes(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getConstraintStatus( + self, + ) -> java.util.Map[java.lang.String, "DesignResult.ConstraintStatus"]: ... + def getEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getEquipmentSizes( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... def getIterations(self) -> int: ... def getObjectiveValue(self) -> float: ... - def getOptimizedFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOptimizedFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOptimizedFlowRates(self) -> java.util.Map[java.lang.String, float]: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getSummary(self) -> java.lang.String: ... @@ -91,8 +131,16 @@ class DesignResult: def setConverged(self, boolean: bool) -> None: ... def setIterations(self, int: int) -> None: ... def setObjectiveValue(self, double: float) -> None: ... + class ConstraintStatus: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + boolean: bool, + ): ... def getCurrentValue(self) -> float: ... def getLimitValue(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -100,19 +148,34 @@ class DesignResult: def isSatisfied(self) -> bool: ... class DesignSpecification: - def applyTo(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def applyTo( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... @staticmethod - def forCompressor(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forCompressor( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... @staticmethod - def forHeater(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forHeater( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... @staticmethod - def forPipeline(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forPipeline( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... @staticmethod - def forSeparator(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forSeparator( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... @staticmethod - def forThreePhaseSeparator(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forThreePhaseSeparator( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... @staticmethod - def forValve(string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def forValve( + string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... def getDesignParameters(self) -> java.util.Map[java.lang.String, float]: ... def getDesignStandard(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... @@ -120,35 +183,85 @@ class DesignSpecification: def getMaterialGrade(self) -> java.lang.String: ... def getOperatingLimits(self) -> java.util.Map[java.lang.String, float]: ... def getSafetyFactor(self) -> float: ... - def setCv(self, double: float) -> 'DesignSpecification': ... - def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setKFactor(self, double: float) -> 'DesignSpecification': ... - def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setMaterial(self, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setMaxDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setMaxValveOpening(self, double: float) -> 'DesignSpecification': ... - def setMaxVelocity(self, double: float) -> 'DesignSpecification': ... - def setPipeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setPipeLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setSafetyFactor(self, double: float) -> 'DesignSpecification': ... - def setStandard(self, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setTRDocument(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... - def setWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DesignSpecification': ... + def setCv(self, double: float) -> "DesignSpecification": ... + def setDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setKFactor(self, double: float) -> "DesignSpecification": ... + def setLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setMaxDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setMaxValveOpening(self, double: float) -> "DesignSpecification": ... + def setMaxVelocity(self, double: float) -> "DesignSpecification": ... + def setPipeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setPipeLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setSafetyFactor(self, double: float) -> "DesignSpecification": ... + def setStandard( + self, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... + def setTRDocument( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "DesignSpecification": ... + def setWallThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DesignSpecification": ... class EquipmentConstraintRegistry: - def createConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def createConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... @typing.overload - def getConstraintTemplates(self, string: typing.Union[java.lang.String, str]) -> java.util.List['EquipmentConstraintRegistry.ConstraintTemplate']: ... + def getConstraintTemplates( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["EquipmentConstraintRegistry.ConstraintTemplate"]: ... @typing.overload - def getConstraintTemplates(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List['EquipmentConstraintRegistry.ConstraintTemplate']: ... - def getCustomConstraints(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... - def getEquipmentType(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.lang.String: ... + def getConstraintTemplates( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List["EquipmentConstraintRegistry.ConstraintTemplate"]: ... + def getCustomConstraints( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getEquipmentType( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.lang.String: ... @staticmethod - def getInstance() -> 'EquipmentConstraintRegistry': ... - def isConstraintSupported(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... - def registerCustomConstraint(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def getInstance() -> "EquipmentConstraintRegistry": ... + def isConstraintSupported( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... + def registerCustomConstraint( + self, + string: typing.Union[java.lang.String, str], + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + ) -> None: ... + class ConstraintTemplate: - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getType(self) -> java.lang.String: ... @@ -157,7 +270,7 @@ class EquipmentConstraintRegistry: class ProcessBasis: def __init__(self): ... @staticmethod - def builder() -> 'ProcessBasis.Builder': ... + def builder() -> "ProcessBasis.Builder": ... def getAmbientTemperature(self) -> float: ... def getCompanyStandard(self) -> java.lang.String: ... def getConstraint(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -168,35 +281,81 @@ class ProcessBasis: def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFeedTemperature(self) -> float: ... def getNumberOfStages(self) -> int: ... - def getParameter(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getParameterString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getProductSpecs(self) -> java.util.List['ProcessBasis.ProductSpecification']: ... + def getParameter( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getParameterString( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def getProductSpecs( + self, + ) -> java.util.List["ProcessBasis.ProductSpecification"]: ... def getSafetyFactor(self) -> float: ... def getStagePressure(self, int: int) -> float: ... def getStagePressures(self) -> java.util.Map[int, float]: ... def getTRDocument(self) -> java.lang.String: ... def setFeedFlowRate(self, double: float) -> None: ... - def setFeedFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFeedFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFeedPressure(self, double: float) -> None: ... def setFeedTemperature(self, double: float) -> None: ... - def setParameter(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setParameterString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setParameter( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setParameterString( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + class Builder: def __init__(self): ... - def addConstraint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessBasis.Builder': ... - def addProductSpec(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def addStagePressure(self, int: int, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def build(self) -> 'ProcessBasis': ... - def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def setCompanyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def setFeedFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ProcessBasis.Builder': ... - def setFeedPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProcessBasis.Builder': ... - def setFeedTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessBasis.Builder': ... - def setSafetyFactor(self, double: float) -> 'ProcessBasis.Builder': ... + def addConstraint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessBasis.Builder": ... + def addProductSpec( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessBasis.Builder": ... + def addStagePressure( + self, int: int, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessBasis.Builder": ... + def build(self) -> "ProcessBasis": ... + def setAmbientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessBasis.Builder": ... + def setCompanyStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessBasis.Builder": ... + def setFeedFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessBasis.Builder": ... + def setFeedFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "ProcessBasis.Builder": ... + def setFeedPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessBasis.Builder": ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "ProcessBasis.Builder": ... + def setFeedTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessBasis.Builder": ... + def setSafetyFactor(self, double: float) -> "ProcessBasis.Builder": ... + class ProductSpecification: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getProductName(self) -> java.lang.String: ... def getTargetPressure(self) -> float: ... def getTargetTemperature(self) -> float: ... @@ -205,13 +364,16 @@ class ProcessBasis: def setTargetTemperature(self, double: float) -> None: ... class ProcessTemplate: - def create(self, processBasis: ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def create( + self, processBasis: ProcessBasis + ) -> jneqsim.process.processmodel.ProcessSystem: ... def getDescription(self) -> java.lang.String: ... def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... - def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... - + def isApplicable( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> bool: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.design")``. diff --git a/src/jneqsim-stubs/process/design/template/__init__.pyi b/src/jneqsim-stubs/process/design/template/__init__.pyi index abbbc2e9..46f1d7b8 100644 --- a/src/jneqsim-stubs/process/design/template/__init__.pyi +++ b/src/jneqsim-stubs/process/design/template/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,73 +11,98 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class CO2CaptureTemplate(jneqsim.process.design.ProcessTemplate): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, amineType: 'CO2CaptureTemplate.AmineType'): ... + def __init__(self, amineType: "CO2CaptureTemplate.AmineType"): ... @staticmethod - def calculateSpecificReboilerDuty(amineType: 'CO2CaptureTemplate.AmineType', double: float, double2: float) -> float: ... - def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def calculateSpecificReboilerDuty( + amineType: "CO2CaptureTemplate.AmineType", double: float, double2: float + ) -> float: ... + def create( + self, processBasis: jneqsim.process.design.ProcessBasis + ) -> jneqsim.process.processmodel.ProcessSystem: ... @staticmethod - def estimateAmineLoss(amineType: 'CO2CaptureTemplate.AmineType', double: float) -> float: ... + def estimateAmineLoss( + amineType: "CO2CaptureTemplate.AmineType", double: float + ) -> float: ... def getDescription(self) -> java.lang.String: ... def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... - def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... - class AmineType(java.lang.Enum['CO2CaptureTemplate.AmineType']): - MEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... - DEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... - MDEA: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... - MDEA_PZ: typing.ClassVar['CO2CaptureTemplate.AmineType'] = ... + def isApplicable( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> bool: ... + + class AmineType(java.lang.Enum["CO2CaptureTemplate.AmineType"]): + MEA: typing.ClassVar["CO2CaptureTemplate.AmineType"] = ... + DEA: typing.ClassVar["CO2CaptureTemplate.AmineType"] = ... + MDEA: typing.ClassVar["CO2CaptureTemplate.AmineType"] = ... + MDEA_PZ: typing.ClassVar["CO2CaptureTemplate.AmineType"] = ... def getAmineName(self) -> java.lang.String: ... def getMaxRichLoading(self) -> float: ... def getReboilerTemp(self) -> float: ... def getTypicalConcentration(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CO2CaptureTemplate.AmineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CO2CaptureTemplate.AmineType": ... @staticmethod - def values() -> typing.MutableSequence['CO2CaptureTemplate.AmineType']: ... + def values() -> typing.MutableSequence["CO2CaptureTemplate.AmineType"]: ... class DehydrationTemplate(jneqsim.process.design.ProcessTemplate): def __init__(self): ... @staticmethod def calculateTEGRate(double: float, double2: float, double3: float) -> float: ... - def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def create( + self, processBasis: jneqsim.process.design.ProcessBasis + ) -> jneqsim.process.processmodel.ProcessSystem: ... @staticmethod - def estimateEquilibriumWater(double: float, double2: float, double3: float) -> float: ... + def estimateEquilibriumWater( + double: float, double2: float, double3: float + ) -> float: ... def getDescription(self) -> java.lang.String: ... def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... - def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isApplicable( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> bool: ... class GasCompressionTemplate(jneqsim.process.design.ProcessTemplate): def __init__(self): ... - def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def create( + self, processBasis: jneqsim.process.design.ProcessBasis + ) -> jneqsim.process.processmodel.ProcessSystem: ... def getDescription(self) -> java.lang.String: ... def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... - def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isApplicable( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> bool: ... class ThreeStageSeparationTemplate(jneqsim.process.design.ProcessTemplate): def __init__(self): ... - def create(self, processBasis: jneqsim.process.design.ProcessBasis) -> jneqsim.process.processmodel.ProcessSystem: ... + def create( + self, processBasis: jneqsim.process.design.ProcessBasis + ) -> jneqsim.process.processmodel.ProcessSystem: ... def getDescription(self) -> java.lang.String: ... def getExpectedOutputs(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getRequiredEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... - def isApplicable(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... - + def isApplicable( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> bool: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.design.template")``. diff --git a/src/jneqsim-stubs/process/diagnostics/__init__.pyi b/src/jneqsim-stubs/process/diagnostics/__init__.pyi index 0a1f01d2..a144d9ff 100644 --- a/src/jneqsim-stubs/process/diagnostics/__init__.pyi +++ b/src/jneqsim-stubs/process/diagnostics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,70 +14,141 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - class EvidenceCollector(java.io.Serializable): def __init__(self): ... - def calculateLikelihoodScore(self, list: java.util.List['Hypothesis.Evidence']) -> float: ... - def collectEvidence(self, hypothesis: 'Hypothesis') -> java.util.List['Hypothesis.Evidence']: ... + def calculateLikelihoodScore( + self, list: java.util.List["Hypothesis.Evidence"] + ) -> float: ... + def collectEvidence( + self, hypothesis: "Hypothesis" + ) -> java.util.List["Hypothesis.Evidence"]: ... def loadFromCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDesignLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setHistorianData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setStidData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]]) -> None: ... + def setDesignLimit( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setHistorianData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setStidData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + typing.Mapping[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + ], + ) -> None: ... class FailurePropagationTracer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def setCustomDelay(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCustomDelay( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def setMaxCascadeDepth(self, int: int) -> None: ... @typing.overload - def trace(self, string: typing.Union[java.lang.String, str]) -> 'FailurePropagationTracer.PropagationResult': ... + def trace( + self, string: typing.Union[java.lang.String, str] + ) -> "FailurePropagationTracer.PropagationResult": ... @typing.overload - def trace(self, tripEvent: 'TripEvent') -> 'FailurePropagationTracer.PropagationResult': ... + def trace( + self, tripEvent: "TripEvent" + ) -> "FailurePropagationTracer.PropagationResult": ... + class PropagationResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAffectedCount(self) -> int: ... def getEquipmentToMonitor(self) -> java.util.List[java.lang.String]: ... def getInitiatingEquipment(self) -> java.lang.String: ... - def getInitiatingTripEvent(self) -> 'TripEvent': ... + def getInitiatingTripEvent(self) -> "TripEvent": ... def getMaxCascadeDepth(self) -> int: ... - def getSteps(self) -> java.util.List['FailurePropagationTracer.PropagationStep']: ... + def getSteps( + self, + ) -> java.util.List["FailurePropagationTracer.PropagationStep"]: ... def getTotalProductionLossPercent(self) -> float: ... def toJson(self) -> java.lang.String: ... def toTextSummary(self) -> java.lang.String: ... + class PropagationStep(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, int: int, string2: typing.Union[java.lang.String, str], impactLevel: 'FailurePropagationTracer.PropagationStep.ImpactLevel'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + int: int, + string2: typing.Union[java.lang.String, str], + impactLevel: "FailurePropagationTracer.PropagationStep.ImpactLevel", + ): ... def getCascadeDepth(self) -> int: ... def getEffect(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getEstimatedDelaySeconds(self) -> float: ... - def getImpactLevel(self) -> 'FailurePropagationTracer.PropagationStep.ImpactLevel': ... + def getImpactLevel( + self, + ) -> "FailurePropagationTracer.PropagationStep.ImpactLevel": ... def toString(self) -> java.lang.String: ... - class ImpactLevel(java.lang.Enum['FailurePropagationTracer.PropagationStep.ImpactLevel']): - LOW: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... - MEDIUM: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... - HIGH: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... - CRITICAL: typing.ClassVar['FailurePropagationTracer.PropagationStep.ImpactLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ImpactLevel( + java.lang.Enum["FailurePropagationTracer.PropagationStep.ImpactLevel"] + ): + LOW: typing.ClassVar[ + "FailurePropagationTracer.PropagationStep.ImpactLevel" + ] = ... + MEDIUM: typing.ClassVar[ + "FailurePropagationTracer.PropagationStep.ImpactLevel" + ] = ... + HIGH: typing.ClassVar[ + "FailurePropagationTracer.PropagationStep.ImpactLevel" + ] = ... + CRITICAL: typing.ClassVar[ + "FailurePropagationTracer.PropagationStep.ImpactLevel" + ] = ... + _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: ... + 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]) -> 'FailurePropagationTracer.PropagationStep.ImpactLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FailurePropagationTracer.PropagationStep.ImpactLevel": ... @staticmethod - def values() -> typing.MutableSequence['FailurePropagationTracer.PropagationStep.ImpactLevel']: ... + def values() -> ( + typing.MutableSequence[ + "FailurePropagationTracer.PropagationStep.ImpactLevel" + ] + ): ... -class Hypothesis(java.io.Serializable, java.lang.Comparable['Hypothesis']): - def addEvidence(self, evidence: 'Hypothesis.Evidence') -> None: ... - def addRecommendedAction(self, string: typing.Union[java.lang.String, str]) -> None: ... +class Hypothesis(java.io.Serializable, java.lang.Comparable["Hypothesis"]): + def addEvidence(self, evidence: "Hypothesis.Evidence") -> None: ... + def addRecommendedAction( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @staticmethod - def builder() -> 'Hypothesis.Builder': ... - def compareTo(self, hypothesis: 'Hypothesis') -> int: ... - def getCategory(self) -> 'Hypothesis.Category': ... + def builder() -> "Hypothesis.Builder": ... + def compareTo(self, hypothesis: "Hypothesis") -> int: ... + def getCategory(self) -> "Hypothesis.Category": ... def getConfidenceScore(self) -> float: ... def getDescription(self) -> java.lang.String: ... - def getEvidenceList(self) -> java.util.List['Hypothesis.Evidence']: ... - def getExpectedSignals(self) -> java.util.List['Hypothesis.ExpectedSignal']: ... + def getEvidenceList(self) -> java.util.List["Hypothesis.Evidence"]: ... + def getExpectedSignals(self) -> java.util.List["Hypothesis.ExpectedSignal"]: ... def getFailureMode(self) -> java.lang.String: ... def getLikelihoodScore(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -87,113 +158,222 @@ class Hypothesis(java.io.Serializable, java.lang.Comparable['Hypothesis']): def getVerificationScore(self) -> float: ... def setLikelihoodScore(self, double: float) -> None: ... def setPriorProbability(self, double: float) -> None: ... - def setSimulationSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSimulationSummary( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setVerificationScore(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addAction(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... - def addEvidence(self, evidence: 'Hypothesis.Evidence') -> 'Hypothesis.Builder': ... - def addExpectedSignal(self, string: typing.Union[java.lang.String, str], expectedBehavior: 'Hypothesis.ExpectedBehavior', double: float, string2: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... - def build(self) -> 'Hypothesis': ... - def category(self, category: 'Hypothesis.Category') -> 'Hypothesis.Builder': ... - def copy(self) -> 'Hypothesis.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... - def failureMode(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'Hypothesis.Builder': ... - def priorProbability(self, double: float) -> 'Hypothesis.Builder': ... - class Category(java.lang.Enum['Hypothesis.Category']): - MECHANICAL: typing.ClassVar['Hypothesis.Category'] = ... - PROCESS: typing.ClassVar['Hypothesis.Category'] = ... - CONTROL: typing.ClassVar['Hypothesis.Category'] = ... - EXTERNAL: typing.ClassVar['Hypothesis.Category'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def addAction( + self, string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.Builder": ... + def addEvidence( + self, evidence: "Hypothesis.Evidence" + ) -> "Hypothesis.Builder": ... + def addExpectedSignal( + self, + string: typing.Union[java.lang.String, str], + expectedBehavior: "Hypothesis.ExpectedBehavior", + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "Hypothesis.Builder": ... + def build(self) -> "Hypothesis": ... + def category(self, category: "Hypothesis.Category") -> "Hypothesis.Builder": ... + def copy(self) -> "Hypothesis.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.Builder": ... + def failureMode( + self, string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.Builder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.Builder": ... + def priorProbability(self, double: float) -> "Hypothesis.Builder": ... + + class Category(java.lang.Enum["Hypothesis.Category"]): + MECHANICAL: typing.ClassVar["Hypothesis.Category"] = ... + PROCESS: typing.ClassVar["Hypothesis.Category"] = ... + CONTROL: typing.ClassVar["Hypothesis.Category"] = ... + EXTERNAL: typing.ClassVar["Hypothesis.Category"] = ... + _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: ... + 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]) -> 'Hypothesis.Category': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.Category": ... @staticmethod - def values() -> typing.MutableSequence['Hypothesis.Category']: ... + def values() -> typing.MutableSequence["Hypothesis.Category"]: ... + class Evidence(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], evidenceStrength: 'Hypothesis.EvidenceStrength', string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + evidenceStrength: "Hypothesis.EvidenceStrength", + string3: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], evidenceStrength: 'Hypothesis.EvidenceStrength', string3: typing.Union[java.lang.String, str], boolean: bool, double: float, string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + evidenceStrength: "Hypothesis.EvidenceStrength", + string3: typing.Union[java.lang.String, str], + boolean: bool, + double: float, + string4: typing.Union[java.lang.String, str], + ): ... def getObservation(self) -> java.lang.String: ... def getParameter(self) -> java.lang.String: ... def getSource(self) -> java.lang.String: ... def getSourceReference(self) -> java.lang.String: ... - def getStrength(self) -> 'Hypothesis.EvidenceStrength': ... + def getStrength(self) -> "Hypothesis.EvidenceStrength": ... def getWeight(self) -> float: ... def isSupporting(self) -> bool: ... def toString(self) -> java.lang.String: ... - class EvidenceStrength(java.lang.Enum['Hypothesis.EvidenceStrength']): - STRONG: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... - MODERATE: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... - WEAK: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... - CONTRADICTORY: typing.ClassVar['Hypothesis.EvidenceStrength'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EvidenceStrength(java.lang.Enum["Hypothesis.EvidenceStrength"]): + STRONG: typing.ClassVar["Hypothesis.EvidenceStrength"] = ... + MODERATE: typing.ClassVar["Hypothesis.EvidenceStrength"] = ... + WEAK: typing.ClassVar["Hypothesis.EvidenceStrength"] = ... + CONTRADICTORY: typing.ClassVar["Hypothesis.EvidenceStrength"] = ... + _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: ... + 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]) -> 'Hypothesis.EvidenceStrength': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.EvidenceStrength": ... @staticmethod - def values() -> typing.MutableSequence['Hypothesis.EvidenceStrength']: ... - class ExpectedBehavior(java.lang.Enum['Hypothesis.ExpectedBehavior']): - INCREASE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - DECREASE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - HIGH_LIMIT: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - LOW_LIMIT: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - STEP_CHANGE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - CORRELATION: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - ANY_CHANGE: typing.ClassVar['Hypothesis.ExpectedBehavior'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["Hypothesis.EvidenceStrength"]: ... + + class ExpectedBehavior(java.lang.Enum["Hypothesis.ExpectedBehavior"]): + INCREASE: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + DECREASE: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + HIGH_LIMIT: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + LOW_LIMIT: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + STEP_CHANGE: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + CORRELATION: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + ANY_CHANGE: typing.ClassVar["Hypothesis.ExpectedBehavior"] = ... + _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: ... + 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]) -> 'Hypothesis.ExpectedBehavior': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Hypothesis.ExpectedBehavior": ... @staticmethod - def values() -> typing.MutableSequence['Hypothesis.ExpectedBehavior']: ... + def values() -> typing.MutableSequence["Hypothesis.ExpectedBehavior"]: ... + class ExpectedSignal(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], expectedBehavior: 'Hypothesis.ExpectedBehavior', double: float, string2: typing.Union[java.lang.String, str]): ... - def getExpectedBehavior(self) -> 'Hypothesis.ExpectedBehavior': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + expectedBehavior: "Hypothesis.ExpectedBehavior", + double: float, + string2: typing.Union[java.lang.String, str], + ): ... + def getExpectedBehavior(self) -> "Hypothesis.ExpectedBehavior": ... def getParameterPattern(self) -> java.lang.String: ... def getRationale(self) -> java.lang.String: ... def getWeight(self) -> float: ... class HypothesisGenerator(java.io.Serializable): def __init__(self): ... - def generate(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, symptom: 'Symptom') -> java.util.List[Hypothesis]: ... - def register(self, string: typing.Union[java.lang.String, str], symptom: 'Symptom', hypothesis: Hypothesis) -> None: ... + def generate( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + symptom: "Symptom", + ) -> java.util.List[Hypothesis]: ... + def register( + self, + string: typing.Union[java.lang.String, str], + symptom: "Symptom", + hypothesis: Hypothesis, + ) -> None: ... class RootCauseAnalyzer(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... - def analyze(self) -> 'RootCauseReport': ... - def setDesignLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setHistorianData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setHypothesisGenerator(self, hypothesisGenerator: HypothesisGenerator) -> None: ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ): ... + def analyze(self) -> "RootCauseReport": ... + def setDesignLimit( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setHistorianData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setHypothesisGenerator( + self, hypothesisGenerator: HypothesisGenerator + ) -> None: ... def setSimulationEnabled(self, boolean: bool) -> None: ... - def setStidData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]]) -> None: ... - def setSymptom(self, symptom: 'Symptom') -> None: ... + def setStidData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + typing.Mapping[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + ], + ) -> None: ... + def setSymptom(self, symptom: "Symptom") -> None: ... class RootCauseReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], symptom: 'Symptom'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + symptom: "Symptom", + ): ... def getAnalysisTimestamp(self) -> int: ... def getDataPointsAnalyzed(self) -> int: ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... - def getHypothesesAboveThreshold(self, double: float) -> java.util.List[Hypothesis]: ... + def getHypothesesAboveThreshold( + self, double: float + ) -> java.util.List[Hypothesis]: ... def getParametersAnalyzed(self) -> int: ... def getRankedHypotheses(self) -> java.util.List[Hypothesis]: ... - def getSymptom(self) -> 'Symptom': ... + def getSymptom(self) -> "Symptom": ... def getTopHypothesis(self) -> Hypothesis: ... - def setAnalysisSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAnalysisSummary( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDataPointsAnalyzed(self, int: int) -> None: ... def setHypotheses(self, list: java.util.List[Hypothesis]) -> None: ... def setParametersAnalyzed(self, int: int) -> None: ... @@ -202,67 +382,119 @@ class RootCauseReport(java.io.Serializable): def toTextReport(self) -> java.lang.String: ... class SimulationVerifier(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... - def setHistorianData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]]) -> None: ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ): ... + def setHistorianData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ) -> None: ... def verify(self, hypothesis: Hypothesis) -> None: ... -class Symptom(java.lang.Enum['Symptom']): - TRIP: typing.ClassVar['Symptom'] = ... - HIGH_VIBRATION: typing.ClassVar['Symptom'] = ... - SEAL_FAILURE: typing.ClassVar['Symptom'] = ... - HIGH_TEMPERATURE: typing.ClassVar['Symptom'] = ... - LOW_EFFICIENCY: typing.ClassVar['Symptom'] = ... - PRESSURE_DEVIATION: typing.ClassVar['Symptom'] = ... - FLOW_DEVIATION: typing.ClassVar['Symptom'] = ... - HIGH_POWER: typing.ClassVar['Symptom'] = ... - SURGE_EVENT: typing.ClassVar['Symptom'] = ... - FOULING: typing.ClassVar['Symptom'] = ... - ABNORMAL_NOISE: typing.ClassVar['Symptom'] = ... - LIQUID_CARRYOVER: typing.ClassVar['Symptom'] = ... +class Symptom(java.lang.Enum["Symptom"]): + TRIP: typing.ClassVar["Symptom"] = ... + HIGH_VIBRATION: typing.ClassVar["Symptom"] = ... + SEAL_FAILURE: typing.ClassVar["Symptom"] = ... + HIGH_TEMPERATURE: typing.ClassVar["Symptom"] = ... + LOW_EFFICIENCY: typing.ClassVar["Symptom"] = ... + PRESSURE_DEVIATION: typing.ClassVar["Symptom"] = ... + FLOW_DEVIATION: typing.ClassVar["Symptom"] = ... + HIGH_POWER: typing.ClassVar["Symptom"] = ... + SURGE_EVENT: typing.ClassVar["Symptom"] = ... + FOULING: typing.ClassVar["Symptom"] = ... + ABNORMAL_NOISE: typing.ClassVar["Symptom"] = ... + LIQUID_CARRYOVER: typing.ClassVar["Symptom"] = ... def getDescription(self) -> java.lang.String: ... def getRelatedCategories(self) -> java.util.List[java.lang.String]: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Symptom': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "Symptom": ... @staticmethod - def values() -> typing.MutableSequence['Symptom']: ... + def values() -> typing.MutableSequence["Symptom"]: ... class TripEvent(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool, double3: float, severity: 'TripEvent.Severity'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + double3: float, + severity: "TripEvent.Severity", + ): ... def getActualValue(self) -> float: ... def getDeviation(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getParameterName(self) -> java.lang.String: ... - def getSeverity(self) -> 'TripEvent.Severity': ... + def getSeverity(self) -> "TripEvent.Severity": ... def getSimulationTimeSeconds(self) -> float: ... def getThreshold(self) -> float: ... def getTimestampMillis(self) -> int: ... def isHighTrip(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class Severity(java.lang.Enum['TripEvent.Severity']): - LOW: typing.ClassVar['TripEvent.Severity'] = ... - MEDIUM: typing.ClassVar['TripEvent.Severity'] = ... - HIGH: typing.ClassVar['TripEvent.Severity'] = ... - CRITICAL: typing.ClassVar['TripEvent.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["TripEvent.Severity"]): + LOW: typing.ClassVar["TripEvent.Severity"] = ... + MEDIUM: typing.ClassVar["TripEvent.Severity"] = ... + HIGH: typing.ClassVar["TripEvent.Severity"] = ... + CRITICAL: typing.ClassVar["TripEvent.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: ... + 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]) -> 'TripEvent.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TripEvent.Severity": ... @staticmethod - def values() -> typing.MutableSequence['TripEvent.Severity']: ... + def values() -> typing.MutableSequence["TripEvent.Severity"]: ... class TripEventDetector(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addTripCondition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, boolean: bool, severity: TripEvent.Severity) -> None: ... - def autoConfigureFromDesignLimits(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]]) -> None: ... + def addTripCondition( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + boolean: bool, + severity: TripEvent.Severity, + ) -> None: ... + def autoConfigureFromDesignLimits( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ) -> None: ... def check(self, double: float) -> java.util.List[TripEvent]: ... def checkCurrentState(self) -> java.util.List[TripEvent]: ... def getDetectedTrips(self) -> java.util.List[TripEvent]: ... @@ -274,7 +506,6 @@ class TripEventDetector(java.io.Serializable): def setFirstTripOnly(self, boolean: bool) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.diagnostics")``. diff --git a/src/jneqsim-stubs/process/diagnostics/restart/__init__.pyi b/src/jneqsim-stubs/process/diagnostics/restart/__init__.pyi index 9d4aa6ac..716f003d 100644 --- a/src/jneqsim-stubs/process/diagnostics/restart/__init__.pyi +++ b/src/jneqsim-stubs/process/diagnostics/restart/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,16 +12,26 @@ import jneqsim.process.diagnostics import jneqsim.process.processmodel import typing - - class RestartSequenceGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def generate(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'RestartSequenceGenerator.RestartPlan': ... + def generate( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "RestartSequenceGenerator.RestartPlan": ... @typing.overload - def generate(self, propagationResult: jneqsim.process.diagnostics.FailurePropagationTracer.PropagationResult) -> 'RestartSequenceGenerator.RestartPlan': ... - def setCustomPrecondition(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setCustomRampUpTime(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def generate( + self, + propagationResult: jneqsim.process.diagnostics.FailurePropagationTracer.PropagationResult, + ) -> "RestartSequenceGenerator.RestartPlan": ... + def setCustomPrecondition( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setCustomRampUpTime( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + class RestartPlan(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getEstimatedTotalTimeMinutes(self) -> float: ... @@ -29,35 +39,49 @@ class RestartSequenceGenerator(java.io.Serializable): def getInitiatingEquipment(self) -> java.lang.String: ... def getInitiatingTrip(self) -> jneqsim.process.diagnostics.TripEvent: ... def getStepCount(self) -> int: ... - def getSteps(self) -> java.util.List['RestartStep']: ... + def getSteps(self) -> java.util.List["RestartStep"]: ... def toJson(self) -> java.lang.String: ... def toTextReport(self) -> java.lang.String: ... class RestartStep(java.io.Serializable): - def __init__(self, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, priority: 'RestartStep.Priority', string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + int: int, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + priority: "RestartStep.Priority", + string4: typing.Union[java.lang.String, str], + ): ... def getAction(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getNotes(self) -> java.lang.String: ... def getPrecondition(self) -> java.lang.String: ... - def getPriority(self) -> 'RestartStep.Priority': ... + def getPriority(self) -> "RestartStep.Priority": ... def getRecommendedDelaySeconds(self) -> float: ... def getSequenceNumber(self) -> int: ... def toString(self) -> java.lang.String: ... - class Priority(java.lang.Enum['RestartStep.Priority']): - CRITICAL: typing.ClassVar['RestartStep.Priority'] = ... - HIGH: typing.ClassVar['RestartStep.Priority'] = ... - NORMAL: typing.ClassVar['RestartStep.Priority'] = ... - LOW: typing.ClassVar['RestartStep.Priority'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Priority(java.lang.Enum["RestartStep.Priority"]): + CRITICAL: typing.ClassVar["RestartStep.Priority"] = ... + HIGH: typing.ClassVar["RestartStep.Priority"] = ... + NORMAL: typing.ClassVar["RestartStep.Priority"] = ... + LOW: typing.ClassVar["RestartStep.Priority"] = ... + _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: ... + 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]) -> 'RestartStep.Priority': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RestartStep.Priority": ... @staticmethod - def values() -> typing.MutableSequence['RestartStep.Priority']: ... - + def values() -> typing.MutableSequence["RestartStep.Priority"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.diagnostics.restart")``. diff --git a/src/jneqsim-stubs/process/dynamics/__init__.pyi b/src/jneqsim-stubs/process/dynamics/__init__.pyi index 6c3b61b2..b4658d11 100644 --- a/src/jneqsim-stubs/process/dynamics/__init__.pyi +++ b/src/jneqsim-stubs/process/dynamics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,43 @@ import java.lang import java.util import typing - - class EventScheduler(java.io.Serializable): def __init__(self): ... def clear(self) -> None: ... def fireDueEvents(self, double: float) -> int: ... - def getFiredEvents(self) -> java.util.List['EventScheduler.ScheduledEvent']: ... - def getPendingEvents(self) -> java.util.List['EventScheduler.ScheduledEvent']: ... - def scheduleEvent(self, double: float, string: typing.Union[java.lang.String, str], runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> 'EventScheduler.ScheduledEvent': ... - class ScheduledEvent(java.io.Serializable, java.lang.Comparable['EventScheduler.ScheduledEvent']): - def __init__(self, double: float, string: typing.Union[java.lang.String, str], runnable: typing.Union[java.lang.Runnable, typing.Callable]): ... - def compareTo(self, scheduledEvent: 'EventScheduler.ScheduledEvent') -> int: ... + def getFiredEvents(self) -> java.util.List["EventScheduler.ScheduledEvent"]: ... + def getPendingEvents(self) -> java.util.List["EventScheduler.ScheduledEvent"]: ... + def scheduleEvent( + self, + double: float, + string: typing.Union[java.lang.String, str], + runnable: typing.Union[java.lang.Runnable, typing.Callable], + ) -> "EventScheduler.ScheduledEvent": ... + + class ScheduledEvent( + java.io.Serializable, java.lang.Comparable["EventScheduler.ScheduledEvent"] + ): + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + runnable: typing.Union[java.lang.Runnable, typing.Callable], + ): ... + def compareTo(self, scheduledEvent: "EventScheduler.ScheduledEvent") -> int: ... def getAction(self) -> java.lang.Runnable: ... def getLabel(self) -> java.lang.String: ... def getTime(self) -> float: ... class IntegratorStrategy(java.io.Serializable): def getName(self) -> java.lang.String: ... - def step(self, double: float, double2: float, slope: typing.Union['IntegratorStrategy.Slope', typing.Callable], double3: float) -> float: ... + def step( + self, + double: float, + double2: float, + slope: typing.Union["IntegratorStrategy.Slope", typing.Callable], + double3: float, + ) -> float: ... + class Slope(java.io.Serializable): def dxdt(self, double: float, double2: float) -> float: ... @@ -43,10 +61,16 @@ class AdaptiveRK45Integrator(IntegratorStrategy): def getName(self) -> java.lang.String: ... def getRelTol(self) -> float: ... def getRelativeTolerance(self) -> float: ... - def setAbsoluteTolerance(self, double: float) -> 'AdaptiveRK45Integrator': ... - def setMaxSubSteps(self, int: int) -> 'AdaptiveRK45Integrator': ... - def setRelativeTolerance(self, double: float) -> 'AdaptiveRK45Integrator': ... - def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + def setAbsoluteTolerance(self, double: float) -> "AdaptiveRK45Integrator": ... + def setMaxSubSteps(self, int: int) -> "AdaptiveRK45Integrator": ... + def setRelativeTolerance(self, double: float) -> "AdaptiveRK45Integrator": ... + def step( + self, + double: float, + double2: float, + slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], + double3: float, + ) -> float: ... class BDFIntegrator(IntegratorStrategy): @typing.overload @@ -57,18 +81,35 @@ class BDFIntegrator(IntegratorStrategy): def getName(self) -> java.lang.String: ... def getTolerance(self) -> float: ... def lastStepFellBack(self) -> bool: ... - def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + def step( + self, + double: float, + double2: float, + slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], + double3: float, + ) -> float: ... class ExplicitEulerIntegrator(IntegratorStrategy): def __init__(self): ... def getName(self) -> java.lang.String: ... - def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... + def step( + self, + double: float, + double2: float, + slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], + double3: float, + ) -> float: ... class RK4Integrator(IntegratorStrategy): def __init__(self): ... def getName(self) -> java.lang.String: ... - def step(self, double: float, double2: float, slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], double3: float) -> float: ... - + def step( + self, + double: float, + double2: float, + slope: typing.Union[IntegratorStrategy.Slope, typing.Callable], + double3: float, + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.dynamics")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/__init__.pyi index ea6fde55..8968f1e3 100644 --- a/src/jneqsim-stubs/process/electricaldesign/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,36 +19,53 @@ import jneqsim.process.electricaldesign.system import jneqsim.process.equipment import typing - - class ElectricalDesign(java.io.Serializable): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getApparentPowerKVA(self) -> float: ... def getCableDeratingFactor(self) -> float: ... def getCableStandard(self) -> java.lang.String: ... - def getControlCable(self) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... + def getControlCable( + self, + ) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... def getDiversityFactor(self) -> float: ... def getElectricalInputKW(self) -> float: ... def getFrequencyHz(self) -> float: ... def getFullLoadCurrentA(self) -> float: ... - def getHazArea(self) -> jneqsim.process.electricaldesign.components.HazardousAreaClassification: ... + def getHazArea( + self, + ) -> jneqsim.process.electricaldesign.components.HazardousAreaClassification: ... def getHazAreaStandard(self) -> java.lang.String: ... - def getMotor(self) -> jneqsim.process.electricaldesign.components.ElectricalMotor: ... + def getMotor( + self, + ) -> jneqsim.process.electricaldesign.components.ElectricalMotor: ... def getMotorSizingMargin(self) -> float: ... def getMotorStandard(self) -> java.lang.String: ... def getPhases(self) -> int: ... - def getPowerCable(self) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... + def getPowerCable( + self, + ) -> jneqsim.process.electricaldesign.components.ElectricalCable: ... def getPowerFactor(self) -> float: ... - def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProcessEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getRatedVoltageV(self) -> float: ... def getReactivePowerKVAR(self) -> float: ... def getShaftPowerKW(self) -> float: ... def getStartingCurrentA(self) -> float: ... - def getSwitchgear(self) -> jneqsim.process.electricaldesign.components.Switchgear: ... + def getSwitchgear( + self, + ) -> jneqsim.process.electricaldesign.components.Switchgear: ... def getTotalElectricalLossesKW(self) -> float: ... - def getTransformer(self) -> jneqsim.process.electricaldesign.components.Transformer: ... - def getVfd(self) -> jneqsim.process.electricaldesign.components.VariableFrequencyDrive: ... + def getTransformer( + self, + ) -> jneqsim.process.electricaldesign.components.Transformer: ... + def getVfd( + self, + ) -> jneqsim.process.electricaldesign.components.VariableFrequencyDrive: ... def isContinuousDuty(self) -> bool: ... def isUseVFD(self) -> bool: ... def readDesignSpecifications(self) -> None: ... @@ -56,25 +73,46 @@ class ElectricalDesign(java.io.Serializable): def setCableDeratingFactor(self, double: float) -> None: ... def setCableStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... def setContinuousDuty(self, boolean: bool) -> None: ... - def setControlCable(self, electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable) -> None: ... + def setControlCable( + self, + electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable, + ) -> None: ... def setDiversityFactor(self, double: float) -> None: ... def setElectricalInputKW(self, double: float) -> None: ... def setFrequencyHz(self, double: float) -> None: ... - def setHazArea(self, hazardousAreaClassification: jneqsim.process.electricaldesign.components.HazardousAreaClassification) -> None: ... - def setHazAreaStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMotor(self, electricalMotor: jneqsim.process.electricaldesign.components.ElectricalMotor) -> None: ... + def setHazArea( + self, + hazardousAreaClassification: jneqsim.process.electricaldesign.components.HazardousAreaClassification, + ) -> None: ... + def setHazAreaStandard( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMotor( + self, + electricalMotor: jneqsim.process.electricaldesign.components.ElectricalMotor, + ) -> None: ... def setMotorSizingMargin(self, double: float) -> None: ... def setMotorStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPhases(self, int: int) -> None: ... - def setPowerCable(self, electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable) -> None: ... + def setPowerCable( + self, + electricalCable: jneqsim.process.electricaldesign.components.ElectricalCable, + ) -> None: ... def setPowerFactor(self, double: float) -> None: ... def setRatedVoltageV(self, double: float) -> None: ... def setReactivePowerKVAR(self, double: float) -> None: ... def setShaftPowerKW(self, double: float) -> None: ... - def setSwitchgear(self, switchgear: jneqsim.process.electricaldesign.components.Switchgear) -> None: ... - def setTransformer(self, transformer: jneqsim.process.electricaldesign.components.Transformer) -> None: ... + def setSwitchgear( + self, switchgear: jneqsim.process.electricaldesign.components.Switchgear + ) -> None: ... + def setTransformer( + self, transformer: jneqsim.process.electricaldesign.components.Transformer + ) -> None: ... def setUseVFD(self, boolean: bool) -> None: ... - def setVfd(self, variableFrequencyDrive: jneqsim.process.electricaldesign.components.VariableFrequencyDrive) -> None: ... + def setVfd( + self, + variableFrequencyDrive: jneqsim.process.electricaldesign.components.VariableFrequencyDrive, + ) -> None: ... def toJson(self) -> java.lang.String: ... class ElectricalDesignResponse(java.io.Serializable): @@ -93,11 +131,12 @@ class ElectricalDesignResponse(java.io.Serializable): def getSwitchgearData(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getTotalLossesKW(self) -> float: ... def getVfdData(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def populateFromElectricalDesign(self, electricalDesign: ElectricalDesign) -> None: ... + def populateFromElectricalDesign( + self, electricalDesign: ElectricalDesign + ) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/components/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/components/__init__.pyi index 8c7b2cd0..70ed0804 100644 --- a/src/jneqsim-stubs/process/electricaldesign/components/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/components/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.lang import java.util import typing - - class ElectricalCable(java.io.Serializable): def __init__(self): ... def calculateVoltageDrop(self, double: float, double2: float) -> float: ... @@ -29,15 +27,30 @@ class ElectricalCable(java.io.Serializable): def getTotalCostUSD(self) -> float: ... def getVoltageDropPercent(self) -> float: ... def setBurialDepthDeratingFactor(self, double: float) -> None: ... - def setConductorMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConductorMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCrossSectionMM2(self, double: float) -> None: ... - def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstallationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLengthM(self, double: float) -> None: ... def setMaxVoltageDropPercent(self, double: float) -> None: ... def setNumberOfCores(self, int: int) -> None: ... - def setRouteReference(self, string: typing.Union[java.lang.String, str]) -> None: ... - def sizeCable(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float) -> None: ... + def setRouteReference( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def sizeCable( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + double4: float, + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -68,7 +81,9 @@ class ElectricalMotor(java.io.Serializable): def getTemperatureClass(self) -> java.lang.String: ... def getWeightKg(self) -> float: ... def setDutyType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEfficiencyClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiencyClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEfficiencyPercent(self, double: float) -> None: ... def setEnclosureType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEstimatedCostUSD(self, double: float) -> None: ... @@ -76,7 +91,9 @@ class ElectricalMotor(java.io.Serializable): def setFrameSize(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFrequencyHz(self, double: float) -> None: ... def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInsulationClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLockedRotorCurrentMultiplier(self, double: float) -> None: ... def setPoles(self, int: int) -> None: ... def setPowerFactorFL(self, double: float) -> None: ... @@ -85,17 +102,25 @@ class ElectricalMotor(java.io.Serializable): def setRatedSpeedRPM(self, double: float) -> None: ... def setRatedVoltageV(self, double: float) -> None: ... def setServiceFactor(self, double: float) -> None: ... - def setStartingMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStartingMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setStartingTorquePercent(self, double: float) -> None: ... - def setTemperatureClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setWeightKg(self, double: float) -> None: ... - def sizeMotor(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def sizeMotor( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class HazardousAreaClassification(java.io.Serializable): def __init__(self): ... - def classify(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> None: ... + def classify( + self, string: typing.Union[java.lang.String, str], boolean: bool, double: float + ) -> None: ... def getClassificationStandard(self) -> java.lang.String: ... def getEquipmentProtectionLevel(self) -> java.lang.String: ... def getExMarking(self) -> java.lang.String: ... @@ -103,11 +128,19 @@ class HazardousAreaClassification(java.io.Serializable): def getRequiredExProtection(self) -> java.lang.String: ... def getTemperatureClass(self) -> java.lang.String: ... def getZone(self) -> java.lang.String: ... - def setClassificationStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEquipmentProtectionLevel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setClassificationStandard( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEquipmentProtectionLevel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGasGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRequiredExProtection(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemperatureClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRequiredExProtection( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTemperatureClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setZone(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -125,7 +158,9 @@ class Switchgear(java.io.Serializable): def getWeightKg(self) -> float: ... def setShortCircuitCurrentKA(self, double: float) -> None: ... def setStarterType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def sizeSwitchgear(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def sizeSwitchgear( + self, double: float, double2: float, double3: float, boolean: bool + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -147,7 +182,9 @@ class Transformer(java.io.Serializable): def setRatedPowerKVA(self, double: float) -> None: ... def setSecondaryVoltageV(self, double: float) -> None: ... def setVectorGroup(self, string: typing.Union[java.lang.String, str]) -> None: ... - def sizeTransformer(self, double: float, double2: float, double3: float) -> None: ... + def sizeTransformer( + self, double: float, double2: float, double3: float + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -177,7 +214,9 @@ class VariableFrequencyDrive(java.io.Serializable): def isRequiresInputFilter(self) -> bool: ... def setCoolingMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEfficiencyPercent(self, double: float) -> None: ... - def setEnclosureRating(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEnclosureRating( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHasActiveRectifier(self, boolean: bool) -> None: ... def setInputPowerFactor(self, double: float) -> None: ... def setInputVoltageV(self, double: float) -> None: ... @@ -186,7 +225,9 @@ class VariableFrequencyDrive(java.io.Serializable): def setMinOutputFrequencyHz(self, double: float) -> None: ... def setMinSpeedPercent(self, double: float) -> None: ... def setOutputVoltageV(self, double: float) -> None: ... - def setPulseConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPulseConfiguration( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRatedCurrentA(self, double: float) -> None: ... def setRatedPowerKW(self, double: float) -> None: ... def setRequiresInputFilter(self, boolean: bool) -> None: ... @@ -196,7 +237,6 @@ class VariableFrequencyDrive(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.components")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/compressor/__init__.pyi index b88473e0..b64e6024 100644 --- a/src/jneqsim-stubs/process/electricaldesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ import jneqsim.process.electricaldesign import jneqsim.process.equipment import typing - - class CompressorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCoolingFanKW(self) -> float: ... def getInstrumentationKW(self) -> float: ... @@ -30,7 +31,6 @@ class CompressorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesi def setHasSealGasSystem(self, boolean: bool) -> None: ... def setInstrumentationKW(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.compressor")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/heatexchanger/__init__.pyi index 9b36c960..440232e3 100644 --- a/src/jneqsim-stubs/process/electricaldesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,17 @@ import jneqsim.process.electricaldesign import jneqsim.process.equipment import typing - - class HeatExchangerElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCoolingWaterPumpKW(self) -> float: ... def getFanEfficiency(self) -> float: ... - def getHeatExchangerType(self) -> 'HeatExchangerElectricalDesign.HeatExchangerType': ... + def getHeatExchangerType( + self, + ) -> "HeatExchangerElectricalDesign.HeatExchangerType": ... def getInstrumentationKW(self) -> float: ... def getNumberOfFans(self) -> int: ... def getTotalAuxiliaryKW(self) -> float: ... @@ -25,23 +28,40 @@ class HeatExchangerElectricalDesign(jneqsim.process.electricaldesign.ElectricalD def readDesignSpecifications(self) -> None: ... def setCoolingWaterPumpKW(self, double: float) -> None: ... def setFanEfficiency(self, double: float) -> None: ... - def setHeatExchangerType(self, heatExchangerType: 'HeatExchangerElectricalDesign.HeatExchangerType') -> None: ... + def setHeatExchangerType( + self, heatExchangerType: "HeatExchangerElectricalDesign.HeatExchangerType" + ) -> None: ... def setInstrumentationKW(self, double: float) -> None: ... def setNumberOfFans(self, int: int) -> None: ... - class HeatExchangerType(java.lang.Enum['HeatExchangerElectricalDesign.HeatExchangerType']): - ELECTRIC_HEATER: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... - AIR_COOLER: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... - SHELL_AND_TUBE: typing.ClassVar['HeatExchangerElectricalDesign.HeatExchangerType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class HeatExchangerType( + java.lang.Enum["HeatExchangerElectricalDesign.HeatExchangerType"] + ): + ELECTRIC_HEATER: typing.ClassVar[ + "HeatExchangerElectricalDesign.HeatExchangerType" + ] = ... + AIR_COOLER: typing.ClassVar[ + "HeatExchangerElectricalDesign.HeatExchangerType" + ] = ... + SHELL_AND_TUBE: typing.ClassVar[ + "HeatExchangerElectricalDesign.HeatExchangerType" + ] = ... + _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: ... + 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]) -> 'HeatExchangerElectricalDesign.HeatExchangerType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerElectricalDesign.HeatExchangerType": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerElectricalDesign.HeatExchangerType']: ... - + def values() -> ( + typing.MutableSequence["HeatExchangerElectricalDesign.HeatExchangerType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.heatexchanger")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/loadanalysis/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/loadanalysis/__init__.pyi index 346bf458..7d69584b 100644 --- a/src/jneqsim-stubs/process/electricaldesign/loadanalysis/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/loadanalysis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,19 +10,17 @@ import java.lang import java.util import typing - - class ElectricalLoadList(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addLoadItem(self, loadItem: 'LoadItem') -> None: ... + def addLoadItem(self, loadItem: "LoadItem") -> None: ... def calculateSummary(self) -> None: ... def clear(self) -> None: ... def getDesignMargin(self) -> float: ... def getLoadCount(self) -> int: ... - def getLoadItems(self) -> java.util.List['LoadItem']: ... + def getLoadItems(self) -> java.util.List["LoadItem"]: ... def getMaximumDemandKVA(self) -> float: ... def getMaximumDemandKW(self) -> float: ... def getOverallPowerFactor(self) -> float: ... @@ -37,7 +35,12 @@ class ElectricalLoadList(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class LoadItem(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... def getAbsorbedPowerKW(self) -> float: ... def getApparentPowerKVA(self) -> float: ... def getDemandFactor(self) -> float: ... @@ -70,7 +73,6 @@ class LoadItem(java.io.Serializable): def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.loadanalysis")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/pipeline/__init__.pyi index 0227a9b0..7a84a45b 100644 --- a/src/jneqsim-stubs/process/electricaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ import jneqsim.process.electricaldesign import jneqsim.process.equipment import typing - - class PipelineElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCathodicProtectionKW(self) -> float: ... def getHeatTracingWPerM(self) -> float: ... @@ -27,7 +28,6 @@ class PipelineElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign def setHeatTracingWPerM(self, double: float) -> None: ... def setInstrumentationKW(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.pipeline")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/pump/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/pump/__init__.pyi index c2f68a29..655dd530 100644 --- a/src/jneqsim-stubs/process/electricaldesign/pump/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,13 @@ import jneqsim.process.electricaldesign import jneqsim.process.equipment import typing - - class PumpElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def readDesignSpecifications(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.pump")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/separator/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/separator/__init__.pyi index 54c1cc8d..f4ebb29a 100644 --- a/src/jneqsim-stubs/process/electricaldesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ import jneqsim.process.electricaldesign import jneqsim.process.equipment import typing - - class SeparatorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getControlValvePowerKW(self) -> float: ... def getHeatTracingKW(self) -> float: ... @@ -29,7 +30,6 @@ class SeparatorElectricalDesign(jneqsim.process.electricaldesign.ElectricalDesig def setLightingKW(self, double: float) -> None: ... def setNumberOfControlValves(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.separator")``. diff --git a/src/jneqsim-stubs/process/electricaldesign/system/__init__.pyi b/src/jneqsim-stubs/process/electricaldesign/system/__init__.pyi index b3c522da..68da2b9b 100644 --- a/src/jneqsim-stubs/process/electricaldesign/system/__init__.pyi +++ b/src/jneqsim-stubs/process/electricaldesign/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import jneqsim.process.electricaldesign.loadanalysis import jneqsim.process.processmodel import typing - - class SystemElectricalDesign(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def calcDesign(self) -> None: ... @@ -19,7 +17,9 @@ class SystemElectricalDesign(java.io.Serializable): def getEmergencyGeneratorKVA(self) -> float: ... def getFrequencyHz(self) -> float: ... def getFutureExpansionFraction(self) -> float: ... - def getLoadList(self) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... + def getLoadList( + self, + ) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... def getMainBusVoltageV(self) -> float: ... def getMainTransformerKVA(self) -> float: ... def getOverallPowerFactor(self) -> float: ... @@ -35,7 +35,6 @@ class SystemElectricalDesign(java.io.Serializable): def setUpsLoadKW(self, double: float) -> None: ... def setUtilityLoadKW(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.electricaldesign.system")``. diff --git a/src/jneqsim-stubs/process/equipment/__init__.pyi b/src/jneqsim-stubs/process/equipment/__init__.pyi index c268156b..53648408 100644 --- a/src/jneqsim-stubs/process/equipment/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -52,179 +52,307 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - -class EquipmentEnum(java.lang.Enum['EquipmentEnum']): - Stream: typing.ClassVar['EquipmentEnum'] = ... - ThrottlingValve: typing.ClassVar['EquipmentEnum'] = ... - Compressor: typing.ClassVar['EquipmentEnum'] = ... - Pump: typing.ClassVar['EquipmentEnum'] = ... - Separator: typing.ClassVar['EquipmentEnum'] = ... - GasScrubber: typing.ClassVar['EquipmentEnum'] = ... - HeatExchanger: typing.ClassVar['EquipmentEnum'] = ... - Cooler: typing.ClassVar['EquipmentEnum'] = ... - Heater: typing.ClassVar['EquipmentEnum'] = ... - Mixer: typing.ClassVar['EquipmentEnum'] = ... - Splitter: typing.ClassVar['EquipmentEnum'] = ... - Reactor: typing.ClassVar['EquipmentEnum'] = ... - GibbsReactor: typing.ClassVar['EquipmentEnum'] = ... - PlugFlowReactor: typing.ClassVar['EquipmentEnum'] = ... - StirredTankReactor: typing.ClassVar['EquipmentEnum'] = ... - CatalyticTubeReformer: typing.ClassVar['EquipmentEnum'] = ... - ReformerFurnace: typing.ClassVar['EquipmentEnum'] = ... - SyngasBurnerZone: typing.ClassVar['EquipmentEnum'] = ... - AutothermalReformer: typing.ClassVar['EquipmentEnum'] = ... - PartialOxidationReactor: typing.ClassVar['EquipmentEnum'] = ... - QuenchSection: typing.ClassVar['EquipmentEnum'] = ... - WaterGasShiftReactor: typing.ClassVar['EquipmentEnum'] = ... - Column: typing.ClassVar['EquipmentEnum'] = ... - DistillationColumn: typing.ClassVar['EquipmentEnum'] = ... - ThreePhaseSeparator: typing.ClassVar['EquipmentEnum'] = ... - Recycle: typing.ClassVar['EquipmentEnum'] = ... - Ejector: typing.ClassVar['EquipmentEnum'] = ... - GORfitter: typing.ClassVar['EquipmentEnum'] = ... - Adjuster: typing.ClassVar['EquipmentEnum'] = ... - SetPoint: typing.ClassVar['EquipmentEnum'] = ... - FlowRateAdjuster: typing.ClassVar['EquipmentEnum'] = ... - Calculator: typing.ClassVar['EquipmentEnum'] = ... - SpreadsheetBlock: typing.ClassVar['EquipmentEnum'] = ... - UnisimCalculator: typing.ClassVar['EquipmentEnum'] = ... - Expander: typing.ClassVar['EquipmentEnum'] = ... - SimpleTEGAbsorber: typing.ClassVar['EquipmentEnum'] = ... - Tank: typing.ClassVar['EquipmentEnum'] = ... - ComponentSplitter: typing.ClassVar['EquipmentEnum'] = ... - ComponentCaptureUnit: typing.ClassVar['EquipmentEnum'] = ... - ReservoirCVDsim: typing.ClassVar['EquipmentEnum'] = ... - ReservoirDiffLibsim: typing.ClassVar['EquipmentEnum'] = ... - VirtualStream: typing.ClassVar['EquipmentEnum'] = ... - ReservoirTPsim: typing.ClassVar['EquipmentEnum'] = ... - SimpleReservoir: typing.ClassVar['EquipmentEnum'] = ... - Manifold: typing.ClassVar['EquipmentEnum'] = ... - Flare: typing.ClassVar['EquipmentEnum'] = ... - FlareStack: typing.ClassVar['EquipmentEnum'] = ... - FuelCell: typing.ClassVar['EquipmentEnum'] = ... - CO2Electrolyzer: typing.ClassVar['EquipmentEnum'] = ... - Electrolyzer: typing.ClassVar['EquipmentEnum'] = ... - WindTurbine: typing.ClassVar['EquipmentEnum'] = ... - BatteryStorage: typing.ClassVar['EquipmentEnum'] = ... - SolarPanel: typing.ClassVar['EquipmentEnum'] = ... - WindFarm: typing.ClassVar['EquipmentEnum'] = ... - OffshoreEnergySystem: typing.ClassVar['EquipmentEnum'] = ... - AmmoniaSynthesisReactor: typing.ClassVar['EquipmentEnum'] = ... - SubseaPowerCable: typing.ClassVar['EquipmentEnum'] = ... - AdiabaticPipe: typing.ClassVar['EquipmentEnum'] = ... - PipeBeggsAndBrills: typing.ClassVar['EquipmentEnum'] = ... - WaterHammerPipe: typing.ClassVar['EquipmentEnum'] = ... - StreamSaturatorUtil: typing.ClassVar['EquipmentEnum'] = ... - WaterStripperColumn: typing.ClassVar['EquipmentEnum'] = ... - Filter: typing.ClassVar['EquipmentEnum'] = ... - SimpleAbsorber: typing.ClassVar['EquipmentEnum'] = ... +class EquipmentEnum(java.lang.Enum["EquipmentEnum"]): + Stream: typing.ClassVar["EquipmentEnum"] = ... + ThrottlingValve: typing.ClassVar["EquipmentEnum"] = ... + Compressor: typing.ClassVar["EquipmentEnum"] = ... + Pump: typing.ClassVar["EquipmentEnum"] = ... + Separator: typing.ClassVar["EquipmentEnum"] = ... + GasScrubber: typing.ClassVar["EquipmentEnum"] = ... + HeatExchanger: typing.ClassVar["EquipmentEnum"] = ... + Cooler: typing.ClassVar["EquipmentEnum"] = ... + Heater: typing.ClassVar["EquipmentEnum"] = ... + Mixer: typing.ClassVar["EquipmentEnum"] = ... + Splitter: typing.ClassVar["EquipmentEnum"] = ... + Reactor: typing.ClassVar["EquipmentEnum"] = ... + GibbsReactor: typing.ClassVar["EquipmentEnum"] = ... + PlugFlowReactor: typing.ClassVar["EquipmentEnum"] = ... + StirredTankReactor: typing.ClassVar["EquipmentEnum"] = ... + CatalyticTubeReformer: typing.ClassVar["EquipmentEnum"] = ... + ReformerFurnace: typing.ClassVar["EquipmentEnum"] = ... + SyngasBurnerZone: typing.ClassVar["EquipmentEnum"] = ... + AutothermalReformer: typing.ClassVar["EquipmentEnum"] = ... + PartialOxidationReactor: typing.ClassVar["EquipmentEnum"] = ... + QuenchSection: typing.ClassVar["EquipmentEnum"] = ... + WaterGasShiftReactor: typing.ClassVar["EquipmentEnum"] = ... + Column: typing.ClassVar["EquipmentEnum"] = ... + DistillationColumn: typing.ClassVar["EquipmentEnum"] = ... + ThreePhaseSeparator: typing.ClassVar["EquipmentEnum"] = ... + Recycle: typing.ClassVar["EquipmentEnum"] = ... + Ejector: typing.ClassVar["EquipmentEnum"] = ... + GORfitter: typing.ClassVar["EquipmentEnum"] = ... + Adjuster: typing.ClassVar["EquipmentEnum"] = ... + SetPoint: typing.ClassVar["EquipmentEnum"] = ... + FlowRateAdjuster: typing.ClassVar["EquipmentEnum"] = ... + Calculator: typing.ClassVar["EquipmentEnum"] = ... + SpreadsheetBlock: typing.ClassVar["EquipmentEnum"] = ... + UnisimCalculator: typing.ClassVar["EquipmentEnum"] = ... + Expander: typing.ClassVar["EquipmentEnum"] = ... + SimpleTEGAbsorber: typing.ClassVar["EquipmentEnum"] = ... + Tank: typing.ClassVar["EquipmentEnum"] = ... + ComponentSplitter: typing.ClassVar["EquipmentEnum"] = ... + ComponentCaptureUnit: typing.ClassVar["EquipmentEnum"] = ... + ReservoirCVDsim: typing.ClassVar["EquipmentEnum"] = ... + ReservoirDiffLibsim: typing.ClassVar["EquipmentEnum"] = ... + VirtualStream: typing.ClassVar["EquipmentEnum"] = ... + ReservoirTPsim: typing.ClassVar["EquipmentEnum"] = ... + SimpleReservoir: typing.ClassVar["EquipmentEnum"] = ... + Manifold: typing.ClassVar["EquipmentEnum"] = ... + Flare: typing.ClassVar["EquipmentEnum"] = ... + FlareStack: typing.ClassVar["EquipmentEnum"] = ... + FuelCell: typing.ClassVar["EquipmentEnum"] = ... + CO2Electrolyzer: typing.ClassVar["EquipmentEnum"] = ... + Electrolyzer: typing.ClassVar["EquipmentEnum"] = ... + WindTurbine: typing.ClassVar["EquipmentEnum"] = ... + BatteryStorage: typing.ClassVar["EquipmentEnum"] = ... + SolarPanel: typing.ClassVar["EquipmentEnum"] = ... + WindFarm: typing.ClassVar["EquipmentEnum"] = ... + OffshoreEnergySystem: typing.ClassVar["EquipmentEnum"] = ... + AmmoniaSynthesisReactor: typing.ClassVar["EquipmentEnum"] = ... + SubseaPowerCable: typing.ClassVar["EquipmentEnum"] = ... + AdiabaticPipe: typing.ClassVar["EquipmentEnum"] = ... + PipeBeggsAndBrills: typing.ClassVar["EquipmentEnum"] = ... + WaterHammerPipe: typing.ClassVar["EquipmentEnum"] = ... + StreamSaturatorUtil: typing.ClassVar["EquipmentEnum"] = ... + WaterStripperColumn: typing.ClassVar["EquipmentEnum"] = ... + Filter: typing.ClassVar["EquipmentEnum"] = ... + SimpleAbsorber: typing.ClassVar["EquipmentEnum"] = ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EquipmentEnum': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EquipmentEnum": ... @staticmethod - def values() -> typing.MutableSequence['EquipmentEnum']: ... + def values() -> typing.MutableSequence["EquipmentEnum"]: ... class EquipmentFactory: @staticmethod - def createCompressor(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> jneqsim.process.equipment.compressor.Compressor: ... + def createCompressor( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> jneqsim.process.equipment.compressor.Compressor: ... @staticmethod - def createCooler(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.heatexchanger.Cooler: ... + def createCooler( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.heatexchanger.Cooler: ... @staticmethod - def createEjector(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.ejector.Ejector: ... + def createEjector( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.ejector.Ejector: ... @typing.overload @staticmethod - def createEquipment(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEquipmentInterface': ... + def createEquipment( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessEquipmentInterface": ... @typing.overload @staticmethod - def createEquipment(string: typing.Union[java.lang.String, str], equipmentEnum: EquipmentEnum) -> 'ProcessEquipmentInterface': ... + def createEquipment( + string: typing.Union[java.lang.String, str], equipmentEnum: EquipmentEnum + ) -> "ProcessEquipmentInterface": ... @staticmethod - def createExpander(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.equipment.expander.Expander: ... + def createExpander( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> jneqsim.process.equipment.expander.Expander: ... @staticmethod - def createGORfitter(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.util.GORfitter: ... + def createGORfitter( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.util.GORfitter: ... @staticmethod - def createHeater(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.heatexchanger.Heater: ... + def createHeater( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.heatexchanger.Heater: ... @staticmethod - def createMixer(string: typing.Union[java.lang.String, str], *streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.mixer.Mixer: ... + def createMixer( + string: typing.Union[java.lang.String, str], + *streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.mixer.Mixer: ... @staticmethod - def createPump(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.equipment.pump.Pump: ... + def createPump( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> jneqsim.process.equipment.pump.Pump: ... @staticmethod - def createReservoirCVDsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirCVDsim: ... + def createReservoirCVDsim( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.process.equipment.reservoir.ReservoirCVDsim: ... @staticmethod - def createReservoirDiffLibsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirDiffLibsim: ... + def createReservoirDiffLibsim( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.process.equipment.reservoir.ReservoirDiffLibsim: ... @staticmethod - def createReservoirTPsim(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.reservoir.ReservoirTPsim: ... + def createReservoirTPsim( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.process.equipment.reservoir.ReservoirTPsim: ... @staticmethod - def createSeparator(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.separator.Separator: ... + def createSeparator( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.separator.Separator: ... @staticmethod - def createStream(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], double3: float, string4: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.Stream: ... + def createStream( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + string3: typing.Union[java.lang.String, str], + double3: float, + string4: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.stream.Stream: ... @staticmethod - def createThreePhaseSeparator(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... + def createThreePhaseSeparator( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... @staticmethod - def createValve(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def createValve( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> jneqsim.process.equipment.valve.ThrottlingValve: ... -class ProcessEquipmentInterface(jneqsim.process.ProcessElementInterface, jneqsim.process.SimulationInterface): - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addController(self, string: typing.Union[java.lang.String, str], controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... +class ProcessEquipmentInterface( + jneqsim.process.ProcessElementInterface, jneqsim.process.SimulationInterface +): + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addController( + self, + string: typing.Union[java.lang.String, str], + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... def applyMechanicalDesignCapacityConstraints(self) -> int: ... @staticmethod - def createStateEntry(double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + def createStateEntry( + double: float, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, typing.Any]: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getAvailableMargin(self) -> float: ... def getAvailableMarginPercent(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... @typing.overload - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - @typing.overload - def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getControllers(self) -> java.util.Collection[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... - def getDesignConditions(self) -> jneqsim.process.mechanicaldesign.DesignConditions: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.ElectricalDesign: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... - @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getController( + self, + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + @typing.overload + def getController( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers( + self, + ) -> java.util.Collection[ + jneqsim.process.controllerdevice.ControllerDeviceInterface + ]: ... + def getDesignConditions( + self, + ) -> jneqsim.process.mechanicaldesign.DesignConditions: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... + @typing.overload + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.InstrumentDesign: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInstrumentDesign( + self, + ) -> jneqsim.process.instrumentdesign.InstrumentDesign: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaxUtilization(self) -> float: ... def getMaxUtilizationPercent(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getMinimumFlow(self) -> float: ... def getOperatingEnvelopeViolation(self) -> java.lang.String: ... - def getOutletFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getPressure(self) -> float: ... @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getReferenceDesignation( + self, + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... def getReferenceDesignationString(self) -> java.lang.String: ... def getReport_json(self) -> java.lang.String: ... def getRestCapacity(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... def getSpecification(self) -> java.lang.String: ... @typing.overload @@ -248,21 +376,35 @@ class ProcessEquipmentInterface(jneqsim.process.ProcessElementInterface, jneqsim def isSimulationValid(self) -> bool: ... def isWithinOperatingEnvelope(self) -> bool: ... def needRecalculation(self) -> bool: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def runConditionAnalysis(self, processEquipmentInterface: 'ProcessEquipmentInterface') -> None: ... - def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... - def setDesignConditions(self, designConditions: jneqsim.process.mechanicaldesign.DesignConditions) -> None: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def runConditionAnalysis( + self, processEquipmentInterface: "ProcessEquipmentInterface" + ) -> None: ... + def setController( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... + def setDesignConditions( + self, designConditions: jneqsim.process.mechanicaldesign.DesignConditions + ) -> None: ... def setLockedInactive(self, boolean: bool) -> None: ... def setMinimumFlow(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... - def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setReferenceDesignation( + self, + referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation, + ) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTemperature(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class TwoPortInterface: @@ -275,75 +417,125 @@ class TwoPortInterface: def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletTemperature(self) -> float: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... @typing.overload def setOutPressure(self, double: float) -> None: ... @typing.overload - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... -class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface): +class ProcessEquipmentBaseClass( + jneqsim.process.SimulationBaseClass, ProcessEquipmentInterface +): hasController: bool = ... report: typing.MutableSequence[typing.MutableSequence[java.lang.String]] = ... properties: java.util.HashMap = ... energyStream: jneqsim.process.equipment.stream.EnergyStream = ... conditionAnalysisMessage: java.lang.String = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addController(self, string: typing.Union[java.lang.String, str], controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addController( + self, + string: typing.Union[java.lang.String, str], + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... def applyMechanicalDesignCapacityConstraints(self) -> int: ... def copy(self) -> ProcessEquipmentInterface: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getAvailableMargin(self) -> float: ... def getAvailableMarginPercent(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... def getConstraintEvaluationReport(self) -> java.lang.String: ... @typing.overload - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - @typing.overload - def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getControllers(self) -> java.util.Collection[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... - def getDesignConditions(self) -> jneqsim.process.mechanicaldesign.DesignConditions: ... + def getController( + self, + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + @typing.overload + def getController( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers( + self, + ) -> java.util.Collection[ + jneqsim.process.controllerdevice.ControllerDeviceInterface + ]: ... + def getDesignConditions( + self, + ) -> jneqsim.process.mechanicaldesign.DesignConditions: ... def getEffectiveCapacityFactor(self) -> float: ... def getEnergyStream(self) -> jneqsim.process.equipment.stream.EnergyStream: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getFailureMode( + self, + ) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaxUtilization(self) -> float: ... def getMaxUtilizationPercent(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getMinimumFlow(self) -> float: ... @typing.overload def getPressure(self) -> float: ... @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... - def getReferenceDesignation(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... + def getProperty( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... + def getReferenceDesignation( + self, + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignation: ... def getReport_json(self) -> java.lang.String: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecification(self) -> java.lang.String: ... @typing.overload def getTemperature(self) -> float: ... @@ -366,26 +558,46 @@ class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEqui def isLockedInactive(self) -> bool: ... def isNearCapacityLimit(self) -> bool: ... def isSetEnergyStream(self) -> bool: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def restoreFromFailure(self) -> None: ... - def runConditionAnalysis(self, processEquipmentInterface: ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, processEquipmentInterface: ProcessEquipmentInterface + ) -> None: ... @typing.overload def run_step(self) -> None: ... @typing.overload def run_step(self, uUID: java.util.UUID) -> None: ... def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... - def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... - def setDesignConditions(self, designConditions: jneqsim.process.mechanicaldesign.DesignConditions) -> None: ... + def setController( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... + def setDesignConditions( + self, designConditions: jneqsim.process.mechanicaldesign.DesignConditions + ) -> None: ... @typing.overload def setEnergyStream(self, boolean: bool) -> None: ... @typing.overload - def setEnergyStream(self, energyStream: jneqsim.process.equipment.stream.EnergyStream) -> None: ... - def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... - def setFlowValveController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setEnergyStream( + self, energyStream: jneqsim.process.equipment.stream.EnergyStream + ) -> None: ... + def setFailureMode( + self, + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> None: ... + def setFlowValveController( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... def setLockedInactive(self, boolean: bool) -> None: ... def setMinimumFlow(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... - def setReferenceDesignation(self, referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation) -> None: ... + def setReferenceDesignation( + self, + referenceDesignation: jneqsim.process.equipment.iec81346.ReferenceDesignation, + ) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTemperature(self, double: float) -> None: ... @@ -395,57 +607,88 @@ class ProcessEquipmentBaseClass(jneqsim.process.SimulationBaseClass, ProcessEqui @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class MultiPortEquipment(ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def addInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... class TwoPortEquipment(ProcessEquipmentBaseClass, TwoPortInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getInletPressure(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getInletTemperature(self) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment")``. diff --git a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi index 143870d4..73ada16c 100644 --- a/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/absorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,8 +15,6 @@ import jneqsim.process.mechanicaldesign.absorber import jneqsim.process.util.report import typing - - class AbsorberInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... @@ -26,10 +24,18 @@ class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): @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 calculateHourlyCost(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def calculateHourlyCost( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def calculateRequiredInjectionRate(self) -> float: ... - def getActualScavengerConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getActualScavengerConsumption( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getContactTime(self) -> float: ... def getH2SRemovalEfficiency(self) -> float: ... def getH2SRemovalEfficiencyPercent(self) -> float: ... @@ -40,8 +46,10 @@ class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): def getPerformanceSummary(self) -> java.lang.String: ... def getScavengerConcentration(self) -> float: ... def getScavengerExcess(self) -> float: ... - def getScavengerInjectionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getScavengerType(self) -> 'H2SScavenger.ScavengerType': ... + def getScavengerInjectionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getScavengerType(self) -> "H2SScavenger.ScavengerType": ... def getTargetH2SConcentration(self) -> float: ... @typing.overload def run(self) -> None: ... @@ -50,13 +58,18 @@ class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): def setContactTime(self, double: float) -> None: ... def setMixingEfficiency(self, double: float) -> None: ... def setScavengerConcentration(self, double: float) -> None: ... - def setScavengerInjectionRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setScavengerType(self, scavengerType: 'H2SScavenger.ScavengerType') -> None: ... + def setScavengerInjectionRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setScavengerType(self, scavengerType: "H2SScavenger.ScavengerType") -> None: ... def setTargetH2SConcentration(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... + class H2SScavengerResponse: name: java.lang.String = ... scavengerType: java.lang.String = ... @@ -69,47 +82,67 @@ class H2SScavenger(jneqsim.process.equipment.TwoPortEquipment): h2sRemovedKgPerHr: float = ... scavengerConsumptionKgPerHr: float = ... scavengerExcessPercent: float = ... - def __init__(self, h2SScavenger: 'H2SScavenger'): ... - class ScavengerType(java.lang.Enum['H2SScavenger.ScavengerType']): - TRIAZINE: typing.ClassVar['H2SScavenger.ScavengerType'] = ... - GLYOXAL: typing.ClassVar['H2SScavenger.ScavengerType'] = ... - IRON_SPONGE: typing.ClassVar['H2SScavenger.ScavengerType'] = ... - CAUSTIC: typing.ClassVar['H2SScavenger.ScavengerType'] = ... - LIQUID_REDOX: typing.ClassVar['H2SScavenger.ScavengerType'] = ... + def __init__(self, h2SScavenger: "H2SScavenger"): ... + + class ScavengerType(java.lang.Enum["H2SScavenger.ScavengerType"]): + TRIAZINE: typing.ClassVar["H2SScavenger.ScavengerType"] = ... + GLYOXAL: typing.ClassVar["H2SScavenger.ScavengerType"] = ... + IRON_SPONGE: typing.ClassVar["H2SScavenger.ScavengerType"] = ... + CAUSTIC: typing.ClassVar["H2SScavenger.ScavengerType"] = ... + LIQUID_REDOX: typing.ClassVar["H2SScavenger.ScavengerType"] = ... def getBaseEfficiency(self) -> float: ... def getBaseStoichiometry(self) -> float: ... def getDensity(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'H2SScavenger.ScavengerType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "H2SScavenger.ScavengerType": ... @staticmethod - def values() -> typing.MutableSequence['H2SScavenger.ScavengerType']: ... + def values() -> typing.MutableSequence["H2SScavenger.ScavengerType"]: ... class SimpleAmineRegenerator(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 getAcidGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getAcidGasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getAmineConcentrationWtPct(self) -> float: ... def getAmineType(self) -> java.lang.String: ... def getCondenserTemperatureC(self) -> float: ... def getDesignSummary(self) -> java.lang.String: ... def getDesorptionDutyKW(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getLeanAmineOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLeanAmineOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLeanLoading(self) -> float: ... def getLeanLoadingTarget(self) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getReboilerDutyKW(self) -> float: ... def getReboilerTemperatureC(self) -> float: ... def getRegenerationEfficiency(self) -> float: ... - def getRichAmineInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRichAmineInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getRichLoading(self) -> float: ... def getSensibleDutyKW(self) -> float: ... def getSpecificReboilerDutyMJperKgCO2(self) -> float: ... @@ -125,37 +158,55 @@ class SimpleAmineRegenerator(jneqsim.process.equipment.ProcessEquipmentBaseClass def setLeanLoadingTarget(self, double: float) -> None: ... def setReboilerTemperatureC(self, double: float) -> None: ... def setRegenerationEfficiency(self, double: float) -> None: ... - def setRichAmineInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setRichAmineInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setStrippingSteamMolRatio(self, double: float) -> None: ... class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInterface): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getFsFactor(self) -> float: ... def getHTU(self) -> float: ... - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.absorber.AbsorberMechanicalDesign: ... def getNTU(self) -> float: ... def getNumberOfStages(self) -> int: ... def getNumberOfTheoreticalStages(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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... @typing.overload def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutletStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self, int: int) -> float: ... - def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStageEfficiency(self) -> float: ... def getWettingRate(self) -> float: ... @typing.overload @@ -175,18 +226,24 @@ class SimpleAbsorber(jneqsim.process.equipment.separator.Separator, AbsorberInte class RateBasedAbsorber(SimpleAbsorber): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addGasInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addSolventInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def getColumnDiameter(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getHeightOfTransferUnit(self) -> float: ... - def getMassTransferModel(self) -> 'RateBasedAbsorber.MassTransferModel': ... + def getMassTransferModel(self) -> "RateBasedAbsorber.MassTransferModel": ... def getNumberOfTransferUnits(self) -> float: ... def getOverallKGa(self) -> float: ... def getOverallKLa(self) -> float: ... def getPackedHeight(self) -> float: ... - def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getStageResults(self) -> java.util.List['RateBasedAbsorber.StageResult']: ... + def getSolventOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStageResults(self) -> java.util.List["RateBasedAbsorber.StageResult"]: ... def getWettedArea(self) -> float: ... @typing.overload def run(self) -> None: ... @@ -194,8 +251,12 @@ class RateBasedAbsorber(SimpleAbsorber): def run(self, uUID: java.util.UUID) -> None: ... def setBilletSchultesConstants(self, double: float, double2: float) -> None: ... def setColumnDiameter(self, double: float) -> None: ... - def setEnhancementModel(self, enhancementModel: 'RateBasedAbsorber.EnhancementModel') -> None: ... - def setMassTransferModel(self, massTransferModel: 'RateBasedAbsorber.MassTransferModel') -> None: ... + def setEnhancementModel( + self, enhancementModel: "RateBasedAbsorber.EnhancementModel" + ) -> None: ... + def setMassTransferModel( + self, massTransferModel: "RateBasedAbsorber.MassTransferModel" + ) -> None: ... def setPackedHeight(self, double: float) -> None: ... def setPackingCriticalSurfaceTension(self, double: float) -> None: ... def setPackingNominalSize(self, double: float) -> None: ... @@ -203,31 +264,54 @@ class RateBasedAbsorber(SimpleAbsorber): def setPackingVoidFraction(self, double: float) -> None: ... def setReactionRateConstant(self, double: float) -> None: ... def setStoichiometricRatio(self, double: float) -> None: ... - class EnhancementModel(java.lang.Enum['RateBasedAbsorber.EnhancementModel']): - NONE: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... - HATTA_PSEUDO_FIRST_ORDER: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... - VAN_KREVELEN_HOFTIJZER: typing.ClassVar['RateBasedAbsorber.EnhancementModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EnhancementModel(java.lang.Enum["RateBasedAbsorber.EnhancementModel"]): + NONE: typing.ClassVar["RateBasedAbsorber.EnhancementModel"] = ... + HATTA_PSEUDO_FIRST_ORDER: typing.ClassVar[ + "RateBasedAbsorber.EnhancementModel" + ] = ... + VAN_KREVELEN_HOFTIJZER: typing.ClassVar[ + "RateBasedAbsorber.EnhancementModel" + ] = ... + _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: ... + 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]) -> 'RateBasedAbsorber.EnhancementModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RateBasedAbsorber.EnhancementModel": ... @staticmethod - def values() -> typing.MutableSequence['RateBasedAbsorber.EnhancementModel']: ... - class MassTransferModel(java.lang.Enum['RateBasedAbsorber.MassTransferModel']): - ONDA_1968: typing.ClassVar['RateBasedAbsorber.MassTransferModel'] = ... - BILLET_SCHULTES_1999: typing.ClassVar['RateBasedAbsorber.MassTransferModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["RateBasedAbsorber.EnhancementModel"] + ): ... + + class MassTransferModel(java.lang.Enum["RateBasedAbsorber.MassTransferModel"]): + ONDA_1968: typing.ClassVar["RateBasedAbsorber.MassTransferModel"] = ... + BILLET_SCHULTES_1999: typing.ClassVar["RateBasedAbsorber.MassTransferModel"] = ( + ... + ) + _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: ... + 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]) -> 'RateBasedAbsorber.MassTransferModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RateBasedAbsorber.MassTransferModel": ... @staticmethod - def values() -> typing.MutableSequence['RateBasedAbsorber.MassTransferModel']: ... + def values() -> ( + typing.MutableSequence["RateBasedAbsorber.MassTransferModel"] + ): ... + class StageResult(java.io.Serializable): stageNumber: int = ... temperature: float = ... @@ -251,10 +335,18 @@ class SimpleAmineAbsorber(SimpleAbsorber): @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 calcDemisterKFactor(self, double: float, double2: float, double3: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def calcDemisterKFactor( + self, double: float, double2: float, double3: float + ) -> float: ... def calcPackingHeight(self, double: float, double2: float) -> None: ... - def calcRequiredCirculationRate(self, double: float, double2: float, double3: float) -> float: ... + def calcRequiredCirculationRate( + self, double: float, double2: float, double3: float + ) -> float: ... def calcRichAmineLoading(self, double: float) -> float: ... def checkAmineTemperatureMargin(self, double: float, double2: float) -> bool: ... def getAmineConcentrationWtPct(self) -> float: ... @@ -268,19 +360,31 @@ class SimpleAmineAbsorber(SimpleAbsorber): def getFoamingDesignMargin(self) -> float: ... def getGasCarryUnder(self) -> float: ... def getH2SRemovalEfficiency(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getLeanAmineInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLeanAmineInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLeanAmineLoading(self) -> float: ... def getMaxDemisterKFactor(self) -> float: ... def getMaxPackingHeightPerSection(self) -> float: ... def getNumberOfPackingSections(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getRequiredCirculationRate(self) -> float: ... def getRequiredPackingHeight(self) -> float: ... def getRichAmineLoading(self) -> float: ... - def getRichAmineOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSourGasInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSweetGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRichAmineOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSourGasInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSweetGasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def isAmineTemperatureAdequate(self) -> bool: ... def isDemisterWithinLimit(self) -> bool: ... @typing.overload @@ -295,25 +399,45 @@ class SimpleAmineAbsorber(SimpleAbsorber): def setFoamingDesignMargin(self, double: float) -> None: ... def setGasCarryUnder(self, double: float) -> None: ... def setH2SRemovalEfficiency(self, double: float) -> None: ... - def setLeanAmineInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setLeanAmineInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setLeanAmineLoading(self, double: float) -> None: ... def setMaxPackingHeightPerSection(self, double: float) -> None: ... - def setSourGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def validateDesign(self) -> java.util.Map[java.lang.String, 'SimpleAmineAbsorber.DesignCheck']: ... + def setSourGasInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def validateDesign( + self, + ) -> java.util.Map[java.lang.String, "SimpleAmineAbsorber.DesignCheck"]: ... + class DesignCheck(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + boolean: bool, + string2: typing.Union[java.lang.String, str], + ): ... def getDetail(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def isPassed(self) -> bool: ... class SimpleTEGAbsorber(SimpleAbsorber): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addGasInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addSolventInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcEa(self) -> float: ... def calcMixStreamEnthalpy(self) -> float: ... - def calcNTU(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calcNTU( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calcNumberOfTheoreticalStages(self) -> float: ... def calcY0(self) -> float: ... def displayResult(self) -> None: ... @@ -326,73 +450,115 @@ class SimpleTEGAbsorber(SimpleAbsorber): def getGasLoadFactor(self, int: int) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLeanTEGEquilibriumWaterDewPoint(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMaxAllowableFsFactor(self) -> float: ... def getMinimumDiameterForFsLimit(self) -> float: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def guessTemperature(self) -> float: ... def hasAdequateTEGQualityMargin(self, double: float, double2: float) -> bool: ... def isFsFactorWithinDesignLimit(self) -> bool: ... def isSetWaterInDryGas(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... - def replaceSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceSolventInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - def setGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + def setGasOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setPressure(self, double: float) -> None: ... - def setSolventOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSolventOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setWaterInDryGas(self, double: float) -> None: ... def validateContactorDesign(self) -> java.lang.String: ... class WaterStripperColumn(SimpleAbsorber): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addGasInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addGasInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addSolventInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcEa(self) -> float: ... def calcMixStreamEnthalpy(self) -> float: ... - def calcNTU(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calcNTU( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calcNumberOfTheoreticalStages(self) -> float: ... def calcX0(self) -> float: ... def displayResult(self) -> None: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSolventInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSolventOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventInStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolventOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getWaterDewPointTemperature(self) -> float: ... def guessTemperature(self) -> float: ... def mixStream(self) -> None: ... - def replaceSolventInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceSolventInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setGasOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setPressure(self, double: float) -> None: ... - def setSolventOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSolventOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setWaterDewPointTemperature(self, double: float, double2: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.absorber")``. diff --git a/src/jneqsim-stubs/process/equipment/adsorber/__init__.pyi b/src/jneqsim-stubs/process/equipment/adsorber/__init__.pyi index 33993329..c39e4065 100644 --- a/src/jneqsim-stubs/process/equipment/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/adsorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,13 +16,15 @@ import jneqsim.process.util.report import jneqsim.util.validation import typing - - class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAdsorbentBulkDensity(self) -> float: ... def getAdsorbentMass(self) -> float: ... def getAdsorbentMaterial(self) -> java.lang.String: ... @@ -33,10 +35,18 @@ class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): def getBedVolume(self) -> float: ... def getBreakthroughTime(self) -> float: ... def getConcentrationProfile(self, int: int) -> typing.MutableSequence[float]: ... - def getCurrentPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... + def getCurrentPhase(self) -> "AdsorptionCycleController.CyclePhase": ... def getElapsedTime(self) -> float: ... - def getIsothermModel(self) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface: ... - def getIsothermType(self) -> jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType: ... + def getIsothermModel( + self, + ) -> ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.AdsorptionInterface + ): ... + def getIsothermType( + self, + ) -> ( + jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType + ): ... def getKLDF(self, int: int) -> float: ... def getLoadingProfile(self, int: int) -> typing.MutableSequence[float]: ... def getMassTransferZoneLength(self, int: int) -> float: ... @@ -62,7 +72,9 @@ class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setAdsorbentBulkDensity(self, double: float) -> None: ... - def setAdsorbentMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAdsorbentMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBedDiameter(self, double: float) -> None: ... def setBedLength(self, double: float) -> None: ... def setBreakthroughThreshold(self, double: float) -> None: ... @@ -70,7 +82,10 @@ class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): def setDesorptionMode(self, boolean: bool) -> None: ... def setDesorptionPressure(self, double: float) -> None: ... def setDesorptionTemperature(self, double: float) -> None: ... - def setIsothermType(self, isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType) -> None: ... + def setIsothermType( + self, + isothermType: jneqsim.physicalproperties.interfaceproperties.solidadsorption.IsothermType, + ) -> None: ... @typing.overload def setKLDF(self, double: float) -> None: ... @typing.overload @@ -81,49 +96,81 @@ class AdsorptionBed(jneqsim.process.equipment.TwoPortEquipment): def setPurgeFlowRate(self, double: float) -> None: ... def setVoidFraction(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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 AdsorptionCycleController(java.io.Serializable): def __init__(self, adsorptionBed: AdsorptionBed): ... - def addStep(self, phaseStep: 'AdsorptionCycleController.PhaseStep') -> 'AdsorptionCycleController': ... + def addStep( + self, phaseStep: "AdsorptionCycleController.PhaseStep" + ) -> "AdsorptionCycleController": ... def advance(self, double: float, uUID: java.util.UUID) -> None: ... - def configurePSA(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'AdsorptionCycleController': ... - def configureTSA(self, double: float, double2: float, double3: float, double4: float) -> 'AdsorptionCycleController': ... + def configurePSA( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "AdsorptionCycleController": ... + def configureTSA( + self, double: float, double2: float, double3: float, double4: float + ) -> "AdsorptionCycleController": ... def getCompletedCycles(self) -> int: ... - def getCurrentPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... - def getSchedule(self) -> java.util.List['AdsorptionCycleController.PhaseStep']: ... + def getCurrentPhase(self) -> "AdsorptionCycleController.CyclePhase": ... + def getSchedule(self) -> java.util.List["AdsorptionCycleController.PhaseStep"]: ... def getTimeInCurrentStep(self) -> float: ... def reset(self) -> None: ... def setAutoLoop(self, boolean: bool) -> None: ... def setTransitionOnBreakthrough(self, boolean: bool) -> None: ... - class CyclePhase(java.lang.Enum['AdsorptionCycleController.CyclePhase']): - ADSORPTION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - COCURRENT_DEPRESSURISATION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - BLOWDOWN: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - PURGE: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - REPRESSURISATION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - DESORPTION: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - COOLING: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - STANDBY: typing.ClassVar['AdsorptionCycleController.CyclePhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CyclePhase(java.lang.Enum["AdsorptionCycleController.CyclePhase"]): + ADSORPTION: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + COCURRENT_DEPRESSURISATION: typing.ClassVar[ + "AdsorptionCycleController.CyclePhase" + ] = ... + BLOWDOWN: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + PURGE: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + REPRESSURISATION: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + DESORPTION: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + COOLING: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + STANDBY: typing.ClassVar["AdsorptionCycleController.CyclePhase"] = ... + _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: ... + 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]) -> 'AdsorptionCycleController.CyclePhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AdsorptionCycleController.CyclePhase": ... @staticmethod - def values() -> typing.MutableSequence['AdsorptionCycleController.CyclePhase']: ... + def values() -> ( + typing.MutableSequence["AdsorptionCycleController.CyclePhase"] + ): ... + class PhaseStep(java.io.Serializable): @typing.overload - def __init__(self, cyclePhase: 'AdsorptionCycleController.CyclePhase', double: float): ... + def __init__( + self, cyclePhase: "AdsorptionCycleController.CyclePhase", double: float + ): ... @typing.overload - def __init__(self, cyclePhase: 'AdsorptionCycleController.CyclePhase', double: float, double2: float, double3: float): ... + def __init__( + self, + cyclePhase: "AdsorptionCycleController.CyclePhase", + double: float, + double2: float, + double3: float, + ): ... def getDuration(self) -> float: ... - def getPhase(self) -> 'AdsorptionCycleController.CyclePhase': ... + def getPhase(self) -> "AdsorptionCycleController.CyclePhase": ... def getTargetPressure(self) -> float: ... def getTargetTemperature(self) -> float: ... @@ -131,7 +178,11 @@ class MercuryRemovalBed(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def estimateBedLifetime(self) -> float: ... def getActivationEnergy(self) -> float: ... def getAverageLoading(self) -> float: ... @@ -147,7 +198,9 @@ class MercuryRemovalBed(jneqsim.process.equipment.TwoPortEquipment): def getLoadingProfile(self) -> typing.MutableSequence[float]: ... def getMassTransferZoneLength(self) -> float: ... def getMaxMercuryCapacity(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.adsorber.MercuryRemovalMechanicalDesign: ... def getNumberOfCells(self) -> int: ... def getParticleDiameter(self) -> float: ... @typing.overload @@ -191,7 +244,9 @@ class MercuryRemovalBed(jneqsim.process.equipment.TwoPortEquipment): def setSorbentType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setVoidFraction(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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: ... @@ -200,69 +255,97 @@ class PSACascade(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCascadeRecoveryTarget(self) -> float: ... - def getConfiguration(self) -> 'PSACascade.CascadeConfiguration': ... + def getConfiguration(self) -> "PSACascade.CascadeConfiguration": ... def getCycleTime(self) -> float: ... def getH2Purity(self) -> float: ... def getH2Recovery(self) -> float: ... def getNumberOfBeds(self) -> int: ... def getPerBedRecoveryTarget(self) -> float: ... - def getSorbent(self) -> 'PressureSwingAdsorptionBed.SorbentType': ... + def getSorbent(self) -> "PressureSwingAdsorptionBed.SorbentType": ... def getTailGasStream(self) -> jneqsim.process.equipment.stream.Stream: ... - def getTemplateBed(self) -> 'PressureSwingAdsorptionBed': ... + def getTemplateBed(self) -> "PressureSwingAdsorptionBed": ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setBedDiameter(self, double: float) -> None: ... def setBedLength(self, double: float) -> None: ... - def setConfiguration(self, cascadeConfiguration: 'PSACascade.CascadeConfiguration') -> None: ... + def setConfiguration( + self, cascadeConfiguration: "PSACascade.CascadeConfiguration" + ) -> None: ... def setCycleTime(self, double: float) -> None: ... def setPerBedRecoveryTarget(self, double: float) -> None: ... - def setSorbent(self, sorbentType: 'PressureSwingAdsorptionBed.SorbentType') -> None: ... - class CascadeConfiguration(java.lang.Enum['PSACascade.CascadeConfiguration']): - BEDS_2: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... - BEDS_4: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... - BEDS_6: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... - BEDS_8: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... - BEDS_10: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... - BEDS_12: typing.ClassVar['PSACascade.CascadeConfiguration'] = ... + def setSorbent( + self, sorbentType: "PressureSwingAdsorptionBed.SorbentType" + ) -> None: ... + + class CascadeConfiguration(java.lang.Enum["PSACascade.CascadeConfiguration"]): + BEDS_2: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... + BEDS_4: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... + BEDS_6: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... + BEDS_8: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... + BEDS_10: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... + BEDS_12: typing.ClassVar["PSACascade.CascadeConfiguration"] = ... def getBeds(self) -> int: ... def getEqualisations(self) -> int: ... def getRecoveryUplift(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PSACascade.CascadeConfiguration': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PSACascade.CascadeConfiguration": ... @staticmethod - def values() -> typing.MutableSequence['PSACascade.CascadeConfiguration']: ... + def values() -> typing.MutableSequence["PSACascade.CascadeConfiguration"]: ... class SimpleAdsorber(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getHTU(self) -> float: ... - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.adsorber.AdsorberMechanicalDesign: ... def getNTU(self) -> float: ... def getNumberOfStages(self) -> int: ... def getNumberOfTheoreticalStages(self) -> float: ... - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... - def getOutletStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self, int: int) -> float: ... def getStageEfficiency(self) -> float: ... @@ -285,11 +368,15 @@ class PressureSwingAdsorptionBed(AdsorptionBed): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getH2Purity(self) -> float: ... def getH2Recovery(self) -> float: ... def getRecoveryTarget(self) -> float: ... - def getSorbent(self) -> 'PressureSwingAdsorptionBed.SorbentType': ... + def getSorbent(self) -> "PressureSwingAdsorptionBed.SorbentType": ... def getTailGasComposition(self) -> typing.MutableSequence[float]: ... def getTailGasMoleFlow(self) -> typing.MutableSequence[float]: ... @typing.overload @@ -297,22 +384,33 @@ class PressureSwingAdsorptionBed(AdsorptionBed): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setRecoveryTarget(self, double: float) -> None: ... - def setSorbent(self, sorbentType: 'PressureSwingAdsorptionBed.SorbentType') -> None: ... - class SorbentType(java.lang.Enum['PressureSwingAdsorptionBed.SorbentType']): - ACTIVATED_CARBON: typing.ClassVar['PressureSwingAdsorptionBed.SorbentType'] = ... - ZEOLITE_13X: typing.ClassVar['PressureSwingAdsorptionBed.SorbentType'] = ... + def setSorbent( + self, sorbentType: "PressureSwingAdsorptionBed.SorbentType" + ) -> None: ... + + class SorbentType(java.lang.Enum["PressureSwingAdsorptionBed.SorbentType"]): + ACTIVATED_CARBON: typing.ClassVar["PressureSwingAdsorptionBed.SorbentType"] = ( + ... + ) + ZEOLITE_13X: typing.ClassVar["PressureSwingAdsorptionBed.SorbentType"] = ... def getDefaultBulkDensity(self) -> float: ... def getMaterial(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PressureSwingAdsorptionBed.SorbentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PressureSwingAdsorptionBed.SorbentType": ... @staticmethod - def values() -> typing.MutableSequence['PressureSwingAdsorptionBed.SorbentType']: ... - + def values() -> ( + typing.MutableSequence["PressureSwingAdsorptionBed.SorbentType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.adsorber")``. diff --git a/src/jneqsim-stubs/process/equipment/battery/__init__.pyi b/src/jneqsim-stubs/process/equipment/battery/__init__.pyi index 11d61d4c..2e63cf24 100644 --- a/src/jneqsim-stubs/process/equipment/battery/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/battery/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.util import jneqsim.process.equipment import typing - - class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @@ -31,7 +29,6 @@ class BatteryStorage(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setCapacity(self, double: float) -> None: ... def setStateOfCharge(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.battery")``. diff --git a/src/jneqsim-stubs/process/equipment/blackoil/__init__.pyi b/src/jneqsim-stubs/process/equipment/blackoil/__init__.pyi index 0175f6e8..e90da0f0 100644 --- a/src/jneqsim-stubs/process/equipment/blackoil/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/blackoil/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,20 +12,28 @@ import jneqsim.process.equipment import jneqsim.process.util.report import typing - - class BlackOilSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], systemBlackOil: jneqsim.blackoil.SystemBlackOil, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemBlackOil: jneqsim.blackoil.SystemBlackOil, + double: float, + double2: float, + ): ... def getBlackOilInlet(self) -> jneqsim.blackoil.SystemBlackOil: ... def getGasOut(self) -> jneqsim.blackoil.SystemBlackOil: ... def getLastFlashResult(self) -> jneqsim.blackoil.BlackOilFlashResult: ... def getOilOut(self) -> jneqsim.blackoil.SystemBlackOil: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getResultsMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... @@ -39,11 +47,12 @@ class BlackOilSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setOutletPressure(self, double: float) -> None: ... def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.blackoil")``. diff --git a/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi b/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi index 018c86cd..3351efef 100644 --- a/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/capacity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,16 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - class BottleneckResult: - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, capacityConstraint: 'CapacityConstraint', double: float): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + capacityConstraint: "CapacityConstraint", + double: float, + ): ... @staticmethod - def empty() -> 'BottleneckResult': ... - def getConstraint(self) -> 'CapacityConstraint': ... + def empty() -> "BottleneckResult": ... + def getConstraint(self) -> "CapacityConstraint": ... def getConstraintName(self) -> java.lang.String: ... def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getEquipmentName(self) -> java.lang.String: ... @@ -38,22 +41,39 @@ class BottleneckTracker(java.io.Serializable): def __init__(self): ... def clear(self) -> None: ... def getDistinctBottleneckEquipment(self) -> java.util.List[java.lang.String]: ... - def getLatest(self) -> 'BottleneckTracker.Snapshot': ... + def getLatest(self) -> "BottleneckTracker.Snapshot": ... def getMigrationCount(self) -> int: ... - def getMigrationEvents(self) -> java.util.List['BottleneckTracker.Snapshot']: ... - def getPeakSnapshot(self) -> 'BottleneckTracker.Snapshot': ... + def getMigrationEvents(self) -> java.util.List["BottleneckTracker.Snapshot"]: ... + def getPeakSnapshot(self) -> "BottleneckTracker.Snapshot": ... def getPeakUtilizationPercent(self) -> float: ... - def getSnapshots(self) -> java.util.List['BottleneckTracker.Snapshot']: ... + def getSnapshots(self) -> java.util.List["BottleneckTracker.Snapshot"]: ... def getTimelineSummary(self) -> java.lang.String: ... def isEmpty(self) -> bool: ... @typing.overload - def record(self, double: float, string: typing.Union[java.lang.String, str], bottleneckResult: BottleneckResult) -> 'BottleneckTracker.Snapshot': ... + def record( + self, + double: float, + string: typing.Union[java.lang.String, str], + bottleneckResult: BottleneckResult, + ) -> "BottleneckTracker.Snapshot": ... @typing.overload - def record(self, double: float, bottleneckResult: BottleneckResult) -> 'BottleneckTracker.Snapshot': ... + def record( + self, double: float, bottleneckResult: BottleneckResult + ) -> "BottleneckTracker.Snapshot": ... def size(self) -> int: ... def toJson(self) -> java.lang.String: ... + class Snapshot(java.io.Serializable): - def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double2: float, boolean: bool, boolean2: bool): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double2: float, + boolean: bool, + boolean2: bool, + ): ... def getConstraintName(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getIdentity(self) -> java.lang.String: ... @@ -65,14 +85,18 @@ class BottleneckTracker(java.io.Serializable): def toString(self) -> java.lang.String: ... class CapacityConstrainedEquipment: - def addCapacityConstraint(self, capacityConstraint: 'CapacityConstraint') -> None: ... + def addCapacityConstraint( + self, capacityConstraint: "CapacityConstraint" + ) -> None: ... def clearCapacityConstraints(self) -> None: ... def disableAllConstraints(self) -> int: ... def enableAllConstraints(self) -> int: ... def getAvailableMargin(self) -> float: ... def getAvailableMarginPercent(self) -> float: ... - def getBottleneckConstraint(self) -> 'CapacityConstraint': ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, 'CapacityConstraint']: ... + def getBottleneckConstraint(self) -> "CapacityConstraint": ... + def getCapacityConstraints( + self, + ) -> java.util.Map[java.lang.String, "CapacityConstraint"]: ... def getMaxUtilization(self) -> float: ... def getMaxUtilizationPercent(self) -> float: ... def getUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... @@ -80,14 +104,21 @@ class CapacityConstrainedEquipment: def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... def isNearCapacityLimit(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... class CapacityConstraint(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], constraintType: 'CapacityConstraint.ConstraintType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + constraintType: "CapacityConstraint.ConstraintType", + ): ... def getCurrentValue(self) -> float: ... def getDataSource(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... @@ -98,9 +129,9 @@ class CapacityConstraint(java.io.Serializable): def getMaxValue(self) -> float: ... def getMinValue(self) -> float: ... def getName(self) -> java.lang.String: ... - def getSeverity(self) -> 'CapacityConstraint.ConstraintSeverity': ... + def getSeverity(self) -> "CapacityConstraint.ConstraintSeverity": ... def getShadowPrice(self) -> float: ... - def getType(self) -> 'CapacityConstraint.ConstraintType': ... + def getType(self) -> "CapacityConstraint.ConstraintType": ... def getUnit(self) -> java.lang.String: ... def getUtilization(self) -> float: ... def getUtilizationPercent(self) -> float: ... @@ -111,71 +142,141 @@ class CapacityConstraint(java.io.Serializable): def isMinimumConstraint(self) -> bool: ... def isNearLimit(self) -> bool: ... def isViolated(self) -> bool: ... - def setCurrentValue(self, double: float) -> 'CapacityConstraint': ... - def setDataSource(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... - def setDesignValue(self, double: float) -> 'CapacityConstraint': ... - def setEnabled(self, boolean: bool) -> 'CapacityConstraint': ... - def setMaxValue(self, double: float) -> 'CapacityConstraint': ... - def setMinValue(self, double: float) -> 'CapacityConstraint': ... - def setSeverity(self, constraintSeverity: 'CapacityConstraint.ConstraintSeverity') -> 'CapacityConstraint': ... - def setShadowPrice(self, double: float) -> 'CapacityConstraint': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'CapacityConstraint': ... - def setValueSupplier(self, doubleSupplier: typing.Union[java.util.function.DoubleSupplier, typing.Callable]) -> 'CapacityConstraint': ... - def setWarningThreshold(self, double: float) -> 'CapacityConstraint': ... + def setCurrentValue(self, double: float) -> "CapacityConstraint": ... + def setDataSource( + self, string: typing.Union[java.lang.String, str] + ) -> "CapacityConstraint": ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "CapacityConstraint": ... + def setDesignValue(self, double: float) -> "CapacityConstraint": ... + def setEnabled(self, boolean: bool) -> "CapacityConstraint": ... + def setMaxValue(self, double: float) -> "CapacityConstraint": ... + def setMinValue(self, double: float) -> "CapacityConstraint": ... + def setSeverity( + self, constraintSeverity: "CapacityConstraint.ConstraintSeverity" + ) -> "CapacityConstraint": ... + def setShadowPrice(self, double: float) -> "CapacityConstraint": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "CapacityConstraint": ... + 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 ConstraintSeverity(java.lang.Enum['CapacityConstraint.ConstraintSeverity']): - CRITICAL: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... - HARD: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... - SOFT: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... - ADVISORY: typing.ClassVar['CapacityConstraint.ConstraintSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConstraintSeverity(java.lang.Enum["CapacityConstraint.ConstraintSeverity"]): + CRITICAL: typing.ClassVar["CapacityConstraint.ConstraintSeverity"] = ... + HARD: typing.ClassVar["CapacityConstraint.ConstraintSeverity"] = ... + SOFT: typing.ClassVar["CapacityConstraint.ConstraintSeverity"] = ... + ADVISORY: typing.ClassVar["CapacityConstraint.ConstraintSeverity"] = ... + _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: ... + 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.ConstraintSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CapacityConstraint.ConstraintSeverity": ... @staticmethod - def values() -> typing.MutableSequence['CapacityConstraint.ConstraintSeverity']: ... - class ConstraintType(java.lang.Enum['CapacityConstraint.ConstraintType']): - HARD: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... - SOFT: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... - DESIGN: typing.ClassVar['CapacityConstraint.ConstraintType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["CapacityConstraint.ConstraintSeverity"] + ): ... + + class ConstraintType(java.lang.Enum["CapacityConstraint.ConstraintType"]): + HARD: typing.ClassVar["CapacityConstraint.ConstraintType"] = ... + SOFT: typing.ClassVar["CapacityConstraint.ConstraintType"] = ... + DESIGN: typing.ClassVar["CapacityConstraint.ConstraintType"] = ... + _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: ... + 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.ConstraintType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CapacityConstraint.ConstraintType": ... @staticmethod - def values() -> typing.MutableSequence['CapacityConstraint.ConstraintType']: ... + def values() -> typing.MutableSequence["CapacityConstraint.ConstraintType"]: ... class EquipmentCapacityStrategy: - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getAvailableMargin( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class EquipmentCapacityStrategyRegistry: - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def findStrategy(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> EquipmentCapacityStrategy: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def findStrategy( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> EquipmentCapacityStrategy: ... def getAllStrategies(self) -> java.util.List[EquipmentCapacityStrategy]: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... @staticmethod - def getInstance() -> 'EquipmentCapacityStrategyRegistry': ... + def getInstance() -> "EquipmentCapacityStrategyRegistry": ... def getStrategyCount(self) -> int: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def register(self, equipmentCapacityStrategy: EquipmentCapacityStrategy) -> None: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def register( + self, equipmentCapacityStrategy: EquipmentCapacityStrategy + ) -> None: ... def reset(self) -> None: ... def unregister(self, string: typing.Union[java.lang.String, str]) -> bool: ... @@ -184,64 +285,91 @@ class EquipmentDesignData: DATA_SOURCE_EQUIPMENT: typing.ClassVar[java.lang.String] = ... DATA_SOURCE_NOT_SET: typing.ClassVar[java.lang.String] = ... @staticmethod - def apply(processSystem: jneqsim.process.processmodel.ProcessSystem, jsonObject: com.google.gson.JsonObject) -> java.util.Map[java.lang.String, 'EquipmentDesignData.ApplyResult']: ... + def apply( + processSystem: jneqsim.process.processmodel.ProcessSystem, + jsonObject: com.google.gson.JsonObject, + ) -> java.util.Map[java.lang.String, "EquipmentDesignData.ApplyResult"]: ... @staticmethod - def tagConstraintDataSources(processSystem: jneqsim.process.processmodel.ProcessSystem, jsonObject: com.google.gson.JsonObject) -> None: ... + def tagConstraintDataSources( + processSystem: jneqsim.process.processmodel.ProcessSystem, + jsonObject: com.google.gson.JsonObject, + ) -> None: ... + class AppliedProperty: property: java.lang.String = ... value: float = ... unit: java.lang.String = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ): ... + class ApplyResult: equipmentName: java.lang.String = ... status: java.lang.String = ... message: java.lang.String = ... appliedProperties: java.util.List = ... - 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 addApplied(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + 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 addApplied( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def toJson(self) -> com.google.gson.JsonObject: ... -class StandardConstraintType(java.lang.Enum['StandardConstraintType']): - SEPARATOR_GAS_LOAD_FACTOR: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_K_VALUE: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_DROPLET_CUTSIZE: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_INLET_MOMENTUM: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_OIL_RETENTION_TIME: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_WATER_RETENTION_TIME: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_LIQUID_LOAD_FACTOR: typing.ClassVar['StandardConstraintType'] = ... - SEPARATOR_RESIDENCE_TIME: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_SPEED: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_MIN_SPEED: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_POWER: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_SURGE_MARGIN: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_STONEWALL_MARGIN: typing.ClassVar['StandardConstraintType'] = ... - COMPRESSOR_DISCHARGE_TEMP: typing.ClassVar['StandardConstraintType'] = ... - PUMP_NPSH_MARGIN: typing.ClassVar['StandardConstraintType'] = ... - PUMP_FLOW_RATE: typing.ClassVar['StandardConstraintType'] = ... - PUMP_POWER: typing.ClassVar['StandardConstraintType'] = ... - HEAT_EXCHANGER_DUTY: typing.ClassVar['StandardConstraintType'] = ... - HEAT_EXCHANGER_APPROACH_TEMP: typing.ClassVar['StandardConstraintType'] = ... - HEAT_EXCHANGER_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... - VALVE_CV_UTILIZATION: typing.ClassVar['StandardConstraintType'] = ... - VALVE_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... - VALVE_OPENING: typing.ClassVar['StandardConstraintType'] = ... - PIPE_VELOCITY: typing.ClassVar['StandardConstraintType'] = ... - PIPE_EROSIONAL_VELOCITY: typing.ClassVar['StandardConstraintType'] = ... - PIPE_PRESSURE_DROP: typing.ClassVar['StandardConstraintType'] = ... +class StandardConstraintType(java.lang.Enum["StandardConstraintType"]): + SEPARATOR_GAS_LOAD_FACTOR: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_K_VALUE: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_DROPLET_CUTSIZE: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_INLET_MOMENTUM: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_OIL_RETENTION_TIME: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_WATER_RETENTION_TIME: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_LIQUID_LOAD_FACTOR: typing.ClassVar["StandardConstraintType"] = ... + SEPARATOR_RESIDENCE_TIME: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_SPEED: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_MIN_SPEED: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_POWER: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_SURGE_MARGIN: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_STONEWALL_MARGIN: typing.ClassVar["StandardConstraintType"] = ... + COMPRESSOR_DISCHARGE_TEMP: typing.ClassVar["StandardConstraintType"] = ... + PUMP_NPSH_MARGIN: typing.ClassVar["StandardConstraintType"] = ... + PUMP_FLOW_RATE: typing.ClassVar["StandardConstraintType"] = ... + PUMP_POWER: typing.ClassVar["StandardConstraintType"] = ... + HEAT_EXCHANGER_DUTY: typing.ClassVar["StandardConstraintType"] = ... + HEAT_EXCHANGER_APPROACH_TEMP: typing.ClassVar["StandardConstraintType"] = ... + HEAT_EXCHANGER_PRESSURE_DROP: typing.ClassVar["StandardConstraintType"] = ... + VALVE_CV_UTILIZATION: typing.ClassVar["StandardConstraintType"] = ... + VALVE_PRESSURE_DROP: typing.ClassVar["StandardConstraintType"] = ... + VALVE_OPENING: typing.ClassVar["StandardConstraintType"] = ... + PIPE_VELOCITY: typing.ClassVar["StandardConstraintType"] = ... + PIPE_EROSIONAL_VELOCITY: typing.ClassVar["StandardConstraintType"] = ... + PIPE_PRESSURE_DROP: typing.ClassVar["StandardConstraintType"] = ... def createConstraint(self) -> CapacityConstraint: ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def getType(self) -> CapacityConstraint.ConstraintType: ... def getUnit(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'StandardConstraintType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "StandardConstraintType": ... @staticmethod - def values() -> typing.MutableSequence['StandardConstraintType']: ... + def values() -> typing.MutableSequence["StandardConstraintType"]: ... class CompressorCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MIN_SURGE_MARGIN: typing.ClassVar[float] = ... @@ -251,23 +379,49 @@ class CompressorCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxDischargeTemp(self) -> float: ... def getMinStonewallMargin(self) -> float: ... def getMinSurgeMargin(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxDischargeTemp(self, double: float) -> None: ... def setMinStonewallMargin(self, double: float) -> None: ... def setMinSurgeMargin(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class DistillationColumnCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_FLOODING_FACTOR: typing.ClassVar[float] = ... @@ -277,23 +431,49 @@ class DistillationColumnCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxFloodingFactor(self) -> float: ... def getMaxTrayPressureDrop(self) -> float: ... def getMaxWeirLoading(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxFloodingFactor(self, double: float) -> None: ... def setMaxTrayPressureDrop(self, double: float) -> None: ... def setMaxWeirLoading(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class EjectorCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_ENTRAINMENT_RATIO: typing.ClassVar[float] = ... @@ -303,21 +483,50 @@ class EjectorCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getAvailableMargin( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxEntrainmentRatio(self, double: float) -> None: ... def setMaxMotiveFlowRate(self, double: float) -> None: ... def setMinSuctionPressure(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class ElectrolyzerCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_VOLTAGE_V: typing.ClassVar[float] = ... @@ -326,17 +535,43 @@ class ElectrolyzerCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class ExpanderCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_POWER_RATIO: typing.ClassVar[float] = ... @@ -346,21 +581,50 @@ class ExpanderCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getAvailableMargin(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getAvailableMargin( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxPowerRatio(self, double: float) -> None: ... def setMaxSpeedRatio(self, double: float) -> None: ... def setMinSpeedRatio(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class FilterAdsorberCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_DP_BAR: typing.ClassVar[float] = ... @@ -368,17 +632,43 @@ class FilterAdsorberCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class HeatExchangerCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MIN_APPROACH_TEMP: typing.ClassVar[float] = ... @@ -387,21 +677,47 @@ class HeatExchangerCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxDutyRatio(self) -> float: ... def getMinApproachTemp(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxDutyRatio(self, double: float) -> None: ... def setMinApproachTemp(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class MixerCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_VELOCITY: typing.ClassVar[float] = ... @@ -410,21 +726,47 @@ class MixerCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxPressureDrop(self) -> float: ... def getMaxVelocity(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxPressureDrop(self, double: float) -> None: ... def setMaxVelocity(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class PipeCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_GAS_VELOCITY: typing.ClassVar[float] = ... @@ -435,25 +777,51 @@ class PipeCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxErosionalRatio(self) -> float: ... def getMaxGasVelocity(self) -> float: ... def getMaxLiquidVelocity(self) -> float: ... def getMaxMultiphaseVelocity(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxErosionalRatio(self, double: float) -> None: ... def setMaxGasVelocity(self, double: float) -> None: ... def setMaxLiquidVelocity(self, double: float) -> None: ... def setMaxMultiphaseVelocity(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class PowerGenerationCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_RATED_POWER_KW: typing.ClassVar[float] = ... @@ -462,17 +830,43 @@ class PowerGenerationCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class PumpCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MIN_NPSH_MARGIN: typing.ClassVar[float] = ... @@ -481,21 +875,47 @@ class PumpCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxPowerFactor(self) -> float: ... def getMinNpshMargin(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxPowerFactor(self, double: float) -> None: ... def setMinNpshMargin(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class ReactorCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_TEMPERATURE_C: typing.ClassVar[float] = ... @@ -504,17 +924,43 @@ class ReactorCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class SeparatorCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_GAS_LOAD_FACTOR: typing.ClassVar[float] = ... @@ -523,21 +969,47 @@ class SeparatorCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxGasLoadFactor(self) -> float: ... def getMaxLiquidLevel(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxGasLoadFactor(self, double: float) -> None: ... def setMaxLiquidLevel(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class SplitterCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_VELOCITY: typing.ClassVar[float] = ... @@ -546,21 +1018,47 @@ class SplitterCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxPressureDrop(self) -> float: ... def getMaxVelocity(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxPressureDrop(self, double: float) -> None: ... def setMaxVelocity(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class SubseaEquipmentCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_WHP_BARA: typing.ClassVar[float] = ... @@ -568,17 +1066,43 @@ class SubseaEquipmentCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class TankCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_LIQUID_LEVEL: typing.ClassVar[float] = ... @@ -587,21 +1111,47 @@ class TankCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxLiquidLevel(self) -> float: ... def getMinLiquidLevel(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxLiquidLevel(self, double: float) -> None: ... def setMinLiquidLevel(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class ValveCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_OPENING: typing.ClassVar[float] = ... @@ -610,21 +1160,47 @@ class ValveCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxOpening(self) -> float: ... def getMinOpening(self) -> float: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def setMaxOpening(self, double: float) -> None: ... def setMinOpening(self, double: float) -> None: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class WellFlowCapacityStrategy(EquipmentCapacityStrategy): DEFAULT_MAX_PI: typing.ClassVar[float] = ... @@ -633,18 +1209,43 @@ class WellFlowCapacityStrategy(EquipmentCapacityStrategy): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def evaluateCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def evaluateMaxCapacity(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> float: ... - def getBottleneckConstraint(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> CapacityConstraint: ... - def getConstraints(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, CapacityConstraint]: ... - def getEquipmentClass(self) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def evaluateCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def evaluateMaxCapacity( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> float: ... + def getBottleneckConstraint( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> CapacityConstraint: ... + def getConstraints( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, CapacityConstraint]: ... + def getEquipmentClass( + self, + ) -> typing.Type[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getName(self) -> java.lang.String: ... def getPriority(self) -> int: ... - def getViolations(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.List[CapacityConstraint]: ... - def isWithinHardLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def isWithinSoftLimits(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - def supports(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... - + def getViolations( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.List[CapacityConstraint]: ... + def isWithinHardLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def isWithinSoftLimits( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... + def supports( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.capacity")``. diff --git a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi index acb102fa..b55803cb 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -25,15 +25,13 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class AntiSurge(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, controlStrategy: 'AntiSurge.ControlStrategy'): ... + def __init__(self, controlStrategy: "AntiSurge.ControlStrategy"): ... def equals(self, object: typing.Any) -> bool: ... - def getControlStrategy(self) -> 'AntiSurge.ControlStrategy': ... + def getControlStrategy(self) -> "AntiSurge.ControlStrategy": ... def getCurrentSurgeFraction(self) -> float: ... def getHotGasBypassFlow(self) -> float: ... def getMaximumRecycleFlow(self) -> float: ... @@ -57,13 +55,17 @@ class AntiSurge(java.io.Serializable): def resetPID(self) -> None: ... def resetSurgeCycleCount(self) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setControlStrategy(self, controlStrategy: 'AntiSurge.ControlStrategy') -> None: ... + def setControlStrategy( + self, controlStrategy: "AntiSurge.ControlStrategy" + ) -> None: ... def setCurrentSurgeFraction(self, double: float) -> None: ... def setHotGasBypassFlow(self, double: float) -> None: ... def setMaxSurgeCyclesBeforeTrip(self, int: int) -> None: ... def setMaximumRecycleFlow(self, double: float) -> None: ... def setMinimumRecycleFlow(self, double: float) -> None: ... - def setPIDParameters(self, double: float, double2: float, double3: float) -> None: ... + def setPIDParameters( + self, double: float, double2: float, double3: float + ) -> None: ... def setPIDSetpoint(self, double: float) -> None: ... def setPredictiveHorizon(self, double: float) -> None: ... def setSurge(self, boolean: bool) -> None: ... @@ -77,26 +79,36 @@ class AntiSurge(java.io.Serializable): def setValveResponseTime(self, double: float) -> None: ... def shouldTrip(self) -> bool: ... def updateController(self, double: float, double2: float) -> float: ... - class ControlStrategy(java.lang.Enum['AntiSurge.ControlStrategy']): - ON_OFF: typing.ClassVar['AntiSurge.ControlStrategy'] = ... - PROPORTIONAL: typing.ClassVar['AntiSurge.ControlStrategy'] = ... - PID: typing.ClassVar['AntiSurge.ControlStrategy'] = ... - PREDICTIVE: typing.ClassVar['AntiSurge.ControlStrategy'] = ... - DUAL_LOOP: typing.ClassVar['AntiSurge.ControlStrategy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ControlStrategy(java.lang.Enum["AntiSurge.ControlStrategy"]): + ON_OFF: typing.ClassVar["AntiSurge.ControlStrategy"] = ... + PROPORTIONAL: typing.ClassVar["AntiSurge.ControlStrategy"] = ... + PID: typing.ClassVar["AntiSurge.ControlStrategy"] = ... + PREDICTIVE: typing.ClassVar["AntiSurge.ControlStrategy"] = ... + DUAL_LOOP: typing.ClassVar["AntiSurge.ControlStrategy"] = ... + _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: ... + 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]) -> 'AntiSurge.ControlStrategy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AntiSurge.ControlStrategy": ... @staticmethod - def values() -> typing.MutableSequence['AntiSurge.ControlStrategy']: ... + def values() -> typing.MutableSequence["AntiSurge.ControlStrategy"]: ... class AntiSurgeRecycleCalculator(java.io.Serializable): - def __init__(self, compressor: 'Compressor', streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + compressor: "Compressor", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getDamping(self) -> float: ... - def getLastResult(self) -> 'AntiSurgeRecycleCalculator.Result': ... + def getLastResult(self) -> "AntiSurgeRecycleCalculator.Result": ... def getMaxIterations(self) -> int: ... def getRecycleCoolerTemperature(self) -> float: ... def getRecycleCoolerTemperatureUnit(self) -> java.lang.String: ... @@ -104,18 +116,34 @@ class AntiSurgeRecycleCalculator(java.io.Serializable): def getTolerance(self) -> float: ... def setDamping(self, double: float) -> None: ... def setMaxIterations(self, int: int) -> None: ... - def setRecycleCoolerTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRecycleCoolerTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSurgeControlMargin(self, double: float) -> None: ... def setTolerance(self, double: float) -> None: ... - def solve(self) -> 'AntiSurgeRecycleCalculator.Result': ... + def solve(self) -> "AntiSurgeRecycleCalculator.Result": ... + class Result(java.io.Serializable): - def __init__(self, boolean: bool, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double2: float, double3: float, double4: float, double5: float, int: int, boolean2: bool): ... + def __init__( + self, + boolean: bool, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double2: float, + double3: float, + double4: float, + double5: float, + int: int, + boolean2: bool, + ): ... def getControlFlow(self) -> float: ... def getDistanceToSurge(self) -> float: ... def getInletVolumeFlow(self) -> float: ... def getIterations(self) -> int: ... def getRecycleMassFlow(self) -> float: ... - def getRecycleStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRecycleStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSurgeFlow(self) -> float: ... def isConverged(self) -> bool: ... def isRecycleActive(self) -> bool: ... @@ -125,50 +153,92 @@ class BoundaryCurveInterface(java.io.Serializable): def isActive(self) -> bool: ... def isLimit(self, double: float, double2: float) -> bool: ... 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: ... + 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 CompressorChartGenerator: - def __init__(self, compressor: 'Compressor'): ... - def enableAdvancedCorrections(self, int: int) -> 'CompressorChartGenerator': ... - @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChartInterface': ... - @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CompressorChartInterface': ... - @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str], int: int) -> 'CompressorChartInterface': ... - @typing.overload - def generateFromTemplate(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'CompressorChartInterface': ... - @typing.overload - def generateFromTemplate(self, string: typing.Union[java.lang.String, str], int: int) -> 'CompressorChartInterface': ... - @typing.overload - def generateFromTemplate(self, compressorCurveTemplate: 'CompressorCurveTemplate', int: int) -> 'CompressorChartInterface': ... + def __init__(self, compressor: "Compressor"): ... + def enableAdvancedCorrections(self, int: int) -> "CompressorChartGenerator": ... + @typing.overload + def generateCompressorChart( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorChartInterface": ... + @typing.overload + def generateCompressorChart( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "CompressorChartInterface": ... + @typing.overload + def generateCompressorChart( + self, string: typing.Union[java.lang.String, str], int: int + ) -> "CompressorChartInterface": ... + @typing.overload + def generateFromTemplate( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "CompressorChartInterface": ... + @typing.overload + def generateFromTemplate( + self, string: typing.Union[java.lang.String, str], int: int + ) -> "CompressorChartInterface": ... + @typing.overload + def generateFromTemplate( + self, compressorCurveTemplate: "CompressorCurveTemplate", int: int + ) -> "CompressorChartInterface": ... @staticmethod def getAvailableTemplates() -> typing.MutableSequence[java.lang.String]: ... def getChartType(self) -> java.lang.String: ... def getImpellerDiameter(self) -> float: ... def getNumberOfStages(self) -> int: ... @staticmethod - def getOriginalTemplateChart(string: typing.Union[java.lang.String, str]) -> 'CompressorChartInterface': ... + def getOriginalTemplateChart( + string: typing.Union[java.lang.String, str] + ) -> "CompressorChartInterface": ... def isUseMachCorrection(self) -> bool: ... def isUseMultistageSurgeCorrection(self) -> bool: ... def isUseReynoldsCorrection(self) -> bool: ... - def setChartType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorChartGenerator': ... - def setImpellerDiameter(self, double: float) -> 'CompressorChartGenerator': ... - def setNumberOfStages(self, int: int) -> 'CompressorChartGenerator': ... - def setUseMachCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... - def setUseMultistageSurgeCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... - def setUseReynoldsCorrection(self, boolean: bool) -> 'CompressorChartGenerator': ... + def setChartType( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorChartGenerator": ... + def setImpellerDiameter(self, double: float) -> "CompressorChartGenerator": ... + def setNumberOfStages(self, int: int) -> "CompressorChartGenerator": ... + def setUseMachCorrection(self, boolean: bool) -> "CompressorChartGenerator": ... + def setUseMultistageSurgeCorrection( + self, boolean: bool + ) -> "CompressorChartGenerator": ... + def setUseReynoldsCorrection(self, boolean: bool) -> "CompressorChartGenerator": ... class CompressorChartInterface(java.lang.Cloneable): @typing.overload - def addCurve(self, double: 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]) -> None: ... - @typing.overload - def addCurve(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addCurve( + self, + double: 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], + ) -> None: ... + @typing.overload + def addCurve( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... def generateStoneWallCurve(self) -> None: ... def generateSurgeCurve(self) -> None: ... def getChartConditions(self) -> typing.MutableSequence[float]: ... - def getDischargeTemperatures(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDischargeTemperatures( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getFlow(self, double: float, double2: float, double3: float) -> float: ... def getFlows(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getGamma(self) -> float: ... @@ -180,22 +250,26 @@ class CompressorChartInterface(java.lang.Cloneable): def getMaxSpeedCurve(self) -> float: ... def getMinSpeedCurve(self) -> float: ... def getOperatingMW(self) -> float: ... - def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiencies( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... def getPolytropicExponent(self) -> float: ... def getPolytropicHead(self, double: float, double2: float) -> float: ... def getPowers(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getPressureRatios(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureRatios( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getRatioToMaxSpeed(self, double: float) -> float: ... def getRatioToMinSpeed(self, double: float) -> float: ... def getReferenceDensity(self) -> float: ... def getSpeed(self, double: float, double2: float) -> int: ... def getSpeedValue(self, double: float, double2: float) -> float: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... - def getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallCurve(self) -> "StoneWallCurve": ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... def getSurgeFlowAtSpeed(self, double: float) -> float: ... def getSurgeHeadAtSpeed(self, double: float) -> float: ... def hashCode(self) -> int: ... @@ -205,20 +279,53 @@ class CompressorChartInterface(java.lang.Cloneable): def isUseCompressorChart(self) -> bool: ... def plot(self) -> None: ... @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setGamma(self, double: float) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setOperatingMW(self, double: float) -> None: ... def setPolytropicExponent(self, double: float) -> None: ... - def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setReferenceDensity(self, double: float) -> None: ... - def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... - def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setStoneWallCurve(self, stoneWallCurve: "StoneWallCurve") -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: "SafeSplineSurgeCurve") -> None: ... def setUseCompressorChart(self, boolean: bool) -> None: ... def setUseRealKappa(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... @@ -237,11 +344,13 @@ class CompressorChartJsonReader: def getHeadLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getHeadUnit(self) -> java.lang.String: ... def getMaxDesignPower(self) -> float: ... - def getPolyEffLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolyEffLines( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... def getSurgeFlow(self) -> typing.MutableSequence[float]: ... def getSurgeHead(self) -> typing.MutableSequence[float]: ... - def setCurvesToCompressor(self, compressor: 'Compressor') -> None: ... + def setCurvesToCompressor(self, compressor: "Compressor") -> None: ... class CompressorChartReader: def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -249,13 +358,15 @@ class CompressorChartReader: def getChokeHead(self) -> typing.MutableSequence[float]: ... def getFlowLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getHeadLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getPolyEffLines(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolyEffLines( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... def getStonewallCurve(self) -> typing.MutableSequence[float]: ... def getSurgeCurve(self) -> typing.MutableSequence[float]: ... def getSurgeFlow(self) -> typing.MutableSequence[float]: ... def getSurgeHead(self) -> typing.MutableSequence[float]: ... - def setCurvesToCompressor(self, compressor: 'Compressor') -> None: ... + def setCurvesToCompressor(self, compressor: "Compressor") -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... class CompressorConstraintConfig(java.io.Serializable): @@ -263,15 +374,17 @@ class CompressorConstraintConfig(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def copy(self) -> 'CompressorConstraintConfig': ... + def copy(self) -> "CompressorConstraintConfig": ... @staticmethod - def createAPI617Config() -> 'CompressorConstraintConfig': ... + def createAPI617Config() -> "CompressorConstraintConfig": ... @staticmethod - def createAggressiveConfig() -> 'CompressorConstraintConfig': ... + def createAggressiveConfig() -> "CompressorConstraintConfig": ... @staticmethod - def createConservativeConfig() -> 'CompressorConstraintConfig': ... + def createConservativeConfig() -> "CompressorConstraintConfig": ... def getAntiSurgeControlMargin(self) -> float: ... - def getDriverCurve(self) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... + def getDriverCurve( + self, + ) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... def getDriverPowerMargin(self) -> float: ... def getMaxDischargePressure(self) -> float: ... def getMaxDischargeTemperature(self) -> float: ... @@ -297,7 +410,9 @@ class CompressorConstraintConfig(java.io.Serializable): def isUseAntiSurgeControl(self) -> bool: ... def setAllowNearSurgeOperation(self, boolean: bool) -> None: ... def setAntiSurgeControlMargin(self, double: float) -> None: ... - def setDriverCurve(self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve) -> None: ... + def setDriverCurve( + self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve + ) -> None: ... def setDriverPowerMargin(self, double: float) -> None: ... def setEnforceHardLimits(self, boolean: bool) -> None: ... def setMaxDischargePressure(self, double: float) -> None: ... @@ -329,59 +444,104 @@ class CompressorCurve(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: 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]): ... - @typing.overload - def __init__(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + double: 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], + ): ... + @typing.overload + def __init__( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... class CompressorCurveCorrections(java.io.Serializable): @staticmethod - def calculateCorrectedEfficiency(double: float, double2: float, double3: float) -> float: ... + def calculateCorrectedEfficiency( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calculateEfficiencyAtFlow(double: float, double2: float, double3: float) -> float: ... + def calculateEfficiencyAtFlow( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def calculateMachNumber(double: float, double2: float) -> float: ... @staticmethod - def calculateMultistageSurgeCorrection(double: float, double2: float, int: int) -> float: ... + def calculateMultistageSurgeCorrection( + double: float, double2: float, int: int + ) -> float: ... @staticmethod - def calculateMultistageSurgeHeadCorrection(double: float, double2: float, int: int) -> float: ... + def calculateMultistageSurgeHeadCorrection( + double: float, double2: float, int: int + ) -> float: ... @typing.overload @staticmethod def calculateReynoldsEfficiencyCorrection(double: float) -> float: ... @typing.overload @staticmethod - def calculateReynoldsEfficiencyCorrection(double: float, double2: float) -> float: ... + def calculateReynoldsEfficiencyCorrection( + double: float, double2: float + ) -> float: ... @staticmethod - def calculateReynoldsNumber(double: float, double2: float, double3: float) -> float: ... + def calculateReynoldsNumber( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calculateSonicVelocity(double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateSonicVelocity( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def calculateStonewallFlow(double: float, double2: float, double3: float) -> float: ... + def calculateStonewallFlow( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def calculateTipSpeed(double: float, double2: float) -> float: ... @staticmethod - def correctStonewallFlowForGas(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def correctStonewallFlowForGas( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod def getCriticalMach() -> float: ... @staticmethod def getReferenceReynolds() -> float: ... class CompressorCurveTemplate(java.io.Serializable): - CENTRIFUGAL_STANDARD: typing.ClassVar['CompressorCurveTemplate'] = ... - CENTRIFUGAL_HIGH_FLOW: typing.ClassVar['CompressorCurveTemplate'] = ... - CENTRIFUGAL_HIGH_HEAD: typing.ClassVar['CompressorCurveTemplate'] = ... - PIPELINE: typing.ClassVar['CompressorCurveTemplate'] = ... - EXPORT: typing.ClassVar['CompressorCurveTemplate'] = ... - INJECTION: typing.ClassVar['CompressorCurveTemplate'] = ... - GAS_LIFT: typing.ClassVar['CompressorCurveTemplate'] = ... - REFRIGERATION: typing.ClassVar['CompressorCurveTemplate'] = ... - BOOSTER: typing.ClassVar['CompressorCurveTemplate'] = ... - SINGLE_STAGE: typing.ClassVar['CompressorCurveTemplate'] = ... - MULTISTAGE_INLINE: typing.ClassVar['CompressorCurveTemplate'] = ... - INTEGRALLY_GEARED: typing.ClassVar['CompressorCurveTemplate'] = ... - OVERHUNG: typing.ClassVar['CompressorCurveTemplate'] = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + CENTRIFUGAL_STANDARD: typing.ClassVar["CompressorCurveTemplate"] = ... + CENTRIFUGAL_HIGH_FLOW: typing.ClassVar["CompressorCurveTemplate"] = ... + CENTRIFUGAL_HIGH_HEAD: typing.ClassVar["CompressorCurveTemplate"] = ... + PIPELINE: typing.ClassVar["CompressorCurveTemplate"] = ... + EXPORT: typing.ClassVar["CompressorCurveTemplate"] = ... + INJECTION: typing.ClassVar["CompressorCurveTemplate"] = ... + GAS_LIFT: typing.ClassVar["CompressorCurveTemplate"] = ... + REFRIGERATION: typing.ClassVar["CompressorCurveTemplate"] = ... + BOOSTER: typing.ClassVar["CompressorCurveTemplate"] = ... + SINGLE_STAGE: typing.ClassVar["CompressorCurveTemplate"] = ... + MULTISTAGE_INLINE: typing.ClassVar["CompressorCurveTemplate"] = ... + INTEGRALLY_GEARED: typing.ClassVar["CompressorCurveTemplate"] = ... + OVERHUNG: typing.ClassVar["CompressorCurveTemplate"] = ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... @staticmethod def getAvailableTemplates() -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... @@ -389,31 +549,50 @@ class CompressorCurveTemplate(java.io.Serializable): @typing.overload def getOriginalChart(self) -> CompressorChartInterface: ... @typing.overload - def getOriginalChart(self, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + def getOriginalChart( + self, string: typing.Union[java.lang.String, str] + ) -> CompressorChartInterface: ... def getReferenceSpeed(self) -> float: ... def getSpeedRatios(self) -> typing.MutableSequence[float]: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... @staticmethod - def getTemplate(string: typing.Union[java.lang.String, str]) -> 'CompressorCurveTemplate': ... + def getTemplate( + string: typing.Union[java.lang.String, str] + ) -> "CompressorCurveTemplate": ... @staticmethod - def getTemplatesByCategory(string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[java.lang.String]: ... - @typing.overload - def scaleToDesignPoint(self, double: float, double2: float, double3: float, int: int) -> CompressorChartInterface: ... - @typing.overload - def scaleToDesignPoint(self, double: float, double2: float, double3: float, int: int, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + def getTemplatesByCategory( + string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[java.lang.String]: ... + @typing.overload + def scaleToDesignPoint( + self, double: float, double2: float, double3: float, int: int + ) -> CompressorChartInterface: ... + @typing.overload + def scaleToDesignPoint( + self, + double: float, + double2: float, + double3: float, + int: int, + string: typing.Union[java.lang.String, str], + ) -> CompressorChartInterface: ... @typing.overload def scaleToSpeed(self, double: float) -> CompressorChartInterface: ... @typing.overload - def scaleToSpeed(self, double: float, string: typing.Union[java.lang.String, str]) -> CompressorChartInterface: ... + def scaleToSpeed( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> CompressorChartInterface: ... class CompressorDriver(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, driverType: 'DriverType'): ... + def __init__(self, driverType: "DriverType"): ... @typing.overload - def __init__(self, driverType: 'DriverType', double: float): ... - def calculateSpeedChange(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def __init__(self, driverType: "DriverType", double: float): ... + def calculateSpeedChange( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def canDeliverPower(self, double: float) -> bool: ... def canDeliverPowerAtSpeed(self, double: float, double2: float) -> bool: ... def checkOverloadTrip(self, double: float, double2: float) -> bool: ... @@ -424,11 +603,13 @@ class CompressorDriver(java.io.Serializable): def getAmbientTemperature(self) -> float: ... def getAvailablePower(self) -> float: ... def getDriverEfficiency(self) -> float: ... - def getDriverType(self) -> 'DriverType': ... + def getDriverType(self) -> "DriverType": ... def getEfficiencyAtSpeed(self, double: float) -> float: ... def getInertia(self) -> float: ... def getMaxAcceleration(self) -> float: ... - def getMaxAccelerationAtConditions(self, double: float, double2: float) -> float: ... + def getMaxAccelerationAtConditions( + self, double: float, double2: float + ) -> float: ... def getMaxAvailablePower(self) -> float: ... def getMaxAvailablePowerAtSpeed(self, double: float) -> float: ... def getMaxDeceleration(self) -> float: ... @@ -452,19 +633,34 @@ class CompressorDriver(java.io.Serializable): def isMaxPowerCurveEnabled(self) -> bool: ... def isMaxPowerCurveTableEnabled(self) -> bool: ... def isOverloadProtectionEnabled(self) -> bool: ... - def loadMaxPowerCurveFromCsv(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def loadMaxPowerCurveFromResource(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadMaxPowerCurveFromCsv( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def loadMaxPowerCurveFromResource( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def resetOverloadTimer(self) -> None: ... def setAmbientPressure(self, double: float) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... def setDriverEfficiency(self, double: float) -> None: ... - def setDriverType(self, driverType: 'DriverType') -> None: ... + def setDriverType(self, driverType: "DriverType") -> None: ... def setInertia(self, double: float) -> None: ... def setMaxAcceleration(self, double: float) -> None: ... def setMaxDeceleration(self, double: float) -> None: ... def setMaxPower(self, double: float) -> None: ... - def setMaxPowerCurveCoefficients(self, double: float, double2: float, double3: float) -> None: ... - def setMaxPowerSpeedCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxPowerCurveCoefficients( + self, double: float, double2: float, double3: float + ) -> None: ... + def setMaxPowerSpeedCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> None: ... def setMaxSpeed(self, double: float) -> None: ... def setMinPower(self, double: float) -> None: ... def setMinSpeed(self, double: float) -> None: ... @@ -474,21 +670,39 @@ class CompressorDriver(java.io.Serializable): def setRatedSpeed(self, double: float) -> None: ... def setResponseTime(self, double: float) -> None: ... def setTemperatureDerateFactor(self, double: float) -> None: ... - def setVfdEfficiencyCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setVfdEfficiencyCoefficients( + self, double: float, double2: float, double3: float + ) -> None: ... def toString(self) -> java.lang.String: ... class CompressorEventListener: - def onPowerLimitExceeded(self, compressor: 'Compressor', double: float, double2: float) -> None: ... - def onShutdownComplete(self, compressor: 'Compressor') -> None: ... - def onSpeedBelowMinimum(self, compressor: 'Compressor', double: float, double2: float) -> None: ... - def onSpeedLimitExceeded(self, compressor: 'Compressor', double: float, double2: float) -> None: ... - def onStartupComplete(self, compressor: 'Compressor') -> None: ... - def onStateChange(self, compressor: 'Compressor', compressorState: 'CompressorState', compressorState2: 'CompressorState') -> None: ... - def onStoneWallApproach(self, compressor: 'Compressor', double: float) -> None: ... - def onSurgeApproach(self, compressor: 'Compressor', double: float, boolean: bool) -> None: ... - def onSurgeOccurred(self, compressor: 'Compressor', double: float) -> None: ... + def onPowerLimitExceeded( + self, compressor: "Compressor", double: float, double2: float + ) -> None: ... + def onShutdownComplete(self, compressor: "Compressor") -> None: ... + def onSpeedBelowMinimum( + self, compressor: "Compressor", double: float, double2: float + ) -> None: ... + def onSpeedLimitExceeded( + self, compressor: "Compressor", double: float, double2: float + ) -> None: ... + def onStartupComplete(self, compressor: "Compressor") -> None: ... + def onStateChange( + self, + compressor: "Compressor", + compressorState: "CompressorState", + compressorState2: "CompressorState", + ) -> None: ... + def onStoneWallApproach(self, compressor: "Compressor", double: float) -> None: ... + def onSurgeApproach( + self, compressor: "Compressor", double: float, boolean: bool + ) -> None: ... + def onSurgeOccurred(self, compressor: "Compressor", double: float) -> None: ... -class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +class CompressorInterface( + jneqsim.process.equipment.ProcessEquipmentInterface, + jneqsim.process.equipment.TwoPortInterface, +): def equals(self, object: typing.Any) -> bool: ... def getAntiSurge(self) -> AntiSurge: ... def getDistanceToSurge(self) -> float: ... @@ -503,7 +717,9 @@ class CompressorInterface(jneqsim.process.equipment.ProcessEquipmentInterface, j def hashCode(self) -> int: ... def isStoneWall(self) -> bool: ... def isSurge(self) -> bool: ... - def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorChartType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIsentropicEfficiency(self, double: float) -> None: ... def setMaximumSpeed(self, double: float) -> None: ... def setMinimumSpeed(self, double: float) -> None: ... @@ -522,7 +738,7 @@ class CompressorMechanicalLosses(java.io.Serializable): def calculateSecondarySealLeakage(self) -> float: ... def calculateSeparationGasFlow(self) -> float: ... def calculateThrustBearingLoss(self) -> float: ... - def getBearingType(self) -> 'CompressorMechanicalLosses.BearingType': ... + def getBearingType(self) -> "CompressorMechanicalLosses.BearingType": ... def getLubeOilInletTemp(self) -> float: ... def getLubeOilOutletTemp(self) -> float: ... def getMechanicalEfficiency(self, double: float) -> float: ... @@ -532,51 +748,76 @@ class CompressorMechanicalLosses(java.io.Serializable): def getSealDifferentialPressure(self) -> float: ... def getSealGasSupplyPressure(self) -> float: ... def getSealGasSupplyTemperature(self) -> float: ... - def getSealType(self) -> 'CompressorMechanicalLosses.SealType': ... + def getSealType(self) -> "CompressorMechanicalLosses.SealType": ... def getShaftDiameter(self) -> float: ... def getTotalBearingLoss(self) -> float: ... def getTotalMechanicalLoss(self) -> float: ... def getTotalSealGasConsumption(self) -> float: ... def printSummary(self) -> None: ... - def setBearingType(self, bearingType: 'CompressorMechanicalLosses.BearingType') -> None: ... + def setBearingType( + self, bearingType: "CompressorMechanicalLosses.BearingType" + ) -> None: ... def setLubeOilInletTemp(self, double: float) -> None: ... def setLubeOilOutletTemp(self, double: float) -> None: ... def setNumberOfRadialBearings(self, int: int) -> None: ... def setNumberOfSeals(self, int: int) -> None: ... - def setOperatingConditions(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setOperatingConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def setSealGasSupplyPressure(self, double: float) -> None: ... def setSealGasSupplyTemperature(self, double: float) -> None: ... - def setSealType(self, sealType: 'CompressorMechanicalLosses.SealType') -> None: ... + def setSealType(self, sealType: "CompressorMechanicalLosses.SealType") -> None: ... def setShaftDiameter(self, double: float) -> None: ... - class BearingType(java.lang.Enum['CompressorMechanicalLosses.BearingType']): - TILTING_PAD: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... - PLAIN_SLEEVE: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... - MAGNETIC_ACTIVE: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... - GAS_FOIL: typing.ClassVar['CompressorMechanicalLosses.BearingType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class BearingType(java.lang.Enum["CompressorMechanicalLosses.BearingType"]): + TILTING_PAD: typing.ClassVar["CompressorMechanicalLosses.BearingType"] = ... + PLAIN_SLEEVE: typing.ClassVar["CompressorMechanicalLosses.BearingType"] = ... + MAGNETIC_ACTIVE: typing.ClassVar["CompressorMechanicalLosses.BearingType"] = ... + GAS_FOIL: typing.ClassVar["CompressorMechanicalLosses.BearingType"] = ... + _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: ... + 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]) -> 'CompressorMechanicalLosses.BearingType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorMechanicalLosses.BearingType": ... @staticmethod - def values() -> typing.MutableSequence['CompressorMechanicalLosses.BearingType']: ... - class SealType(java.lang.Enum['CompressorMechanicalLosses.SealType']): - DRY_GAS_TANDEM: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... - DRY_GAS_DOUBLE: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... - DRY_GAS_SINGLE: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... - OIL_FILM: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... - LABYRINTH: typing.ClassVar['CompressorMechanicalLosses.SealType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["CompressorMechanicalLosses.BearingType"] + ): ... + + class SealType(java.lang.Enum["CompressorMechanicalLosses.SealType"]): + DRY_GAS_TANDEM: typing.ClassVar["CompressorMechanicalLosses.SealType"] = ... + DRY_GAS_DOUBLE: typing.ClassVar["CompressorMechanicalLosses.SealType"] = ... + DRY_GAS_SINGLE: typing.ClassVar["CompressorMechanicalLosses.SealType"] = ... + OIL_FILM: typing.ClassVar["CompressorMechanicalLosses.SealType"] = ... + LABYRINTH: typing.ClassVar["CompressorMechanicalLosses.SealType"] = ... + _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: ... + 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]) -> 'CompressorMechanicalLosses.SealType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorMechanicalLosses.SealType": ... @staticmethod - def values() -> typing.MutableSequence['CompressorMechanicalLosses.SealType']: ... + def values() -> ( + typing.MutableSequence["CompressorMechanicalLosses.SealType"] + ): ... class CompressorOperatingHistory(java.io.Serializable): def __init__(self): ... @@ -584,20 +825,40 @@ class CompressorOperatingHistory(java.io.Serializable): def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def generateSummary(self) -> java.lang.String: ... def getAverageEfficiency(self) -> float: ... - def getHistory(self) -> java.util.List['CompressorOperatingHistory.OperatingPoint']: ... + def getHistory( + self, + ) -> java.util.List["CompressorOperatingHistory.OperatingPoint"]: ... def getMinimumSurgeMargin(self) -> float: ... - def getPeakFlow(self) -> 'CompressorOperatingHistory.OperatingPoint': ... - def getPeakHead(self) -> 'CompressorOperatingHistory.OperatingPoint': ... - def getPeakPower(self) -> 'CompressorOperatingHistory.OperatingPoint': ... + def getPeakFlow(self) -> "CompressorOperatingHistory.OperatingPoint": ... + def getPeakHead(self) -> "CompressorOperatingHistory.OperatingPoint": ... + def getPeakPower(self) -> "CompressorOperatingHistory.OperatingPoint": ... def getPointCount(self) -> int: ... def getSurgeEventCount(self) -> int: ... def getTimeInSurge(self) -> float: ... @typing.overload - def recordOperatingPoint(self, double: float, compressor: 'Compressor') -> None: ... + def recordOperatingPoint(self, double: float, compressor: "Compressor") -> None: ... @typing.overload - def recordOperatingPoint(self, operatingPoint: 'CompressorOperatingHistory.OperatingPoint') -> None: ... + def recordOperatingPoint( + self, operatingPoint: "CompressorOperatingHistory.OperatingPoint" + ) -> None: ... + class OperatingPoint(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, compressorState: 'CompressorState', double9: float, double10: float, double11: float, double12: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + compressorState: "CompressorState", + double9: float, + double10: float, + double11: float, + double12: float, + ): ... def getEfficiency(self) -> float: ... def getFlow(self) -> float: ... def getHead(self) -> float: ... @@ -607,7 +868,7 @@ class CompressorOperatingHistory(java.io.Serializable): def getOutletTemperature(self) -> float: ... def getPower(self) -> float: ... def getSpeed(self) -> float: ... - def getState(self) -> 'CompressorState': ... + def getState(self) -> "CompressorState": ... def getStoneWallMargin(self) -> float: ... def getSurgeMargin(self) -> float: ... def getTime(self) -> float: ... @@ -616,22 +877,28 @@ class CompressorOperatingHistory(java.io.Serializable): class CompressorPropertyProfile(java.io.Serializable): def __init__(self): ... - def addFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def getFluid(self) -> java.util.ArrayList[jneqsim.thermo.system.SystemInterface]: ... + def addFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def getFluid( + self, + ) -> java.util.ArrayList[jneqsim.thermo.system.SystemInterface]: ... def isActive(self) -> bool: ... def setActive(self, boolean: bool) -> None: ... - def setFluid(self, arrayList: java.util.ArrayList[jneqsim.thermo.system.SystemInterface]) -> None: ... + def setFluid( + self, arrayList: java.util.ArrayList[jneqsim.thermo.system.SystemInterface] + ) -> None: ... -class CompressorState(java.lang.Enum['CompressorState']): - STOPPED: typing.ClassVar['CompressorState'] = ... - STARTING: typing.ClassVar['CompressorState'] = ... - RUNNING: typing.ClassVar['CompressorState'] = ... - SURGE_PROTECTION: typing.ClassVar['CompressorState'] = ... - SPEED_LIMITED: typing.ClassVar['CompressorState'] = ... - SHUTDOWN: typing.ClassVar['CompressorState'] = ... - DEPRESSURIZING: typing.ClassVar['CompressorState'] = ... - TRIPPED: typing.ClassVar['CompressorState'] = ... - STANDBY: typing.ClassVar['CompressorState'] = ... +class CompressorState(java.lang.Enum["CompressorState"]): + STOPPED: typing.ClassVar["CompressorState"] = ... + STARTING: typing.ClassVar["CompressorState"] = ... + RUNNING: typing.ClassVar["CompressorState"] = ... + SURGE_PROTECTION: typing.ClassVar["CompressorState"] = ... + SPEED_LIMITED: typing.ClassVar["CompressorState"] = ... + SHUTDOWN: typing.ClassVar["CompressorState"] = ... + DEPRESSURIZING: typing.ClassVar["CompressorState"] = ... + TRIPPED: typing.ClassVar["CompressorState"] = ... + STANDBY: typing.ClassVar["CompressorState"] = ... def canStart(self) -> bool: ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... @@ -640,36 +907,57 @@ class CompressorState(java.lang.Enum['CompressorState']): def isTransitional(self) -> bool: ... def requiresAcknowledgment(self) -> bool: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CompressorState': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "CompressorState": ... @staticmethod - def values() -> typing.MutableSequence['CompressorState']: ... + def values() -> typing.MutableSequence["CompressorState"]: ... -class CompressorTrain(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class CompressorTrain( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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 getAftercooler(self) -> jneqsim.process.equipment.heatexchanger.Cooler: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCompressionRatio(self) -> float: ... - def getCompressor(self) -> 'Compressor': ... + def getCompressor(self) -> "Compressor": ... def getDistanceToSurge(self) -> float: ... def getInletScrubber(self) -> jneqsim.process.equipment.separator.Separator: ... - def getInternalEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getInternalEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getMaxUtilization(self) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPerformanceSummary(self) -> java.lang.String: ... def getPolytropicEfficiency(self) -> float: ... def getPolytropicHead(self) -> float: ... @@ -680,7 +968,9 @@ class CompressorTrain(jneqsim.process.equipment.TwoPortEquipment, jneqsim.proces def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... def isSurging(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -688,8 +978,12 @@ class CompressorTrain(jneqsim.process.equipment.TwoPortEquipment, jneqsim.proces @typing.overload def setAftercoolerTemperature(self, double: float) -> None: ... @typing.overload - def setAftercoolerTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setAftercoolerTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setUseAftercooler(self, boolean: bool) -> None: ... def setUseInletScrubber(self, boolean: bool) -> None: ... @@ -697,15 +991,19 @@ class CompressorWashing(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, foulingType: 'CompressorWashing.FoulingType'): ... + def __init__(self, foulingType: "CompressorWashing.FoulingType"): ... def calculateAnnualChemicalCost(self, int: int, double: float) -> float: ... - def estimateAnnualProductionLoss(self, double: float, double2: float, double3: float) -> float: ... + def estimateAnnualProductionLoss( + self, double: float, double2: float, double3: float + ) -> float: ... def estimateWashInterval(self, double: float) -> float: ... - def estimateWaterConsumption(self, washingMethod: 'CompressorWashing.WashingMethod') -> float: ... + def estimateWaterConsumption( + self, washingMethod: "CompressorWashing.WashingMethod" + ) -> float: ... def getCorrectedEfficiency(self, double: float) -> float: ... def getCorrectedHead(self, double: float) -> float: ... def getCurrentFoulingFactor(self) -> float: ... - def getDominantFoulingType(self) -> 'CompressorWashing.FoulingType': ... + def getDominantFoulingType(self) -> "CompressorWashing.FoulingType": ... def getEfficiencyDegradation(self) -> float: ... def getEnvironmentalSeverity(self) -> float: ... def getHeadLossFactor(self) -> float: ... @@ -714,17 +1012,21 @@ class CompressorWashing(java.io.Serializable): def getMaxAllowableFouling(self) -> float: ... def getOnlineWashWaterFlow(self) -> float: ... def getTotalOperatingHours(self) -> float: ... - def getWashHistory(self) -> java.util.List['CompressorWashing.WashEvent']: ... + def getWashHistory(self) -> java.util.List["CompressorWashing.WashEvent"]: ... def getWashWaterTemperature(self) -> float: ... def isUseDetergent(self) -> bool: ... def isWashingCritical(self) -> bool: ... def isWashingRecommended(self) -> bool: ... def performOfflineWash(self) -> float: ... def performOnlineWash(self) -> float: ... - def performWash(self, washingMethod: 'CompressorWashing.WashingMethod') -> float: ... + def performWash( + self, washingMethod: "CompressorWashing.WashingMethod" + ) -> float: ... def printSummary(self) -> None: ... def setCurrentFoulingFactor(self, double: float) -> None: ... - def setDominantFoulingType(self, foulingType: 'CompressorWashing.FoulingType') -> None: ... + def setDominantFoulingType( + self, foulingType: "CompressorWashing.FoulingType" + ) -> None: ... def setEnvironmentalSeverity(self, double: float) -> None: ... def setInletFilterEfficiency(self, double: float) -> None: ... def setMaxAllowableFouling(self, double: float) -> None: ... @@ -732,75 +1034,97 @@ class CompressorWashing(java.io.Serializable): def setUseDetergent(self, boolean: bool) -> None: ... def setWashWaterTemperature(self, double: float) -> None: ... def updateFouling(self, double: float) -> None: ... - class FoulingType(java.lang.Enum['CompressorWashing.FoulingType']): - SALT: typing.ClassVar['CompressorWashing.FoulingType'] = ... - HYDROCARBON: typing.ClassVar['CompressorWashing.FoulingType'] = ... - PARTICULATE: typing.ClassVar['CompressorWashing.FoulingType'] = ... - CORROSION: typing.ClassVar['CompressorWashing.FoulingType'] = ... - BIOLOGICAL: typing.ClassVar['CompressorWashing.FoulingType'] = ... + + class FoulingType(java.lang.Enum["CompressorWashing.FoulingType"]): + SALT: typing.ClassVar["CompressorWashing.FoulingType"] = ... + HYDROCARBON: typing.ClassVar["CompressorWashing.FoulingType"] = ... + PARTICULATE: typing.ClassVar["CompressorWashing.FoulingType"] = ... + CORROSION: typing.ClassVar["CompressorWashing.FoulingType"] = ... + BIOLOGICAL: typing.ClassVar["CompressorWashing.FoulingType"] = ... def getDescription(self) -> java.lang.String: ... def getFoulingRatePerHour(self) -> float: ... def getWashabilityFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CompressorWashing.FoulingType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorWashing.FoulingType": ... @staticmethod - def values() -> typing.MutableSequence['CompressorWashing.FoulingType']: ... + def values() -> typing.MutableSequence["CompressorWashing.FoulingType"]: ... + class WashEvent(java.io.Serializable): - def __init__(self, washingMethod: 'CompressorWashing.WashingMethod', double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + washingMethod: "CompressorWashing.WashingMethod", + double: float, + double2: float, + double3: float, + double4: float, + ): ... def getFoulingAfter(self) -> float: ... def getFoulingBefore(self) -> float: ... - def getMethod(self) -> 'CompressorWashing.WashingMethod': ... + def getMethod(self) -> "CompressorWashing.WashingMethod": ... def getOperatingHoursAtWash(self) -> float: ... def getRecovery(self) -> float: ... def getTimestamp(self) -> int: ... - class WashingMethod(java.lang.Enum['CompressorWashing.WashingMethod']): - ONLINE_WET: typing.ClassVar['CompressorWashing.WashingMethod'] = ... - OFFLINE_SOAK: typing.ClassVar['CompressorWashing.WashingMethod'] = ... - CRANK_WASH: typing.ClassVar['CompressorWashing.WashingMethod'] = ... - CHEMICAL_CLEAN: typing.ClassVar['CompressorWashing.WashingMethod'] = ... - DRY_ICE_BLAST: typing.ClassVar['CompressorWashing.WashingMethod'] = ... + + class WashingMethod(java.lang.Enum["CompressorWashing.WashingMethod"]): + ONLINE_WET: typing.ClassVar["CompressorWashing.WashingMethod"] = ... + OFFLINE_SOAK: typing.ClassVar["CompressorWashing.WashingMethod"] = ... + CRANK_WASH: typing.ClassVar["CompressorWashing.WashingMethod"] = ... + CHEMICAL_CLEAN: typing.ClassVar["CompressorWashing.WashingMethod"] = ... + DRY_ICE_BLAST: typing.ClassVar["CompressorWashing.WashingMethod"] = ... def canRunOnline(self) -> bool: ... def getDisplayName(self) -> java.lang.String: ... def getRecoveryEffectiveness(self) -> float: ... def getRequiredDowntimeHours(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CompressorWashing.WashingMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorWashing.WashingMethod": ... @staticmethod - def values() -> typing.MutableSequence['CompressorWashing.WashingMethod']: ... + def values() -> typing.MutableSequence["CompressorWashing.WashingMethod"]: ... -class DriverType(java.lang.Enum['DriverType']): - ELECTRIC_MOTOR: typing.ClassVar['DriverType'] = ... - VFD_MOTOR: typing.ClassVar['DriverType'] = ... - GAS_TURBINE: typing.ClassVar['DriverType'] = ... - STEAM_TURBINE: typing.ClassVar['DriverType'] = ... - RECIPROCATING_ENGINE: typing.ClassVar['DriverType'] = ... - EXPANDER_DRIVE: typing.ClassVar['DriverType'] = ... +class DriverType(java.lang.Enum["DriverType"]): + ELECTRIC_MOTOR: typing.ClassVar["DriverType"] = ... + VFD_MOTOR: typing.ClassVar["DriverType"] = ... + GAS_TURBINE: typing.ClassVar["DriverType"] = ... + STEAM_TURBINE: typing.ClassVar["DriverType"] = ... + RECIPROCATING_ENGINE: typing.ClassVar["DriverType"] = ... + EXPANDER_DRIVE: typing.ClassVar["DriverType"] = ... @staticmethod - def fromName(string: typing.Union[java.lang.String, str]) -> 'DriverType': ... + def fromName(string: typing.Union[java.lang.String, str]) -> "DriverType": ... def getDisplayName(self) -> java.lang.String: ... def getTypicalEfficiency(self) -> float: ... def getTypicalResponseTime(self) -> float: ... def isElectric(self) -> bool: ... def supportsVariableSpeed(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DriverType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "DriverType": ... @staticmethod - def values() -> typing.MutableSequence['DriverType']: ... + def values() -> typing.MutableSequence["DriverType"]: ... class DryGasSealAnalyzer: def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -811,15 +1135,29 @@ class DryGasSealAnalyzer: def isAnalysisComplete(self) -> bool: ... def isSafeToOperate(self) -> bool: ... def runFullAnalysis(self) -> None: ... - def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAmbientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGCUMargins(self, double: float, double2: 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: ... - def setSealCavityTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSealClearance(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSealGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setSealLeakageRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 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: ... + def setSealCavityTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSealClearance( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSealGas( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setSealLeakageRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setStandpipeCount(self, int: int) -> None: ... def setStandpipeGeometry(self, double: float, double2: float) -> None: ... def setStandpipeWallThickness(self, double: float) -> None: ... @@ -831,8 +1169,12 @@ class OperatingEnvelope(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def getDistanceToEnvelope(self, double: float, double2: float, double3: float) -> float: ... - def getLimitingConstraint(self, double: float, double2: float, double3: float) -> java.lang.String: ... + def getDistanceToEnvelope( + self, double: float, double2: float, double3: float + ) -> float: ... + def getLimitingConstraint( + self, double: float, double2: float, double3: float + ) -> java.lang.String: ... def getMaxDischargeTemperature(self) -> float: ... def getMaxHead(self) -> float: ... def getMaxPower(self) -> float: ... @@ -844,12 +1186,18 @@ class OperatingEnvelope(java.io.Serializable): def getStonewallFlowAtHead(self, double: float, double2: float) -> float: ... def getStonewallFlows(self) -> typing.MutableSequence[float]: ... def getStonewallHeads(self) -> typing.MutableSequence[float]: ... - def getStonewallMargin(self, double: float, double2: float, double3: float) -> float: ... + def getStonewallMargin( + self, double: float, double2: float, double3: float + ) -> float: ... def getSurgeFlowAtHead(self, double: float, double2: float) -> float: ... def getSurgeFlows(self) -> typing.MutableSequence[float]: ... def getSurgeHeads(self) -> typing.MutableSequence[float]: ... - def getSurgeMargin(self, double: float, double2: float, double3: float) -> float: ... - def isWithinEnvelope(self, double: float, double2: float, double3: float) -> bool: ... + def getSurgeMargin( + self, double: float, double2: float, double3: float + ) -> float: ... + def isWithinEnvelope( + self, double: float, double2: float, double3: float + ) -> bool: ... def setMaxDischargeTemperature(self, double: float) -> None: ... def setMaxHead(self, double: float) -> None: ... def setMaxPower(self, double: float) -> None: ... @@ -857,17 +1205,31 @@ class OperatingEnvelope(java.io.Serializable): def setMinPower(self, double: float) -> None: ... def setMinSpeed(self, double: float) -> None: ... def setRatedSpeed(self, double: float) -> None: ... - def setStonewallLine(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: ... - def setStonewallLinePolynomial(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setSurgeLine(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: ... - def setSurgeLinePolynomial(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStonewallLine( + 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: ... + def setStonewallLinePolynomial( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setSurgeLine( + 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: ... + def setSurgeLinePolynomial( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class ReciprocatingCompressorPerformance(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def calculate(self) -> 'ReciprocatingCompressorPerformance': ... + def calculate(self) -> "ReciprocatingCompressorPerformance": ... def getActualInletCapacity(self) -> float: ... def getCompressionRodLoad(self) -> float: ... def getDischargeTemperature(self) -> float: ... @@ -877,13 +1239,27 @@ class ReciprocatingCompressorPerformance(java.io.Serializable): def getTensionRodLoad(self) -> float: ... def getVolumetricEfficiency(self) -> float: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... - def setClearanceFraction(self, double: float) -> 'ReciprocatingCompressorPerformance': ... - def setDisplacementRate(self, double: float) -> 'ReciprocatingCompressorPerformance': ... - def setPolytropicExponent(self, double: float) -> 'ReciprocatingCompressorPerformance': ... - def setPressures(self, double: float, double2: float) -> 'ReciprocatingCompressorPerformance': ... - def setRodLoad(self, double: float, double2: float, double3: float) -> 'ReciprocatingCompressorPerformance': ... - def setSlipLossFraction(self, double: float) -> 'ReciprocatingCompressorPerformance': ... - def setSuctionTemperature(self, double: float) -> 'ReciprocatingCompressorPerformance': ... + def setClearanceFraction( + self, double: float + ) -> "ReciprocatingCompressorPerformance": ... + def setDisplacementRate( + self, double: float + ) -> "ReciprocatingCompressorPerformance": ... + def setPolytropicExponent( + self, double: float + ) -> "ReciprocatingCompressorPerformance": ... + def setPressures( + self, double: float, double2: float + ) -> "ReciprocatingCompressorPerformance": ... + def setRodLoad( + self, double: float, double2: float, double3: float + ) -> "ReciprocatingCompressorPerformance": ... + def setSlipLossFraction( + self, double: float + ) -> "ReciprocatingCompressorPerformance": ... + def setSuctionTemperature( + self, double: float + ) -> "ReciprocatingCompressorPerformance": ... def toJson(self) -> java.lang.String: ... def validateSetup(self) -> None: ... @@ -891,7 +1267,7 @@ class ShutdownProfile(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, shutdownType: 'ShutdownProfile.ShutdownType', double: float): ... + def __init__(self, shutdownType: "ShutdownProfile.ShutdownType", double: float): ... def getAntisurgeOpenDelay(self) -> float: ... def getCoastdownTime(self) -> float: ... def getCurrentPhase(self, double: float) -> java.lang.String: ... @@ -901,9 +1277,9 @@ class ShutdownProfile(java.io.Serializable): def getMaximumDepressurizationRate(self) -> float: ... def getMinimumIdleSpeed(self) -> float: ... def getNormalRampRate(self) -> float: ... - def getProfilePoints(self) -> java.util.List['ShutdownProfile.ProfilePoint']: ... + def getProfilePoints(self) -> java.util.List["ShutdownProfile.ProfilePoint"]: ... def getRapidRampRate(self) -> float: ... - def getShutdownType(self) -> 'ShutdownProfile.ShutdownType': ... + def getShutdownType(self) -> "ShutdownProfile.ShutdownType": ... def getTargetSpeedAtTime(self, double: float, double2: float) -> float: ... def getTotalDuration(self) -> float: ... def isOpenAntisurgeOnShutdown(self) -> bool: ... @@ -918,39 +1294,59 @@ class ShutdownProfile(java.io.Serializable): def setNormalRampRate(self, double: float) -> None: ... def setOpenAntisurgeOnShutdown(self, boolean: bool) -> None: ... def setRapidRampRate(self, double: float) -> None: ... - def setShutdownType(self, shutdownType: 'ShutdownProfile.ShutdownType', double: float) -> None: ... + def setShutdownType( + self, shutdownType: "ShutdownProfile.ShutdownType", double: float + ) -> None: ... def shouldOpenAntisurge(self, double: float) -> bool: ... + class ProfilePoint(java.io.Serializable): - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def getAction(self) -> java.lang.String: ... def getTargetSpeed(self) -> float: ... def getTime(self) -> float: ... - class ShutdownType(java.lang.Enum['ShutdownProfile.ShutdownType']): - NORMAL: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... - RAPID: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... - EMERGENCY: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... - COASTDOWN: typing.ClassVar['ShutdownProfile.ShutdownType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ShutdownType(java.lang.Enum["ShutdownProfile.ShutdownType"]): + NORMAL: typing.ClassVar["ShutdownProfile.ShutdownType"] = ... + RAPID: typing.ClassVar["ShutdownProfile.ShutdownType"] = ... + EMERGENCY: typing.ClassVar["ShutdownProfile.ShutdownType"] = ... + COASTDOWN: typing.ClassVar["ShutdownProfile.ShutdownType"] = ... + _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: ... + 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]) -> 'ShutdownProfile.ShutdownType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ShutdownProfile.ShutdownType": ... @staticmethod - def values() -> typing.MutableSequence['ShutdownProfile.ShutdownType']: ... + def values() -> typing.MutableSequence["ShutdownProfile.ShutdownType"]: ... class StartupProfile(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def addProfilePoint(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addProfilePoint( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> None: ... def clearProfile(self) -> None: ... @staticmethod - def createFastProfile(double: float) -> 'StartupProfile': ... + def createFastProfile(double: float) -> "StartupProfile": ... @staticmethod - def createSlowProfile(double: float, double2: float) -> 'StartupProfile': ... + def createSlowProfile(double: float, double2: float) -> "StartupProfile": ... def getAntisurgeOpeningDuration(self) -> float: ... def getCurrentPhase(self, double: float) -> java.lang.String: ... def getIdleHoldTime(self) -> float: ... @@ -959,12 +1355,14 @@ class StartupProfile(java.io.Serializable): def getMinimumLubeOilTemperature(self) -> float: ... def getMinimumOilPressure(self) -> float: ... def getNormalRampRate(self) -> float: ... - def getProfilePoints(self) -> java.util.List['StartupProfile.ProfilePoint']: ... + def getProfilePoints(self) -> java.util.List["StartupProfile.ProfilePoint"]: ... def getTargetSpeedAtTime(self, double: float, double2: float) -> float: ... def getTotalDuration(self, double: float) -> float: ... def getWarmupRampRate(self) -> float: ... def isRequireAntisurgeOpen(self) -> bool: ... - def isStartupComplete(self, double: float, double2: float, double3: float, double4: float) -> bool: ... + def isStartupComplete( + self, double: float, double2: float, double3: float, double4: float + ) -> bool: ... def setAntisurgeOpeningDuration(self, double: float) -> None: ... def setIdleHoldTime(self, double: float) -> None: ... def setMaximumVibration(self, double: float) -> None: ... @@ -974,8 +1372,15 @@ class StartupProfile(java.io.Serializable): def setNormalRampRate(self, double: float) -> None: ... def setRequireAntisurgeOpen(self, boolean: bool) -> None: ... def setWarmupRampRate(self, double: float) -> None: ... + class ProfilePoint(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ): ... def getCheckDescription(self) -> java.lang.String: ... def getHoldDuration(self) -> float: ... def getTargetSpeed(self) -> float: ... @@ -986,8 +1391,17 @@ class TurboMachineryChartLibrary(java.io.Serializable): GENERIC_CRYO_EXPANDER: typing.ClassVar[java.lang.String] = ... GEOMETRY_RADIAL_IFR: typing.ClassVar[java.lang.String] = ... def __init__(self): ... - def getCompressorChart(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'CompressorChartKhader2015': ... - def getExpanderChart(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.process.equipment.expander.ExpanderChartKhader: ... + def getCompressorChart( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + ) -> "CompressorChartKhader2015": ... + def getExpanderChart( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.process.equipment.expander.ExpanderChartKhader: ... def listCompressorCharts(self) -> java.util.List[java.lang.String]: ... def listExpanderCharts(self) -> java.util.List[java.lang.String]: ... @@ -1001,9 +1415,20 @@ class BoundaryCurve(BoundaryCurveInterface): def hashCode(self) -> int: ... def isActive(self) -> bool: ... 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: ... + 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 Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class Compressor( + jneqsim.process.equipment.TwoPortEquipment, + CompressorInterface, + jneqsim.process.ml.StateVectorProvider, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): thermoSystem: jneqsim.thermo.system.SystemInterface = ... dH: float = ... inletEnthalpy: float = ... @@ -1018,48 +1443,80 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def acknowledgeTrip(self) -> None: ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addEventListener(self, compressorEventListener: CompressorEventListener) -> None: ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addEventListener( + self, compressorEventListener: CompressorEventListener + ) -> None: ... def addOperatingHours(self, double: float) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "Compressor.Builder": ... def checkPowerLimits(self) -> None: ... def checkSpeedLimits(self) -> None: ... def checkStoneWallMargin(self) -> None: ... def checkSurgeMargin(self) -> None: ... def clearCapacityConstraints(self) -> None: ... - def copy(self) -> 'Compressor': ... + def copy(self) -> "Compressor": ... def disableOperatingHistory(self) -> None: ... def displayResult(self) -> None: ... def emergencyShutdown(self) -> None: ... def enableOperatingHistory(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def findOutPressure(self, double: float, double2: float, double3: float) -> float: ... + def findOutPressure( + self, double: float, double2: float, double3: float + ) -> float: ... @typing.overload def generateCompressorChart(self) -> None: ... @typing.overload def generateCompressorChart(self, int: int) -> None: ... @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - @typing.overload - def generateCompressorChart(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def generateCompressorChartFromTemplate(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def generateCompressorChart( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + @typing.overload + def generateCompressorChart( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + @typing.overload + def generateCompressorChart( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... + def generateCompressorChartFromTemplate( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... def generateCompressorCurves(self) -> None: ... def getActualCompressionRatio(self) -> float: ... def getAntiSurge(self) -> AntiSurge: ... def getBearingLoss(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getCompressionRatio(self) -> float: ... @@ -1071,31 +1528,52 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getDistanceToStoneWall(self) -> float: ... def getDistanceToSurge(self) -> float: ... def getDriver(self) -> CompressorDriver: ... - def getDriverCurve(self) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... + def getDriverCurve( + self, + ) -> jneqsim.process.equipment.compressor.driver.DriverCurve: ... def getEffectivePolytropicEfficiency(self) -> float: ... def getEffectivePolytropicHead(self) -> float: ... def getEfficiencySolveTolerance(self) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.compressor.CompressorElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.compressor.CompressorElectricalDesign: ... def getEnergy(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getFoulingFactor(self) -> float: ... - def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.compressor.CompressorInstrumentDesign: ... + def getInstrumentDesign( + self, + ) -> jneqsim.process.instrumentdesign.compressor.CompressorInstrumentDesign: ... def getIsentropicEfficiency(self) -> float: ... def getMaxAccelerationRate(self) -> float: ... def getMaxDecelerationRate(self) -> float: ... @typing.overload def getMaxDischargeTemperature(self) -> float: ... @typing.overload - def getMaxDischargeTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxDischargeTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMaxOutletPressure(self) -> float: ... def getMaxUtilization(self) -> float: ... def getMaximumSpeed(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... def getMechanicalEfficiency(self) -> float: ... def getMechanicalLosses(self) -> CompressorMechanicalLosses: ... def getMinimumSpeed(self) -> float: ... @@ -1109,7 +1587,9 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getOperatingState(self) -> CompressorState: ... def getOutTemperature(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getPolytropicEfficiency(self) -> float: ... @@ -1118,7 +1598,9 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def getPolytropicHead(self) -> float: ... @typing.overload - def getPolytropicHead(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPolytropicHead( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPolytropicHeadMeter(self) -> float: ... def getPolytropicMethod(self) -> java.lang.String: ... @typing.overload @@ -1134,9 +1616,13 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def getRatioToMinSpeed(self) -> float: ... @typing.overload def getRatioToMinSpeed(self, double: float) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getRotationalInertia(self) -> float: ... - def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed(self) -> typing.MutableSequence[float]: ... + def getSafetyFactorCorrectedFlowHeadAtCurrentSpeed( + self, + ) -> typing.MutableSequence[float]: ... def getSealGasConsumption(self) -> float: ... def getShutdownProfile(self) -> ShutdownProfile: ... def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... @@ -1197,14 +1683,24 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def isUseRigorousPolytropicMethod(self) -> bool: ... def isUseVega(self) -> bool: ... def isWithinOperatingEnvelope(self) -> bool: ... - def loadCompressorChartFromCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... - def loadCompressorChartFromJson(self, string: typing.Union[java.lang.String, str]) -> None: ... - def loadCompressorChartFromJsonString(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadCompressorChartFromCsv( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def loadCompressorChartFromJson( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def loadCompressorChartFromJsonString( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def needRecalculation(self) -> bool: ... def recordOperatingPoint(self, double: float) -> None: ... def reinitializeCapacityConstraints(self) -> None: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def removeEventListener(self, compressorEventListener: CompressorEventListener) -> None: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def removeEventListener( + self, compressorEventListener: CompressorEventListener + ) -> None: ... def resetDynamicState(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -1215,24 +1711,36 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def saveCompressorChartToCsv(self, string: typing.Union[java.lang.String, str]) -> None: ... - def saveCompressorChartToJson(self, string: typing.Union[java.lang.String, str]) -> None: ... + def saveCompressorChartToCsv( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def saveCompressorChartToJson( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setAntiSurge(self, antiSurge: AntiSurge) -> None: ... def setAutoSpeedMode(self, boolean: bool) -> None: ... def setCalcPressureOut(self, boolean: bool) -> None: ... def setCompressionRatio(self, double: float) -> None: ... - def setCompressorChart(self, compressorChartInterface: CompressorChartInterface) -> None: ... - def setCompressorChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorChart( + self, compressorChartInterface: CompressorChartInterface + ) -> None: ... + def setCompressorChartType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCurveTemplate(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDegradationFactor(self, double: float) -> None: ... @typing.overload def setDriver(self, compressorDriver: CompressorDriver) -> None: ... @typing.overload def setDriver(self, driverType: DriverType, double: float) -> None: ... - def setDriverCurve(self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve) -> None: ... + def setDriverCurve( + self, driverCurve: jneqsim.process.equipment.compressor.driver.DriverCurve + ) -> None: ... def setEfficiencySolveTolerance(self, double: float) -> None: ... def setFoulingFactor(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setIsSetMaxOutletPressure(self, boolean: bool) -> None: ... def setIsentropicEfficiency(self, double: float) -> None: ... def setLimitSpeed(self, boolean: bool) -> None: ... @@ -1241,36 +1749,52 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def setMaxDischargeTemperature(self, double: float) -> None: ... @typing.overload - def setMaxDischargeTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxDischargeTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxOutletPressure(self, double: float) -> None: ... def setMaximumSpeed(self, double: float) -> None: ... - def setMechanicalLosses(self, compressorMechanicalLosses: CompressorMechanicalLosses) -> None: ... + def setMechanicalLosses( + self, compressorMechanicalLosses: CompressorMechanicalLosses + ) -> None: ... def setMinimumSpeed(self, double: float) -> None: ... def setNumberOfCompressorCalcSteps(self, int: int) -> None: ... def setNumberOfSpeedCurves(self, int: int) -> None: ... def setOperatingHours(self, double: float) -> None: ... def setOperatingState(self, compressorState: CompressorState) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPolytropicEfficiency(self, double: float) -> None: ... def setPolytropicHeadMeter(self, double: float) -> None: ... - def setPolytropicMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPolytropicMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPower(self, double: float) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setPropertyProfile(self, compressorPropertyProfile: CompressorPropertyProfile) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPropertyProfile( + self, compressorPropertyProfile: CompressorPropertyProfile + ) -> None: ... def setRotationalInertia(self, double: float) -> None: ... def setShutdownProfile(self, shutdownProfile: ShutdownProfile) -> None: ... def setSolveSpeed(self, boolean: bool) -> None: ... @@ -1296,48 +1820,76 @@ class Compressor(jneqsim.process.equipment.TwoPortEquipment, CompressorInterface @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def updateDynamicState(self, double: float) -> None: ... def updateMechanicalLosses(self) -> None: ... def updatePowerConstraint(self, double: float) -> None: ... def updateSpeedConstraint(self, double: float, double2: float) -> None: ... def useOutTemperature(self, boolean: bool) -> None: ... def usePolytropicCalc(self) -> bool: ... + class Builder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def build(self) -> 'Compressor': ... - def compressionRatio(self, double: float) -> 'Compressor.Builder': ... - def inletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'Compressor.Builder': ... - def interpolateMapLookup(self) -> 'Compressor.Builder': ... - def isentropicEfficiency(self, double: float) -> 'Compressor.Builder': ... - def maxOutletPressure(self, double: float) -> 'Compressor.Builder': ... - def maxSpeed(self, double: float) -> 'Compressor.Builder': ... - def minSpeed(self, double: float) -> 'Compressor.Builder': ... - def numberOfCompressorCalcSteps(self, int: int) -> 'Compressor.Builder': ... + def build(self) -> "Compressor": ... + def compressionRatio(self, double: float) -> "Compressor.Builder": ... + def inletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "Compressor.Builder": ... + def interpolateMapLookup(self) -> "Compressor.Builder": ... + def isentropicEfficiency(self, double: float) -> "Compressor.Builder": ... + def maxOutletPressure(self, double: float) -> "Compressor.Builder": ... + def maxSpeed(self, double: float) -> "Compressor.Builder": ... + def minSpeed(self, double: float) -> "Compressor.Builder": ... + def numberOfCompressorCalcSteps(self, int: int) -> "Compressor.Builder": ... @typing.overload - def outletPressure(self, double: float) -> 'Compressor.Builder': ... + def outletPressure(self, double: float) -> "Compressor.Builder": ... @typing.overload - def outletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... + def outletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "Compressor.Builder": ... @typing.overload - def outletTemperature(self, double: float) -> 'Compressor.Builder': ... + def outletTemperature(self, double: float) -> "Compressor.Builder": ... @typing.overload - def outletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... - def polytropicEfficiency(self, double: float) -> 'Compressor.Builder': ... - def polytropicMethod(self, string: typing.Union[java.lang.String, str]) -> 'Compressor.Builder': ... - def speed(self, double: float) -> 'Compressor.Builder': ... - def useCompressorChart(self) -> 'Compressor.Builder': ... - def useGERG2008(self) -> 'Compressor.Builder': ... - def useLeachman(self) -> 'Compressor.Builder': ... - def useRigorousPolytropicMethod(self) -> 'Compressor.Builder': ... - def useVega(self) -> 'Compressor.Builder': ... + def outletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "Compressor.Builder": ... + def polytropicEfficiency(self, double: float) -> "Compressor.Builder": ... + def polytropicMethod( + self, string: typing.Union[java.lang.String, str] + ) -> "Compressor.Builder": ... + def speed(self, double: float) -> "Compressor.Builder": ... + def useCompressorChart(self) -> "Compressor.Builder": ... + def useGERG2008(self) -> "Compressor.Builder": ... + def useLeachman(self) -> "Compressor.Builder": ... + def useRigorousPolytropicMethod(self) -> "Compressor.Builder": ... + def useVega(self) -> "Compressor.Builder": ... class CompressorChart(CompressorChartInterface, java.io.Serializable): def __init__(self): ... @typing.overload - def addCurve(self, double: 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]) -> None: ... - @typing.overload - def addCurve(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def addSurgeCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addCurve( + self, + double: 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], + ) -> None: ... + @typing.overload + def addCurve( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def addSurgeCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def checkStoneWall(self, double: float, double2: float) -> bool: ... def checkSurge1(self, double: float, double2: float) -> bool: ... def checkSurge2(self, double: float, double2: float) -> bool: ... @@ -1346,7 +1898,9 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): def generateStoneWallCurve(self) -> None: ... def generateSurgeCurve(self) -> None: ... def getChartConditions(self) -> typing.MutableSequence[float]: ... - def getDischargeTemperatures(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDischargeTemperatures( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getFlow(self, double: float, double2: float, double3: float) -> float: ... def getFlows(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getGamma(self) -> float: ... @@ -1356,20 +1910,24 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): def getInletTemperature(self) -> float: ... def getMaxSpeedCurve(self) -> float: ... def getMinSpeedCurve(self) -> float: ... - def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiencies( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... def getPolytropicExponent(self) -> float: ... def getPolytropicHead(self, double: float, double2: float) -> float: ... def getPowers(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getPressureRatios(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureRatios( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getReferenceDensity(self) -> float: ... def getSpeed(self, double: float, double2: float) -> int: ... def getSpeedValue(self, double: float, double2: float) -> float: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... - def getStoneWallCurve(self) -> 'StoneWallCurve': ... + def getStoneWallCurve(self) -> "StoneWallCurve": ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... def getSurgeFlowAtSpeed(self, double: float) -> float: ... def getSurgeHeadAtSpeed(self, double: float) -> float: ... def hashCode(self) -> int: ... @@ -1377,9 +1935,38 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): def plot(self) -> None: ... def polytropicEfficiency(self, double: float, double2: float) -> float: ... @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setGamma(self, double: float) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setInletPressure(self, double: float) -> None: ... @@ -1387,10 +1974,12 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): def setMaxSpeedCurve(self, double: float) -> None: ... def setMinSpeedCurve(self, double: float) -> None: ... def setPolytropicExponent(self, double: float) -> None: ... - def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setReferenceConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setReferenceDensity(self, double: float) -> None: ... - def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... - def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setStoneWallCurve(self, stoneWallCurve: "StoneWallCurve") -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: "SafeSplineSurgeCurve") -> None: ... def setUseCompressorChart(self, boolean: bool) -> None: ... def setUseRealKappa(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... @@ -1398,16 +1987,40 @@ class CompressorChart(CompressorChartInterface, java.io.Serializable): class CompressorChartAlternativeMapLookup(CompressorChart): def __init__(self): ... @typing.overload - def addCurve(self, double: 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]) -> None: ... - @typing.overload - def addCurve(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def addSurgeCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addCurve( + self, + double: 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], + ) -> None: ... + @typing.overload + def addCurve( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def addSurgeCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... @typing.overload @staticmethod - def bisect_left(doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> int: ... + def bisect_left( + doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float + ) -> int: ... @typing.overload @staticmethod - def bisect_left(doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int, int2: int) -> int: ... + def bisect_left( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + int: int, + int2: int, + ) -> int: ... def checkStoneWall(self, double: float, double2: float) -> bool: ... def checkSurge1(self, double: float, double2: float) -> bool: ... def checkSurge2(self, double: float, double2: float) -> bool: ... @@ -1422,29 +2035,64 @@ class CompressorChartAlternativeMapLookup(CompressorChart): def getHeads(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMaxSpeedCurve(self) -> float: ... def getMinSpeedCurve(self) -> float: ... - def getPolytropicEfficiencies(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPolytropicEfficiencies( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... def getPolytropicHead(self, double: float, double2: float) -> float: ... def getSpeed(self, double: float, double2: float) -> int: ... def getSpeedValue(self, double: float, double2: float) -> float: ... def getSpeeds(self) -> typing.MutableSequence[float]: ... - def getStoneWallCurve(self) -> 'StoneWallCurve': ... - def getSurgeCurve(self) -> 'SafeSplineSurgeCurve': ... + def getStoneWallCurve(self) -> "StoneWallCurve": ... + def getSurgeCurve(self) -> "SafeSplineSurgeCurve": ... def isUseCompressorChart(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def plot(self) -> None: ... def polytropicEfficiency(self, double: float, double2: float) -> float: ... def prettyPrintChartValues(self) -> None: ... @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setGearRatio(self, double: float) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setStoneWallCurve(self, stoneWallCurve: 'StoneWallCurve') -> None: ... - def setSurgeCurve(self, safeSplineSurgeCurve: 'SafeSplineSurgeCurve') -> None: ... + def setReferenceConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setStoneWallCurve(self, stoneWallCurve: "StoneWallCurve") -> None: ... + def setSurgeCurve(self, safeSplineSurgeCurve: "SafeSplineSurgeCurve") -> None: ... def setUseCompressorChart(self, boolean: bool) -> None: ... def setUseRealKappa(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... @@ -1452,17 +2100,92 @@ class CompressorChartAlternativeMapLookup(CompressorChart): class CompressorChartMWInterpolation(CompressorChart): def __init__(self): ... @typing.overload - def addMapAtMW(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]) -> None: ... - @typing.overload - def addMapAtMW(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - @typing.overload - def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def addMapAtMW(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addMapAtMW( + 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], + ) -> None: ... + @typing.overload + def addMapAtMW( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + @typing.overload + def addMapAtMW( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def addMapAtMW( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def addMapAtMW( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def addMapAtMW( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def generateAllStoneWallCurves(self) -> None: ... def generateAllSurgeCurves(self) -> None: ... def getChartAtMW(self, double: float) -> CompressorChart: ... @@ -1491,18 +2214,36 @@ class CompressorChartMWInterpolation(CompressorChart): def setAutoGenerateStoneWallCurves(self, boolean: bool) -> None: ... def setAutoGenerateSurgeCurves(self, boolean: bool) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInterpolationEnabled(self, boolean: bool) -> None: ... def setOperatingMW(self, double: float) -> None: ... - def setStoneWallCurveAtMW(self, double: 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]) -> None: ... - def setSurgeCurveAtMW(self, double: 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]) -> None: ... + def setStoneWallCurveAtMW( + self, + double: 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], + ) -> None: ... + def setSurgeCurveAtMW( + self, + double: 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], + ) -> None: ... def setUseActualMW(self, boolean: bool) -> None: ... class StoneWallCurve(BoundaryCurve): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... def getStoneWallFlow(self, double: float) -> float: ... def isLimit(self, double: float, double2: float) -> bool: ... def isStoneWall(self, double: float, double2: float) -> bool: ... @@ -1511,12 +2252,18 @@ class SurgeCurve(BoundaryCurve): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... def getSurgeFlow(self, double: float) -> float: ... def isLimit(self, double: float, double2: float) -> bool: ... def isSurge(self, double: float, double2: float) -> bool: ... -class CompressorChartAlternativeMapLookupExtrapolate(CompressorChartAlternativeMapLookup): +class CompressorChartAlternativeMapLookupExtrapolate( + CompressorChartAlternativeMapLookup +): def __init__(self): ... def getClosestRefSpeeds(self, double: float) -> java.util.ArrayList[float]: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... @@ -1526,7 +2273,11 @@ class SafeSplineStoneWallCurve(StoneWallCurve): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... @typing.overload def getFlow(self, double: float) -> float: ... @typing.overload @@ -1539,13 +2290,22 @@ class SafeSplineStoneWallCurve(StoneWallCurve): def getStoneWallHead(self, double: float) -> float: ... def isSinglePointStoneWall(self) -> bool: ... def isStoneWall(self, double: float, double2: float) -> bool: ... - 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: ... + 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 SafeSplineSurgeCurve(SurgeCurve): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... @typing.overload def getFlow(self, double: float) -> float: ... @typing.overload @@ -1558,23 +2318,57 @@ class SafeSplineSurgeCurve(SurgeCurve): def getSurgeHead(self, double: float) -> float: ... def isSinglePointSurge(self) -> bool: ... def isSurge(self, double: float, double2: float) -> bool: ... - 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: ... + 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 CompressorChartKhader2015(CompressorChartAlternativeMapLookupExtrapolate): @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float): ... - @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ): ... + @typing.overload + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + @typing.overload + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + double: float, + ): ... def generateRealCurvesForFluid(self) -> None: ... def generateStoneWallCurve(self) -> None: ... def generateSurgeCurve(self) -> None: ... - def getCorrectedCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> java.util.List['CompressorChartKhader2015.CorrectedCurve']: ... + def getCorrectedCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> java.util.List["CompressorChartKhader2015.CorrectedCurve"]: ... def getImpellerOuterDiameter(self) -> float: ... def getPolytropicEfficiency(self, double: float, double2: float) -> float: ... def getPolytropicHead(self, double: float, double2: float) -> float: ... - def getRealCurves(self) -> java.util.List['CompressorChartKhader2015.RealCurve']: ... + def getRealCurves( + self, + ) -> java.util.List["CompressorChartKhader2015.RealCurve"]: ... def getReferenceFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getStoneWallFlowAtSpeed(self, double: float) -> float: ... def getStoneWallHeadAtSpeed(self, double: float) -> float: ... @@ -1582,26 +2376,72 @@ class CompressorChartKhader2015(CompressorChartAlternativeMapLookupExtrapolate): def getSurgeHeadAtSpeed(self, double: float) -> float: ... def prettyPrintRealCurvesForFluid(self) -> None: ... @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setImpellerOuterDiameter(self, double: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + class CorrectedCurve: machineMachNumber: float = ... correctedFlowFactor: typing.MutableSequence[float] = ... correctedHeadFactor: typing.MutableSequence[float] = ... correctedFlowFactorEfficiency: typing.MutableSequence[float] = ... polytropicEfficiency: typing.MutableSequence[float] = ... - def __init__(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... + class RealCurve: speed: float = ... flow: typing.MutableSequence[float] = ... head: typing.MutableSequence[float] = ... flowPolyEff: typing.MutableSequence[float] = ... polytropicEfficiency: typing.MutableSequence[float] = ... - def __init__(self, double: 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... - + def __init__( + self, + double: 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.compressor")``. @@ -1612,8 +2452,12 @@ class __module_protocol__(Protocol): BoundaryCurveInterface: typing.Type[BoundaryCurveInterface] Compressor: typing.Type[Compressor] CompressorChart: typing.Type[CompressorChart] - CompressorChartAlternativeMapLookup: typing.Type[CompressorChartAlternativeMapLookup] - CompressorChartAlternativeMapLookupExtrapolate: typing.Type[CompressorChartAlternativeMapLookupExtrapolate] + CompressorChartAlternativeMapLookup: typing.Type[ + CompressorChartAlternativeMapLookup + ] + CompressorChartAlternativeMapLookupExtrapolate: typing.Type[ + CompressorChartAlternativeMapLookupExtrapolate + ] CompressorChartGenerator: typing.Type[CompressorChartGenerator] CompressorChartInterface: typing.Type[CompressorChartInterface] CompressorChartJsonReader: typing.Type[CompressorChartJsonReader] diff --git a/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi b/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi index 5441c56a..ba2bec2b 100644 --- a/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/compressor/driver/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.io import java.lang import typing - - class DriverCurve(java.io.Serializable): def canSupplyPower(self, double: float, double2: float) -> bool: ... def getAltitude(self) -> float: ... @@ -68,7 +66,9 @@ class ElectricMotorDriver(DriverCurveBase): def getServiceFactor(self) -> float: ... def hasVFD(self) -> bool: ... def setBaseSpeedRatio(self, double: float) -> None: ... - def setEfficiencyClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEfficiencyClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHasVFD(self, boolean: bool) -> None: ... def setMaxSpeedRatio(self, double: float) -> None: ... def setMinSpeedRatio(self, double: float) -> None: ... @@ -94,7 +94,9 @@ class GasTurbineDriver(DriverCurveBase): def getSpeedTurndown(self) -> float: ... def getTemperatureDeratingFactor(self) -> float: ... def setAltitudeDeratingFactor(self, double: float) -> None: ... - def setEfficiencyCurve(self, double: float, double2: float, double3: float) -> None: ... + def setEfficiencyCurve( + self, double: float, double2: float, double3: float + ) -> None: ... def setFuelLHV(self, double: float) -> None: ... def setSpeedTurndown(self, double: float) -> None: ... def setTemperatureDeratingFactor(self, double: float) -> None: ... @@ -118,28 +120,33 @@ class SteamTurbineDriver(DriverCurveBase): def getInletTemperature(self) -> float: ... def getSteamConsumption(self, double: float, double2: float) -> float: ... def getTheoreticalSteamRate(self) -> float: ... - def getTurbineType(self) -> 'SteamTurbineDriver.TurbineType': ... + def getTurbineType(self) -> "SteamTurbineDriver.TurbineType": ... def setExhaustPressure(self, double: float) -> None: ... def setExtractionFlow(self, double: float) -> None: ... def setExtractionPressure(self, double: float) -> None: ... def setInletPressure(self, double: float) -> None: ... def setInletTemperature(self, double: float) -> None: ... - def setTurbineType(self, turbineType: 'SteamTurbineDriver.TurbineType') -> None: ... + def setTurbineType(self, turbineType: "SteamTurbineDriver.TurbineType") -> None: ... def setWillansLineParameters(self, double: float, double2: float) -> None: ... - class TurbineType(java.lang.Enum['SteamTurbineDriver.TurbineType']): - BACK_PRESSURE: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... - CONDENSING: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... - EXTRACTION: typing.ClassVar['SteamTurbineDriver.TurbineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class TurbineType(java.lang.Enum["SteamTurbineDriver.TurbineType"]): + BACK_PRESSURE: typing.ClassVar["SteamTurbineDriver.TurbineType"] = ... + CONDENSING: typing.ClassVar["SteamTurbineDriver.TurbineType"] = ... + EXTRACTION: typing.ClassVar["SteamTurbineDriver.TurbineType"] = ... + _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: ... + 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]) -> 'SteamTurbineDriver.TurbineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SteamTurbineDriver.TurbineType": ... @staticmethod - def values() -> typing.MutableSequence['SteamTurbineDriver.TurbineType']: ... - + def values() -> typing.MutableSequence["SteamTurbineDriver.TurbineType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.compressor.driver")``. diff --git a/src/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi b/src/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi index ae746b77..a2f87991 100644 --- a/src/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/diffpressure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,26 +11,69 @@ import jpype import jneqsim.process.equipment import typing - - class DifferentialPressureFlowCalculator: @typing.overload @staticmethod - def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + def calculate( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> "DifferentialPressureFlowCalculator.FlowCalculationResult": ... @typing.overload @staticmethod - def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + def calculate( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> "DifferentialPressureFlowCalculator.FlowCalculationResult": ... @typing.overload @staticmethod - def calculate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray4: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]], doubleArray5: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> 'DifferentialPressureFlowCalculator.FlowCalculationResult': ... + def calculate( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[java.lang.String, str]], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + ) -> "DifferentialPressureFlowCalculator.FlowCalculationResult": ... @staticmethod - def calculateDpFromFlow(double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]], doubleArray2: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> float: ... + def calculateDpFromFlow( + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[java.lang.String, str]], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + ) -> float: ... @typing.overload @staticmethod - def calculateDpFromFlowVenturi(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def calculateDpFromFlowVenturi( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... @typing.overload @staticmethod - def calculateDpFromFlowVenturi(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calculateDpFromFlowVenturi( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + class FlowCalculationResult: def getMassFlowKgPerHour(self) -> typing.MutableSequence[float]: ... def getMolecularWeightGPerMol(self) -> typing.MutableSequence[float]: ... @@ -41,18 +84,46 @@ class Orifice(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def calc_dp(self) -> float: ... @staticmethod def calculateBetaRatio(double: float, double2: float) -> float: ... @staticmethod - def calculateDischargeCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateDischargeCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + string: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def calculateExpansibility(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateExpansibility( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def calculateMassFlowRate(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateMassFlowRate( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + string: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def calculatePressureDrop(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculatePressureDrop( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -61,8 +132,9 @@ class Orifice(jneqsim.process.equipment.TwoPortEquipment): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setOrificeParameters(self, double: float, double2: float, double3: float) -> None: ... - + def setOrificeParameters( + self, double: float, double2: float, double3: float + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.diffpressure")``. diff --git a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi index 74829ab9..96600cdf 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,52 +20,81 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - class ColumnSpecification(java.io.Serializable): @typing.overload - def __init__(self, specificationType: 'ColumnSpecification.SpecificationType', productLocation: 'ColumnSpecification.ProductLocation', double: float): ... - @typing.overload - def __init__(self, specificationType: 'ColumnSpecification.SpecificationType', productLocation: 'ColumnSpecification.ProductLocation', double: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + specificationType: "ColumnSpecification.SpecificationType", + productLocation: "ColumnSpecification.ProductLocation", + double: float, + ): ... + @typing.overload + def __init__( + self, + specificationType: "ColumnSpecification.SpecificationType", + productLocation: "ColumnSpecification.ProductLocation", + double: float, + string: typing.Union[java.lang.String, str], + ): ... def getComponentName(self) -> java.lang.String: ... - def getLocation(self) -> 'ColumnSpecification.ProductLocation': ... + def getLocation(self) -> "ColumnSpecification.ProductLocation": ... def getMaxIterations(self) -> int: ... def getTargetValue(self) -> float: ... def getTolerance(self) -> float: ... - def getType(self) -> 'ColumnSpecification.SpecificationType': ... + def getType(self) -> "ColumnSpecification.SpecificationType": ... def setMaxIterations(self, int: int) -> None: ... def setTolerance(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class ProductLocation(java.lang.Enum['ColumnSpecification.ProductLocation']): - TOP: typing.ClassVar['ColumnSpecification.ProductLocation'] = ... - BOTTOM: typing.ClassVar['ColumnSpecification.ProductLocation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ProductLocation(java.lang.Enum["ColumnSpecification.ProductLocation"]): + TOP: typing.ClassVar["ColumnSpecification.ProductLocation"] = ... + BOTTOM: typing.ClassVar["ColumnSpecification.ProductLocation"] = ... + _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: ... + 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]) -> 'ColumnSpecification.ProductLocation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ColumnSpecification.ProductLocation": ... @staticmethod - def values() -> typing.MutableSequence['ColumnSpecification.ProductLocation']: ... - class SpecificationType(java.lang.Enum['ColumnSpecification.SpecificationType']): - PRODUCT_PURITY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... - REFLUX_RATIO: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... - COMPONENT_RECOVERY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... - PRODUCT_FLOW_RATE: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... - DUTY: typing.ClassVar['ColumnSpecification.SpecificationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ColumnSpecification.ProductLocation"] + ): ... + + class SpecificationType(java.lang.Enum["ColumnSpecification.SpecificationType"]): + PRODUCT_PURITY: typing.ClassVar["ColumnSpecification.SpecificationType"] = ... + REFLUX_RATIO: typing.ClassVar["ColumnSpecification.SpecificationType"] = ... + COMPONENT_RECOVERY: typing.ClassVar["ColumnSpecification.SpecificationType"] = ( + ... + ) + PRODUCT_FLOW_RATE: typing.ClassVar["ColumnSpecification.SpecificationType"] = ( + ... + ) + DUTY: typing.ClassVar["ColumnSpecification.SpecificationType"] = ... + _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: ... + 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]) -> 'ColumnSpecification.SpecificationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ColumnSpecification.SpecificationType": ... @staticmethod - def values() -> typing.MutableSequence['ColumnSpecification.SpecificationType']: ... + def values() -> ( + typing.MutableSequence["ColumnSpecification.SpecificationType"] + ): ... class DistillationColumnMatrixSolver: - def __init__(self, distillationColumn: 'DistillationColumn'): ... + def __init__(self, distillationColumn: "DistillationColumn"): ... def getLastIterationCount(self) -> int: ... def getLastSolveTimeSeconds(self) -> float: ... def getLastTemperatureResidual(self) -> float: ... @@ -82,9 +111,20 @@ class DistillationInterface(jneqsim.process.equipment.ProcessEquipmentInterface) class NaphtaliSandholmSolver: @typing.overload - def __init__(self, distillationColumn: 'DistillationColumn'): ... - @typing.overload - def __init__(self, distillationColumn: 'DistillationColumn', map: typing.Union[java.util.Map[int, java.util.List[jneqsim.thermo.system.SystemInterface]], typing.Mapping[int, java.util.List[jneqsim.thermo.system.SystemInterface]]], map2: typing.Union[java.util.Map[int, java.util.List[float]], typing.Mapping[int, java.util.List[float]]]): ... + def __init__(self, distillationColumn: "DistillationColumn"): ... + @typing.overload + def __init__( + self, + distillationColumn: "DistillationColumn", + map: typing.Union[ + java.util.Map[int, java.util.List[jneqsim.thermo.system.SystemInterface]], + typing.Mapping[int, java.util.List[jneqsim.thermo.system.SystemInterface]], + ], + map2: typing.Union[ + java.util.Map[int, java.util.List[float]], + typing.Mapping[int, java.util.List[float]], + ], + ): ... def getLastIterations(self) -> int: ... def getLastMassBalanceError(self) -> float: ... def getLastSolveTimeSeconds(self) -> float: ... @@ -93,21 +133,31 @@ class NaphtaliSandholmSolver: def solve(self, uUID: java.util.UUID) -> bool: ... class TrayInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... def setHeatInput(self, double: float) -> None: ... -class ShortcutDistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface): +class ShortcutDistillationColumn( + jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface +): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActualNumberOfStages(self) -> float: ... def getActualRefluxRatio(self) -> float: ... def getBottomsStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getCondenserDuty(self) -> float: ... - def getDistillateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDistillateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFeedTrayNumber(self) -> int: ... def getMinimumNumberOfStages(self) -> float: ... def getMinimumRefluxRatio(self) -> float: ... @@ -122,8 +172,12 @@ class ShortcutDistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseC @typing.overload def setCondenserPressure(self, double: float) -> None: ... @typing.overload - def setCondenserPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCondenserPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setHeavyKey(self, string: typing.Union[java.lang.String, str]) -> None: ... def setHeavyKeyRecoveryBottoms(self, double: float) -> None: ... def setLightKey(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -132,7 +186,9 @@ class ShortcutDistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseC def setReboilerPressure(self, double: float) -> None: ... def setRefluxRatioMultiplier(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -144,18 +200,30 @@ class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): def getFeedRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasSideDrawFraction(self) -> float: ... - def getGasSideDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasSideDrawStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidPumparoundDrawFraction(self) -> float: ... - def getLiquidPumparoundDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidPumparoundDrawStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidSideDrawFraction(self) -> float: ... - def getLiquidSideDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidSideDrawStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getTemperature(self) -> float: ... - def getVaporFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getVaporFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def guessTemperature(self) -> float: ... def init(self) -> None: ... def invalidateOutStreamCache(self) -> None: ... @@ -166,8 +234,12 @@ class SimpleTray(jneqsim.process.equipment.mixer.Mixer, TrayInterface): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def run2(self) -> None: ... - def setCachedGasOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setCachedLiquidOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCachedGasOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setCachedLiquidOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setGasSideDrawFraction(self, double: float) -> None: ... def setHeatInput(self, double: float) -> None: ... def setLiquidPumparoundDrawFraction(self, double: float) -> None: ... @@ -183,9 +255,15 @@ class Condenser(SimpleTray): @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getProductOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProductOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getRefluxRatio(self) -> float: ... def isSeparation_with_liquid_reflux(self) -> bool: ... def isTotalCondenser(self) -> bool: ... @@ -194,7 +272,9 @@ class Condenser(SimpleTray): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setRefluxRatio(self, double: float) -> None: ... - def setSeparation_with_liquid_reflux(self, boolean: bool, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSeparation_with_liquid_reflux( + self, boolean: bool, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTotalCondenser(self, boolean: bool) -> None: ... class ReactiveTray(SimpleTray): @@ -223,7 +303,9 @@ class VLSolidTray(SimpleTray): def __init__(self, string: typing.Union[java.lang.String, str]): ... def calcMixStreamEnthalpy(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -236,58 +318,151 @@ class VLSolidTray(SimpleTray): def setHeatInput(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... -class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, boolean: bool, boolean2: bool): ... - @typing.overload - def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - @typing.overload - def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int) -> None: ... - def addLiquidPumparound(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float, double2: float) -> 'DistillationColumn.ColumnPumparound': ... - def addSideDrawFlowSpecification(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.ColumnSideDrawSpecification': ... +class DistillationColumn( + jneqsim.process.equipment.ProcessEquipmentBaseClass, DistillationInterface +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + boolean: bool, + boolean2: bool, + ): ... + @typing.overload + def addFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + @typing.overload + def addFeedStream( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + int: int, + ) -> None: ... + def addLiquidPumparound( + self, + string: typing.Union[java.lang.String, str], + int: int, + int2: int, + double: float, + double2: float, + ) -> "DistillationColumn.ColumnPumparound": ... + def addSideDrawFlowSpecification( + self, + int: int, + sideDrawPhase: "DistillationColumn.SideDrawPhase", + double: float, + string: typing.Union[java.lang.String, str], + ) -> "DistillationColumn.ColumnSideDrawSpecification": ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.Builder": ... @typing.overload - def calcColumnInternals(self) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... + def calcColumnInternals( + self, + ) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... @typing.overload - def calcColumnInternals(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... + def calcColumnInternals( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.distillation.internals.ColumnInternalsDesigner: ... def clearPerStageMurphreeEfficiency(self) -> None: ... def clearSeedTemperatures(self) -> None: ... - def componentMassBalanceCheck(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def componentMassBalanceCheck( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def displayResult(self) -> None: ... - def enableHydraulicPressureDropCoupling(self, string: typing.Union[java.lang.String, str]) -> None: ... + def enableHydraulicPressureDropCoupling( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def energyBalanceCheck(self) -> None: ... - def estimateFeedTrayNumber(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... - @typing.overload - def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... - @typing.overload - def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... - @typing.overload - def findEconomicOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float, double7: float, double8: float) -> 'DistillationColumn.EconomicTrayOptimizationResult': ... - def findOptimalNumberOfTrays(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> int: ... - def findOptimalTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> 'DistillationColumn.TrayOptimizationResult': ... - def getAutoWarmStartSolver(self) -> 'DistillationColumn.SolverType': ... + def estimateFeedTrayNumber( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> int: ... + @typing.overload + def findEconomicOptimalTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + ) -> "DistillationColumn.EconomicTrayOptimizationResult": ... + @typing.overload + def findEconomicOptimalTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> "DistillationColumn.EconomicTrayOptimizationResult": ... + @typing.overload + def findEconomicOptimalTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> "DistillationColumn.EconomicTrayOptimizationResult": ... + def findOptimalNumberOfTrays( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + ) -> int: ... + def findOptimalTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + ) -> "DistillationColumn.TrayOptimizationResult": ... + def getAutoWarmStartSolver(self) -> "DistillationColumn.SolverType": ... def getBottomPressure(self) -> float: ... def getBottomSpecification(self) -> ColumnSpecification: ... def getCondenser(self) -> Condenser: ... - def getCondenserMode(self) -> 'DistillationColumn.CondenserMode': ... + def getCondenserMode(self) -> "DistillationColumn.CondenserMode": ... def getCondenserTemperature(self) -> float: ... def getConvergenceDiagnostics(self) -> java.lang.String: ... - def getConvergenceHistory(self) -> java.util.List[typing.MutableSequence[float]]: ... - def getDynamicColumnModel(self) -> 'DistillationColumn.DynamicColumnModel': ... + def getConvergenceHistory( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... + def getDynamicColumnModel(self) -> "DistillationColumn.DynamicColumnModel": ... def getEnergyBalanceError(self) -> float: ... def getEnthalpyBalanceTolerance(self) -> float: ... @typing.overload - def getFeedStreams(self, int: int) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getFeedStreams( + self, int: int + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getFeedStreams(self) -> java.util.Map[int, java.util.List[jneqsim.process.equipment.stream.StreamInterface]]: ... + def getFeedStreams( + self, + ) -> java.util.Map[ + int, java.util.List[jneqsim.process.equipment.stream.StreamInterface] + ]: ... @typing.overload def getFeedTrayNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def getFeedTrayNumber(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... + def getFeedTrayNumber( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> int: ... def getFsFactor(self) -> float: ... def getFsFactorUtilization(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getInnerLoopSteps(self) -> int: ... def getInternalDiameter(self) -> float: ... def getLastAutoFeasibilityReport(self) -> java.lang.String: ... @@ -329,16 +504,20 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getLastNaphtaliThermoCacheHitCount(self) -> int: ... def getLastNaphtaliThermoEvaluationCount(self) -> int: ... def getLastPumparoundRelativeChange(self) -> float: ... - def getLastShortcutInitializationResult(self) -> 'DistillationColumn.ShortcutInitializationResult': ... - def getLastSolveStatus(self) -> 'DistillationColumn.SolveStatus': ... + def getLastShortcutInitializationResult( + self, + ) -> "DistillationColumn.ShortcutInitializationResult": ... + def getLastSolveStatus(self) -> "DistillationColumn.SolveStatus": ... def getLastSolveStatusReason(self) -> java.lang.String: ... def getLastSolveTimeSeconds(self) -> float: ... - def getLastSolverTypeUsed(self) -> 'DistillationColumn.SolverType': ... + def getLastSolverTypeUsed(self) -> "DistillationColumn.SolverType": ... def getLastSpecificationHomotopyStepCount(self) -> int: ... def getLastSpecificationResidual(self) -> float: ... def getLastTemperatureResidual(self) -> float: ... def getLastTopSpecificationResidual(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -348,7 +527,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getMaxAllowableFsFactor(self) -> float: ... def getMaxTrayOptimizationCandidates(self) -> int: ... def getMaxTrayOptimizationTimeSeconds(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getMeshProductDrawResidualTolerance(self) -> float: ... def getMeshResidualTolerance(self) -> float: ... def getMinimumDiameterForFsLimit(self) -> float: ... @@ -358,16 +539,26 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getMurphreeEfficiency(self, int: int) -> float: ... def getNumberOfTrays(self) -> int: ... def getNumerOfTrays(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getPumparounds(self) -> java.util.List['DistillationColumn.ColumnPumparound']: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPumparounds( + self, + ) -> java.util.List["DistillationColumn.ColumnPumparound"]: ... def getReboiler(self) -> Reboiler: ... - def getReboilerMode(self) -> 'DistillationColumn.ReboilerMode': ... + def getReboilerMode(self) -> "DistillationColumn.ReboilerMode": ... def getReboilerTemperature(self) -> float: ... def getSeedTemperature(self, int: int) -> float: ... - def getSideDrawSpecifications(self) -> java.util.List['DistillationColumn.ColumnSideDrawSpecification']: ... - def getSideDrawStream(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase') -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSideDrawStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getSolverType(self) -> 'DistillationColumn.SolverType': ... + def getSideDrawSpecifications( + self, + ) -> java.util.List["DistillationColumn.ColumnSideDrawSpecification"]: ... + def getSideDrawStream( + self, int: int, sideDrawPhase: "DistillationColumn.SideDrawPhase" + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSideDrawStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getSolverType(self) -> "DistillationColumn.SolverType": ... def getSpecificationHomotopySteps(self) -> int: ... def getTemperatureTolerance(self) -> float: ... def getTopPressure(self) -> float: ... @@ -384,7 +575,15 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def hasSeedTemperatures(self) -> bool: ... def init(self) -> None: ... def initMechanicalDesign(self) -> None: ... - def initializeFromShortcut(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'DistillationColumn.ShortcutInitializationResult': ... + def initializeFromShortcut( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "DistillationColumn.ShortcutInitializationResult": ... def isDoInitializion(self) -> bool: ... def isDoMultiPhaseCheck(self) -> bool: ... def isDynamicColumnEnabled(self) -> bool: ... @@ -400,7 +599,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di @staticmethod def isVerifyAcceleratedResults() -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def massBalanceCheck(self) -> bool: ... def resetToleranceOverrides(self) -> None: ... @typing.overload @@ -412,21 +613,37 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def screenSpecificationFeasibility(self) -> jneqsim.util.validation.ValidationResult: ... - def setBottomComponentRecovery(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def screenSpecificationFeasibility( + self, + ) -> jneqsim.util.validation.ValidationResult: ... + def setBottomComponentRecovery( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setBottomPressure(self, double: float) -> None: ... - def setBottomProductFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setBottomProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setBottomSpecification(self, columnSpecification: ColumnSpecification) -> None: ... + def setBottomProductFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setBottomProductPurity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setBottomSpecification( + self, columnSpecification: ColumnSpecification + ) -> None: ... def setColumnTearTolerance(self, double: float) -> None: ... def setCondenserDutySpecification(self, double: float) -> None: ... - def setCondenserLiquidReflux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setCondenserMode(self, condenserMode: 'DistillationColumn.CondenserMode') -> None: ... + def setCondenserLiquidReflux( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCondenserMode( + self, condenserMode: "DistillationColumn.CondenserMode" + ) -> None: ... def setCondenserRefluxRatio(self, double: float) -> None: ... @typing.overload def setCondenserTemperature(self, double: float) -> None: ... @typing.overload - def setCondenserTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCondenserTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDoInitializion(self, boolean: bool) -> None: ... def setDynamicColumnEnabled(self, boolean: bool) -> None: ... def setDynamicEnergyEnabled(self, boolean: bool) -> None: ... @@ -436,7 +653,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def setFullFractionatorFastPathEnabled(self, boolean: bool) -> None: ... def setGasSideDrawFraction(self, int: int, double: float) -> None: ... def setHydraulicPressureDropCouplingEnabled(self, boolean: bool) -> None: ... - def setHydraulicPressureDropInternalsType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHydraulicPressureDropInternalsType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInnerLoopSteps(self, int: int) -> None: ... def setInternalDiameter(self, double: float) -> None: ... def setLiquidSideDrawFraction(self, int: int, double: float) -> None: ... @@ -450,7 +669,9 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def setMeshProductDrawResidualTolerance(self, double: float) -> None: ... def setMeshResidualTolerance(self, double: float) -> None: ... def setMultiPhaseCheck(self, boolean: bool) -> None: ... - def setMurphreeEfficiencies(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMurphreeEfficiencies( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setMurphreeEfficiency(self, double: float) -> None: ... @typing.overload @@ -463,23 +684,35 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def setReactive(self, boolean: bool, int: int, int2: int) -> None: ... def setReboilerBoilupRatio(self, double: float) -> None: ... def setReboilerDutySpecification(self, double: float) -> None: ... - def setReboilerMode(self, reboilerMode: 'DistillationColumn.ReboilerMode') -> None: ... + def setReboilerMode( + self, reboilerMode: "DistillationColumn.ReboilerMode" + ) -> None: ... @typing.overload def setReboilerTemperature(self, double: float) -> None: ... @typing.overload - def setReboilerTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReboilerTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setReboilerVaporBoilupRatio(self, double: float) -> None: ... def setRelaxationFactor(self, double: float) -> None: ... def setSeedTemperature(self, int: int, double: float) -> None: ... - def setSideDrawFraction(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float) -> None: ... - def setSolverType(self, solverType: 'DistillationColumn.SolverType') -> None: ... + def setSideDrawFraction( + self, int: int, sideDrawPhase: "DistillationColumn.SideDrawPhase", double: float + ) -> None: ... + def setSolverType(self, solverType: "DistillationColumn.SolverType") -> None: ... def setSpecificationHomotopySteps(self, int: int) -> None: ... def setTemperatureTolerance(self, double: float) -> None: ... - def setTopComponentRecovery(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTopComponentRecovery( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setTopCondenserDuty(self, double: float) -> None: ... def setTopPressure(self, double: float) -> None: ... - def setTopProductFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTopProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTopProductFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTopProductPurity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setTopSpecification(self, columnSpecification: ColumnSpecification) -> None: ... def setTrayDryPressureDrop(self, double: float) -> None: ... def setTrayWeirHeight(self, double: float) -> None: ... @@ -490,79 +723,153 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... def validateSpecifications(self) -> jneqsim.util.validation.ValidationResult: ... def wasFeedFlashFallbackApplied(self) -> bool: ... def wasFullFractionatorFastPathApplied(self) -> bool: ... def wasMatrixInsideOutWarmStartBypassed(self) -> bool: ... def wasMatrixInsideOutWarmStartUsed(self) -> bool: ... + class Builder: - def addFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int) -> 'DistillationColumn.Builder': ... - def autoSolver(self) -> 'DistillationColumn.Builder': ... - def bottomPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... - def bottomSpecification(self, columnSpecification: ColumnSpecification) -> 'DistillationColumn.Builder': ... - def build(self) -> 'DistillationColumn': ... - def dampedSubstitution(self) -> 'DistillationColumn.Builder': ... - def insideOut(self) -> 'DistillationColumn.Builder': ... - def internalDiameter(self, double: float) -> 'DistillationColumn.Builder': ... - def massBalanceTolerance(self, double: float) -> 'DistillationColumn.Builder': ... - def maxIterations(self, int: int) -> 'DistillationColumn.Builder': ... - def numberOfTrays(self, int: int) -> 'DistillationColumn.Builder': ... - def pressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... - def relaxationFactor(self, double: float) -> 'DistillationColumn.Builder': ... - def temperatureTolerance(self, double: float) -> 'DistillationColumn.Builder': ... - def tolerance(self, double: float) -> 'DistillationColumn.Builder': ... - def topPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DistillationColumn.Builder': ... - def topProductPurity(self, string: typing.Union[java.lang.String, str], double: float) -> 'DistillationColumn.Builder': ... - def withCondenserAndReboiler(self) -> 'DistillationColumn.Builder': ... + def addFeedStream( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + int: int, + ) -> "DistillationColumn.Builder": ... + def autoSolver(self) -> "DistillationColumn.Builder": ... + def bottomPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.Builder": ... + def bottomSpecification( + self, columnSpecification: ColumnSpecification + ) -> "DistillationColumn.Builder": ... + def build(self) -> "DistillationColumn": ... + def dampedSubstitution(self) -> "DistillationColumn.Builder": ... + def insideOut(self) -> "DistillationColumn.Builder": ... + def internalDiameter(self, double: float) -> "DistillationColumn.Builder": ... + def massBalanceTolerance( + self, double: float + ) -> "DistillationColumn.Builder": ... + def maxIterations(self, int: int) -> "DistillationColumn.Builder": ... + def numberOfTrays(self, int: int) -> "DistillationColumn.Builder": ... + def pressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.Builder": ... + def relaxationFactor(self, double: float) -> "DistillationColumn.Builder": ... + def temperatureTolerance( + self, double: float + ) -> "DistillationColumn.Builder": ... + def tolerance(self, double: float) -> "DistillationColumn.Builder": ... + def topPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.Builder": ... + def topProductPurity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "DistillationColumn.Builder": ... + def withCondenserAndReboiler(self) -> "DistillationColumn.Builder": ... + class ColumnPumparound(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, int2: int, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + int2: int, + double: float, + double2: float, + ): ... def getDrawFraction(self) -> float: ... def getDrawStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getDrawTrayNumber(self) -> int: ... def getName(self) -> java.lang.String: ... - def getReturnStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getReturnStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getReturnTrayNumber(self) -> int: ... def getTemperatureDrop(self) -> float: ... + class ColumnSideDrawSpecification(java.io.Serializable): - def __init__(self, int: int, sideDrawPhase: 'DistillationColumn.SideDrawPhase', double: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + int: int, + sideDrawPhase: "DistillationColumn.SideDrawPhase", + double: float, + string: typing.Union[java.lang.String, str], + ): ... def getFlowUnit(self) -> java.lang.String: ... def getLastActualFlowRate(self) -> float: ... def getLastRelativeResidual(self) -> float: ... def getMaxIterations(self) -> int: ... - def getPhase(self) -> 'DistillationColumn.SideDrawPhase': ... + def getPhase(self) -> "DistillationColumn.SideDrawPhase": ... def getTargetFlowRate(self) -> float: ... def getTolerance(self) -> float: ... def getTrayNumber(self) -> int: ... def setMaxIterations(self, int: int) -> None: ... def setTolerance(self, double: float) -> None: ... - class CondenserMode(java.lang.Enum['DistillationColumn.CondenserMode']): - PARTIAL: typing.ClassVar['DistillationColumn.CondenserMode'] = ... - TOTAL: typing.ClassVar['DistillationColumn.CondenserMode'] = ... - LIQUID_REFLUX_SPLIT: typing.ClassVar['DistillationColumn.CondenserMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CondenserMode(java.lang.Enum["DistillationColumn.CondenserMode"]): + PARTIAL: typing.ClassVar["DistillationColumn.CondenserMode"] = ... + TOTAL: typing.ClassVar["DistillationColumn.CondenserMode"] = ... + LIQUID_REFLUX_SPLIT: typing.ClassVar["DistillationColumn.CondenserMode"] = ... + _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: ... + 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]) -> 'DistillationColumn.CondenserMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.CondenserMode": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.CondenserMode']: ... - class DynamicColumnModel(java.lang.Enum['DistillationColumn.DynamicColumnModel']): - EXPERIMENTAL_EULER: typing.ClassVar['DistillationColumn.DynamicColumnModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["DistillationColumn.CondenserMode"]: ... + + class DynamicColumnModel(java.lang.Enum["DistillationColumn.DynamicColumnModel"]): + EXPERIMENTAL_EULER: typing.ClassVar["DistillationColumn.DynamicColumnModel"] = ( + ... + ) + _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: ... + 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]) -> 'DistillationColumn.DynamicColumnModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.DynamicColumnModel": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.DynamicColumnModel']: ... - class EconomicTrayOptimizationResult(jneqsim.process.equipment.distillation.DistillationColumn.TrayOptimizationResult): - def __init__(self, trayOptimizationResult: 'DistillationColumn.TrayOptimizationResult', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, int: int, double10: float, double11: float, double12: float, double13: float): ... + def values() -> ( + typing.MutableSequence["DistillationColumn.DynamicColumnModel"] + ): ... + + class EconomicTrayOptimizationResult( + jneqsim.process.equipment.distillation.DistillationColumn.TrayOptimizationResult + ): + def __init__( + self, + trayOptimizationResult: "DistillationColumn.TrayOptimizationResult", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + int: int, + double10: float, + double11: float, + double12: float, + double13: float, + ): ... def getActualTrays(self) -> int: ... def getAnnualUtilityCost(self) -> float: ... def getAnnualizedCapitalCost(self) -> float: ... @@ -577,20 +884,42 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getSteamCostPerTonne(self) -> float: ... def getTotalAnnualizedCost(self) -> float: ... def getTrayEfficiency(self) -> float: ... - class ReboilerMode(java.lang.Enum['DistillationColumn.ReboilerMode']): - EQUILIBRIUM: typing.ClassVar['DistillationColumn.ReboilerMode'] = ... - VAPOR_BOILUP_RATIO: typing.ClassVar['DistillationColumn.ReboilerMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ReboilerMode(java.lang.Enum["DistillationColumn.ReboilerMode"]): + EQUILIBRIUM: typing.ClassVar["DistillationColumn.ReboilerMode"] = ... + VAPOR_BOILUP_RATIO: typing.ClassVar["DistillationColumn.ReboilerMode"] = ... + _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: ... + 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]) -> 'DistillationColumn.ReboilerMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.ReboilerMode": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.ReboilerMode']: ... + def values() -> typing.MutableSequence["DistillationColumn.ReboilerMode"]: ... + class ShortcutInitializationResult(java.io.Serializable): - def __init__(self, boolean: bool, int: int, int2: int, int3: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + boolean: bool, + int: int, + int2: int, + int3: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getActualRefluxRatio(self) -> float: ... def getActualStages(self) -> float: ... def getCondenserDuty(self) -> float: ... @@ -604,55 +933,93 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di def getReboilerDuty(self) -> float: ... def getTotalStageCount(self) -> int: ... def isInitialized(self) -> bool: ... - class SideDrawPhase(java.lang.Enum['DistillationColumn.SideDrawPhase']): - GAS: typing.ClassVar['DistillationColumn.SideDrawPhase'] = ... - LIQUID: typing.ClassVar['DistillationColumn.SideDrawPhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SideDrawPhase(java.lang.Enum["DistillationColumn.SideDrawPhase"]): + GAS: typing.ClassVar["DistillationColumn.SideDrawPhase"] = ... + LIQUID: typing.ClassVar["DistillationColumn.SideDrawPhase"] = ... + _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: ... + 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]) -> 'DistillationColumn.SideDrawPhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.SideDrawPhase": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.SideDrawPhase']: ... - class SolveStatus(java.lang.Enum['DistillationColumn.SolveStatus']): - NOT_RUN: typing.ClassVar['DistillationColumn.SolveStatus'] = ... - RIGOROUS_CONVERGED: typing.ClassVar['DistillationColumn.SolveStatus'] = ... - RECONCILED_PRODUCTS: typing.ClassVar['DistillationColumn.SolveStatus'] = ... - FALLBACK_PRODUCTS: typing.ClassVar['DistillationColumn.SolveStatus'] = ... - FAILED: typing.ClassVar['DistillationColumn.SolveStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["DistillationColumn.SideDrawPhase"]: ... + + class SolveStatus(java.lang.Enum["DistillationColumn.SolveStatus"]): + NOT_RUN: typing.ClassVar["DistillationColumn.SolveStatus"] = ... + RIGOROUS_CONVERGED: typing.ClassVar["DistillationColumn.SolveStatus"] = ... + RECONCILED_PRODUCTS: typing.ClassVar["DistillationColumn.SolveStatus"] = ... + FALLBACK_PRODUCTS: typing.ClassVar["DistillationColumn.SolveStatus"] = ... + FAILED: typing.ClassVar["DistillationColumn.SolveStatus"] = ... + _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: ... + 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]) -> 'DistillationColumn.SolveStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.SolveStatus": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.SolveStatus']: ... - class SolverType(java.lang.Enum['DistillationColumn.SolverType']): - DIRECT_SUBSTITUTION: typing.ClassVar['DistillationColumn.SolverType'] = ... - DAMPED_SUBSTITUTION: typing.ClassVar['DistillationColumn.SolverType'] = ... - INSIDE_OUT: typing.ClassVar['DistillationColumn.SolverType'] = ... - MATRIX_INSIDE_OUT: typing.ClassVar['DistillationColumn.SolverType'] = ... - WEGSTEIN: typing.ClassVar['DistillationColumn.SolverType'] = ... - SUM_RATES: typing.ClassVar['DistillationColumn.SolverType'] = ... - NEWTON: typing.ClassVar['DistillationColumn.SolverType'] = ... - NAPHTALI_SANDHOLM: typing.ClassVar['DistillationColumn.SolverType'] = ... - MESH_RESIDUAL: typing.ClassVar['DistillationColumn.SolverType'] = ... - AUTO: typing.ClassVar['DistillationColumn.SolverType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["DistillationColumn.SolveStatus"]: ... + + class SolverType(java.lang.Enum["DistillationColumn.SolverType"]): + DIRECT_SUBSTITUTION: typing.ClassVar["DistillationColumn.SolverType"] = ... + DAMPED_SUBSTITUTION: typing.ClassVar["DistillationColumn.SolverType"] = ... + INSIDE_OUT: typing.ClassVar["DistillationColumn.SolverType"] = ... + MATRIX_INSIDE_OUT: typing.ClassVar["DistillationColumn.SolverType"] = ... + WEGSTEIN: typing.ClassVar["DistillationColumn.SolverType"] = ... + SUM_RATES: typing.ClassVar["DistillationColumn.SolverType"] = ... + NEWTON: typing.ClassVar["DistillationColumn.SolverType"] = ... + NAPHTALI_SANDHOLM: typing.ClassVar["DistillationColumn.SolverType"] = ... + MESH_RESIDUAL: typing.ClassVar["DistillationColumn.SolverType"] = ... + AUTO: typing.ClassVar["DistillationColumn.SolverType"] = ... + _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: ... + 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]) -> 'DistillationColumn.SolverType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DistillationColumn.SolverType": ... @staticmethod - def values() -> typing.MutableSequence['DistillationColumn.SolverType']: ... + def values() -> typing.MutableSequence["DistillationColumn.SolverType"]: ... + class TrayOptimizationResult(java.io.Serializable): - def __init__(self, boolean: bool, int: int, int2: int, string: typing.Union[java.lang.String, str], boolean2: bool, double: float, double2: float, double3: float, double4: float, double5: float, int3: int, double6: float, double7: float, double8: float, int4: int, int5: int, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + boolean: bool, + int: int, + int2: int, + string: typing.Union[java.lang.String, str], + boolean2: bool, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + int3: int, + double6: float, + double7: float, + double8: float, + int4: int, + int5: int, + string2: typing.Union[java.lang.String, str], + ): ... def getComponentName(self) -> java.lang.String: ... def getCondenserDuty(self) -> float: ... def getConvergedCases(self) -> int: ... @@ -673,21 +1040,42 @@ class DistillationColumn(jneqsim.process.equipment.ProcessEquipmentBaseClass, Di class PackedColumn(DistillationColumn): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... - def addSolventStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def __init__( + self, string: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + boolean: bool, + boolean2: bool, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addSolventStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def getDesignFloodFraction(self) -> float: ... def getFloodingVelocity(self) -> float: ... def getHETP(self) -> float: ... - def getHydraulics(self) -> jneqsim.process.equipment.distillation.internals.PackingHydraulicsCalculator: ... + def getHydraulics( + self, + ) -> ( + jneqsim.process.equipment.distillation.internals.PackingHydraulicsCalculator + ): ... def getPackedHeight(self) -> float: ... @typing.overload def getPackingPressureDrop(self) -> float: ... @typing.overload - def getPackingPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPackingPressureDrop( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPackingType(self) -> java.lang.String: ... def getPercentFlood(self) -> float: ... def getTheoreticalStages(self) -> float: ... @@ -703,12 +1091,20 @@ class PackedColumn(DistillationColumn): def setPackingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setStructuredPacking(self, boolean: bool) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... class ScrubColumn(DistillationColumn): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, boolean: bool, boolean2: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + boolean: bool, + boolean2: bool, + ): ... def getFreezeOutTemperature(self) -> float: ... def getHeavyKeyComponent(self) -> java.lang.String: ... def getHeavyKeyInOverheadMolFrac(self) -> float: ... @@ -720,10 +1116,13 @@ class ScrubColumn(DistillationColumn): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setHeavyKeyComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeavyKeyComponent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxHeavyKeyInOverhead(self, double: float) -> None: ... - def setMinimumBottomsTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - + def setMinimumBottomsTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation")``. diff --git a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi index 9f4abcb0..0d848b67 100644 --- a/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/distillation/internals/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,25 +11,29 @@ import java.util import jneqsim.process.equipment.distillation import typing - - class ColumnInternalsDesigner(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... + def __init__( + self, + distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn, + ): ... def calculate(self) -> None: ... def getAverageTrayEfficiency(self) -> float: ... def getControllingTrayIndex(self) -> int: ... def getMaxPercentFlood(self) -> float: ... def getMinPercentFlood(self) -> float: ... - def getPackingResult(self) -> 'PackingHydraulicsCalculator': ... + def getPackingResult(self) -> "PackingHydraulicsCalculator": ... def getRequiredDiameter(self) -> float: ... def getTotalPressureDrop(self) -> float: ... def getTotalPressureDropMbar(self) -> float: ... - def getTrayResults(self) -> java.util.List['TrayHydraulicsCalculator']: ... + def getTrayResults(self) -> java.util.List["TrayHydraulicsCalculator"]: ... def isDesignOk(self) -> bool: ... - def setColumn(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn) -> None: ... + def setColumn( + self, + distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn, + ) -> None: ... def setColumnDiameterOverride(self, double: float) -> None: ... def setDesignFloodFraction(self, double: float) -> None: ... def setDowncommerAreaFraction(self, double: float) -> None: ... @@ -78,13 +82,19 @@ class PackingHydraulicsCalculator(java.io.Serializable): def setLiquidViscosity(self, double: float) -> None: ... def setNominalSize(self, double: float) -> None: ... def setPackedHeight(self, double: float) -> None: ... - def setPackingCategory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPackingCategory( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPackingFactor(self, double: float) -> None: ... def setPackingName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPackingSpecification(self, packingSpecification: 'PackingSpecification') -> None: ... + def setPackingSpecification( + self, packingSpecification: "PackingSpecification" + ) -> None: ... def setSpecificSurfaceArea(self, double: float) -> None: ... - def setStructuredPackingPreset(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStructuredPackingPreset( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSurfaceTension(self, double: float) -> None: ... def setVaporDensity(self, double: float) -> None: ... def setVaporDiffusivity(self, double: float) -> None: ... @@ -94,7 +104,20 @@ class PackingHydraulicsCalculator(java.io.Serializable): def sizeColumnDiameter(self) -> float: ... class PackingSpecification(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], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, string4: typing.Union[java.lang.String, str]): ... + 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, + double4: float, + double5: float, + double6: float, + double7: float, + string4: typing.Union[java.lang.String, str], + ): ... def getBilletGasConstant(self) -> float: ... def getBilletLiquidConstant(self) -> float: ... def getCategory(self) -> java.lang.String: ... @@ -115,13 +138,18 @@ class PackingSpecificationLibrary: @staticmethod def get(string: typing.Union[java.lang.String, str]) -> PackingSpecification: ... @staticmethod - def getOrDefault(string: typing.Union[java.lang.String, str]) -> PackingSpecification: ... + def getOrDefault( + string: typing.Union[java.lang.String, str] + ) -> PackingSpecification: ... @staticmethod def getPackingNames() -> java.util.List[java.lang.String]: ... @staticmethod def register(packingSpecification: PackingSpecification) -> None: ... @staticmethod - def registerAlias(string: typing.Union[java.lang.String, str], packingSpecification: PackingSpecification) -> None: ... + def registerAlias( + string: typing.Union[java.lang.String, str], + packingSpecification: PackingSpecification, + ) -> None: ... class TrayHydraulicsCalculator(java.io.Serializable): def __init__(self): ... @@ -173,7 +201,6 @@ class TrayHydraulicsCalculator(java.io.Serializable): def setWeirLength(self, double: float) -> None: ... def sizeColumnDiameter(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.distillation.internals")``. diff --git a/src/jneqsim-stubs/process/equipment/ejector/__init__.pyi b/src/jneqsim-stubs/process/equipment/ejector/__init__.pyi index 97e75f09..1f82dcde 100644 --- a/src/jneqsim-stubs/process/equipment/ejector/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/ejector/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,27 +15,50 @@ import jneqsim.process.mechanicaldesign.ejector import jneqsim.process.util.report import typing - - -class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... +class Ejector( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + jneqsim.process.design.AutoSizeable, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def clearCapacityConstraints(self) -> None: ... - def generatePerformanceCurve(self, double: float, double2: float, int: int) -> java.util.List[typing.MutableSequence[float]]: ... + def generatePerformanceCurve( + self, double: float, double2: float, int: int + ) -> java.util.List[typing.MutableSequence[float]]: ... def getAreaRatio(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCompressionRatio(self) -> float: ... def getCriticalBackPressure(self) -> float: ... def getDesignCompressionRatio(self) -> float: ... def getDesignEntrainmentRatio(self) -> float: ... - def getDesignResult(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getDesignResult( + self, + ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getDiffuserEfficiency(self) -> float: ... def getEfficiencyIsentropic(self) -> float: ... def getEntrainmentRatio(self) -> float: ... @@ -46,7 +69,9 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaxCriticalBackPressure(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.ejector.EjectorMechanicalDesign: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMixingEfficiency(self) -> float: ... def getMixingMach(self) -> float: ... @@ -66,7 +91,9 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def isInBreakdown(self) -> bool: ... def isMotiveChoked(self) -> bool: ... def isSuctionChoked(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -89,12 +116,34 @@ class Ejector(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class EjectorDesignResult: - def __init__(self, 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): ... + def __init__( + self, + 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, + ): ... @staticmethod - def empty() -> 'EjectorDesignResult': ... + def empty() -> "EjectorDesignResult": ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -119,7 +168,6 @@ class EjectorDesignResult: def getSuctionInletVelocity(self) -> float: ... def getTotalVolume(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.ejector")``. diff --git a/src/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi b/src/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi index c3787e84..d2ccda90 100644 --- a/src/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/electrolyzer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,15 +12,21 @@ import jneqsim.process.equipment import jneqsim.process.equipment.stream import typing - - class CO2Electrolyzer(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 getGasProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getGasProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -31,20 +37,36 @@ class CO2Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self, uUID: java.util.UUID) -> None: ... def setCO2Conversion(self, double: float) -> None: ... def setCellVoltage(self, double: float) -> None: ... - def setCo2ComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCo2ComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCurrentEfficiency(self, double: float) -> None: ... - def setElectronsPerMoleProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setGasProductSelectivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setLiquidProductSelectivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setProductFaradaicEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setElectronsPerMoleProduct( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setGasProductSelectivity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setLiquidProductSelectivity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setProductFaradaicEfficiency( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setUseSelectivityModel(self, boolean: bool) -> None: ... class Electrolyzer(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActiveCellArea(self) -> float: ... def getAuxiliaryLoadFraction(self) -> float: ... def getAvailablePower(self) -> float: ... @@ -54,8 +76,10 @@ class Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getFaradaicEfficiency(self) -> float: ... def getHydrogenCompressionPower(self) -> float: ... def getHydrogenDeliveryPressure(self) -> float: ... - def getHydrogenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getIVCharacteristic(self) -> 'ElectrolyzerIVCharacteristic': ... + def getHydrogenOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getIVCharacteristic(self) -> "ElectrolyzerIVCharacteristic": ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -65,8 +89,10 @@ class Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getNominalCurrentDensity(self) -> float: ... def getNumberOfCells(self) -> int: ... def getOperatingPower(self) -> float: ... - def getOperationMode(self) -> 'Electrolyzer.OperationMode': ... - def getOxygenOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOperationMode(self) -> "Electrolyzer.OperationMode": ... + def getOxygenOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getRatedPower(self) -> float: ... def getRectifierEfficiency(self) -> float: ... def getSpecificEnergyConsumption_kWh_per_kg_H2(self) -> float: ... @@ -76,9 +102,11 @@ class Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getStandbyPowerFraction(self) -> float: ... def getSystemPower(self) -> float: ... def getSystemSpecificEnergyConsumption_kWh_per_kg_H2(self) -> float: ... - def getTechnology(self) -> 'ElectrolyzerTechnology': ... + def getTechnology(self) -> "ElectrolyzerTechnology": ... def getWasteHeat(self) -> float: ... - def getWaterConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterConsumption( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isStandby(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -95,67 +123,82 @@ class Electrolyzer(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setCurrentDensity(self, double: float) -> None: ... def setFaradaicEfficiency(self, double: float) -> None: ... def setHydrogenDeliveryPressure(self, double: float) -> None: ... - def setIVCharacteristic(self, electrolyzerIVCharacteristic: 'ElectrolyzerIVCharacteristic') -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setIVCharacteristic( + self, electrolyzerIVCharacteristic: "ElectrolyzerIVCharacteristic" + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMaxRampRate(self, double: float) -> None: ... def setMinimumLoadFraction(self, double: float) -> None: ... def setNominalCurrentDensity(self, double: float) -> None: ... def setNumberOfCells(self, int: int) -> None: ... - def setOperationMode(self, operationMode: 'Electrolyzer.OperationMode') -> None: ... + def setOperationMode(self, operationMode: "Electrolyzer.OperationMode") -> None: ... def setRatedPower(self, double: float) -> None: ... def setRectifierEfficiency(self, double: float) -> None: ... def setStackActiveArea(self, double: float) -> None: ... def setStandbyPowerFraction(self, double: float) -> None: ... - def setTechnology(self, electrolyzerTechnology: 'ElectrolyzerTechnology') -> None: ... + def setTechnology( + self, electrolyzerTechnology: "ElectrolyzerTechnology" + ) -> None: ... @typing.overload def sizeStack(self, double: float) -> None: ... @typing.overload def sizeStack(self, double: float, double2: float, double3: float) -> None: ... - class OperationMode(java.lang.Enum['Electrolyzer.OperationMode']): - WATER_FEED: typing.ClassVar['Electrolyzer.OperationMode'] = ... - POWER: typing.ClassVar['Electrolyzer.OperationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class OperationMode(java.lang.Enum["Electrolyzer.OperationMode"]): + WATER_FEED: typing.ClassVar["Electrolyzer.OperationMode"] = ... + POWER: typing.ClassVar["Electrolyzer.OperationMode"] = ... + _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: ... + 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]) -> 'Electrolyzer.OperationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Electrolyzer.OperationMode": ... @staticmethod - def values() -> typing.MutableSequence['Electrolyzer.OperationMode']: ... + def values() -> typing.MutableSequence["Electrolyzer.OperationMode"]: ... class ElectrolyzerIVCharacteristic(java.io.Serializable): - def __init__(self, electrolyzerTechnology: 'ElectrolyzerTechnology'): ... + def __init__(self, electrolyzerTechnology: "ElectrolyzerTechnology"): ... def getAreaSpecificResistance(self) -> float: ... def getCellVoltage(self, double: float, double2: float) -> float: ... def getExchangeCurrentDensity(self) -> float: ... def getReversibleVoltage(self, double: float) -> float: ... def getTafelSlope(self) -> float: ... - def getTechnology(self) -> 'ElectrolyzerTechnology': ... + def getTechnology(self) -> "ElectrolyzerTechnology": ... def setAreaSpecificResistance(self, double: float) -> None: ... def setExchangeCurrentDensity(self, double: float) -> None: ... def setTafelSlope(self, double: float) -> None: ... -class ElectrolyzerTechnology(java.lang.Enum['ElectrolyzerTechnology']): - PEM: typing.ClassVar['ElectrolyzerTechnology'] = ... - ALKALINE: typing.ClassVar['ElectrolyzerTechnology'] = ... - SOEC: typing.ClassVar['ElectrolyzerTechnology'] = ... - AEM: typing.ClassVar['ElectrolyzerTechnology'] = ... +class ElectrolyzerTechnology(java.lang.Enum["ElectrolyzerTechnology"]): + PEM: typing.ClassVar["ElectrolyzerTechnology"] = ... + ALKALINE: typing.ClassVar["ElectrolyzerTechnology"] = ... + SOEC: typing.ClassVar["ElectrolyzerTechnology"] = ... + AEM: typing.ClassVar["ElectrolyzerTechnology"] = ... def getDefaultCellVoltage(self) -> float: ... def getDefaultCurrentDensity(self) -> float: ... def getDefaultFaradaicEfficiency(self) -> float: ... def getDefaultPressureBara(self) -> float: ... def getDefaultTemperatureC(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ElectrolyzerTechnology': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ElectrolyzerTechnology": ... @staticmethod - def values() -> typing.MutableSequence['ElectrolyzerTechnology']: ... - + def values() -> typing.MutableSequence["ElectrolyzerTechnology"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.electrolyzer")``. diff --git a/src/jneqsim-stubs/process/equipment/expander/__init__.pyi b/src/jneqsim-stubs/process/equipment/expander/__init__.pyi index b9ac06ee..4dfe6c8f 100644 --- a/src/jneqsim-stubs/process/equipment/expander/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/expander/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,44 +17,79 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class ExpanderChartKhader(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def getEfficiency(self, double: float, double2: float) -> float: ... def getIgvPositions(self) -> typing.MutableSequence[float]: ... def getImpellerOuterDiameter(self) -> float: ... def getOptimumVelocityRatio(self, double: float) -> float: ... def getReferenceSoundSpeed(self) -> float: ... - def getStageHeadDrop(self, double: float, double2: float, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getStageHeadDrop( + self, + double: float, + double2: float, + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... def isMapDefined(self) -> bool: ... - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setImpellerOuterDiameter(self, double: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... -class ExpanderInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +class ExpanderInterface( + jneqsim.process.equipment.ProcessEquipmentInterface, + jneqsim.process.equipment.TwoPortInterface, +): def equals(self, object: typing.Any) -> bool: ... def getEnergy(self) -> float: ... def hashCode(self) -> int: ... class MapTurboExpanderCompressor(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAvailableShaftPower(self) -> float: ... def getBearingLossPower(self) -> float: ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... - def getCompressorOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getConsumedCompressorPower(self) -> float: ... - def getExpander(self) -> 'Expander': ... - def getExpanderOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getExpander(self) -> "Expander": ... + def getExpanderOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getMechanicalEfficiency(self) -> float: ... - def getOperatingStatus(self) -> 'MapTurboExpanderCompressor.OperatingStatus': ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOperatingStatus(self) -> "MapTurboExpanderCompressor.OperatingStatus": ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getPowerBalanceResidual(self) -> float: ... - def getShaftMode(self) -> 'MapTurboExpanderCompressor.ShaftMode': ... + def getShaftMode(self) -> "MapTurboExpanderCompressor.ShaftMode": ... def getShaftSpeed(self) -> float: ... def isFeasible(self) -> bool: ... def isSpeedLimited(self) -> bool: ... @@ -67,45 +102,75 @@ class MapTurboExpanderCompressor(jneqsim.process.equipment.ProcessEquipmentBaseC def setExpanderIsentropicEfficiency(self, double: float) -> None: ... def setExpanderOutletPressure(self, double: float) -> None: ... def setMechanicalEfficiency(self, double: float) -> None: ... - def setShaftMode(self, shaftMode: 'MapTurboExpanderCompressor.ShaftMode') -> None: ... + def setShaftMode( + self, shaftMode: "MapTurboExpanderCompressor.ShaftMode" + ) -> None: ... def setShaftSpeedBounds(self, double: float, double2: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class OperatingStatus(java.lang.Enum['MapTurboExpanderCompressor.OperatingStatus']): - BALANCED: typing.ClassVar['MapTurboExpanderCompressor.OperatingStatus'] = ... - UNDER_POWER_SURGE: typing.ClassVar['MapTurboExpanderCompressor.OperatingStatus'] = ... - OVER_POWER_MAX_SPEED: typing.ClassVar['MapTurboExpanderCompressor.OperatingStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class OperatingStatus(java.lang.Enum["MapTurboExpanderCompressor.OperatingStatus"]): + BALANCED: typing.ClassVar["MapTurboExpanderCompressor.OperatingStatus"] = ... + UNDER_POWER_SURGE: typing.ClassVar[ + "MapTurboExpanderCompressor.OperatingStatus" + ] = ... + OVER_POWER_MAX_SPEED: typing.ClassVar[ + "MapTurboExpanderCompressor.OperatingStatus" + ] = ... + _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: ... + 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]) -> 'MapTurboExpanderCompressor.OperatingStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MapTurboExpanderCompressor.OperatingStatus": ... @staticmethod - def values() -> typing.MutableSequence['MapTurboExpanderCompressor.OperatingStatus']: ... - class ShaftMode(java.lang.Enum['MapTurboExpanderCompressor.ShaftMode']): - SPECIFIED_PRESSURES: typing.ClassVar['MapTurboExpanderCompressor.ShaftMode'] = ... - BALANCED_SPEED: typing.ClassVar['MapTurboExpanderCompressor.ShaftMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["MapTurboExpanderCompressor.OperatingStatus"] + ): ... + + class ShaftMode(java.lang.Enum["MapTurboExpanderCompressor.ShaftMode"]): + SPECIFIED_PRESSURES: typing.ClassVar["MapTurboExpanderCompressor.ShaftMode"] = ( + ... + ) + BALANCED_SPEED: typing.ClassVar["MapTurboExpanderCompressor.ShaftMode"] = ... + _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: ... + 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]) -> 'MapTurboExpanderCompressor.ShaftMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MapTurboExpanderCompressor.ShaftMode": ... @staticmethod - def values() -> typing.MutableSequence['MapTurboExpanderCompressor.ShaftMode']: ... + def values() -> ( + typing.MutableSequence["MapTurboExpanderCompressor.ShaftMode"] + ): ... class RadialExpanderGeometryMap(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, double3: float): ... - def generateChart(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> ExpanderChartKhader: ... + def generateChart( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> ExpanderChartKhader: ... def getDegreeOfReaction(self) -> float: ... def getImpellerOuterDiameter(self) -> float: ... def getRadiusRatio(self) -> float: ... @@ -117,7 +182,9 @@ class RadialExpanderGeometryMap(java.io.Serializable): def setNozzleLossCoefficient(self, double: float) -> None: ... def setPointsPerCurve(self, int: int) -> None: ... def setRadiusRatio(self, double: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setRotorLossCoefficient(self, double: float) -> None: ... def setVelocityRatioRange(self, double: float, double2: float) -> None: ... @@ -125,20 +192,73 @@ class TurboExpanderMapIngestion(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def addAnchorPoint(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def buildCompressorChart(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray6: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> jneqsim.process.equipment.compressor.CompressorChartKhader2015: ... - def buildExpanderChart(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> ExpanderChartKhader: ... - def getAnchorPoints(self) -> java.util.List['TurboExpanderMapIngestion.AnchorPoint']: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def addAnchorPoint( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def buildCompressorChart( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray6: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> jneqsim.process.equipment.compressor.CompressorChartKhader2015: ... + def buildExpanderChart( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> ExpanderChartKhader: ... + def getAnchorPoints( + self, + ) -> java.util.List["TurboExpanderMapIngestion.AnchorPoint"]: ... def getCompressorImpellerDiameter(self) -> float: ... def getExpanderImpellerDiameter(self) -> float: ... def getReferenceFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def setCompressorImpellerDiameter(self, double: float) -> None: ... def setExpanderImpellerDiameter(self, double: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def validateExpanderChart(self, expanderChartKhader: ExpanderChartKhader, double: float) -> bool: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def validateExpanderChart( + self, expanderChartKhader: ExpanderChartKhader, double: float + ) -> bool: ... + class AnchorPoint(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getExpanderEfficiency(self) -> float: ... def getIgvOpening(self) -> float: ... def getLabel(self) -> java.lang.String: ... @@ -148,15 +268,31 @@ class TurboExpanderOperatingEnvelope(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, turboExpanderCompressor: 'TurboExpanderCompressor'): ... - def getColdEndTemperature(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getFeasibility(self) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... - def getHydrateMargin(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getShaftSpeed(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getSurgeMargin(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__(self, turboExpanderCompressor: "TurboExpanderCompressor"): ... + def getColdEndTemperature( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getFeasibility( + self, + ) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... + def getHydrateMargin( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getShaftSpeed( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSurgeMargin( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def run(self) -> None: ... - def setGrid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMachine(self, turboExpanderCompressor: 'TurboExpanderCompressor') -> None: ... + def setGrid( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setMachine( + self, turboExpanderCompressor: "TurboExpanderCompressor" + ) -> None: ... def setSpeedLimits(self, double: float, double2: float) -> None: ... def setSurgeQnLimit(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... @@ -166,14 +302,24 @@ class Expander(jneqsim.process.equipment.compressor.Compressor, ExpanderInterfac @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 getCoupledCompressorLoad(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getCoupledCompressorLoad( + self, + ) -> jneqsim.process.equipment.compressor.Compressor: ... def getCoupledCompressorSpeedRatio(self) -> float: ... @typing.overload def getDynamicRecoveredPower(self) -> float: ... @typing.overload - def getDynamicRecoveredPower(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getExpanderMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign: ... + def getDynamicRecoveredPower( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getExpanderMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.expander.ExpanderMechanicalDesign: ... def getExternalShaftLoad(self) -> float: ... def getNozzleOpening(self) -> float: ... def getNozzleOpeningRate(self) -> float: ... @@ -189,7 +335,9 @@ class Expander(jneqsim.process.equipment.compressor.Compressor, ExpanderInterfac def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setCoupledCompressorLoad(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + def setCoupledCompressorLoad( + self, compressor: jneqsim.process.equipment.compressor.Compressor + ) -> None: ... def setCoupledCompressorSpeedRatio(self, double: float) -> None: ... def setExternalShaftLoad(self, double: float) -> None: ... def setNozzleOpening(self, double: float) -> None: ... @@ -203,21 +351,33 @@ class ExpanderOld(jneqsim.process.equipment.TwoPortEquipment, ExpanderInterface) @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getEnergy(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... class TurboExpanderCompressor(Expander): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcIGVOpenArea(self) -> float: ... def calcIGVOpening(self) -> float: ... def calcIGVOpeningFromFlow(self) -> float: ... @@ -225,8 +385,12 @@ class TurboExpanderCompressor(Expander): def getCompressorDesignPolytropicEfficiency(self) -> float: ... def getCompressorDesignPolytropicHead(self) -> float: ... def getCompressorDesingPolytropicHead(self) -> float: ... - def getCompressorFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getCompressorOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorFeedStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCompressorOutletStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getCompressorPolytropicEfficiency(self) -> float: ... def getCompressorPolytropicEfficieny(self) -> float: ... def getCompressorPolytropicHead(self) -> float: ... @@ -241,11 +405,17 @@ class TurboExpanderCompressor(Expander): def getEfficiencyFromUC(self, double: float) -> float: ... def getExpanderChart(self) -> ExpanderChartKhader: ... def getExpanderDesignIsentropicEfficiency(self) -> float: ... - def getExpanderFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderFeedStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderIsentropicEfficiency(self) -> float: ... def getExpanderOutPressure(self) -> float: ... - def getExpanderOutTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getExpanderOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExpanderOutTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getExpanderOutletStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getExpanderSpeed(self) -> float: ... def getGearRatio(self) -> float: ... def getHeadFromQN(self, double: float) -> float: ... @@ -262,11 +432,15 @@ class TurboExpanderCompressor(Expander): @typing.overload def getPowerCompressor(self) -> float: ... @typing.overload - def getPowerCompressor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPowerCompressor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getPowerExpander(self) -> float: ... @typing.overload - def getPowerExpander(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPowerExpander( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getQNratiocompressor(self) -> float: ... def getQNratioexpander(self) -> float: ... def getQn(self) -> float: ... @@ -279,7 +453,11 @@ class TurboExpanderCompressor(Expander): @staticmethod def getSerialversionuid() -> int: ... def getSpeed(self) -> float: ... - def getTECMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.expander.TurboExpanderCompressorMechanicalDesign: ... + def getTECMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.expander.TurboExpanderCompressorMechanicalDesign + ): ... def getUCratiocompressor(self) -> float: ... def getUCratioexpander(self) -> float: ... def getUcCurveA(self) -> float: ... @@ -295,7 +473,9 @@ class TurboExpanderCompressor(Expander): def run(self, uUID: java.util.UUID) -> None: ... def setCompressorDesignPolytropicEfficiency(self, double: float) -> None: ... def setCompressorDesignPolytropicHead(self, double: float) -> None: ... - def setCompressorFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCompressorFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setDesignExpanderQn(self, double: float) -> None: ... def setDesignQn(self, double: float) -> None: ... def setDesignSpeed(self, double: float) -> None: ... @@ -304,27 +484,46 @@ class TurboExpanderCompressor(Expander): def setExpanderDesignIsentropicEfficiency(self, double: float) -> None: ... def setExpanderIsentropicEfficiency(self, double: float) -> None: ... def setExpanderOutPressure(self, double: float) -> None: ... - def setExpanderOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setExpanderOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIGVopening(self, double: float) -> None: ... def setIgvAreaIncreaseFactor(self, double: float) -> None: ... def setIgvControlMode(self, boolean: bool) -> None: ... - def setIgvEfficiencyPenaltyCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setIgvEfficiencyPenaltyCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setImpellerDiameter(self, double: float) -> None: ... def setMaximumIGVArea(self, double: float) -> None: ... - def setQNEfficiencycurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setQNHeadcurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setQNEfficiencycurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setQNHeadcurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setQNratiocompressor(self, double: float) -> None: ... def setQNratioexpander(self, double: float) -> None: ... def setQn(self, double: float) -> None: ... - def setUCcurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setUCcurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setUCratiocompressor(self, double: float) -> None: ... def setUCratioexpander(self, double: float) -> None: ... def setUseOutTemperatureSpec(self, boolean: bool) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.expander")``. diff --git a/src/jneqsim-stubs/process/equipment/failure/__init__.pyi b/src/jneqsim-stubs/process/equipment/failure/__init__.pyi index a9fca1aa..fb21f73d 100644 --- a/src/jneqsim-stubs/process/equipment/failure/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/failure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,13 @@ import java.lang import java.util import typing - - class EquipmentFailureMode(java.io.Serializable): @staticmethod - def builder() -> 'EquipmentFailureMode.Builder': ... + def builder() -> "EquipmentFailureMode.Builder": ... @staticmethod - def bypassed() -> 'EquipmentFailureMode': ... + def bypassed() -> "EquipmentFailureMode": ... @staticmethod - def degraded(double: float) -> 'EquipmentFailureMode': ... + def degraded(double: float) -> "EquipmentFailureMode": ... def getAutoRecoveryTime(self) -> float: ... def getCapacityFactor(self) -> float: ... def getDescription(self) -> java.lang.String: ... @@ -27,66 +25,106 @@ class EquipmentFailureMode(java.io.Serializable): def getMttr(self) -> float: ... def getName(self) -> java.lang.String: ... def getProductionLossFactor(self) -> float: ... - def getType(self) -> 'EquipmentFailureMode.FailureType': ... + def getType(self) -> "EquipmentFailureMode.FailureType": ... def isAutoRecoverable(self) -> bool: ... def isCompleteFailure(self) -> bool: ... def isRequiresImmediateAction(self) -> bool: ... @staticmethod - def maintenance(double: float) -> 'EquipmentFailureMode': ... + def maintenance(double: float) -> "EquipmentFailureMode": ... def toString(self) -> java.lang.String: ... @staticmethod - def trip(string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode': ... + def trip(string: typing.Union[java.lang.String, str]) -> "EquipmentFailureMode": ... + class Builder: def __init__(self): ... - def autoRecoverable(self, boolean: bool) -> 'EquipmentFailureMode.Builder': ... - def autoRecoveryTime(self, double: float) -> 'EquipmentFailureMode.Builder': ... - def build(self) -> 'EquipmentFailureMode': ... - def capacityFactor(self, double: float) -> 'EquipmentFailureMode.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode.Builder': ... - def efficiencyFactor(self, double: float) -> 'EquipmentFailureMode.Builder': ... - def failureFrequency(self, double: float) -> 'EquipmentFailureMode.Builder': ... - def mttr(self, double: float) -> 'EquipmentFailureMode.Builder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'EquipmentFailureMode.Builder': ... - def requiresImmediateAction(self, boolean: bool) -> 'EquipmentFailureMode.Builder': ... - def type(self, failureType: 'EquipmentFailureMode.FailureType') -> 'EquipmentFailureMode.Builder': ... - class FailureType(java.lang.Enum['EquipmentFailureMode.FailureType']): - TRIP: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - DEGRADED: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - PARTIAL_FAILURE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - FULL_FAILURE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - MAINTENANCE: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - BYPASSED: typing.ClassVar['EquipmentFailureMode.FailureType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def autoRecoverable(self, boolean: bool) -> "EquipmentFailureMode.Builder": ... + def autoRecoveryTime(self, double: float) -> "EquipmentFailureMode.Builder": ... + def build(self) -> "EquipmentFailureMode": ... + def capacityFactor(self, double: float) -> "EquipmentFailureMode.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "EquipmentFailureMode.Builder": ... + def efficiencyFactor(self, double: float) -> "EquipmentFailureMode.Builder": ... + def failureFrequency(self, double: float) -> "EquipmentFailureMode.Builder": ... + def mttr(self, double: float) -> "EquipmentFailureMode.Builder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "EquipmentFailureMode.Builder": ... + def requiresImmediateAction( + self, boolean: bool + ) -> "EquipmentFailureMode.Builder": ... + def type( + self, failureType: "EquipmentFailureMode.FailureType" + ) -> "EquipmentFailureMode.Builder": ... + + class FailureType(java.lang.Enum["EquipmentFailureMode.FailureType"]): + TRIP: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + DEGRADED: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + PARTIAL_FAILURE: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + FULL_FAILURE: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + MAINTENANCE: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + BYPASSED: typing.ClassVar["EquipmentFailureMode.FailureType"] = ... + _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: ... + 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]) -> 'EquipmentFailureMode.FailureType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EquipmentFailureMode.FailureType": ... @staticmethod - def values() -> typing.MutableSequence['EquipmentFailureMode.FailureType']: ... + def values() -> typing.MutableSequence["EquipmentFailureMode.FailureType"]: ... class ReliabilityDataSource(java.io.Serializable): - def createFailureMode(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> EquipmentFailureMode: ... + def createFailureMode( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> EquipmentFailureMode: ... def getDataSources(self) -> java.util.List[java.lang.String]: ... def getEntryCount(self) -> int: ... def getEquipmentTypes(self) -> java.util.List[java.lang.String]: ... @typing.overload - def getFailureModes(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ReliabilityDataSource.FailureModeData']: ... + def getFailureModes( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["ReliabilityDataSource.FailureModeData"]: ... @typing.overload - def getFailureModes(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['ReliabilityDataSource.FailureModeData']: ... + def getFailureModes( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.List["ReliabilityDataSource.FailureModeData"]: ... @staticmethod - def getInstance() -> 'ReliabilityDataSource': ... + def getInstance() -> "ReliabilityDataSource": ... @typing.overload - def getReliabilityData(self, string: typing.Union[java.lang.String, str]) -> 'ReliabilityDataSource.ReliabilityData': ... + def getReliabilityData( + self, string: typing.Union[java.lang.String, str] + ) -> "ReliabilityDataSource.ReliabilityData": ... @typing.overload - def getReliabilityData(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ReliabilityDataSource.ReliabilityData': ... - def getSubTypes(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getReliabilityData( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ReliabilityDataSource.ReliabilityData": ... + def getSubTypes( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + class FailureModeData(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... def getDescription(self) -> java.lang.String: ... def getDetectability(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... @@ -95,18 +133,31 @@ class ReliabilityDataSource(java.io.Serializable): def getSeverity(self) -> java.lang.String: ... def getSubType(self) -> java.lang.String: ... def getTypicalMttr(self) -> float: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDetectability(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDetectability( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSeverity(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSubType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTypicalMttr(self, double: float) -> None: ... - def toEquipmentFailureMode(self, string: typing.Union[java.lang.String, str]) -> EquipmentFailureMode: ... + def toEquipmentFailureMode( + self, string: typing.Union[java.lang.String, str] + ) -> EquipmentFailureMode: ... def toString(self) -> java.lang.String: ... + class ReliabilityData(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getAvailability(self) -> float: ... def getEquipmentType(self) -> java.lang.String: ... def getFailureRate(self) -> float: ... @@ -120,7 +171,6 @@ class ReliabilityDataSource(java.io.Serializable): def setSource(self, string: typing.Union[java.lang.String, str]) -> None: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.failure")``. diff --git a/src/jneqsim-stubs/process/equipment/filter/__init__.pyi b/src/jneqsim-stubs/process/equipment/filter/__init__.pyi index b1f0c983..b6599245 100644 --- a/src/jneqsim-stubs/process/equipment/filter/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/filter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,15 @@ import jneqsim.process.util.report import jneqsim.util.nucleation import typing - - class Filter(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getBackwashRemovalRate(self) -> float: ... def getBreakthroughFraction(self) -> float: ... def getBreakthroughStartFraction(self) -> float: ... @@ -30,7 +32,9 @@ class Filter(jneqsim.process.equipment.TwoPortEquipment): def getHoldupVolume(self) -> float: ... def getLoadingCapacity(self) -> float: ... def getLoadingFraction(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getPressureDropIncreaseAtCapacity(self) -> float: ... def getRegenerationRemovalRate(self) -> float: ... def getSolidsLoading(self) -> float: ... @@ -43,7 +47,10 @@ class Filter(jneqsim.process.equipment.TwoPortEquipment): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @typing.overload @@ -54,7 +61,9 @@ class Filter(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setDeltaP(self, double: float) -> None: ... @typing.overload - def setDeltaP(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDeltaP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHoldupVolume(self, double: float) -> None: ... def setLoadingCapacity(self, double: float) -> None: ... def setPressureDropIncreaseAtCapacity(self, double: float) -> None: ... @@ -68,13 +77,23 @@ class Filter(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class CharCoalFilter(Filter): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... class SulfurFilter(Filter): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getChangeIntervalDays(self) -> float: ... def getChangeIntervalHours(self) -> float: ... def getEstimatedCaptureEfficiency(self) -> float: ... @@ -83,8 +102,12 @@ class SulfurFilter(Filter): def getFiltrationRating(self) -> float: ... def getGasFlowRate(self) -> float: ... def getMeanParticleDiameterMicrons(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... - def getNucleationModel(self) -> jneqsim.util.nucleation.ClassicalNucleationTheory: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getNucleationModel( + self, + ) -> jneqsim.util.nucleation.ClassicalNucleationTheory: ... def getNumberOfElements(self) -> int: ... def getParticleSizePercentilesUM(self) -> typing.MutableSequence[float]: ... def getRemovalEfficiency(self) -> float: ... @@ -93,7 +116,9 @@ class SulfurFilter(Filter): @typing.overload def getSolidSulfurRemovalRate(self) -> float: ... @typing.overload - def getSolidSulfurRemovalRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSolidSulfurRemovalRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSupersaturationRatio(self) -> float: ... def initMechanicalDesign(self) -> None: ... def isSolidS8Detected(self) -> bool: ... @@ -108,11 +133,12 @@ class SulfurFilter(Filter): def setRemovalEfficiency(self, double: float) -> None: ... def setResidenceTime(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.filter")``. diff --git a/src/jneqsim-stubs/process/equipment/flare/__init__.pyi b/src/jneqsim-stubs/process/equipment/flare/__init__.pyi index 93e548f1..6c407821 100644 --- a/src/jneqsim-stubs/process/equipment/flare/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/flare/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,42 +14,64 @@ import jneqsim.process.equipment.stream import jneqsim.process.util.report import typing - - class Flare(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def estimateRadiationHeatFlux(self, double: float) -> float: ... @typing.overload def estimateRadiationHeatFlux(self, double: float, double2: float) -> float: ... @typing.overload - def evaluateCapacity(self) -> 'Flare.CapacityCheckResult': ... + def evaluateCapacity(self) -> "Flare.CapacityCheckResult": ... @typing.overload - def evaluateCapacity(self, double: float, double2: float, double3: float) -> 'Flare.CapacityCheckResult': ... + def evaluateCapacity( + self, double: float, double2: float, double3: float + ) -> "Flare.CapacityCheckResult": ... @typing.overload def getCO2Emission(self) -> float: ... @typing.overload def getCO2Emission(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeCO2Emission(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeGasBurned(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeHeatReleased(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getDispersionSurrogate(self) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... - @typing.overload - def getDispersionSurrogate(self, double: float, double2: float) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... + def getCumulativeCO2Emission( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeGasBurned( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeHeatReleased( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + @typing.overload + def getDispersionSurrogate( + self, + ) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... + @typing.overload + def getDispersionSurrogate( + self, double: float, double2: float + ) -> jneqsim.process.equipment.flare.dto.FlareDispersionSurrogateDTO: ... @typing.overload def getHeatDuty(self) -> float: ... @typing.overload def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getLCV(self) -> float: ... - def getLastCapacityCheck(self) -> 'Flare.CapacityCheckResult': ... - @typing.overload - def getPerformanceSummary(self) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... - @typing.overload - def getPerformanceSummary(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... + def getLastCapacityCheck(self) -> "Flare.CapacityCheckResult": ... + @typing.overload + def getPerformanceSummary( + self, + ) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... + @typing.overload + def getPerformanceSummary( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> jneqsim.process.equipment.flare.dto.FlarePerformanceDTO: ... def getTransientTime(self) -> float: ... @typing.overload def radiationDistanceForFlux(self, double: float) -> float: ... @@ -61,18 +83,29 @@ class Flare(jneqsim.process.equipment.TwoPortEquipment): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setDesignHeatDutyCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDesignMassFlowCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDesignMolarFlowCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignHeatDutyCapacity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDesignMassFlowCapacity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDesignMolarFlowCapacity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFlameHeight(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setRadiantFraction(self, double: float) -> None: ... def setTipDiameter(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def updateCumulative(self, double: float) -> None: ... + class CapacityCheckResult(java.io.Serializable): def getDesignHeatDutyW(self) -> float: ... def getDesignMassRateKgS(self) -> float: ... @@ -99,8 +132,12 @@ class FlareFrustumRadiationCalculator(java.io.Serializable): def getTotalHeatRelease(self) -> float: ... def isWithinAllowable(self) -> bool: ... def setDuty(self, double: float, double2: float, double3: float) -> None: ... - def setFlameGeometry(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setReceptor(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setFlameGeometry( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setReceptor( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class FlareStack(jneqsim.process.equipment.ProcessEquipmentBaseClass): @@ -122,58 +159,81 @@ class FlareStack(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setAirAssist(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setAirAssist( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setAmbient(self, double: float, double2: float) -> None: ... def setBurningEfficiency(self, double: float) -> None: ... def setCOFraction(self, double: float) -> None: ... def setChamberlainAttenuation(self, double: float) -> None: ... def setChamberlainEmissivePower(self, double: float, double2: float) -> None: ... - def setChamberlainFlameLength(self, double: float, double2: float, double3: float) -> None: ... + def setChamberlainFlameLength( + self, double: float, double2: float, double3: float + ) -> None: ... def setChamberlainSegments(self, int: int) -> None: ... def setChamberlainTilt(self, double: float) -> None: ... def setExcessAirFrac(self, double: float) -> None: ... def setRadiantFraction(self, double: float) -> None: ... - def setRadiationModel(self, radiationModel: 'FlareStack.RadiationModel') -> None: ... - def setReliefInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setRadiationModel( + self, radiationModel: "FlareStack.RadiationModel" + ) -> None: ... + def setReliefInlet( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setSO2Conversion(self, double: float) -> None: ... - def setSteamAssist(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSteamAssist( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setTipDiameter(self, double: float) -> None: ... def setTipElevation(self, double: float) -> None: ... def setTipLossK(self, double: float) -> None: ... def setUnburnedTHCFraction(self, double: float) -> None: ... def setWindSpeed10m(self, double: float) -> None: ... - class RadiationModel(java.lang.Enum['FlareStack.RadiationModel']): - POINT_SOURCE: typing.ClassVar['FlareStack.RadiationModel'] = ... - CHAMBERLAIN: typing.ClassVar['FlareStack.RadiationModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class RadiationModel(java.lang.Enum["FlareStack.RadiationModel"]): + POINT_SOURCE: typing.ClassVar["FlareStack.RadiationModel"] = ... + CHAMBERLAIN: typing.ClassVar["FlareStack.RadiationModel"] = ... + _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: ... + 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]) -> 'FlareStack.RadiationModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlareStack.RadiationModel": ... @staticmethod - def values() -> typing.MutableSequence['FlareStack.RadiationModel']: ... + def values() -> typing.MutableSequence["FlareStack.RadiationModel"]: ... class RelevantWindCalculator(java.io.Serializable): def __init__(self): ... - def addSector(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addSector( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def calc(self) -> None: ... def getRelevantWindSpeed(self) -> float: ... - def getSectors(self) -> java.util.List['RelevantWindCalculator.WindSector']: ... + def getSectors(self) -> java.util.List["RelevantWindCalculator.WindSector"]: ... def getWorstSectorDirection(self) -> java.lang.String: ... def getWorstSectorSpeed(self) -> float: ... def setDesignExceedanceFraction(self, double: float) -> None: ... def setProfile(self, double: float, double2: float, double3: float) -> None: ... def toJson(self) -> java.lang.String: ... + class WindSector(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getDirection(self) -> java.lang.String: ... def getFrequency(self) -> float: ... def getSpeedAtFlare(self) -> float: ... def getSpeedAtReference(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare")``. diff --git a/src/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi b/src/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi index 78d20c59..931d5f89 100644 --- a/src/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/flare/dto/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,20 @@ import java.lang import java.util import typing - - class FlareCapacityDTO(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean: bool, + ): ... def getDesignHeatDutyW(self) -> float: ... def getDesignMassRateKgS(self) -> float: ... def getDesignMolarRateMoleS(self) -> float: ... @@ -26,7 +36,15 @@ class FlareCapacityDTO(java.io.Serializable): def isOverloaded(self) -> bool: ... class FlareDispersionSurrogateDTO(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getExitVelocityMs(self) -> float: ... def getMassRateKgS(self) -> float: ... def getMolarRateMoleS(self) -> float: ... @@ -35,7 +53,22 @@ class FlareDispersionSurrogateDTO(java.io.Serializable): def getStandardVolumeSm3PerSec(self) -> float: ... class FlarePerformanceDTO(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, flareDispersionSurrogateDTO: FlareDispersionSurrogateDTO, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], flareCapacityDTO: FlareCapacityDTO): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + flareDispersionSurrogateDTO: FlareDispersionSurrogateDTO, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + flareCapacityDTO: FlareCapacityDTO, + ): ... def getCapacity(self) -> FlareCapacityDTO: ... def getCo2EmissionKgS(self) -> float: ... def getCo2EmissionTonPerDay(self) -> float: ... @@ -50,7 +83,6 @@ class FlarePerformanceDTO(java.io.Serializable): def getMolarRateMoleS(self) -> float: ... def isOverloaded(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.flare.dto")``. diff --git a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi index 8691861e..91027875 100644 --- a/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,11 +21,15 @@ import jneqsim.process.ml import jneqsim.process.util.report import typing - - class CoolingWaterSystem(java.io.Serializable): def __init__(self): ... - def addCoolingRequirement(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addCoolingRequirement( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... def calculate(self) -> None: ... def getAnnualOperatingCost(self) -> float: ... def getPumpPower(self) -> float: ... @@ -40,29 +44,48 @@ class CoolingWaterSystem(java.io.Serializable): def setPumpEfficiency(self, double: float) -> None: ... def setSystemPressureDrop(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class CoolingRequirement(java.io.Serializable): name: java.lang.String = ... dutyKW: float = ... processOutletTempC: float = ... approachDeltaTC: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... class Dryer(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 getDriedProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getDriedProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getDryerType(self) -> java.lang.String: ... @typing.overload def getHeatDuty(self) -> float: ... @typing.overload def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getInletStream(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 getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getPressureDrop(self) -> float: ... @@ -75,75 +98,111 @@ class Dryer(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDryerType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPressureDrop(self, double: float) -> None: ... def setTargetMoistureContent(self, double: float) -> None: ... def setThermalEfficiency(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... class HeaterInterface(jneqsim.process.SimulationInterface): def setOutTP(self, double: float, double2: float) -> None: ... - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setdT(self, double: float) -> None: ... class MultiEffectEvaporator(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 getConcentrateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getConcentrateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFirstEffectPressure(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getLastEffectPressure(self) -> float: ... def getNumberOfEffects(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOverallHeatTransferCoefficient(self) -> float: ... def getSteamConsumption(self) -> float: ... def getSteamEconomy(self) -> float: ... def getTargetConcentrationFactor(self) -> float: ... def getTotalHeatTransferArea(self) -> float: ... - def getVaporCondensateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getVaporCondensateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setFirstEffectPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setLastEffectPressure(self, double: float) -> None: ... def setNumberOfEffects(self, int: int) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... def setTargetConcentrationFactor(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... -class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... +class MultiStreamHeatExchangerInterface( + jneqsim.process.equipment.ProcessEquipmentInterface +): + def addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... def equals(self, object: typing.Any) -> bool: ... def getDeltaT(self) -> float: ... def getDuty(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlowArrangement(self) -> java.lang.String: ... def getGuessOutTemperature(self) -> float: ... def getHotColdDutyBalance(self) -> float: ... - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getThermalEffectiveness(self) -> float: ... def getUAvalue(self) -> float: ... @@ -151,14 +210,25 @@ class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipme @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def setDeltaT(self, double: float) -> None: ... - def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... + def setFlowArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setGuessOutTemperature(self, double: float) -> None: ... @typing.overload - def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGuessOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHotColdDutyBalance(self, double: float) -> None: ... def setOutTemperature(self, double: float) -> None: ... def setOutletTemperature(self, double: float) -> None: ... @@ -169,10 +239,16 @@ class MultiStreamHeatExchangerInterface(jneqsim.process.equipment.ProcessEquipme @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class ReBoiler(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getReboilerDuty(self) -> float: ... @typing.overload @@ -196,66 +272,124 @@ class UtilityStreamSpecification(java.io.Serializable): @typing.overload def setApproachTemperature(self, double: float) -> None: ... @typing.overload - def setApproachTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setApproachTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeatCapacityRate(self, double: float) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... @typing.overload def setReturnTemperature(self, double: float) -> None: ... @typing.overload - def setReturnTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReturnTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setSupplyTemperature(self, double: float) -> None: ... @typing.overload - def setSupplyTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupplyTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class HeatExchangerInterface(HeaterInterface): - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... -class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class Heater( + jneqsim.process.equipment.TwoPortEquipment, + HeaterInterface, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def clearCapacityConstraints(self) -> None: ... def displayResult(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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @typing.overload def getDuty(self) -> float: ... @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.heatexchanger.HeatExchangerElectricalDesign: ... + def getElectricalDesign( + self, + ) -> ( + jneqsim.process.electricaldesign.heatexchanger.HeatExchangerElectricalDesign + ): ... def getEnergyInput(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.heatexchanger.HeatExchangerInstrumentDesign: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getInstrumentDesign( + self, + ) -> ( + jneqsim.process.instrumentdesign.heatexchanger.HeatExchangerInstrumentDesign + ): ... @typing.overload def getMaxDesignDuty(self) -> float: ... @typing.overload - def getMaxDesignDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxDesignDuty( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMaxOutletTemperature(self) -> float: ... @typing.overload - def getMaxOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign + ): ... @typing.overload def getMinOutletTemperature(self) -> float: ... @typing.overload - def getMinOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMinOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPressureDrop(self) -> float: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... @@ -273,7 +407,9 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface, jneqsi def isHardLimitExceeded(self) -> bool: ... def isSetEnergyInput(self) -> bool: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -287,65 +423,107 @@ class Heater(jneqsim.process.equipment.TwoPortEquipment, HeaterInterface, jneqsi @typing.overload def setMaxDesignDuty(self, double: float) -> None: ... @typing.overload - def setMaxDesignDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxDesignDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setMaxOutletTemperature(self, double: float) -> None: ... @typing.overload - def setMaxOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setMinOutletTemperature(self, double: float) -> None: ... @typing.overload - def setMinOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setMinOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOutTP(self, double: float, double2: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPressureDrop(self, double: float) -> None: ... def setSetEnergyInput(self, boolean: bool) -> None: ... - def setUtilityApproachTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setUtilityApproachTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setUtilityHeatCapacityRate(self, double: float) -> None: ... def setUtilityOverallHeatTransferCoefficient(self, double: float) -> None: ... - def setUtilityReturnTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setUtilitySpecification(self, utilityStreamSpecification: UtilityStreamSpecification) -> None: ... - def setUtilitySupplyTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setUtilityReturnTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setUtilitySpecification( + self, utilityStreamSpecification: UtilityStreamSpecification + ) -> None: ... + def setUtilitySupplyTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setdT(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class Cooler(Heater): @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 getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign + ): ... def initMechanicalDesign(self) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class FiredHeater(Heater): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAbsorbedDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getCO2Emissions(self, string: typing.Union[java.lang.String, str]) -> float: ... def getFiredDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getFuelConsumption(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFuelConsumption( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFuelLHV(self) -> float: ... def getNOxEmissions(self, string: typing.Union[java.lang.String, str]) -> float: ... def getStackLoss(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -363,43 +541,77 @@ class FiredHeater(Heater): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + 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, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): guessOutTemperature: float = ... guessOutTemperatureUnit: java.lang.String = ... thermalEffectiveness: float = ... @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): ... - @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @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 addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchanger.Builder": ... def calcThermalEffectivenes(self, double: float, double2: float) -> float: ... def clearCapacityConstraints(self) -> None: ... def displayResult(self) -> None: ... def getApproachTemperature(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getDeltaT(self) -> float: ... def getDesignDuty(self) -> float: ... - def getDesignMode(self) -> 'HeatExchanger.DesignMode': ... + def getDesignMode(self) -> "HeatExchanger.DesignMode": ... def getDesignUAValue(self) -> float: ... @typing.overload def getDuty(self) -> float: ... @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlowArrangement(self) -> java.lang.String: ... def getGuessOutTemperature(self) -> float: ... def getHeatTransferArea(self) -> float: ... @@ -407,25 +619,39 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... - def getInletStreams(self) -> java.util.List[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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerMechanicalDesign + ): ... def getMinApproachTemperature(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 getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getRatingArea(self) -> float: ... - def getRatingCalculator(self) -> jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator: ... + def getRatingCalculator( + self, + ) -> jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator: ... def getRatingU(self) -> float: ... def getShellHoldupVolume(self) -> float: ... def getShellPasses(self) -> int: ... @@ -446,7 +672,9 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect def isDynamicModelEnabled(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -454,7 +682,10 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def runDeltaT(self, uUID: java.util.UUID) -> None: ... def runSpecifiedStream(self, uUID: java.util.UUID) -> None: ... @typing.overload @@ -464,15 +695,23 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... def setDeltaT(self, double: float) -> None: ... def setDesignDuty(self, double: float) -> None: ... - def setDesignMode(self, designMode: 'HeatExchanger.DesignMode') -> None: ... + def setDesignMode(self, designMode: "HeatExchanger.DesignMode") -> None: ... def setDesignUAValue(self, double: float) -> None: ... def setDynamicModelEnabled(self, boolean: bool) -> None: ... - def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... + def setFlowArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setGuessOutTemperature(self, double: float) -> None: ... @typing.overload - def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGuessOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeatTransferArea(self, double: float) -> None: ... def setHotColdDutyBalance(self, double: float) -> None: ... def setMaxShellPressureDrop(self, double: float) -> None: ... @@ -480,15 +719,26 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect def setMinApproachTemperature(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setOutStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... @typing.overload - def setOutStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... def setRatingArea(self, double: float) -> None: ... - def setRatingCalculator(self, thermalDesignCalculator: jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator) -> None: ... + def setRatingCalculator( + self, + thermalDesignCalculator: jneqsim.process.mechanicaldesign.heatexchanger.ThermalDesignCalculator, + ) -> None: ... def setShellHoldupVolume(self, double: float) -> None: ... def setShellPasses(self, int: int) -> None: ... def setShellSideHtc(self, double: float) -> None: ... @@ -504,37 +754,62 @@ class HeatExchanger(Heater, HeatExchangerInterface, jneqsim.process.ml.StateVect @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... + class Builder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def UAvalue(self, double: float) -> 'HeatExchanger.Builder': ... - def build(self) -> 'HeatExchanger': ... - def coldStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'HeatExchanger.Builder': ... - def deltaT(self, double: float) -> 'HeatExchanger.Builder': ... - def flowArrangement(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... - def guessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'HeatExchanger.Builder': ... - def hotStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'HeatExchanger.Builder': ... - def outTemperature(self, double: float, string: typing.Union[java.lang.String, str], int: int) -> 'HeatExchanger.Builder': ... - def thermalEffectiveness(self, double: float) -> 'HeatExchanger.Builder': ... - class DesignMode(java.lang.Enum['HeatExchanger.DesignMode']): - SIZING: typing.ClassVar['HeatExchanger.DesignMode'] = ... - RATING: typing.ClassVar['HeatExchanger.DesignMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def UAvalue(self, double: float) -> "HeatExchanger.Builder": ... + def build(self) -> "HeatExchanger": ... + def coldStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "HeatExchanger.Builder": ... + def deltaT(self, double: float) -> "HeatExchanger.Builder": ... + def flowArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatExchanger.Builder": ... + def guessOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "HeatExchanger.Builder": ... + def hotStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "HeatExchanger.Builder": ... + def outTemperature( + self, double: float, string: typing.Union[java.lang.String, str], int: int + ) -> "HeatExchanger.Builder": ... + def thermalEffectiveness(self, double: float) -> "HeatExchanger.Builder": ... + + class DesignMode(java.lang.Enum["HeatExchanger.DesignMode"]): + SIZING: typing.ClassVar["HeatExchanger.DesignMode"] = ... + RATING: typing.ClassVar["HeatExchanger.DesignMode"] = ... + _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: ... + 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]) -> 'HeatExchanger.DesignMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchanger.DesignMode": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchanger.DesignMode']: ... + def values() -> typing.MutableSequence["HeatExchanger.DesignMode"]: ... class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface]): ... - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + ): ... + def addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... def displayResult(self) -> None: ... def getDeltaT(self) -> float: ... @@ -544,14 +819,18 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): def getDuty(self) -> float: ... @typing.overload def getDuty(self, int: int) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlowArrangement(self) -> java.lang.String: ... def getGuessOutTemperature(self) -> float: ... def getHotColdDutyBalance(self) -> float: ... @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -560,7 +839,9 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -573,23 +854,38 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def runConditionAnalysis(self) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def runSpecifiedStream(self, uUID: java.util.UUID) -> None: ... def setDeltaT(self, double: float) -> None: ... - def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... + def setFlowArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setGuessOutTemperature(self, double: float) -> None: ... @typing.overload - def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGuessOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHotColdDutyBalance(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... def setTemperatureApproach(self, double: float) -> None: ... @@ -600,18 +896,35 @@ class MultiStreamHeatExchanger(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addInStreamMSHE(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addInStreamMSHE( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def calcThermalEffectiveness(self, double: float, double2: float) -> float: ... def calculateUA(self) -> float: ... - def compositeCurve(self) -> java.util.Map[java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]]]: ... + def compositeCurve( + self, + ) -> java.util.Map[ + java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]] + ]: ... def displayResult(self) -> None: ... def energyDiff(self) -> float: ... - def getCompositeCurve(self) -> java.util.Map[java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]]]: ... + def getCompositeCurve( + self, + ) -> java.util.Map[ + java.lang.String, java.util.List[java.util.Map[java.lang.String, typing.Any]] + ]: ... def getDeltaT(self) -> float: ... @typing.overload def getDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -623,12 +936,16 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def getInStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getInStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getInTemperature(self, int: int) -> float: ... @typing.overload def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutTemperature(self, int: int) -> float: ... def getTemperatureApproach(self) -> float: ... def getThermalEffectiveness(self) -> float: ... @@ -641,16 +958,27 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... @typing.overload - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... @typing.overload def runConditionAnalysis(self) -> None: ... def setDeltaT(self, double: float) -> None: ... - def setFeedStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFlowArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... + def setFlowArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setGuessOutTemperature(self, double: float) -> None: ... @typing.overload - def setGuessOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGuessOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHotColdDutyBalance(self, double: float) -> None: ... def setTemperatureApproach(self, double: float) -> None: ... def setThermalEffectiveness(self, double: float) -> None: ... @@ -660,21 +988,29 @@ class MultiStreamHeatExchanger2(Heater, MultiStreamHeatExchangerInterface): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def twoUnknowns(self) -> None: ... class NeqHeater(Heater): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @@ -682,22 +1018,40 @@ class SteamHeater(Heater): @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 getSteamFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getSteamFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setSteamInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSteamOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSteamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setSteamInletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSteamOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSteamPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class AirCooler(Cooler): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAirMassFlow(self) -> float: ... def getAirSideHTC(self) -> float: ... def getAirSidePressureDrop(self) -> float: ... @@ -724,12 +1078,20 @@ class AirCooler(Cooler): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAirFoulingResistance(self, double: float) -> None: ... - def setAirInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setAirOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAirInletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setAirOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setAtmosphericPressure(self, double: float) -> None: ... def setBayWidth(self, double: float) -> None: ... - def setDesignAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFanCurve(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setDesignAmbientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFanCurve( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setFanDiameter(self, double: float) -> None: ... def setFanEfficiency(self, double: float) -> None: ... def setFinConductivity(self, double: float) -> None: ... @@ -751,28 +1113,49 @@ class AirCooler(Cooler): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class LNGHeatExchanger(MultiStreamHeatExchanger2): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface]): ... - def addInStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def addInStreamMSHE(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + ): ... + def addInStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def addInStreamMSHE( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def assessMercuryRisk(self, double: float) -> None: ... - def generateFeasibilityReport(self) -> jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerDesignFeasibilityReport: ... + def generateFeasibilityReport( + self, + ) -> ( + jneqsim.process.mechanicaldesign.heatexchanger.HeatExchangerDesignFeasibilityReport + ): ... def getAdaptiveRefinement(self) -> bool: ... def getAdaptiveThresholdFactor(self) -> float: ... - def getColdCompositeCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getColdCompositeCurve( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getComputedStreamDP(self) -> typing.MutableSequence[float]: ... - def getCoreGeometry(self) -> 'LNGHeatExchanger.CoreGeometry': ... + def getCoreGeometry(self) -> "LNGHeatExchanger.CoreGeometry": ... def getCoreThermalMass(self) -> float: ... def getExchangerType(self) -> java.lang.String: ... def getExergyDestructionPerZone(self) -> typing.MutableSequence[float]: ... def getFlowMaldistributionFactor(self) -> float: ... def getFreezeOutRiskPerZone(self) -> typing.MutableSequence[bool]: ... - def getHotCompositeCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHotCompositeCurve( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def getMITA(self) -> float: ... @typing.overload @@ -786,12 +1169,14 @@ class LNGHeatExchanger(MultiStreamHeatExchanger2): def getReferenceTemperature(self) -> float: ... def getSecondLawEfficiency(self) -> float: ... def getStreamFFactor(self) -> typing.MutableSequence[float]: ... - def getStreamFinGeometry(self, int: int) -> 'LNGHeatExchanger.FinGeometry': ... + def getStreamFinGeometry(self, int: int) -> "LNGHeatExchanger.FinGeometry": ... def getStreamJFactor(self) -> typing.MutableSequence[float]: ... def getStreamPressureDrop(self, int: int) -> float: ... def getThermalGradientPerZone(self) -> typing.MutableSequence[float]: ... def getTotalExergyDestruction(self) -> float: ... - def getTransientResults(self) -> java.util.List['LNGHeatExchanger.TransientPoint']: ... + def getTransientResults( + self, + ) -> java.util.List["LNGHeatExchanger.TransientPoint"]: ... def getUAPerZone(self) -> typing.MutableSequence[float]: ... def getZoneTempProfileColdC(self) -> typing.MutableSequence[float]: ... def getZoneTempProfileHotC(self) -> typing.MutableSequence[float]: ... @@ -802,10 +1187,14 @@ class LNGHeatExchanger(MultiStreamHeatExchanger2): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def runCooldownTransient(self, double: float, double2: float, int: int, double3: float) -> None: ... + def runCooldownTransient( + self, double: float, double2: float, int: int, double3: float + ) -> None: ... def setAdaptiveRefinement(self, boolean: bool) -> None: ... def setAdaptiveThresholdFactor(self, double: float) -> None: ... - def setCoreGeometry(self, coreGeometry: 'LNGHeatExchanger.CoreGeometry') -> None: ... + def setCoreGeometry( + self, coreGeometry: "LNGHeatExchanger.CoreGeometry" + ) -> None: ... def setCoreThermalMass(self, double: float) -> None: ... def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFlowMaldistributionFactor(self, double: float) -> None: ... @@ -813,10 +1202,13 @@ class LNGHeatExchanger(MultiStreamHeatExchanger2): def setMaxAllowableThermalGradient(self, double: float) -> None: ... def setNumberOfZones(self, int: int) -> None: ... def setReferenceTemperature(self, double: float) -> None: ... - def setStreamFinGeometry(self, int: int, finGeometry: 'LNGHeatExchanger.FinGeometry') -> None: ... + def setStreamFinGeometry( + self, int: int, finGeometry: "LNGHeatExchanger.FinGeometry" + ) -> None: ... def setStreamIsHot(self, int: int, boolean: bool) -> None: ... def setStreamPressureDrop(self, int: int, double: float) -> None: ... def sizeCore(self) -> None: ... + class CoreGeometry(java.io.Serializable): def __init__(self): ... def getHeight(self) -> float: ... @@ -830,11 +1222,14 @@ class LNGHeatExchanger(MultiStreamHeatExchanger2): def setNumberOfLayers(self, int: int) -> None: ... def setWeight(self, double: float) -> None: ... def setWidth(self, double: float) -> None: ... + class FinGeometry(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def getBeta(self) -> float: ... def getFinConductivity(self) -> float: ... def getFinHeight(self) -> float: ... @@ -852,28 +1247,44 @@ class LNGHeatExchanger(MultiStreamHeatExchanger2): def setPlateThickness(self, double: float) -> None: ... def setStripLength(self, double: float) -> None: ... def setType(self, string: typing.Union[java.lang.String, str]) -> None: ... + class TransientPoint(java.io.Serializable): timeHours: float = ... metalTempC: float = ... fluidOutTempC: float = ... dutyKW: float = ... - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... class WaterCooler(Cooler): @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 getCoolingWaterFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getCoolingWaterFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setWaterInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setWaterInletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWaterOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWaterPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.heatexchanger")``. @@ -897,4 +1308,6 @@ class __module_protocol__(Protocol): SteamHeater: typing.Type[SteamHeater] UtilityStreamSpecification: typing.Type[UtilityStreamSpecification] WaterCooler: typing.Type[WaterCooler] - heatintegration: jneqsim.process.equipment.heatexchanger.heatintegration.__module_protocol__ + heatintegration: ( + jneqsim.process.equipment.heatexchanger.heatintegration.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/process/equipment/heatexchanger/heatintegration/__init__.pyi b/src/jneqsim-stubs/process/equipment/heatexchanger/heatintegration/__init__.pyi index 9bdfb2a3..256c3367 100644 --- a/src/jneqsim-stubs/process/equipment/heatexchanger/heatintegration/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/heatexchanger/heatintegration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,10 +13,14 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class HeatStream(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getEnthalpyChange(self) -> float: ... def getHeatCapacityFlowRate(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -24,39 +28,75 @@ class HeatStream(java.io.Serializable): def getSupplyTemperatureC(self) -> float: ... def getTargetTemperature(self) -> float: ... def getTargetTemperatureC(self) -> float: ... - def getType(self) -> 'HeatStream.StreamType': ... + def getType(self) -> "HeatStream.StreamType": ... def setHeatCapacityFlowRate(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSupplyTemperatureC(self, double: float) -> None: ... def setTargetTemperatureC(self, double: float) -> None: ... - class StreamType(java.lang.Enum['HeatStream.StreamType']): - HOT: typing.ClassVar['HeatStream.StreamType'] = ... - COLD: typing.ClassVar['HeatStream.StreamType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class StreamType(java.lang.Enum["HeatStream.StreamType"]): + HOT: typing.ClassVar["HeatStream.StreamType"] = ... + COLD: typing.ClassVar["HeatStream.StreamType"] = ... + _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: ... + 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]) -> 'HeatStream.StreamType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatStream.StreamType": ... @staticmethod - def values() -> typing.MutableSequence['HeatStream.StreamType']: ... + def values() -> typing.MutableSequence["HeatStream.StreamType"]: ... class PinchAnalysis(java.io.Serializable): def __init__(self, double: float): ... - def addColdStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addHotStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addProcessStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> None: ... + def addColdStream( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addHotStream( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addProcessStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> None: ... def addStream(self, heatStream: HeatStream) -> None: ... @typing.overload - def addStreamsFromHeatExchanger(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger) -> None: ... + def addStreamsFromHeatExchanger( + self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger + ) -> None: ... @typing.overload - def addStreamsFromHeatExchanger(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2) -> None: ... + def addStreamsFromHeatExchanger( + self, + multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2, + ) -> None: ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> 'PinchAnalysis': ... - def getColdCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def getGrandCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def getHotCompositeCurve(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, double: float + ) -> "PinchAnalysis": ... + def getColdCompositeCurve( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getGrandCompositeCurve( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getHotCompositeCurve( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def getMaximumHeatRecovery(self) -> float: ... def getMinimumCoolingUtility(self) -> float: ... def getMinimumHeatingUtility(self) -> float: ... @@ -68,7 +108,6 @@ class PinchAnalysis(java.io.Serializable): def run(self) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.heatexchanger.heatintegration")``. diff --git a/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi b/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi index 26753732..b03a0a29 100644 --- a/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/iec81346/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,43 +12,58 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - -class IEC81346LetterCode(java.lang.Enum['IEC81346LetterCode'], java.io.Serializable): - A: typing.ClassVar['IEC81346LetterCode'] = ... - B: typing.ClassVar['IEC81346LetterCode'] = ... - C: typing.ClassVar['IEC81346LetterCode'] = ... - G: typing.ClassVar['IEC81346LetterCode'] = ... - K: typing.ClassVar['IEC81346LetterCode'] = ... - M: typing.ClassVar['IEC81346LetterCode'] = ... - N: typing.ClassVar['IEC81346LetterCode'] = ... - Q: typing.ClassVar['IEC81346LetterCode'] = ... - S: typing.ClassVar['IEC81346LetterCode'] = ... - T: typing.ClassVar['IEC81346LetterCode'] = ... - W: typing.ClassVar['IEC81346LetterCode'] = ... - X: typing.ClassVar['IEC81346LetterCode'] = ... +class IEC81346LetterCode(java.lang.Enum["IEC81346LetterCode"], java.io.Serializable): + A: typing.ClassVar["IEC81346LetterCode"] = ... + B: typing.ClassVar["IEC81346LetterCode"] = ... + C: typing.ClassVar["IEC81346LetterCode"] = ... + G: typing.ClassVar["IEC81346LetterCode"] = ... + K: typing.ClassVar["IEC81346LetterCode"] = ... + M: typing.ClassVar["IEC81346LetterCode"] = ... + N: typing.ClassVar["IEC81346LetterCode"] = ... + Q: typing.ClassVar["IEC81346LetterCode"] = ... + S: typing.ClassVar["IEC81346LetterCode"] = ... + T: typing.ClassVar["IEC81346LetterCode"] = ... + W: typing.ClassVar["IEC81346LetterCode"] = ... + X: typing.ClassVar["IEC81346LetterCode"] = ... @staticmethod - def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'IEC81346LetterCode': ... + def fromEquipment( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "IEC81346LetterCode": ... @staticmethod - def fromEquipmentEnum(equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> 'IEC81346LetterCode': ... + def fromEquipmentEnum( + equipmentEnum: jneqsim.process.equipment.EquipmentEnum, + ) -> "IEC81346LetterCode": ... def getDescription(self) -> java.lang.String: ... @staticmethod - def getEquipmentMapping() -> java.util.Map[jneqsim.process.equipment.EquipmentEnum, 'IEC81346LetterCode']: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getEquipmentMapping() -> ( + java.util.Map[jneqsim.process.equipment.EquipmentEnum, "IEC81346LetterCode"] + ): ... + _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: ... + 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]) -> 'IEC81346LetterCode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "IEC81346LetterCode": ... @staticmethod - def values() -> typing.MutableSequence['IEC81346LetterCode']: ... + def values() -> typing.MutableSequence["IEC81346LetterCode"]: ... class ReferenceDesignation(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], iEC81346LetterCode: IEC81346LetterCode, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + iEC81346LetterCode: IEC81346LetterCode, + int: int, + ): ... def equals(self, object: typing.Any) -> bool: ... def getFormattedFunctionDesignation(self) -> java.lang.String: ... def getFormattedLocationDesignation(self) -> java.lang.String: ... @@ -62,11 +77,19 @@ class ReferenceDesignation(java.io.Serializable): def hashCode(self) -> int: ... def isSet(self) -> bool: ... @staticmethod - def parse(string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignation': ... - def setFunctionDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def parse( + string: typing.Union[java.lang.String, str] + ) -> "ReferenceDesignation": ... + def setFunctionDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLetterCode(self, iEC81346LetterCode: IEC81346LetterCode) -> None: ... - def setLocationDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setProductDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setProductDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSequenceNumber(self, int: int) -> None: ... def toReferenceDesignationString(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... @@ -78,34 +101,63 @@ class ReferenceDesignationGenerator(java.io.Serializable): def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def findByDesignation(self, string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignationGenerator.DesignationEntry': ... - def findByLetterCode(self, iEC81346LetterCode: IEC81346LetterCode) -> java.util.List['ReferenceDesignationGenerator.DesignationEntry']: ... - def findByName(self, string: typing.Union[java.lang.String, str]) -> 'ReferenceDesignationGenerator.DesignationEntry': ... + def findByDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> "ReferenceDesignationGenerator.DesignationEntry": ... + def findByLetterCode( + self, iEC81346LetterCode: IEC81346LetterCode + ) -> java.util.List["ReferenceDesignationGenerator.DesignationEntry"]: ... + def findByName( + self, string: typing.Union[java.lang.String, str] + ) -> "ReferenceDesignationGenerator.DesignationEntry": ... @typing.overload def generate(self) -> None: ... @typing.overload - def generate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> None: ... + def generate( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> None: ... @typing.overload - def generate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def generate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def getDesignationCount(self) -> int: ... - def getDesignationToNameMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getEntries(self) -> java.util.List['ReferenceDesignationGenerator.DesignationEntry']: ... + def getDesignationToNameMap( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getEntries( + self, + ) -> java.util.List["ReferenceDesignationGenerator.DesignationEntry"]: ... def getFunctionPrefix(self) -> java.lang.String: ... def getLetterCodeSummary(self) -> java.util.Map[IEC81346LetterCode, int]: ... def getLocationPrefix(self) -> java.lang.String: ... - def getNameToDesignationMap(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getNameToDesignationMap( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def isGenerated(self) -> bool: ... def isIncludeMeasurementDevices(self) -> bool: ... def isIncludeStreams(self) -> bool: ... def isUseHierarchicalFunctions(self) -> bool: ... - def setFunctionPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFunctionPrefix( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIncludeMeasurementDevices(self, boolean: bool) -> None: ... def setIncludeStreams(self, boolean: bool) -> None: ... - def setLocationPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLocationPrefix( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setUseHierarchicalFunctions(self, boolean: bool) -> None: ... def toJson(self) -> java.lang.String: ... + class DesignationEntry(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], iEC81346LetterCode: IEC81346LetterCode, int: int, string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + iEC81346LetterCode: IEC81346LetterCode, + int: int, + string4: typing.Union[java.lang.String, str], + ): ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... def getFunctionArea(self) -> java.lang.String: ... @@ -114,7 +166,6 @@ class ReferenceDesignationGenerator(java.io.Serializable): def getSequenceNumber(self) -> int: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.iec81346")``. diff --git a/src/jneqsim-stubs/process/equipment/lng/__init__.pyi b/src/jneqsim-stubs/process/equipment/lng/__init__.pyi index c9292c5c..12539bdc 100644 --- a/src/jneqsim-stubs/process/equipment/lng/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/lng/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class LNGAgeingResult(java.io.Serializable): @typing.overload def __init__(self): ... @@ -50,55 +48,87 @@ class LNGAgeingResult(java.io.Serializable): def setGcvMass(self, double: float) -> None: ... def setGcvVolumetric(self, double: float) -> None: ... def setHeatIngressKW(self, double: float) -> None: ... - def setLiquidComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setLiquidComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setLiquidMass(self, double: float) -> None: ... def setLiquidMoles(self, double: float) -> None: ... def setLiquidVolume(self, double: float) -> None: ... def setMaxLayerDensityDifference(self, double: float) -> None: ... def setMethaneNumber(self, double: float) -> None: ... def setNumberOfLayers(self, int: int) -> None: ... - def setOperationalMode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperationalMode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPressure(self, double: float) -> None: ... def setRolloverRisk(self, boolean: bool) -> None: ... def setTemperature(self, double: float) -> None: ... def setTimeHours(self, double: float) -> None: ... - def setVaporComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setVaporComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setWobbeIndex(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toSummaryString(self) -> java.lang.String: ... @staticmethod - def toTimeSeries(list: java.util.List['LNGAgeingResult']) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def toTimeSeries( + list: java.util.List["LNGAgeingResult"], + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... class LNGAgeingScenario(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 addOperationalEvent(self, operationalEvent: 'LNGAgeingScenario.OperationalEvent') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addOperationalEvent( + self, operationalEvent: "LNGAgeingScenario.OperationalEvent" + ) -> None: ... def getAmbientTemperature(self) -> float: ... - def getBogNetwork(self) -> 'LNGBOGHandlingNetwork': ... - def getBogOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getHeelManager(self) -> 'LNGHeelManager': ... + def getBogNetwork(self) -> "LNGBOGHandlingNetwork": ... + def getBogOutletStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHeelManager(self) -> "LNGHeelManager": ... def getInitialFillingRatio(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getLngOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getMethaneNumberCalculator(self) -> 'MethaneNumberCalculator': ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLngOutletStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMethaneNumberCalculator(self) -> "MethaneNumberCalculator": ... def getNumberOfLayers(self) -> int: ... - def getOperationalEvents(self) -> java.util.List['LNGAgeingScenario.OperationalEvent']: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOperationalEvents( + self, + ) -> java.util.List["LNGAgeingScenario.OperationalEvent"]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOverallHeatTransferCoeff(self) -> float: ... def getResults(self) -> java.util.List[LNGAgeingResult]: ... def getResultsSummary(self) -> java.lang.String: ... - def getRolloverDetector(self) -> 'LNGRolloverDetector': ... + def getRolloverDetector(self) -> "LNGRolloverDetector": ... def getSimulationTime(self) -> float: ... - def getTankGeometry(self) -> 'TankGeometry': ... - def getTankModel(self) -> 'LNGTankLayeredModel': ... + def getTankGeometry(self) -> "TankGeometry": ... + def getTankModel(self) -> "LNGTankLayeredModel": ... def getTankPressure(self) -> float: ... def getTankSurfaceArea(self) -> float: ... def getTankVolume(self) -> float: ... def getTimeStepHours(self) -> float: ... - def getVaporSpaceModel(self) -> 'LNGVaporSpaceModel': ... - def getVoyageProfile(self) -> 'LNGVoyageProfile': ... + def getVaporSpaceModel(self) -> "LNGVaporSpaceModel": ... + def getVoyageProfile(self) -> "LNGVoyageProfile": ... def isUseGERG2008(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -106,57 +136,91 @@ class LNGAgeingScenario(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self, uUID: java.util.UUID) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... def setInitialFillingRatio(self, double: float) -> None: ... - def setMethaneNumberCalculator(self, methaneNumberCalculator: 'MethaneNumberCalculator') -> None: ... + def setMethaneNumberCalculator( + self, methaneNumberCalculator: "MethaneNumberCalculator" + ) -> None: ... def setNumberOfLayers(self, int: int) -> None: ... def setOverallHeatTransferCoeff(self, double: float) -> None: ... def setSimulationTime(self, double: float) -> None: ... - def setTankGeometry(self, tankGeometry: 'TankGeometry') -> None: ... + def setTankGeometry(self, tankGeometry: "TankGeometry") -> None: ... def setTankPressure(self, double: float) -> None: ... def setTankSurfaceArea(self, double: float) -> None: ... def setTankVolume(self, double: float) -> None: ... def setTimeStepHours(self, double: float) -> None: ... def setUseGERG2008(self, boolean: bool) -> None: ... - def setVoyageProfile(self, lNGVoyageProfile: 'LNGVoyageProfile') -> None: ... + def setVoyageProfile(self, lNGVoyageProfile: "LNGVoyageProfile") -> None: ... + class OperationalEvent(java.io.Serializable): - def __init__(self, eventType: 'LNGAgeingScenario.OperationalEvent.EventType', double: float, double2: float): ... + def __init__( + self, + eventType: "LNGAgeingScenario.OperationalEvent.EventType", + double: float, + double2: float, + ): ... def getDescription(self) -> java.lang.String: ... def getDurationHours(self) -> float: ... - def getEventType(self) -> 'LNGAgeingScenario.OperationalEvent.EventType': ... + def getEventType(self) -> "LNGAgeingScenario.OperationalEvent.EventType": ... def getRateM3PerHour(self) -> float: ... def getStartTimeHours(self) -> float: ... def isActiveAt(self, double: float) -> bool: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRateM3PerHour(self, double: float) -> None: ... - class EventType(java.lang.Enum['LNGAgeingScenario.OperationalEvent.EventType']): - LOADING: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - UNLOADING: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - COOLDOWN: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - LADEN_VOYAGE: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - BALLAST_VOYAGE: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - PORT_WAIT: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - CUSTOM: typing.ClassVar['LNGAgeingScenario.OperationalEvent.EventType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EventType(java.lang.Enum["LNGAgeingScenario.OperationalEvent.EventType"]): + LOADING: typing.ClassVar["LNGAgeingScenario.OperationalEvent.EventType"] = ( + ... + ) + UNLOADING: typing.ClassVar[ + "LNGAgeingScenario.OperationalEvent.EventType" + ] = ... + COOLDOWN: typing.ClassVar[ + "LNGAgeingScenario.OperationalEvent.EventType" + ] = ... + LADEN_VOYAGE: typing.ClassVar[ + "LNGAgeingScenario.OperationalEvent.EventType" + ] = ... + BALLAST_VOYAGE: typing.ClassVar[ + "LNGAgeingScenario.OperationalEvent.EventType" + ] = ... + PORT_WAIT: typing.ClassVar[ + "LNGAgeingScenario.OperationalEvent.EventType" + ] = ... + CUSTOM: typing.ClassVar["LNGAgeingScenario.OperationalEvent.EventType"] = ( + ... + ) + _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: ... + 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]) -> 'LNGAgeingScenario.OperationalEvent.EventType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LNGAgeingScenario.OperationalEvent.EventType": ... @staticmethod - def values() -> typing.MutableSequence['LNGAgeingScenario.OperationalEvent.EventType']: ... + def values() -> ( + typing.MutableSequence["LNGAgeingScenario.OperationalEvent.EventType"] + ): ... class LNGBOGHandlingNetwork(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, handlingMode: 'LNGBOGHandlingNetwork.HandlingMode'): ... - def calculateDisposition(self, double: float) -> 'LNGBOGHandlingNetwork.BOGDisposition': ... + def __init__(self, handlingMode: "LNGBOGHandlingNetwork.HandlingMode"): ... + def calculateDisposition( + self, double: float + ) -> "LNGBOGHandlingNetwork.BOGDisposition": ... def calculateFuelDemand(self) -> float: ... def getBaseFuelConsumption(self) -> float: ... def getDesignSpeed(self) -> float: ... def getFuelGasConsumptionRate(self) -> float: ... def getGcuCapacity(self) -> float: ... - def getHandlingMode(self) -> 'LNGBOGHandlingNetwork.HandlingMode': ... + def getHandlingMode(self) -> "LNGBOGHandlingNetwork.HandlingMode": ... def getReliquefactionCapacity(self) -> float: ... def getReliquefactionEfficiency(self) -> float: ... def getReliquefactionSpecificPower(self) -> float: ... @@ -166,12 +230,15 @@ class LNGBOGHandlingNetwork(java.io.Serializable): def setDesignSpeed(self, double: float) -> None: ... def setFuelGasConsumptionRate(self, double: float) -> None: ... def setGcuCapacity(self, double: float) -> None: ... - def setHandlingMode(self, handlingMode: 'LNGBOGHandlingNetwork.HandlingMode') -> None: ... + def setHandlingMode( + self, handlingMode: "LNGBOGHandlingNetwork.HandlingMode" + ) -> None: ... def setLoadedVoyage(self, boolean: bool) -> None: ... def setReliquefactionCapacity(self, double: float) -> None: ... def setReliquefactionEfficiency(self, double: float) -> None: ... def setReliquefactionSpecificPower(self, double: float) -> None: ... def setVesselSpeed(self, double: float) -> None: ... + class BOGDisposition(java.io.Serializable): bogGenerated: float = ... bogToFuel: float = ... @@ -185,29 +252,52 @@ class LNGBOGHandlingNetwork(java.io.Serializable): def getReliquefactionFraction(self) -> float: ... def isVenting(self) -> bool: ... def toString(self) -> java.lang.String: ... - class HandlingMode(java.lang.Enum['LNGBOGHandlingNetwork.HandlingMode']): - FUEL_ONLY: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... - RELIQUEFACTION: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... - FUEL_PLUS_RELIQUEFACTION: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... - GCU: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... - MEGI: typing.ClassVar['LNGBOGHandlingNetwork.HandlingMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class HandlingMode(java.lang.Enum["LNGBOGHandlingNetwork.HandlingMode"]): + FUEL_ONLY: typing.ClassVar["LNGBOGHandlingNetwork.HandlingMode"] = ... + RELIQUEFACTION: typing.ClassVar["LNGBOGHandlingNetwork.HandlingMode"] = ... + FUEL_PLUS_RELIQUEFACTION: typing.ClassVar[ + "LNGBOGHandlingNetwork.HandlingMode" + ] = ... + GCU: typing.ClassVar["LNGBOGHandlingNetwork.HandlingMode"] = ... + MEGI: typing.ClassVar["LNGBOGHandlingNetwork.HandlingMode"] = ... + _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: ... + 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]) -> 'LNGBOGHandlingNetwork.HandlingMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LNGBOGHandlingNetwork.HandlingMode": ... @staticmethod - def values() -> typing.MutableSequence['LNGBOGHandlingNetwork.HandlingMode']: ... + def values() -> ( + typing.MutableSequence["LNGBOGHandlingNetwork.HandlingMode"] + ): ... class LNGHeelManager(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def calculateMixedComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... - def createStratifiedInitialCondition(self, lNGTankLayeredModel: 'LNGTankLayeredModel', systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def calculateMixedComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + double2: float, + ) -> java.util.Map[java.lang.String, float]: ... + def createStratifiedInitialCondition( + self, + lNGTankLayeredModel: "LNGTankLayeredModel", + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + ) -> None: ... def getHeelComposition(self) -> java.util.Map[java.lang.String, float]: ... def getHeelDensity(self) -> float: ... def getHeelFraction(self) -> float: ... @@ -220,18 +310,30 @@ class LNGHeelManager(java.io.Serializable): def isSprayCoolingActive(self) -> bool: ... def setHeelDensity(self, double: float) -> None: ... def setHeelFraction(self, double: float) -> None: ... - def setHeelState(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float) -> None: ... + def setHeelState( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + double2: float, + ) -> None: ... def setHeelTemperature(self, double: float) -> None: ... def setMaxWarmTankTemperature(self, double: float) -> None: ... def setSprayCoolingActive(self, boolean: bool) -> None: ... def setSprayCoolingRate(self, double: float) -> None: ... def setTankVolume(self, double: float) -> None: ... def setTankWallTemperature(self, double: float) -> None: ... - def simulateSprayCooling(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def simulateSprayCooling( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... class LNGRolloverDetector(java.io.Serializable): def __init__(self): ... - def assess(self, list: java.util.List['LNGTankLayer']) -> 'LNGRolloverDetector.RolloverAssessment': ... + def assess( + self, list: java.util.List["LNGTankLayer"] + ) -> "LNGRolloverDetector.RolloverAssessment": ... def calculateRayleighNumber(self, double: float, double2: float) -> float: ... def clearHistory(self) -> None: ... def getCriticalRayleighNumber(self) -> float: ... @@ -242,10 +344,17 @@ class LNGRolloverDetector(java.io.Serializable): def setCriticalRayleighNumber(self, double: float) -> None: ... def setDensityAlarmThreshold(self, double: float) -> None: ... def setDensityWarningThreshold(self, double: float) -> None: ... - def setLNGProperties(self, double: float, double2: float, double3: float) -> None: ... + def setLNGProperties( + self, double: float, double2: float, double3: float + ) -> None: ... def setTemperatureThreshold(self, double: float) -> None: ... + class RolloverAssessment(java.io.Serializable): - def __init__(self, rolloverRiskLevel: 'LNGRolloverDetector.RolloverRiskLevel', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + rolloverRiskLevel: "LNGRolloverDetector.RolloverRiskLevel", + string: typing.Union[java.lang.String, str], + ): ... def getEstimatedTimeToRolloverHours(self) -> float: ... def getMaxDensityDifference(self) -> float: ... def getMaxTemperatureDifference(self) -> float: ... @@ -253,7 +362,7 @@ class LNGRolloverDetector(java.io.Serializable): def getRayleighNumber(self) -> float: ... def getRiskLayerLower(self) -> int: ... def getRiskLayerUpper(self) -> int: ... - def getRiskLevel(self) -> 'LNGRolloverDetector.RolloverRiskLevel': ... + def getRiskLevel(self) -> "LNGRolloverDetector.RolloverRiskLevel": ... def isDensityInversion(self) -> bool: ... def setDensityInversion(self, boolean: bool) -> None: ... def setEstimatedTimeToRolloverHours(self, double: float) -> None: ... @@ -262,41 +371,52 @@ class LNGRolloverDetector(java.io.Serializable): def setRayleighNumber(self, double: float) -> None: ... def setRiskLayerLower(self, int: int) -> None: ... def setRiskLayerUpper(self, int: int) -> None: ... - class RolloverRiskLevel(java.lang.Enum['LNGRolloverDetector.RolloverRiskLevel']): - NONE: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... - LOW: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... - MEDIUM: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... - HIGH: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... - CRITICAL: typing.ClassVar['LNGRolloverDetector.RolloverRiskLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class RolloverRiskLevel(java.lang.Enum["LNGRolloverDetector.RolloverRiskLevel"]): + NONE: typing.ClassVar["LNGRolloverDetector.RolloverRiskLevel"] = ... + LOW: typing.ClassVar["LNGRolloverDetector.RolloverRiskLevel"] = ... + MEDIUM: typing.ClassVar["LNGRolloverDetector.RolloverRiskLevel"] = ... + HIGH: typing.ClassVar["LNGRolloverDetector.RolloverRiskLevel"] = ... + CRITICAL: typing.ClassVar["LNGRolloverDetector.RolloverRiskLevel"] = ... + _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: ... + 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]) -> 'LNGRolloverDetector.RolloverRiskLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LNGRolloverDetector.RolloverRiskLevel": ... @staticmethod - def values() -> typing.MutableSequence['LNGRolloverDetector.RolloverRiskLevel']: ... + def values() -> ( + typing.MutableSequence["LNGRolloverDetector.RolloverRiskLevel"] + ): ... class LNGShipModel(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def addTank(self, lNGAgeingScenario: LNGAgeingScenario) -> None: ... def getBogNetwork(self) -> LNGBOGHandlingNetwork: ... def getShipName(self) -> java.lang.String: ... - def getShipResults(self) -> java.util.List['LNGShipModel.ShipResult']: ... + def getShipResults(self) -> java.util.List["LNGShipModel.ShipResult"]: ... def getShipSummary(self) -> java.lang.String: ... def getSimulationTime(self) -> float: ... - def getTankResults(self) -> java.util.Map[java.lang.String, java.util.List[LNGAgeingResult]]: ... + def getTankResults( + self, + ) -> java.util.Map[java.lang.String, java.util.List[LNGAgeingResult]]: ... def getTankScenarios(self) -> java.util.List[LNGAgeingScenario]: ... def getTimeStepHours(self) -> float: ... def getTotalCargoLossPct(self) -> float: ... - def getVoyageProfile(self) -> 'LNGVoyageProfile': ... + def getVoyageProfile(self) -> "LNGVoyageProfile": ... def run(self) -> None: ... def setBogNetwork(self, lNGBOGHandlingNetwork: LNGBOGHandlingNetwork) -> None: ... def setShipName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSimulationTime(self, double: float) -> None: ... def setTimeStepHours(self, double: float) -> None: ... - def setVoyageProfile(self, lNGVoyageProfile: 'LNGVoyageProfile') -> None: ... + def setVoyageProfile(self, lNGVoyageProfile: "LNGVoyageProfile") -> None: ... + class ShipResult(java.io.Serializable): timeHours: float = ... numberOfTanks: int = ... @@ -321,15 +441,17 @@ class LNGSloshingModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, containmentType: 'TankGeometry.ContainmentType'): ... + def __init__(self, containmentType: "TankGeometry.ContainmentType"): ... def calculateBOGEnhancement(self, double: float, double2: float) -> float: ... def calculateMixingFactor(self, double: float, double2: float) -> float: ... - def getContainmentType(self) -> 'TankGeometry.ContainmentType': ... + def getContainmentType(self) -> "TankGeometry.ContainmentType": ... def getMaxBOGEnhancement(self) -> float: ... def getMaxMixingFactor(self) -> float: ... def getReferenceWaveHeight(self) -> float: ... def getSloshingCoefficient(self) -> float: ... - def setContainmentType(self, containmentType: 'TankGeometry.ContainmentType') -> None: ... + def setContainmentType( + self, containmentType: "TankGeometry.ContainmentType" + ) -> None: ... def setMaxBOGEnhancement(self, double: float) -> None: ... def setMaxMixingFactor(self, double: float) -> None: ... def setReferenceWaveHeight(self, double: float) -> None: ... @@ -343,7 +465,7 @@ class LNGTankLayer(java.io.Serializable): def addHeat(self, double: float, double2: float) -> None: ... def getComposition(self) -> java.util.Map[java.lang.String, float]: ... def getDensity(self) -> float: ... - def getDensityDifference(self, lNGTankLayer: 'LNGTankLayer') -> float: ... + def getDensityDifference(self, lNGTankLayer: "LNGTankLayer") -> float: ... def getLayerIndex(self) -> int: ... def getMass(self) -> float: ... def getMolarMass(self) -> float: ... @@ -352,16 +474,33 @@ class LNGTankLayer(java.io.Serializable): def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTotalMoles(self) -> float: ... def getVolume(self) -> float: ... - def initFromThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def isDenserThan(self, lNGTankLayer: 'LNGTankLayer') -> bool: ... - def removeVapor(self, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def initFromThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def isDenserThan(self, lNGTankLayer: "LNGTankLayer") -> bool: ... + def removeVapor( + self, + double: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setDensity(self, double: float) -> None: ... def setLayerIndex(self, int: int) -> None: ... def setMolarMass(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTotalMoles(self, double: float) -> None: ... def setVolume(self, double: float) -> None: ... @@ -374,15 +513,15 @@ class LNGTankLayeredModel(java.io.Serializable): def getCurrentFillFraction(self) -> float: ... def getCurrentVaporComposition(self) -> java.util.Map[java.lang.String, float]: ... def getEffectiveDiffusionCoeff(self) -> float: ... - def getHeatTransferModel(self) -> 'TankHeatTransferModel': ... + def getHeatTransferModel(self) -> "TankHeatTransferModel": ... def getLayerMergeDensityThreshold(self) -> float: ... def getLayers(self) -> java.util.List[LNGTankLayer]: ... - def getMethaneNumberCalculator(self) -> 'MethaneNumberCalculator': ... + def getMethaneNumberCalculator(self) -> "MethaneNumberCalculator": ... def getOverallHeatTransferCoeff(self) -> float: ... def getReferenceSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getSloshingMixingFactor(self) -> float: ... def getSloshingModel(self) -> LNGSloshingModel: ... - def getTankGeometry(self) -> 'TankGeometry': ... + def getTankGeometry(self) -> "TankGeometry": ... def getTankPressure(self) -> float: ... def getTankSurfaceArea(self) -> float: ... def getTotalLiquidMoles(self) -> float: ... @@ -390,13 +529,17 @@ class LNGTankLayeredModel(java.io.Serializable): def initialise(self, double: float) -> None: ... def isUseGERG2008(self) -> bool: ... def setEffectiveDiffusionCoeff(self, double: float) -> None: ... - def setHeatTransferModel(self, tankHeatTransferModel: 'TankHeatTransferModel') -> None: ... + def setHeatTransferModel( + self, tankHeatTransferModel: "TankHeatTransferModel" + ) -> None: ... def setLayerMergeDensityThreshold(self, double: float) -> None: ... - def setMethaneNumberCalculator(self, methaneNumberCalculator: 'MethaneNumberCalculator') -> None: ... + def setMethaneNumberCalculator( + self, methaneNumberCalculator: "MethaneNumberCalculator" + ) -> None: ... def setOverallHeatTransferCoeff(self, double: float) -> None: ... def setSloshingMixingFactor(self, double: float) -> None: ... def setSloshingModel(self, lNGSloshingModel: LNGSloshingModel) -> None: ... - def setTankGeometry(self, tankGeometry: 'TankGeometry') -> None: ... + def setTankGeometry(self, tankGeometry: "TankGeometry") -> None: ... def setTankPressure(self, double: float) -> None: ... def setTankSurfaceArea(self, double: float) -> None: ... def setTotalTankVolume(self, double: float) -> None: ... @@ -426,38 +569,76 @@ class LNGVaporSpaceModel(java.io.Serializable): def setEquilibriumMode(self, boolean: bool) -> None: ... def setMaxPressure(self, double: float) -> None: ... def setMinPressure(self, double: float) -> None: ... - def setReferenceSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTankPressure(self, double: float) -> None: ... def setTotalTankVolume(self, double: float) -> None: ... def setUseFlashModel(self, boolean: bool) -> None: ... def setVaporMoles(self, double: float) -> None: ... def setVaporTemperature(self, double: float) -> None: ... - def update(self, double: float, double2: float, double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double4: float) -> None: ... - def updateWithFlash(self, double: float, double2: float, double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double4: float) -> None: ... + def update( + self, + double: float, + double2: float, + double3: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double4: float, + ) -> None: ... + def updateWithFlash( + self, + double: float, + double2: float, + double3: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double4: float, + ) -> None: ... class LNGVoyageProfile(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addSegment(self, segment: 'LNGVoyageProfile.Segment') -> None: ... + def addSegment(self, segment: "LNGVoyageProfile.Segment") -> None: ... @staticmethod - def createUniform(string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'LNGVoyageProfile': ... + def createUniform( + string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "LNGVoyageProfile": ... def getAmbientTemperatureAt(self, double: float) -> float: ... - def getConditionsAt(self, double: float) -> 'LNGVoyageProfile.EnvironmentConditions': ... + def getConditionsAt( + self, double: float + ) -> "LNGVoyageProfile.EnvironmentConditions": ... def getDefaultAmbientTemperature(self) -> float: ... - def getSegments(self) -> java.util.List['LNGVoyageProfile.Segment']: ... + def getSegments(self) -> java.util.List["LNGVoyageProfile.Segment"]: ... def getTotalDurationHours(self) -> float: ... def getVoyageName(self) -> java.lang.String: ... def getWaveHeightAt(self, double: float) -> float: ... def setDefaultAmbientTemperature(self, double: float) -> None: ... def setTotalDurationHours(self, double: float) -> None: ... def setVoyageName(self, string: typing.Union[java.lang.String, str]) -> None: ... + class EnvironmentConditions(java.io.Serializable): ambientTemperature: float = ... significantWaveHeight: float = ... windSpeed: float = ... solarRadiation: float = ... - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... + class Segment(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getAmbientTemperature(self) -> float: ... def getDurationHours(self) -> float: ... def getEndTimeHours(self) -> float: ... @@ -470,39 +651,66 @@ class MethaneNumberCalculator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, method: 'MethaneNumberCalculator.Method'): ... - def calculate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... - def calculateAll(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> java.util.Map[java.lang.String, float]: ... - def getMethod(self) -> 'MethaneNumberCalculator.Method': ... - def meetsSpecification(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> bool: ... - def setMethod(self, method: 'MethaneNumberCalculator.Method') -> None: ... - class Method(java.lang.Enum['MethaneNumberCalculator.Method']): - EN16726: typing.ClassVar['MethaneNumberCalculator.Method'] = ... - MWM: typing.ClassVar['MethaneNumberCalculator.Method'] = ... - SIMPLIFIED: typing.ClassVar['MethaneNumberCalculator.Method'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__(self, method: "MethaneNumberCalculator.Method"): ... + def calculate( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... + def calculateAll( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> java.util.Map[java.lang.String, float]: ... + def getMethod(self) -> "MethaneNumberCalculator.Method": ... + def meetsSpecification( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + ) -> bool: ... + def setMethod(self, method: "MethaneNumberCalculator.Method") -> None: ... + + class Method(java.lang.Enum["MethaneNumberCalculator.Method"]): + EN16726: typing.ClassVar["MethaneNumberCalculator.Method"] = ... + MWM: typing.ClassVar["MethaneNumberCalculator.Method"] = ... + SIMPLIFIED: typing.ClassVar["MethaneNumberCalculator.Method"] = ... + _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: ... + 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]) -> 'MethaneNumberCalculator.Method': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MethaneNumberCalculator.Method": ... @staticmethod - def values() -> typing.MutableSequence['MethaneNumberCalculator.Method']: ... + def values() -> typing.MutableSequence["MethaneNumberCalculator.Method"]: ... class TankGeometry(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, containmentType: 'TankGeometry.ContainmentType', double: float): ... + def __init__( + self, containmentType: "TankGeometry.ContainmentType", double: float + ): ... @staticmethod - def createMossSingle() -> 'TankGeometry': ... + def createMossSingle() -> "TankGeometry": ... @staticmethod - def createQMax() -> 'TankGeometry': ... + def createQMax() -> "TankGeometry": ... @staticmethod - def createTypeC() -> 'TankGeometry': ... + def createTypeC() -> "TankGeometry": ... def getBottomArea(self) -> float: ... - def getContainmentType(self) -> 'TankGeometry.ContainmentType': ... + def getContainmentType(self) -> "TankGeometry.ContainmentType": ... def getHeight(self) -> float: ... def getInnerDiameter(self) -> float: ... def getInsulationConductivity(self) -> float: ... @@ -517,7 +725,9 @@ class TankGeometry(java.io.Serializable): def getTotalVolume(self) -> float: ... def getWettedWallArea(self, double: float) -> float: ... def getWidth(self) -> float: ... - def setContainmentType(self, containmentType: 'TankGeometry.ContainmentType') -> None: ... + def setContainmentType( + self, containmentType: "TankGeometry.ContainmentType" + ) -> None: ... def setHeight(self, double: float) -> None: ... def setInnerDiameter(self, double: float) -> None: ... def setInsulationConductivity(self, double: float) -> None: ... @@ -525,39 +735,64 @@ class TankGeometry(java.io.Serializable): def setLength(self, double: float) -> None: ... def setTotalVolume(self, double: float) -> None: ... def setWidth(self, double: float) -> None: ... - class ContainmentType(java.lang.Enum['TankGeometry.ContainmentType']): - MEMBRANE: typing.ClassVar['TankGeometry.ContainmentType'] = ... - MOSS: typing.ClassVar['TankGeometry.ContainmentType'] = ... - TYPE_C: typing.ClassVar['TankGeometry.ContainmentType'] = ... - SPB: typing.ClassVar['TankGeometry.ContainmentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ContainmentType(java.lang.Enum["TankGeometry.ContainmentType"]): + MEMBRANE: typing.ClassVar["TankGeometry.ContainmentType"] = ... + MOSS: typing.ClassVar["TankGeometry.ContainmentType"] = ... + TYPE_C: typing.ClassVar["TankGeometry.ContainmentType"] = ... + SPB: typing.ClassVar["TankGeometry.ContainmentType"] = ... + _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: ... + 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]) -> 'TankGeometry.ContainmentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TankGeometry.ContainmentType": ... @staticmethod - def values() -> typing.MutableSequence['TankGeometry.ContainmentType']: ... + def values() -> typing.MutableSequence["TankGeometry.ContainmentType"]: ... class TankHeatTransferModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, tankGeometry: TankGeometry, double: float): ... - def addZone(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def calculateLayerHeatDistribution(self, double: float, int: int) -> typing.MutableSequence[float]: ... + def addZone( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def calculateLayerHeatDistribution( + self, double: float, int: int + ) -> typing.MutableSequence[float]: ... def calculateTotalHeatIngress(self, double: float) -> float: ... - def calculateZoneHeatIngress(self, double: float) -> java.util.Map[java.lang.String, float]: ... + def calculateZoneHeatIngress( + self, double: float + ) -> java.util.Map[java.lang.String, float]: ... def getSolarAbsorptivity(self) -> float: ... def getTankGeometry(self) -> TankGeometry: ... def getWindConvectionFactor(self) -> float: ... - def getZones(self) -> java.util.List['TankHeatTransferModel.HeatTransferZone']: ... + def getZones(self) -> java.util.List["TankHeatTransferModel.HeatTransferZone"]: ... def setSolarAbsorptivity(self, double: float) -> None: ... def setWindConvectionFactor(self, double: float) -> None: ... - def updateBoundaryConditions(self, double: float, double2: float, double3: float) -> None: ... + def updateBoundaryConditions( + self, double: float, double2: float, double3: float + ) -> None: ... + class HeatTransferZone(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getArea(self) -> float: ... def getBoundaryTemperature(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -566,7 +801,6 @@ class TankHeatTransferModel(java.io.Serializable): def setBoundaryTemperature(self, double: float) -> None: ... def setUValue(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.lng")``. diff --git a/src/jneqsim-stubs/process/equipment/manifold/__init__.pyi b/src/jneqsim-stubs/process/equipment/manifold/__init__.pyi index e321c420..ae04bc2a 100644 --- a/src/jneqsim-stubs/process/equipment/manifold/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/manifold/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,18 +16,28 @@ import jneqsim.process.mechanicaldesign.manifold import jneqsim.process.util.report import typing - - -class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class Manifold( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + jneqsim.process.design.AutoSizeable, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def calculateBranchFRMS(self) -> float: ... @typing.overload @@ -39,12 +49,18 @@ class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proc def calculateHeaderFRMS(self, double: float) -> float: ... def calculateHeaderLOF(self) -> float: ... def clearCapacityConstraints(self) -> None: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... def getBranchInnerDiameter(self) -> float: ... def getBranchOuterDiameter(self) -> float: ... def getBranchVelocity(self) -> float: ... def getBranchWallThickness(self) -> float: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... @typing.overload def getErosionalVelocity(self) -> float: ... @typing.overload @@ -55,27 +71,41 @@ class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proc def getHeaderOuterDiameter(self) -> float: ... def getHeaderVelocity(self) -> float: ... def getHeaderWallThickness(self) -> float: ... - def getInletStreams(self) -> java.util.List[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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.manifold.ManifoldMechanicalDesign: ... def getMixedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getNumberOfOutputStreams(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... def getSplitFactors(self) -> typing.MutableSequence[float]: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSupportArrangement(self) -> java.lang.String: ... def initMechanicalDesign(self) -> None: ... def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -83,31 +113,44 @@ class Manifold(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proc @typing.overload def setBranchInnerDiameter(self, double: float) -> None: ... @typing.overload - def setBranchInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBranchInnerDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setBranchWallThickness(self, double: float) -> None: ... @typing.overload - def setBranchWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBranchWallThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setHeaderInnerDiameter(self, double: float) -> None: ... @typing.overload - def setHeaderInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeaderInnerDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setHeaderWallThickness(self, double: float) -> None: ... @typing.overload - def setHeaderWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeaderWallThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxBranchVelocityDesign(self, double: float) -> None: ... def setMaxFRMSDesign(self, double: float) -> None: ... def setMaxHeaderVelocityDesign(self, double: float) -> None: ... def setMaxLOFDesign(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSplitFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setSupportArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.manifold")``. diff --git a/src/jneqsim-stubs/process/equipment/membrane/__init__.pyi b/src/jneqsim-stubs/process/equipment/membrane/__init__.pyi index bc7de6f1..b8738ce6 100644 --- a/src/jneqsim-stubs/process/equipment/membrane/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/membrane/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,24 +11,32 @@ import jneqsim.process.equipment import jneqsim.process.equipment.stream import typing - - class MembraneSeparator(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def clearPermeateFractions(self) -> None: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[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 getMembraneArea(self) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getPermeateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getRetentateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRetentateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def needRecalculation(self) -> bool: ... @typing.overload def run(self) -> None: ... @@ -39,11 +47,16 @@ class MembraneSeparator(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setDefaultPermeateFraction(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMembraneArea(self, double: float) -> None: ... - def setPermeability(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setPermeateFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - + def setPermeability( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setPermeateFraction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.membrane")``. diff --git a/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi b/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi index 8794032a..d90fe8f1 100644 --- a/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/mixer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,48 +16,78 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - class MixerInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def hashCode(self) -> int: ... def removeInputStream(self, int: int) -> None: ... - def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... -class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class Mixer( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + MixerInterface, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def clearCapacityConstraints(self) -> None: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getDesignPressureDrop(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + 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 getMaxDesignVelocity(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getMixedSalinity(self) -> float: ... def getNumberOfInputStreams(self) -> int: ... def getOutTemperature(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... - def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def guessTemperature(self) -> float: ... def hashCode(self) -> int: ... @@ -72,9 +102,15 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, def isSetOutTemperature(self, boolean: bool) -> None: ... def mixStream(self) -> None: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def removeInputStream(self, int: int) -> None: ... - def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -90,7 +126,9 @@ class Mixer(jneqsim.process.equipment.ProcessEquipmentBaseClass, MixerInterface, @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class StaticMixer(Mixer): @@ -105,7 +143,9 @@ class StaticMixer(Mixer): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class StaticNeqMixer(StaticMixer): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -123,7 +163,6 @@ class StaticPhaseMixer(StaticMixer): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.mixer")``. diff --git a/src/jneqsim-stubs/process/equipment/network/__init__.pyi b/src/jneqsim-stubs/process/equipment/network/__init__.pyi index f6cc7d0a..c78c4027 100644 --- a/src/jneqsim-stubs/process/equipment/network/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/network/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,16 +22,19 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class LoopDetector(java.io.Serializable): def __init__(self): ... - def addEdge(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def addEdge( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... def clear(self) -> None: ... - def findLoops(self) -> java.util.List['NetworkLoop']: ... + def findLoops(self) -> java.util.List["NetworkLoop"]: ... def getEdgeCount(self) -> int: ... def getLoopCount(self) -> int: ... - def getLoops(self) -> java.util.List['NetworkLoop']: ... + def getLoops(self) -> java.util.List["NetworkLoop"]: ... def getNodeCount(self) -> int: ... def hasLoops(self) -> bool: ... @@ -39,60 +42,227 @@ class LoopedPipeNetwork(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 addChoke(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) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addCompressor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addCompressorWithChart(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor) -> 'LoopedPipeNetwork.NetworkPipe': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addChoke( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addCompressor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addCompressorWithChart( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + compressor: jneqsim.process.equipment.compressor.Compressor, + ) -> "LoopedPipeNetwork.NetworkPipe": ... @typing.overload - def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addFixedPressureSinkNode( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addFixedPressureSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addFixedPressureSinkNode( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... @typing.overload def addJunctionNode(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addJunctionNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addMultiphasePipe(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) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addJunctionNode( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addMultiphasePipe( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... @typing.overload - def addPipe(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) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPipe( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... @typing.overload - def addPipe(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) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addRegulator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addPipe( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addRegulator( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "LoopedPipeNetwork.NetworkPipe": ... @typing.overload - def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addSinkNode( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addSinkNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addSinkNode( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... @typing.overload - def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addSourceNode( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... @typing.overload - def addSourceNode(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTubing(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) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWaterInjection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, boolean: bool) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPRFetkovich(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) -> 'LoopedPipeNetwork.NetworkPipe': ... - def addWellIPRVogel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'LoopedPipeNetwork.NetworkPipe': ... + def addSourceNode( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addTubing( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addWaterInjection( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addWellIPR( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + boolean: bool, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addWellIPRFetkovich( + 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, + ) -> "LoopedPipeNetwork.NetworkPipe": ... + def addWellIPRVogel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "LoopedPipeNetwork.NetworkPipe": ... @typing.overload - def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str]) -> None: ... + def attachReservoir( + self, + string: typing.Union[java.lang.String, str], + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def attachReservoir(self, string: typing.Union[java.lang.String, str], simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def calculateCorrosion(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateEmissions(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def attachReservoir( + self, + string: typing.Union[java.lang.String, str], + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def calculateCorrosion( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateEmissions( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def calculateFuelGasConsumption(self) -> java.util.Map[java.lang.String, float]: ... - def calculateGasQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateOilQuality(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateSandTransport(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def calculateWaterBalance(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateGasQuality( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateOilQuality( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateSandTransport( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def calculateWaterBalance( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def checkConstraints(self) -> java.util.List[java.lang.String]: ... def checkErosionalVelocity(self) -> java.util.List[java.lang.String]: ... - def checkGasQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... - def checkOilQualityLimits(self, double: float, double2: float) -> java.util.List[java.lang.String]: ... - def createOptimizer(self) -> 'NetworkOptimizer': ... - def exportCoupledVFPTables(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def exportVFPTables(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def fullFieldForecast(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - 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 checkGasQualityLimits( + self, double: float, double2: float + ) -> java.util.List[java.lang.String]: ... + def checkOilQualityLimits( + self, double: float, double2: float + ) -> java.util.List[java.lang.String]: ... + def createOptimizer(self) -> "NetworkOptimizer": ... + def exportCoupledVFPTables( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def exportVFPTables( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def fullFieldForecast( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + 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 getAttachedReservoir(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + def getAttachedReservoir( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... def getCO2EmissionFactor(self) -> float: ... def getConstraintViolations(self) -> java.util.List[java.lang.String]: ... def getCorrosionViolations(self) -> java.util.List[java.lang.String]: ... @@ -101,41 +271,65 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getFluidTemplate(self) -> jneqsim.thermo.system.SystemInterface: ... def getFuelGasHeatRate(self) -> float: ... def getFuelGasPercentage(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getIterationCount(self) -> int: ... - def getLoops(self) -> java.util.List['NetworkLoop']: ... + def getLoops(self) -> java.util.List["NetworkLoop"]: ... def getMassBalanceError(self) -> float: ... def getMaxCompressorPowerMW(self) -> float: ... def getMaxIterations(self) -> int: ... def getMaxResidual(self) -> float: ... def getMaxSeparatorUtilization(self) -> float: ... def getNetworkReport(self) -> java.lang.String: ... - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkNode': ... + def getNode( + self, string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.NetworkNode": ... def getNodeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNodeFluid(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def getNodeGasQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getNodeOilQuality(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getNodeFluid( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... + def getNodeGasQuality( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getNodeOilQuality( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getNodePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... def getNumberOfLoops(self) -> int: ... @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 getPipe(self, string: typing.Union[java.lang.String, str]) -> 'LoopedPipeNetwork.NetworkPipe': ... + 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 getPipe( + self, string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.NetworkPipe": ... def getPipeFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeFlowRegime(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getPipeFrictionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeFlowRegime( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def getPipeFrictionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPipeHeadLoss(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPipeModelType(self) -> 'LoopedPipeNetwork.PipeModelType': ... + def getPipeModelType(self) -> "LoopedPipeNetwork.PipeModelType": ... def getPipeNames(self) -> java.util.List[java.lang.String]: ... - def getPipeReynoldsNumber(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPipeReynoldsNumber( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPipeVelocity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getRelaxationFactor(self) -> float: ... def getSandViolations(self) -> java.util.List[java.lang.String]: ... def getSolutionSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getSolverType(self) -> 'LoopedPipeNetwork.SolverType': ... - def getSourceNodeStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolverType(self) -> "LoopedPipeNetwork.SolverType": ... + def getSourceNodeStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getTolerance(self) -> float: ... def getTopsideModel(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getTotalCO2Emissions(self) -> float: ... @@ -145,47 +339,122 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getTotalSinkFlow(self) -> float: ... def getTotalWaterInjection(self) -> float: ... def getTotalWaterProduction(self) -> float: ... - def getWellAllocationResults(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getWellAllocationResults( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def hasAttachedReservoirs(self) -> bool: ... def isConverged(self) -> bool: ... def isTopsideFeasible(self) -> bool: ... - def loadFluidFromE300(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def nodalAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def loadFluidFromE300( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... + def nodalAnalysis( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def optimizeChokeOpenings(self, int: int, double: float) -> float: ... - def optimizeFullField(self, int: int, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def optimizeMultiObjective(self, int: int) -> java.util.List['NetworkOptimizer.OptimizationResult']: ... + def optimizeFullField( + self, int: int, double: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def optimizeMultiObjective( + self, int: int + ) -> java.util.List["NetworkOptimizer.OptimizationResult"]: ... def optimizeProduction(self, int: int, double: float) -> float: ... - def optimizeProductionNLP(self) -> 'NetworkOptimizer.OptimizationResult': ... - def productionForecast(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[float]]: ... + def optimizeProductionNLP(self) -> "NetworkOptimizer.OptimizationResult": ... + def productionForecast( + 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[float]]: ... @typing.overload - def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def productionForecastCoupled( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... @typing.overload - def productionForecastCoupled(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def productionForecastCoupled( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int: int, + double2: float, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... @typing.overload - def productionForecastWithOptimization(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int, double3: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def productionForecastWithOptimization( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + int: int, + double3: float, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... @typing.overload - def productionForecastWithOptimization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, double2: float) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def productionForecastWithOptimization( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int: int, + double2: float, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def runCoupled(self) -> java.util.Map[java.lang.String, float]: ... - def runTransientCoupled(self, double: float, int: int, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def runTransientCoupled( + self, double: float, int: int, double2: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... @staticmethod - def runValidationBenchmarks() -> java.util.List['NetworkValidationBenchmarks.BenchmarkResult']: ... - def sensitivityAnalysis(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def runValidationBenchmarks() -> ( + java.util.List["NetworkValidationBenchmarks.BenchmarkResult"] + ): ... + def sensitivityAnalysis( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def setCO2EmissionFactor(self, double: float) -> None: ... - def setCorrosionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setCorrosiveGas(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setCorrosionModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setCorrosiveGas( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def setCouplingToleranceBar(self, double: float) -> None: ... - def setESP(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setElementFlowLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setFeedStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setFluidTemplate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setESP( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setElementFlowLimits( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setFeedStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... + def setFluidTemplate( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFuelGasHeatRate(self, double: float) -> None: ... - def setGasLift(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setGasLift( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setGasPrice(self, double: float) -> None: ... - def setJetPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setJetPump( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def setMaxAllowableErosionRate(self, double: float) -> None: ... def setMaxAllowableSandRate(self, double: float) -> None: ... def setMaxCompressorPowerMW(self, double: float) -> None: ... @@ -194,110 +463,201 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setMaxSeparatorUtilization(self, double: float) -> None: ... def setMethaneSlipFactor(self, double: float) -> None: ... def setMinAllowableWallLife(self, double: float) -> None: ... - def setNodeFluid(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setNodePressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setNodePressureLimits(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setNodeFluid( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> None: ... + def setNodePressure( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setNodePressureLimits( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def setOilPrice(self, double: float) -> None: ... - def setPipeEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setPipeModelType(self, pipeModelType: 'LoopedPipeNetwork.PipeModelType') -> None: ... + def setPipeEfficiency( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setPipeModelType( + self, pipeModelType: "LoopedPipeNetwork.PipeModelType" + ) -> None: ... def setRelaxationFactor(self, double: float) -> None: ... - def setReservoirComposition(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setReservoirCompositionFromE300(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setReservoirPressure(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setRodPump(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setSandRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setSolverType(self, solverType: 'LoopedPipeNetwork.SolverType') -> None: ... + def setReservoirComposition( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setReservoirCompositionFromE300( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setReservoirPressure( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setRodPump( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setSandRate( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setSolverType(self, solverType: "LoopedPipeNetwork.SolverType") -> None: ... def setTolerance(self, double: float) -> None: ... - def setTopsideModel(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterBreakthrough(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def setWaterCut(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setWellPrice(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setTopsideModel( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setWaterBreakthrough( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def setWaterCut( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setWellPrice( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def updateCompositionalMixing(self) -> None: ... def validate(self) -> java.util.List[java.lang.String]: ... - def validateVFPPoint(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float) -> java.util.Map[java.lang.String, float]: ... - class ArtificialLiftType(java.lang.Enum['LoopedPipeNetwork.ArtificialLiftType']): - NONE: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - GAS_LIFT: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - ESP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - JET_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - ROD_PUMP: typing.ClassVar['LoopedPipeNetwork.ArtificialLiftType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def validateVFPPoint( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + double4: float, + double5: float, + double6: float, + ) -> java.util.Map[java.lang.String, float]: ... + + class ArtificialLiftType(java.lang.Enum["LoopedPipeNetwork.ArtificialLiftType"]): + NONE: typing.ClassVar["LoopedPipeNetwork.ArtificialLiftType"] = ... + GAS_LIFT: typing.ClassVar["LoopedPipeNetwork.ArtificialLiftType"] = ... + ESP: typing.ClassVar["LoopedPipeNetwork.ArtificialLiftType"] = ... + JET_PUMP: typing.ClassVar["LoopedPipeNetwork.ArtificialLiftType"] = ... + ROD_PUMP: typing.ClassVar["LoopedPipeNetwork.ArtificialLiftType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.ArtificialLiftType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.ArtificialLiftType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.ArtificialLiftType']: ... - class IPRType(java.lang.Enum['LoopedPipeNetwork.IPRType']): - PRODUCTIVITY_INDEX: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... - VOGEL: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... - FETKOVICH: typing.ClassVar['LoopedPipeNetwork.IPRType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["LoopedPipeNetwork.ArtificialLiftType"] + ): ... + + class IPRType(java.lang.Enum["LoopedPipeNetwork.IPRType"]): + PRODUCTIVITY_INDEX: typing.ClassVar["LoopedPipeNetwork.IPRType"] = ... + VOGEL: typing.ClassVar["LoopedPipeNetwork.IPRType"] = ... + FETKOVICH: typing.ClassVar["LoopedPipeNetwork.IPRType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.IPRType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.IPRType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.IPRType']: ... - class NetworkElementType(java.lang.Enum['LoopedPipeNetwork.NetworkElementType']): - PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - WELL_IPR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - CHOKE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - TUBING: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - MULTIPHASE_PIPE: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - COMPRESSOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - REGULATOR: typing.ClassVar['LoopedPipeNetwork.NetworkElementType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["LoopedPipeNetwork.IPRType"]: ... + + class NetworkElementType(java.lang.Enum["LoopedPipeNetwork.NetworkElementType"]): + PIPE: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + WELL_IPR: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + CHOKE: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + TUBING: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + MULTIPHASE_PIPE: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + COMPRESSOR: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + REGULATOR: typing.ClassVar["LoopedPipeNetwork.NetworkElementType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.NetworkElementType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.NetworkElementType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.NetworkElementType']: ... + def values() -> ( + typing.MutableSequence["LoopedPipeNetwork.NetworkElementType"] + ): ... + class NetworkNode: - def __init__(self, string: typing.Union[java.lang.String, str], nodeType: 'LoopedPipeNetwork.NodeType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + nodeType: "LoopedPipeNetwork.NodeType", + ): ... def getDemand(self) -> float: ... def getElevation(self) -> float: ... def getName(self) -> java.lang.String: ... def getPressure(self) -> float: ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getTemperature(self) -> float: ... - def getType(self) -> 'LoopedPipeNetwork.NodeType': ... + def getType(self) -> "LoopedPipeNetwork.NodeType": ... def isPressureFixed(self) -> bool: ... def setDemand(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setPressureFixed(self, boolean: bool) -> None: ... - def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getAmbientTemperature(self) -> float: ... - def getArtificialLiftType(self) -> 'LoopedPipeNetwork.ArtificialLiftType': ... - def getBBModel(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... + def getArtificialLiftType(self) -> "LoopedPipeNetwork.ArtificialLiftType": ... + def getBBModel( + self, + ) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... def getChokeCriticalPressureRatio(self) -> float: ... def getChokeKv(self) -> float: ... def getChokeOpening(self) -> float: ... def getCo2MoleFraction(self) -> float: ... def getCompressorEfficiency(self) -> float: ... - def getCompressorModel(self) -> jneqsim.process.equipment.compressor.Compressor: ... + def getCompressorModel( + self, + ) -> jneqsim.process.equipment.compressor.Compressor: ... def getCompressorPower(self) -> float: ... def getCompressorSpeed(self) -> float: ... def getCorrosionModel(self) -> java.lang.String: ... def getCorrosionRate(self) -> float: ... def getDepositionRate(self) -> float: ... def getDiameter(self) -> float: ... - def getElementType(self) -> 'LoopedPipeNetwork.NetworkElementType': ... + def getElementType(self) -> "LoopedPipeNetwork.NetworkElementType": ... def getErosionRate(self) -> float: ... def getErosionalC(self) -> float: ... def getErosionalVelocity(self) -> float: ... @@ -316,7 +676,7 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getGasLiftRate(self) -> float: ... def getH2sMoleFraction(self) -> float: ... def getHeadLoss(self) -> float: ... - def getIprType(self) -> 'LoopedPipeNetwork.IPRType': ... + def getIprType(self) -> "LoopedPipeNetwork.IPRType": ... def getLength(self) -> float: ... def getLiquidHoldup(self) -> float: ... def getMultiphaseSegments(self) -> int: ... @@ -346,8 +706,13 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def isCompressorHasChart(self) -> bool: ... def isGasIPR(self) -> bool: ... def setAmbientTemperature(self, double: float) -> None: ... - def setArtificialLiftType(self, artificialLiftType: 'LoopedPipeNetwork.ArtificialLiftType') -> None: ... - def setBBModel(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... + def setArtificialLiftType( + self, artificialLiftType: "LoopedPipeNetwork.ArtificialLiftType" + ) -> None: ... + def setBBModel( + self, + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ) -> None: ... def setChokeCriticalPressureRatio(self, double: float) -> None: ... def setChokeKv(self, double: float) -> None: ... def setChokeOpening(self, double: float) -> None: ... @@ -355,14 +720,20 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setCo2MoleFraction(self, double: float) -> None: ... def setCompressorEfficiency(self, double: float) -> None: ... def setCompressorHasChart(self, boolean: bool) -> None: ... - def setCompressorModel(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + def setCompressorModel( + self, compressor: jneqsim.process.equipment.compressor.Compressor + ) -> None: ... def setCompressorPower(self, double: float) -> None: ... def setCompressorSpeed(self, double: float) -> None: ... - def setCorrosionModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCorrosionModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCorrosionRate(self, double: float) -> None: ... def setDepositionRate(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... - def setElementType(self, networkElementType: 'LoopedPipeNetwork.NetworkElementType') -> None: ... + def setElementType( + self, networkElementType: "LoopedPipeNetwork.NetworkElementType" + ) -> None: ... def setErosionRate(self, double: float) -> None: ... def setErosionalC(self, double: float) -> None: ... def setErosionalVelocity(self, double: float) -> None: ... @@ -374,21 +745,25 @@ class LoopedPipeNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setFetkovichC(self, double: float) -> None: ... def setFetkovichN(self, double: float) -> None: ... def setFlowRate(self, double: float) -> None: ... - def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRegime( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFrictionFactor(self, double: float) -> None: ... def setGasIPR(self, boolean: bool) -> None: ... def setGasLiftGLR(self, double: float) -> None: ... def setGasLiftRate(self, double: float) -> None: ... def setH2sMoleFraction(self, double: float) -> None: ... def setHeadLoss(self, double: float) -> None: ... - def setIprType(self, iPRType: 'LoopedPipeNetwork.IPRType') -> None: ... + def setIprType(self, iPRType: "LoopedPipeNetwork.IPRType") -> None: ... def setLength(self, double: float) -> None: ... def setLiquidHoldup(self, double: float) -> None: ... def setMultiphaseSegments(self, int: int) -> None: ... def setOutletTemperature(self, double: float) -> None: ... def setOverallHeatTransferCoeff(self, double: float) -> None: ... def setPipeEfficiency(self, double: float) -> None: ... - def setPipeModel(self, adiabaticPipe: jneqsim.process.equipment.pipeline.AdiabaticPipe) -> None: ... + def setPipeModel( + self, adiabaticPipe: jneqsim.process.equipment.pipeline.AdiabaticPipe + ) -> None: ... def setProductivityIndex(self, double: float) -> None: ... def setRegulatorSetPoint(self, double: float) -> None: ... def setRemainingWallLife(self, double: float) -> None: ... @@ -405,65 +780,109 @@ 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 NodeType(java.lang.Enum['LoopedPipeNetwork.NodeType']): - SOURCE: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - SINK: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - JUNCTION: typing.ClassVar['LoopedPipeNetwork.NodeType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class NodeType(java.lang.Enum["LoopedPipeNetwork.NodeType"]): + SOURCE: typing.ClassVar["LoopedPipeNetwork.NodeType"] = ... + SINK: typing.ClassVar["LoopedPipeNetwork.NodeType"] = ... + JUNCTION: typing.ClassVar["LoopedPipeNetwork.NodeType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.NodeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.NodeType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.NodeType']: ... - class PipeModelType(java.lang.Enum['LoopedPipeNetwork.PipeModelType']): - DARCY_WEISBACH: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... - BEGGS_BRILL: typing.ClassVar['LoopedPipeNetwork.PipeModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["LoopedPipeNetwork.NodeType"]: ... + + class PipeModelType(java.lang.Enum["LoopedPipeNetwork.PipeModelType"]): + DARCY_WEISBACH: typing.ClassVar["LoopedPipeNetwork.PipeModelType"] = ... + BEGGS_BRILL: typing.ClassVar["LoopedPipeNetwork.PipeModelType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.PipeModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.PipeModelType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.PipeModelType']: ... - class SolverType(java.lang.Enum['LoopedPipeNetwork.SolverType']): - HARDY_CROSS: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... - SEQUENTIAL: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... - NEWTON_RAPHSON: typing.ClassVar['LoopedPipeNetwork.SolverType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["LoopedPipeNetwork.PipeModelType"]: ... + + class SolverType(java.lang.Enum["LoopedPipeNetwork.SolverType"]): + HARDY_CROSS: typing.ClassVar["LoopedPipeNetwork.SolverType"] = ... + SEQUENTIAL: typing.ClassVar["LoopedPipeNetwork.SolverType"] = ... + NEWTON_RAPHSON: typing.ClassVar["LoopedPipeNetwork.SolverType"] = ... + _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: ... + 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]) -> 'LoopedPipeNetwork.SolverType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LoopedPipeNetwork.SolverType": ... @staticmethod - def values() -> typing.MutableSequence['LoopedPipeNetwork.SolverType']: ... + def values() -> typing.MutableSequence["LoopedPipeNetwork.SolverType"]: ... class NetworkLinearSolver: def __init__(self): ... @staticmethod def estimateSparsity(int: int, int2: int) -> typing.MutableSequence[float]: ... @staticmethod - def solve(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def solve( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def solveDense(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def solveDense( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def solveGaussian(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def solveGaussian( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def solveSparse(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... + def solveSparse( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + int: int, + ) -> typing.MutableSequence[float]: ... class NetworkLoop(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMember(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def addMember( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... def getLastFlowCorrection(self) -> float: ... def getLastHeadLossImbalance(self) -> float: ... def getLoopId(self) -> java.lang.String: ... - def getMembers(self) -> java.util.List['NetworkLoop.LoopMember']: ... + def getMembers(self) -> java.util.List["NetworkLoop.LoopMember"]: ... def getTolerance(self) -> float: ... def isBalanced(self, double: float) -> bool: ... def setLastFlowCorrection(self, double: float) -> None: ... @@ -471,6 +890,7 @@ class NetworkLoop(java.io.Serializable): def setTolerance(self, double: float) -> None: ... def size(self) -> int: ... def toString(self) -> java.lang.String: ... + class LoopMember(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... def getDirection(self) -> int: ... @@ -478,46 +898,65 @@ class NetworkLoop(java.io.Serializable): class NetworkOptimizer: def __init__(self, loopedPipeNetwork: LoopedPipeNetwork): ... - def getAlgorithm(self) -> 'NetworkOptimizer.Algorithm': ... + def getAlgorithm(self) -> "NetworkOptimizer.Algorithm": ... def getConstraintPenalty(self) -> float: ... - def getLastResult(self) -> 'NetworkOptimizer.OptimizationResult': ... + def getLastResult(self) -> "NetworkOptimizer.OptimizationResult": ... def getMaxEvaluations(self) -> int: ... - def getObjectiveType(self) -> 'NetworkOptimizer.ObjectiveType': ... + def getObjectiveType(self) -> "NetworkOptimizer.ObjectiveType": ... def getParetoPoints(self) -> int: ... - def optimize(self) -> 'NetworkOptimizer.OptimizationResult': ... - def optimizeMultiObjective(self) -> java.util.List['NetworkOptimizer.OptimizationResult']: ... - def setAlgorithm(self, algorithm: 'NetworkOptimizer.Algorithm') -> None: ... - def setChokeBounds(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def optimize(self) -> "NetworkOptimizer.OptimizationResult": ... + def optimizeMultiObjective( + self, + ) -> java.util.List["NetworkOptimizer.OptimizationResult"]: ... + def setAlgorithm(self, algorithm: "NetworkOptimizer.Algorithm") -> None: ... + def setChokeBounds( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def setConstraintPenalty(self, double: float) -> None: ... def setMaxEvaluations(self, int: int) -> None: ... - def setObjectiveType(self, objectiveType: 'NetworkOptimizer.ObjectiveType') -> None: ... + def setObjectiveType( + self, objectiveType: "NetworkOptimizer.ObjectiveType" + ) -> None: ... def setParetoPoints(self, int: int) -> None: ... - class Algorithm(java.lang.Enum['NetworkOptimizer.Algorithm']): - BOBYQA: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... - CMAES: typing.ClassVar['NetworkOptimizer.Algorithm'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Algorithm(java.lang.Enum["NetworkOptimizer.Algorithm"]): + BOBYQA: typing.ClassVar["NetworkOptimizer.Algorithm"] = ... + CMAES: typing.ClassVar["NetworkOptimizer.Algorithm"] = ... + _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: ... + 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]) -> 'NetworkOptimizer.Algorithm': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NetworkOptimizer.Algorithm": ... @staticmethod - def values() -> typing.MutableSequence['NetworkOptimizer.Algorithm']: ... - class ObjectiveType(java.lang.Enum['NetworkOptimizer.ObjectiveType']): - MAX_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MAX_REVENUE: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MIN_COMPRESSOR_POWER: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - MAX_SPECIFIC_PRODUCTION: typing.ClassVar['NetworkOptimizer.ObjectiveType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["NetworkOptimizer.Algorithm"]: ... + + class ObjectiveType(java.lang.Enum["NetworkOptimizer.ObjectiveType"]): + MAX_PRODUCTION: typing.ClassVar["NetworkOptimizer.ObjectiveType"] = ... + MAX_REVENUE: typing.ClassVar["NetworkOptimizer.ObjectiveType"] = ... + MIN_COMPRESSOR_POWER: typing.ClassVar["NetworkOptimizer.ObjectiveType"] = ... + MAX_SPECIFIC_PRODUCTION: typing.ClassVar["NetworkOptimizer.ObjectiveType"] = ... + _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: ... + 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]) -> 'NetworkOptimizer.ObjectiveType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NetworkOptimizer.ObjectiveType": ... @staticmethod - def values() -> typing.MutableSequence['NetworkOptimizer.ObjectiveType']: ... + def values() -> typing.MutableSequence["NetworkOptimizer.ObjectiveType"]: ... + class OptimizationResult: converged: bool = ... objectiveValue: float = ... @@ -538,19 +977,26 @@ class NetworkOptimizer: class NetworkValidationBenchmarks: def __init__(self): ... @staticmethod - def runAllBenchmarks() -> java.util.List['NetworkValidationBenchmarks.BenchmarkResult']: ... + def runAllBenchmarks() -> ( + java.util.List["NetworkValidationBenchmarks.BenchmarkResult"] + ): ... @staticmethod - def runParallelPipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runParallelPipeBenchmark() -> "NetworkValidationBenchmarks.BenchmarkResult": ... @staticmethod - def runPressureMonotonicity() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runPressureMonotonicity() -> "NetworkValidationBenchmarks.BenchmarkResult": ... @staticmethod - def runSinglePipeBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runSinglePipeBenchmark() -> "NetworkValidationBenchmarks.BenchmarkResult": ... @staticmethod - def runSolverCrossVerification() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runSolverCrossVerification() -> ( + "NetworkValidationBenchmarks.BenchmarkResult" + ): ... @staticmethod - def runSparseVsDenseBenchmark() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runSparseVsDenseBenchmark() -> ( + "NetworkValidationBenchmarks.BenchmarkResult" + ): ... @staticmethod - def runTriangleMassBalance() -> 'NetworkValidationBenchmarks.BenchmarkResult': ... + def runTriangleMassBalance() -> "NetworkValidationBenchmarks.BenchmarkResult": ... + class BenchmarkResult: name: java.lang.String = ... metrics: java.util.List = ... @@ -558,32 +1004,81 @@ class NetworkValidationBenchmarks: solverIterations: int = ... allPassed: bool = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMetric(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addMetric( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... def evaluate(self) -> None: ... def getSummary(self) -> java.lang.String: ... + class MetricResult: name: java.lang.String = ... computed: float = ... expected: float = ... tolerance: float = ... passed: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInletPipeline(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, string2: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... - def connectManifolds(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, int: int) -> 'PipeFlowNetwork.PipelineSegment': ... - def createManifold(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getCompositionProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getManifolds(self) -> java.util.Map[java.lang.String, 'PipeFlowNetwork.ManifoldNode']: ... + def addInletPipeline( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> "PipeFlowNetwork.PipelineSegment": ... + def connectManifolds( + 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, + int: int, + ) -> "PipeFlowNetwork.PipelineSegment": ... + def createManifold( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def getCompositionProfile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... + def getManifolds( + self, + ) -> java.util.Map[java.lang.String, "PipeFlowNetwork.ManifoldNode"]: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... - def getPressureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getPipelines(self) -> java.util.List["PipeFlowNetwork.PipelineSegment"]: ... + def getPressureProfile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getTerminalManifold(self) -> 'PipeFlowNetwork.ManifoldNode': ... - def getTotalPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getVelocityProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTemperatureProfile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... + def getTerminalManifold(self) -> "PipeFlowNetwork.ManifoldNode": ... + def getTotalPressureDrop( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getVelocityProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def resetSimulationTime(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -593,47 +1088,99 @@ class PipeFlowNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... - def setDefaultHeatTransferCoefficients(self, double: float, double2: float) -> None: ... + def setDefaultHeatTransferCoefficients( + self, double: float, double2: float + ) -> None: ... def setDefaultOuterTemperature(self, double: float) -> None: ... def setDefaultWallRoughness(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... + class ManifoldNode: - def getInboundPipelines(self) -> java.util.List['PipeFlowNetwork.PipelineSegment']: ... + def getInboundPipelines( + self, + ) -> java.util.List["PipeFlowNetwork.PipelineSegment"]: ... def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getName(self) -> java.lang.String: ... - def getOutboundPipeline(self) -> 'PipeFlowNetwork.PipelineSegment': ... + def getOutboundPipeline(self) -> "PipeFlowNetwork.PipelineSegment": ... + class PipelineSegment: def getFromManifold(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.OnePhasePipeLine: ... + def getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.OnePhasePipeLine: ... def getToManifold(self) -> java.lang.String: ... def isInletPipeline(self) -> bool: ... class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.Branch': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + wellFlow: jneqsim.process.equipment.reservoir.WellFlow, + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ) -> "WellFlowlineNetwork.Branch": ... @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + wellFlow: jneqsim.process.equipment.reservoir.WellFlow, + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + manifoldNode: "WellFlowlineNetwork.ManifoldNode", + ) -> "WellFlowlineNetwork.Branch": ... @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], wellFlow: jneqsim.process.equipment.reservoir.WellFlow, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + wellFlow: jneqsim.process.equipment.reservoir.WellFlow, + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + manifoldNode: "WellFlowlineNetwork.ManifoldNode", + ) -> "WellFlowlineNetwork.Branch": ... @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'WellFlowlineNetwork.Branch': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "WellFlowlineNetwork.Branch": ... @typing.overload - def addBranch(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, manifoldNode: 'WellFlowlineNetwork.ManifoldNode') -> 'WellFlowlineNetwork.Branch': ... - def addManifold(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'WellFlowlineNetwork.ManifoldNode': ... - def connectManifolds(self, manifoldNode: 'WellFlowlineNetwork.ManifoldNode', manifoldNode2: 'WellFlowlineNetwork.ManifoldNode', pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... - def createManifold(self, string: typing.Union[java.lang.String, str]) -> 'WellFlowlineNetwork.ManifoldNode': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + manifoldNode: "WellFlowlineNetwork.ManifoldNode", + ) -> "WellFlowlineNetwork.Branch": ... + def addManifold( + self, + string: typing.Union[java.lang.String, str], + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ) -> "WellFlowlineNetwork.ManifoldNode": ... + def connectManifolds( + self, + manifoldNode: "WellFlowlineNetwork.ManifoldNode", + manifoldNode2: "WellFlowlineNetwork.ManifoldNode", + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ) -> None: ... + def createManifold( + self, string: typing.Union[java.lang.String, str] + ) -> "WellFlowlineNetwork.ManifoldNode": ... def getArrivalMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getArrivalStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... - def getManifolds(self) -> java.util.List['WellFlowlineNetwork.ManifoldNode']: ... - def getTerminalManifoldPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getBranches(self) -> java.util.List["WellFlowlineNetwork.Branch"]: ... + def getManifolds(self) -> java.util.List["WellFlowlineNetwork.ManifoldNode"]: ... + def getTerminalManifoldPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -642,29 +1189,40 @@ class WellFlowlineNetwork(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setFacilityPipeline(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> None: ... + def setFacilityPipeline( + self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills + ) -> None: ... def setForceFlowFromPressureSolve(self, boolean: bool) -> None: ... def setIterationTolerance(self, double: float) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPropagateArrivalPressureToWells(self, boolean: bool) -> None: ... - def setTargetEndpointPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetEndpointPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... + class Branch: def getChoke(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getName(self) -> java.lang.String: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... + def getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.PipeBeggsAndBrills: ... def getWell(self) -> jneqsim.process.equipment.reservoir.WellFlow: ... - def setChoke(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setChoke( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... + class ManifoldNode: - def getBranches(self) -> java.util.List['WellFlowlineNetwork.Branch']: ... + def getBranches(self) -> java.util.List["WellFlowlineNetwork.Branch"]: ... def getMixer(self) -> jneqsim.process.equipment.mixer.Mixer: ... def getName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.network")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi index 311e4a3b..fda33895 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -28,50 +28,78 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class CO2FlowCorrections: @staticmethod - def estimateCO2SurfaceTension(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def estimateCO2SurfaceTension( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def getCO2MoleFraction(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getCO2MoleFraction( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def getFrictionCorrectionFactor(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getFrictionCorrectionFactor( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def getLiquidHoldupCorrectionFactor(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getLiquidHoldupCorrectionFactor( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def getReducedPressure(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getReducedPressure( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def getReducedTemperature(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getReducedTemperature( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def isCO2DominatedFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isCO2DominatedFluid( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... @staticmethod - def isDensePhase(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def isDensePhase( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... class CO2InjectionWellAnalyzer: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addTrackedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addTrackedComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getName(self) -> java.lang.String: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def isAnalysisComplete(self) -> bool: ... def isSafeToOperate(self) -> bool: ... def runFullAnalysis(self) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFormationTemperature(self, double: float, double2: float) -> None: ... - def setOperatingConditions(self, double: float, double2: float, double3: float) -> None: ... - def setWellGeometry(self, double: float, double2: float, double3: float) -> None: ... + def setOperatingConditions( + self, double: float, double2: float, double3: float + ) -> None: ... + def setWellGeometry( + self, double: float, double2: float, double3: float + ) -> None: ... class Fittings(java.io.Serializable): def __init__(self): ... @typing.overload def add(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def add(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addMultiple(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def add( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addMultiple( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... def addStandard(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def addStandardMultiple(self, string: typing.Union[java.lang.String, str], int: int) -> bool: ... + def addStandardMultiple( + self, string: typing.Union[java.lang.String, str], int: int + ) -> bool: ... def clear(self) -> None: ... - def getFittingsList(self) -> java.util.ArrayList['Fittings.Fitting']: ... + def getFittingsList(self) -> java.util.ArrayList["Fittings.Fitting"]: ... @staticmethod def getStandardFittingTypes() -> java.util.Map[java.lang.String, float]: ... def getSummary(self) -> java.lang.String: ... @@ -79,16 +107,26 @@ class Fittings(java.io.Serializable): def getTotalLdRatio(self) -> float: ... def isEmpty(self) -> bool: ... def size(self) -> int: ... + class Fitting(java.io.Serializable): @typing.overload - def __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, fittings: "Fittings", string: typing.Union[java.lang.String, str] + ): ... @typing.overload - def __init__(self, fittings: 'Fittings', string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + fittings: "Fittings", + string: typing.Union[java.lang.String, str], + double: float, + ): ... def getEquivalentLength(self, double: float) -> float: ... def getFittingName(self) -> java.lang.String: ... def getKFactor(self) -> float: ... def getLtoD(self) -> float: ... - def setFittingName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFittingName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setKFactor(self, double: float) -> None: ... def setLtoD(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... @@ -97,8 +135,10 @@ class GravityDumpFloodInjectionAnalyzer(java.io.Serializable): G: typing.ClassVar[float] = ... DEFAULT_CAVITATION_THRESHOLD: typing.ClassVar[float] = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... - def analyze(self) -> 'GravityDumpFloodInjectionAnalyzer': ... - def computePropertiesFromFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def analyze(self) -> "GravityDumpFloodInjectionAnalyzer": ... + def computePropertiesFromFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def getCavitationIndex(self) -> float: ... def getDownholeBackPressureRequiredBar(self) -> float: ... def getFrictionPressureDropBar(self) -> float: ... @@ -119,7 +159,9 @@ class GravityDumpFloodInjectionAnalyzer(java.io.Serializable): def setReservoirPressure(self, double: float) -> None: ... def setRoughness(self, double: float) -> None: ... def setSeabedTemperature(self, double: float) -> None: ... - def setSeawaterProperties(self, double: float, double2: float, double3: float) -> None: ... + def setSeawaterProperties( + self, double: float, double2: float, double3: float + ) -> None: ... def setTubingId(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... def setWellheadSupplyPressure(self, double: float) -> None: ... @@ -129,25 +171,57 @@ class MultilayerThermalCalculator(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def addCustomLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'RadialThermalLayer': ... - def addLayer(self, double: float, materialType: 'RadialThermalLayer.MaterialType') -> 'RadialThermalLayer': ... + def addCustomLayer( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "RadialThermalLayer": ... + def addLayer( + self, double: float, materialType: "RadialThermalLayer.MaterialType" + ) -> "RadialThermalLayer": ... def calculateCooldownTime(self, double: float) -> float: ... def calculateHeatLossPerLength(self) -> float: ... def calculateHydrateCooldownTime(self, double: float) -> float: ... - def calculateInnerHTCDittusBoelter(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> float: ... + def calculateInnerHTCDittusBoelter( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + ) -> float: ... def calculateInterfaceTemperature(self, int: int, boolean: bool) -> float: ... def calculateOverallUValue(self) -> float: ... def calculateTotalThermalResistance(self) -> float: ... def clearLayers(self) -> None: ... def createBareSubseaPipe(self, double: float, double2: float) -> None: ... - def createBuriedOnshorePipe(self, double: float, double2: float, double3: float, materialType: 'RadialThermalLayer.MaterialType') -> None: ... - def createInsulatedSubseaPipe(self, double: float, double2: float, double3: float) -> None: ... - def createSubseaPipeConfig(self, double: float, double2: float, double3: float, double4: float, materialType: 'RadialThermalLayer.MaterialType') -> None: ... + def createBuriedOnshorePipe( + self, + double: float, + double2: float, + double3: float, + materialType: "RadialThermalLayer.MaterialType", + ) -> None: ... + def createInsulatedSubseaPipe( + self, double: float, double2: float, double3: float + ) -> None: ... + def createSubseaPipeConfig( + self, + double: float, + double2: float, + double3: float, + double4: float, + materialType: "RadialThermalLayer.MaterialType", + ) -> None: ... def getAmbientTemperature(self) -> float: ... def getFluidTemperature(self) -> float: ... def getInnerHTC(self) -> float: ... def getInnerRadius(self) -> float: ... - def getLayers(self) -> java.util.List['RadialThermalLayer']: ... + def getLayers(self) -> java.util.List["RadialThermalLayer"]: ... def getNumberOfLayers(self) -> int: ... def getOuterHTC(self) -> float: ... def getOuterRadius(self) -> float: ... @@ -166,7 +240,9 @@ class MultilayerThermalCalculator(java.io.Serializable): def toString(self) -> java.lang.String: ... def updateTransient(self, double: float) -> None: ... -class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface): +class PipeLineInterface( + jneqsim.process.SimulationInterface, jneqsim.process.equipment.TwoPortInterface +): def calculateHoopStress(self) -> float: ... def calculateMAOP(self) -> float: ... def calculateMinimumWallThickness(self) -> float: ... @@ -199,7 +275,9 @@ class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equ def getLocationClass(self) -> int: ... def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... - def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getMechanicalDesignCalculator( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... def getNumberOfIncrements(self) -> int: ... def getNumberOfLegs(self) -> int: ... def getOuterHeatTransferCoefficient(self) -> float: ... @@ -207,11 +285,15 @@ class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equ @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeMaterial(self) -> java.lang.String: ... def getPipeSchedule(self) -> java.lang.String: ... @@ -230,7 +312,9 @@ class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equ def isMechanicalDesignSafe(self) -> bool: ... def setAdiabatic(self, boolean: bool) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... - def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAmbientTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setAngle(self, double: float) -> None: ... def setBurialDepth(self, double: float) -> None: ... def setBuried(self, boolean: bool) -> None: ... @@ -242,19 +326,29 @@ class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equ @typing.overload def setDesignPressure(self, double: float) -> None: ... @typing.overload - def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeightProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletElevation(self, double: float) -> None: ... def setInnerHeatTransferCoefficient(self, double: float) -> None: ... def setInsulationConductivity(self, double: float) -> None: ... def setInsulationThickness(self, double: float) -> None: ... - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setLength(self, double: float) -> None: ... def setLocationClass(self, int: int) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -262,52 +356,88 @@ class PipeLineInterface(jneqsim.process.SimulationInterface, jneqsim.process.equ def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... @typing.overload - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutPressure(self, double: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... def setOuterHeatTransferCoefficient(self, double: float) -> None: ... - def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setOutletElevation(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... - def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutputFileName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPipeDiameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPipeWallConductivity(self, double: float) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setSoilConductivity(self, double: float) -> None: ... - def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setWallThickness(self, double: float) -> None: ... class RadialThermalLayer(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, materialType: 'RadialThermalLayer.MaterialType'): ... - def copy(self) -> 'RadialThermalLayer': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + materialType: "RadialThermalLayer.MaterialType", + ): ... + def copy(self) -> "RadialThermalLayer": ... def getCrossSectionalArea(self) -> float: ... def getDensity(self) -> float: ... def getInnerRadius(self) -> float: ... def getMassPerLength(self) -> float: ... - def getMaterialType(self) -> 'RadialThermalLayer.MaterialType': ... + def getMaterialType(self) -> "RadialThermalLayer.MaterialType": ... def getMeanRadius(self) -> float: ... def getName(self) -> java.lang.String: ... def getOuterRadius(self) -> float: ... @@ -321,50 +451,58 @@ class RadialThermalLayer(java.io.Serializable): def initializeTemperature(self, double: float) -> None: ... def setDensity(self, double: float) -> None: ... def setInnerRadius(self, double: float) -> None: ... - def setMaterialType(self, materialType: 'RadialThermalLayer.MaterialType') -> None: ... + def setMaterialType( + self, materialType: "RadialThermalLayer.MaterialType" + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setOuterRadius(self, double: float) -> None: ... def setSpecificHeat(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... def setThermalConductivity(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class MaterialType(java.lang.Enum['RadialThermalLayer.MaterialType']): - CARBON_STEEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - STAINLESS_STEEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - CRA_LINER: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - FBE_COATING: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - THREE_LAYER_PE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - POLYPROPYLENE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - PU_FOAM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - SYNTACTIC_FOAM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - AEROGEL: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - MICROPOROUS: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - CONCRETE: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - SOIL_WET: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - SOIL_DRY: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - MARINE_GROWTH: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - AIR_GAP: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - VACUUM_GAP: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - GENERIC_INSULATION: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... - CUSTOM: typing.ClassVar['RadialThermalLayer.MaterialType'] = ... + + class MaterialType(java.lang.Enum["RadialThermalLayer.MaterialType"]): + CARBON_STEEL: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + STAINLESS_STEEL: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + CRA_LINER: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + FBE_COATING: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + THREE_LAYER_PE: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + POLYPROPYLENE: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + PU_FOAM: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + SYNTACTIC_FOAM: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + AEROGEL: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + MICROPOROUS: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + CONCRETE: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + SOIL_WET: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + SOIL_DRY: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + MARINE_GROWTH: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + AIR_GAP: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + VACUUM_GAP: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + GENERIC_INSULATION: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... + CUSTOM: typing.ClassVar["RadialThermalLayer.MaterialType"] = ... def getDensity(self) -> float: ... def getSpecificHeat(self) -> float: ... def getThermalConductivity(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RadialThermalLayer.MaterialType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RadialThermalLayer.MaterialType": ... @staticmethod - def values() -> typing.MutableSequence['RadialThermalLayer.MaterialType']: ... + def values() -> typing.MutableSequence["RadialThermalLayer.MaterialType"]: ... class RhonePoulencVelocity(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, serviceType: 'RhonePoulencVelocity.ServiceType'): ... + def __init__(self, serviceType: "RhonePoulencVelocity.ServiceType"): ... def getDescription(self) -> java.lang.String: ... def getEffectiveCFactor(self) -> float: ... def getEffectiveExponent(self) -> float: ... @@ -374,44 +512,74 @@ class RhonePoulencVelocity(java.io.Serializable): def getMaxVelocityInterpolated(self, double: float) -> float: ... @staticmethod def getMaxVelocityNonCorrosive(double: float) -> float: ... - def getServiceType(self) -> 'RhonePoulencVelocity.ServiceType': ... + def getServiceType(self) -> "RhonePoulencVelocity.ServiceType": ... def isUseInterpolation(self) -> bool: ... def setCustomCFactor(self, double: float) -> None: ... def setCustomExponent(self, double: float) -> None: ... - def setServiceType(self, serviceType: 'RhonePoulencVelocity.ServiceType') -> None: ... + def setServiceType( + self, serviceType: "RhonePoulencVelocity.ServiceType" + ) -> None: ... def setUseInterpolation(self, boolean: bool) -> None: ... - class ServiceType(java.lang.Enum['RhonePoulencVelocity.ServiceType']): - NON_CORROSIVE_GAS: typing.ClassVar['RhonePoulencVelocity.ServiceType'] = ... - CORROSIVE_GAS: typing.ClassVar['RhonePoulencVelocity.ServiceType'] = ... + + class ServiceType(java.lang.Enum["RhonePoulencVelocity.ServiceType"]): + NON_CORROSIVE_GAS: typing.ClassVar["RhonePoulencVelocity.ServiceType"] = ... + CORROSIVE_GAS: typing.ClassVar["RhonePoulencVelocity.ServiceType"] = ... def getCFactor(self) -> float: ... def getExponent(self) -> float: ... def getMaxVelocityLimit(self) -> float: ... def getMinVelocityLimit(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RhonePoulencVelocity.ServiceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RhonePoulencVelocity.ServiceType": ... @staticmethod - def values() -> typing.MutableSequence['RhonePoulencVelocity.ServiceType']: ... + def values() -> typing.MutableSequence["RhonePoulencVelocity.ServiceType"]: ... class RiserConfiguration: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, riserType: 'RiserConfiguration.RiserType'): ... + def __init__(self, riserType: "RiserConfiguration.RiserType"): ... def calculateRiserLength(self) -> float: ... - def create(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PipeBeggsAndBrills': ... + def create( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "PipeBeggsAndBrills": ... @staticmethod - def createLazyWave(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'PipeBeggsAndBrills': ... + def createLazyWave( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> "PipeBeggsAndBrills": ... @staticmethod - def createRiser(riserType: 'RiserConfiguration.RiserType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + def createRiser( + riserType: "RiserConfiguration.RiserType", + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "PipeBeggsAndBrills": ... @staticmethod - def createSCR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + def createSCR( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "PipeBeggsAndBrills": ... @staticmethod - def createTTR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'PipeBeggsAndBrills': ... + def createTTR( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "PipeBeggsAndBrills": ... def getAmbientTemperature(self) -> float: ... def getBuoyancyModuleDepth(self) -> float: ... def getBuoyancyModuleLength(self) -> float: ... @@ -420,65 +588,99 @@ class RiserConfiguration: def getHeatTransferCoefficient(self) -> float: ... def getInnerDiameter(self) -> float: ... def getNumberOfSections(self) -> int: ... - def getRiserType(self) -> 'RiserConfiguration.RiserType': ... + def getRiserType(self) -> "RiserConfiguration.RiserType": ... def getTopAngle(self) -> float: ... def getWaterDepth(self) -> float: ... - def setAmbientTemperature(self, double: float) -> 'RiserConfiguration': ... - def setBuoyancyModuleDepth(self, double: float) -> 'RiserConfiguration': ... - def setBuoyancyModuleLength(self, double: float) -> 'RiserConfiguration': ... - def setDepartureAngle(self, double: float) -> 'RiserConfiguration': ... - def setHeatTransferCoefficient(self, double: float) -> 'RiserConfiguration': ... - @typing.overload - def setInnerDiameter(self, double: float) -> 'RiserConfiguration': ... - @typing.overload - def setInnerDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RiserConfiguration': ... - def setNumberOfSections(self, int: int) -> 'RiserConfiguration': ... - def setRiserType(self, riserType: 'RiserConfiguration.RiserType') -> 'RiserConfiguration': ... - def setTopAngle(self, double: float) -> 'RiserConfiguration': ... - def setWaterDepth(self, double: float) -> 'RiserConfiguration': ... - class RiserType(java.lang.Enum['RiserConfiguration.RiserType']): - STEEL_CATENARY_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... - FLEXIBLE_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... - TOP_TENSIONED_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... - HYBRID_RISER: typing.ClassVar['RiserConfiguration.RiserType'] = ... - LAZY_WAVE: typing.ClassVar['RiserConfiguration.RiserType'] = ... - STEEP_WAVE: typing.ClassVar['RiserConfiguration.RiserType'] = ... - FREE_STANDING: typing.ClassVar['RiserConfiguration.RiserType'] = ... - VERTICAL: typing.ClassVar['RiserConfiguration.RiserType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setAmbientTemperature(self, double: float) -> "RiserConfiguration": ... + def setBuoyancyModuleDepth(self, double: float) -> "RiserConfiguration": ... + def setBuoyancyModuleLength(self, double: float) -> "RiserConfiguration": ... + def setDepartureAngle(self, double: float) -> "RiserConfiguration": ... + def setHeatTransferCoefficient(self, double: float) -> "RiserConfiguration": ... + @typing.overload + def setInnerDiameter(self, double: float) -> "RiserConfiguration": ... + @typing.overload + def setInnerDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RiserConfiguration": ... + def setNumberOfSections(self, int: int) -> "RiserConfiguration": ... + def setRiserType( + self, riserType: "RiserConfiguration.RiserType" + ) -> "RiserConfiguration": ... + def setTopAngle(self, double: float) -> "RiserConfiguration": ... + def setWaterDepth(self, double: float) -> "RiserConfiguration": ... + + class RiserType(java.lang.Enum["RiserConfiguration.RiserType"]): + STEEL_CATENARY_RISER: typing.ClassVar["RiserConfiguration.RiserType"] = ... + FLEXIBLE_RISER: typing.ClassVar["RiserConfiguration.RiserType"] = ... + TOP_TENSIONED_RISER: typing.ClassVar["RiserConfiguration.RiserType"] = ... + HYBRID_RISER: typing.ClassVar["RiserConfiguration.RiserType"] = ... + LAZY_WAVE: typing.ClassVar["RiserConfiguration.RiserType"] = ... + STEEP_WAVE: typing.ClassVar["RiserConfiguration.RiserType"] = ... + FREE_STANDING: typing.ClassVar["RiserConfiguration.RiserType"] = ... + VERTICAL: typing.ClassVar["RiserConfiguration.RiserType"] = ... + _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: ... + 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]) -> 'RiserConfiguration.RiserType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiserConfiguration.RiserType": ... @staticmethod - def values() -> typing.MutableSequence['RiserConfiguration.RiserType']: ... + def values() -> typing.MutableSequence["RiserConfiguration.RiserType"]: ... class SlugImpactForce: @staticmethod def areaFromDiameter(double: float) -> float: ... @staticmethod - def bendForce(double: float, double2: float, double3: float, double4: float) -> float: ... + def bendForce( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def convertForce(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def convertForce( + double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def designForce(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def designForce( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... @staticmethod - def effectiveSlugDensity(double: float, double2: float, double3: float) -> float: ... + def effectiveSlugDensity( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def momentumForce(double: float, double2: float, double3: float) -> float: ... class TransientForceCalculator: def __init__(self, double: float, double2: float, double3: float): ... def bendForce(self, double: float, double2: float) -> float: ... - def computeForceHistory(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def computeForceHistory( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def fromWaterHammerPipe(waterHammerPipe: 'WaterHammerPipe') -> 'TransientForceCalculator': ... + def fromWaterHammerPipe( + waterHammerPipe: "WaterHammerPipe", + ) -> "TransientForceCalculator": ... def getArea(self) -> float: ... def getDesignForce(self, string: typing.Union[java.lang.String, str]) -> float: ... def getDynamicLoadFactor(self) -> float: ... - def getPeakUnbalancedForce(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPeakUnbalancedForce( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSegmentForceSeries(self) -> typing.MutableSequence[float]: ... def getTimeOfPeakForce(self) -> float: ... def getTimeSeries(self) -> typing.MutableSequence[float]: ... @@ -488,17 +690,37 @@ class TransientForceCalculator: def setSegmentLength(self, double: float) -> None: ... def setSupportNaturalPeriod(self, double: float) -> None: ... -class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class Pipeline( + jneqsim.process.equipment.TwoPortEquipment, + PipeLineInterface, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addFitting(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addFittingFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addFittings(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - def addStandardFitting(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def addStandardFittings(self, string: typing.Union[java.lang.String, str], int: int) -> bool: ... + 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 addFitting( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addFittingFromDatabase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def addFittings( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + def addStandardFitting( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def addStandardFittings( + self, string: typing.Union[java.lang.String, str], int: int + ) -> bool: ... def calculateHoopStress(self) -> float: ... def calculateMAOP(self) -> float: ... def calculateMinimumWallThickness(self) -> float: ... @@ -511,9 +733,15 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def generateMechanicalDesignReport(self) -> java.lang.String: ... def getAmbientTemperature(self) -> float: ... def getAngle(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... def getBurialDepth(self) -> float: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getCoatingConductivity(self) -> float: ... @@ -526,7 +754,9 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def getDiameter(self) -> float: ... def getEffectiveLength(self) -> float: ... def getElevation(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getEquivalentLength(self) -> float: ... def getFittings(self) -> Fittings: ... def getFlowRegime(self) -> java.lang.String: ... @@ -544,8 +774,12 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... - def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getMechanicalDesignCalculator( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... def getNumberOfFittings(self) -> int: ... def getNumberOfIncrements(self) -> int: ... def getNumberOfLegs(self) -> int: ... @@ -554,11 +788,15 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeMaterial(self) -> java.lang.String: ... def getPipeSchedule(self) -> java.lang.String: ... @@ -587,7 +825,9 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def isMechanicalDesignSafe(self) -> bool: ... def isUseFittings(self) -> bool: ... def printFittingsSummary(self) -> None: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -599,7 +839,9 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setAdiabatic(self, boolean: bool) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... - def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAmbientTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setAngle(self, double: float) -> None: ... def setBurialDepth(self, double: float) -> None: ... def setBuried(self, boolean: bool) -> None: ... @@ -612,7 +854,9 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn @typing.overload def setDesignPressure(self, double: float) -> None: ... @typing.overload - def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... @@ -620,15 +864,23 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def setEquilibriumMassTransfer(self, boolean: bool) -> None: ... def setGlycolWeightFraction(self, double: float) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHeightProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setInhibitorEfficiency(self, double: float) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletElevation(self, double: float) -> None: ... def setInnerHeatTransferCoefficient(self, double: float) -> None: ... def setInsulationConductivity(self, double: float) -> None: ... def setInsulationThickness(self, double: float) -> None: ... - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setLength(self, double: float) -> None: ... def setLocationClass(self, int: int) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -636,50 +888,89 @@ class Pipeline(jneqsim.process.equipment.TwoPortEquipment, PipeLineInterface, jn def setNumberOfLegs(self, int: int) -> None: ... def setNumberOfNodesInLeg(self, int: int) -> None: ... def setOuterHeatTransferCoefficient(self, double: float) -> None: ... - def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setOutletElevation(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... - def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutputFileName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPipeDiameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPipeWallConductivity(self, double: float) -> None: ... - def setPipeWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setSoilConductivity(self, double: float) -> None: ... - def setTimeSeries(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], systemInterfaceArray: typing.Union[typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray], int: int) -> None: ... + def setTimeSeries( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + systemInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.system.SystemInterface], jpype.JArray + ], + int: int, + ) -> None: ... def setUseFittings(self, boolean: bool) -> None: ... - def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setWallThickness(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class AdiabaticPipe(Pipeline, jneqsim.process.design.AutoSizeable): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def calcFlow(self) -> float: ... def calcPressureOut(self) -> float: ... def calcWallFrictionFactor(self, double: float) -> float: ... @@ -690,7 +981,9 @@ class AdiabaticPipe(Pipeline, jneqsim.process.design.AutoSizeable): def calculateLOF(self) -> float: ... def disableRhonePoulencVelocity(self) -> None: ... def getDiameter(self) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... @typing.overload def getErosionalVelocity(self) -> float: ... @typing.overload @@ -699,7 +992,9 @@ class AdiabaticPipe(Pipeline, jneqsim.process.design.AutoSizeable): def getFIVAnalysisJson(self) -> java.lang.String: ... def getFlowRegime(self) -> java.lang.String: ... def getFrictionFactor(self) -> float: ... - def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.pipeline.PipelineInstrumentDesign: ... + def getInstrumentDesign( + self, + ) -> jneqsim.process.instrumentdesign.pipeline.PipelineInstrumentDesign: ... def getLength(self) -> float: ... def getMaxAllowableVelocity(self) -> float: ... def getMaxVelocityMethod(self) -> java.lang.String: ... @@ -720,43 +1015,65 @@ class AdiabaticPipe(Pipeline, jneqsim.process.design.AutoSizeable): def isAutoSized(self) -> bool: ... def isRhonePoulencEnabled(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDiameter(self, double: float) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLength(self, double: float) -> None: ... def setMaxDesignFRMS(self, double: float) -> None: ... def setMaxDesignLOF(self, double: float) -> None: ... def setMaxDesignVelocity(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeWallThickness(self, double: float) -> None: ... @typing.overload - def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType) -> None: ... + def setRhonePoulencServiceType( + self, serviceType: RhonePoulencVelocity.ServiceType + ) -> None: ... @typing.overload - def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool) -> None: ... - def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRhonePoulencServiceType( + self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool + ) -> None: ... + def setSupportArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def useRhonePoulencVelocity(self) -> None: ... class AdiabaticTwoPhasePipe(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcFlow(self, double: float) -> float: ... def calcPressureOut(self) -> float: ... def calcWallFrictionFactor(self, double: float) -> float: ... @@ -777,35 +1094,55 @@ class AdiabaticTwoPhasePipe(Pipeline): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDiameter(self, double: float) -> None: ... - def setFlowLimit(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowLimit( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLength(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPressureOutLimit(self, double: float) -> None: ... class MultiphasePipe(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def disableNonEquilibriumHeatTransfer(self) -> None: ... def disableNonEquilibriumMassTransfer(self) -> None: ... def enableNonEquilibriumHeatTransfer(self) -> None: ... def enableNonEquilibriumMassTransfer(self) -> None: ... def getFlowRegime(self) -> java.lang.String: ... - def getFlowSystem(self) -> jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.TwoPhasePipeFlowSystem: ... + def getFlowSystem( + self, + ) -> ( + jneqsim.fluidmechanics.flowsystem.twophaseflowsystem.twophasepipeflowsystem.TwoPhasePipeFlowSystem + ): ... def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... def getMaxSimulationTime(self) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... @@ -830,22 +1167,40 @@ class OnePhasePipeLine(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def createSystem(self) -> None: ... - def getAdvectionScheme(self) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... - def getCompositionProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getAdvectionScheme( + self, + ) -> jneqsim.fluidmechanics.flowsolver.AdvectionScheme: ... + def getCompositionProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getInternalTimeStep(self) -> float: ... - def getOutletMassFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getOutletMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletMassFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getOutletMoleFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getPressureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... @typing.overload def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... @typing.overload - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTemperatureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... @typing.overload def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... def getVelocityProfile(self) -> typing.MutableSequence[float]: ... @@ -859,7 +1214,9 @@ class OnePhasePipeLine(Pipeline): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setAdvectionScheme(self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme) -> None: ... + def setAdvectionScheme( + self, advectionScheme: jneqsim.fluidmechanics.flowsolver.AdvectionScheme + ) -> None: ... def setCompositionalTracking(self, boolean: bool) -> None: ... def setInternalTimeStep(self, double: float) -> None: ... @@ -867,19 +1224,34 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def calcFlowRegime(self) -> 'PipeBeggsAndBrills.FlowRegime': ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def calcFlowRegime(self) -> "PipeBeggsAndBrills.FlowRegime": ... def calcFrictionPressureLoss(self) -> float: ... - def calcHeatBalance(self, double: float, systemInterface: jneqsim.thermo.system.SystemInterface, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations) -> float: ... + def calcHeatBalance( + self, + double: float, + systemInterface: jneqsim.thermo.system.SystemInterface, + thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations, + ) -> float: ... def calcHydrostaticPressureDifference(self) -> float: ... def calcPressureDrop(self) -> float: ... - def calcTemperatureDifference(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calcTemperatureDifference( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def calculateAIV(self) -> float: ... def calculateAIVLikelihoodOfFailure(self) -> float: ... @typing.overload @@ -891,12 +1263,16 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): def convertSystemUnitToImperial(self) -> None: ... def convertSystemUnitToMetric(self) -> None: ... def disableRhonePoulencVelocity(self) -> None: ... - def estimateHeatTransferCoefficent(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def estimateHeatTransferCoefficent( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def getAngle(self) -> float: ... - def getCalculationMode(self) -> 'PipeBeggsAndBrills.CalculationMode': ... + def getCalculationMode(self) -> "PipeBeggsAndBrills.CalculationMode": ... def getDiameter(self) -> float: ... def getEffectiveLength(self) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.pipeline.PipelineElectricalDesign: ... def getElevation(self) -> float: ... def getElevationProfile(self) -> java.util.List[float]: ... def getEquivalentLength(self) -> float: ... @@ -907,12 +1283,14 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): def getFIVAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getFIVAnalysisJson(self) -> java.lang.String: ... def getFlowRegime(self) -> java.lang.String: ... - def getFlowRegimeEnum(self) -> 'PipeBeggsAndBrills.FlowRegime': ... - def getFlowRegimeProfileList(self) -> java.util.List['PipeBeggsAndBrills.FlowRegime']: ... + def getFlowRegimeEnum(self) -> "PipeBeggsAndBrills.FlowRegime": ... + def getFlowRegimeProfileList( + self, + ) -> java.util.List["PipeBeggsAndBrills.FlowRegime"]: ... def getFormationTemperatureGradient(self) -> float: ... def getGasSuperficialVelocityProfile(self) -> java.util.List[float]: ... def getHeatTransferCoefficient(self) -> float: ... - def getHeatTransferMode(self) -> 'PipeBeggsAndBrills.HeatTransferMode': ... + def getHeatTransferMode(self) -> "PipeBeggsAndBrills.HeatTransferMode": ... def getIncrementsProfile(self) -> java.util.List[int]: ... def getInletSuperficialVelocity(self) -> float: ... def getInsulationThermalConductivity(self) -> float: ... @@ -944,7 +1322,7 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): def getRhonePoulencCalculator(self) -> RhonePoulencVelocity: ... def getRhonePoulencMaxVelocity(self) -> float: ... def getSegmentElevation(self, int: int) -> float: ... - def getSegmentFlowRegime(self, int: int) -> 'PipeBeggsAndBrills.FlowRegime': ... + def getSegmentFlowRegime(self, int: int) -> "PipeBeggsAndBrills.FlowRegime": ... def getSegmentGasSuperficialVelocity(self, int: int) -> float: ... def getSegmentLength(self, int: int) -> float: ... def getSegmentLiquidDensity(self, int: int) -> float: ... @@ -983,17 +1361,25 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setAngle(self, double: float) -> None: ... - def setCalculationMode(self, calculationMode: 'PipeBeggsAndBrills.CalculationMode') -> None: ... + def setCalculationMode( + self, calculationMode: "PipeBeggsAndBrills.CalculationMode" + ) -> None: ... @typing.overload def setConstantSurfaceTemperature(self, double: float) -> None: ... @typing.overload - def setConstantSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstantSurfaceTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDiameter(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... def setFlowConvergenceTolerance(self, double: float) -> None: ... - def setFormationTemperatureGradient(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFormationTemperatureGradient( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeatTransferMode(self, heatTransferMode: 'PipeBeggsAndBrills.HeatTransferMode') -> None: ... + def setHeatTransferMode( + self, heatTransferMode: "PipeBeggsAndBrills.HeatTransferMode" + ) -> None: ... def setIncludeFrictionHeating(self, boolean: bool) -> None: ... def setIncludeJouleThomsonEffect(self, boolean: bool) -> None: ... def setInsulation(self, double: float, double2: float) -> None: ... @@ -1008,69 +1394,107 @@ class PipeBeggsAndBrills(Pipeline, jneqsim.process.design.AutoSizeable): @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeWallThermalConductivity(self, double: float) -> None: ... @typing.overload - def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType) -> None: ... + def setRhonePoulencServiceType( + self, serviceType: RhonePoulencVelocity.ServiceType + ) -> None: ... @typing.overload - def setRhonePoulencServiceType(self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool) -> None: ... + def setRhonePoulencServiceType( + self, serviceType: RhonePoulencVelocity.ServiceType, boolean: bool + ) -> None: ... def setRunIsothermal(self, boolean: bool) -> None: ... - def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupportArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setThickness(self, double: float) -> None: ... def setUseOverallHeatTransferCoefficient(self, boolean: bool) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def useRhonePoulencVelocity(self) -> None: ... - class CalculationMode(java.lang.Enum['PipeBeggsAndBrills.CalculationMode']): - CALCULATE_OUTLET_PRESSURE: typing.ClassVar['PipeBeggsAndBrills.CalculationMode'] = ... - CALCULATE_FLOW_RATE: typing.ClassVar['PipeBeggsAndBrills.CalculationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CalculationMode(java.lang.Enum["PipeBeggsAndBrills.CalculationMode"]): + CALCULATE_OUTLET_PRESSURE: typing.ClassVar[ + "PipeBeggsAndBrills.CalculationMode" + ] = ... + CALCULATE_FLOW_RATE: typing.ClassVar["PipeBeggsAndBrills.CalculationMode"] = ... + _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: ... + 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]) -> 'PipeBeggsAndBrills.CalculationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeBeggsAndBrills.CalculationMode": ... @staticmethod - def values() -> typing.MutableSequence['PipeBeggsAndBrills.CalculationMode']: ... - class FlowRegime(java.lang.Enum['PipeBeggsAndBrills.FlowRegime']): - SEGREGATED: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - INTERMITTENT: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - DISTRIBUTED: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - TRANSITION: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - SINGLE_PHASE: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - UNKNOWN: typing.ClassVar['PipeBeggsAndBrills.FlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["PipeBeggsAndBrills.CalculationMode"] + ): ... + + class FlowRegime(java.lang.Enum["PipeBeggsAndBrills.FlowRegime"]): + SEGREGATED: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + INTERMITTENT: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + DISTRIBUTED: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + TRANSITION: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + SINGLE_PHASE: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + UNKNOWN: typing.ClassVar["PipeBeggsAndBrills.FlowRegime"] = ... + _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: ... + 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]) -> 'PipeBeggsAndBrills.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeBeggsAndBrills.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['PipeBeggsAndBrills.FlowRegime']: ... - class HeatTransferMode(java.lang.Enum['PipeBeggsAndBrills.HeatTransferMode']): - ADIABATIC: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... - ISOTHERMAL: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... - SPECIFIED_U: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... - ESTIMATED_INNER_H: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... - DETAILED_U: typing.ClassVar['PipeBeggsAndBrills.HeatTransferMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["PipeBeggsAndBrills.FlowRegime"]: ... + + class HeatTransferMode(java.lang.Enum["PipeBeggsAndBrills.HeatTransferMode"]): + ADIABATIC: typing.ClassVar["PipeBeggsAndBrills.HeatTransferMode"] = ... + ISOTHERMAL: typing.ClassVar["PipeBeggsAndBrills.HeatTransferMode"] = ... + SPECIFIED_U: typing.ClassVar["PipeBeggsAndBrills.HeatTransferMode"] = ... + ESTIMATED_INNER_H: typing.ClassVar["PipeBeggsAndBrills.HeatTransferMode"] = ... + DETAILED_U: typing.ClassVar["PipeBeggsAndBrills.HeatTransferMode"] = ... + _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: ... + 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]) -> 'PipeBeggsAndBrills.HeatTransferMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeBeggsAndBrills.HeatTransferMode": ... @staticmethod - def values() -> typing.MutableSequence['PipeBeggsAndBrills.HeatTransferMode']: ... + def values() -> ( + typing.MutableSequence["PipeBeggsAndBrills.HeatTransferMode"] + ): ... class PipeHagedornBrown(Pipeline): @typing.overload @@ -1078,7 +1502,11 @@ class PipeHagedornBrown(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getLengthProfile(self) -> java.util.List[float]: ... def getLiquidHoldup(self) -> float: ... def getMixtureDensity(self) -> float: ... @@ -1099,9 +1527,13 @@ class PipeMukherjeeAndBrill(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFlowPattern(self) -> java.lang.String: ... - def getFlowPatternEnum(self) -> 'PipeMukherjeeAndBrill.FlowPattern': ... + def getFlowPatternEnum(self) -> "PipeMukherjeeAndBrill.FlowPattern": ... def getFlowPatternProfile(self) -> java.util.List[java.lang.String]: ... def getLengthProfile(self) -> java.util.List[float]: ... def getLiquidHoldup(self) -> float: ... @@ -1116,40 +1548,56 @@ class PipeMukherjeeAndBrill(Pipeline): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - class FlowPattern(java.lang.Enum['PipeMukherjeeAndBrill.FlowPattern']): - STRATIFIED: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... - SLUG: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... - ANNULAR: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... - BUBBLE: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... - SINGLE_PHASE: typing.ClassVar['PipeMukherjeeAndBrill.FlowPattern'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FlowPattern(java.lang.Enum["PipeMukherjeeAndBrill.FlowPattern"]): + STRATIFIED: typing.ClassVar["PipeMukherjeeAndBrill.FlowPattern"] = ... + SLUG: typing.ClassVar["PipeMukherjeeAndBrill.FlowPattern"] = ... + ANNULAR: typing.ClassVar["PipeMukherjeeAndBrill.FlowPattern"] = ... + BUBBLE: typing.ClassVar["PipeMukherjeeAndBrill.FlowPattern"] = ... + SINGLE_PHASE: typing.ClassVar["PipeMukherjeeAndBrill.FlowPattern"] = ... + _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: ... + 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]) -> 'PipeMukherjeeAndBrill.FlowPattern': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeMukherjeeAndBrill.FlowPattern": ... @staticmethod - def values() -> typing.MutableSequence['PipeMukherjeeAndBrill.FlowPattern']: ... + def values() -> typing.MutableSequence["PipeMukherjeeAndBrill.FlowPattern"]: ... class SimpleTPoutPipeline(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @@ -1157,14 +1605,22 @@ class TransientWellbore(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getDepressurizationRate(self) -> float: ... - def getMaxGasPhaseConcentration(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxGasPhaseConcentration( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfSegments(self) -> int: ... def getRadialHeatTransferCoefficient(self) -> float: ... def getShutdownCoolingRate(self) -> float: ... - def getSnapshots(self) -> java.util.List['TransientWellbore.TransientSnapshot']: ... - def getTemperatureProfiles(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getSnapshots(self) -> java.util.List["TransientWellbore.TransientSnapshot"]: ... + def getTemperatureProfiles( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... def getTimePoints(self) -> typing.MutableSequence[float]: ... def getTubingDiameter(self) -> float: ... def getWellDepth(self) -> float: ... @@ -1180,6 +1636,7 @@ class TransientWellbore(Pipeline): def setShutdownCoolingRate(self, double: float) -> None: ... def setTubingDiameter(self, double: float) -> None: ... def setWellDepth(self, double: float) -> None: ... + class TransientSnapshot(java.io.Serializable): timeHours: float = ... depths: typing.MutableSequence[float] = ... @@ -1189,28 +1646,38 @@ class TransientWellbore(Pipeline): gasFraction: typing.MutableSequence[float] = ... gasCompositions: java.util.Map = ... def __init__(self, double: float, int: int): ... - def addGasComposition(self, int: int, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addGasComposition( + self, int: int, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class TubingPerformance(Pipeline): @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 generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getCorrelationType(self) -> 'TubingPerformance.CorrelationType': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def generateVLPCurve( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCorrelationType(self) -> "TubingPerformance.CorrelationType": ... def getDiameter(self) -> float: ... def getInclination(self) -> float: ... def getLength(self) -> float: ... def getPressureDrop(self) -> float: ... def getRoughness(self) -> float: ... - def getTemperatureModel(self) -> 'TubingPerformance.TemperatureModel': ... + def getTemperatureModel(self) -> "TubingPerformance.TemperatureModel": ... def getWellheadPressure(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setBottomholeTemperature(self, double: float) -> None: ... - def setCorrelationType(self, correlationType: 'TubingPerformance.CorrelationType') -> None: ... + def setCorrelationType( + self, correlationType: "TubingPerformance.CorrelationType" + ) -> None: ... def setDiameter(self, double: float) -> None: ... def setFormationThermalConductivity(self, double: float) -> None: ... def setGeothermalGradient(self, double: float) -> None: ... @@ -1221,55 +1688,86 @@ class TubingPerformance(Pipeline): def setProductionTime(self, double: float) -> None: ... def setRoughness(self, double: float) -> None: ... def setSurfaceTemperature(self, double: float) -> None: ... - def setTemperatureModel(self, temperatureModel: 'TubingPerformance.TemperatureModel') -> None: ... + def setTemperatureModel( + self, temperatureModel: "TubingPerformance.TemperatureModel" + ) -> None: ... def setWellheadPressure(self, double: float) -> None: ... - class CorrelationType(java.lang.Enum['TubingPerformance.CorrelationType']): - BEGGS_BRILL: typing.ClassVar['TubingPerformance.CorrelationType'] = ... - HAGEDORN_BROWN: typing.ClassVar['TubingPerformance.CorrelationType'] = ... - GRAY: typing.ClassVar['TubingPerformance.CorrelationType'] = ... - HASAN_KABIR: typing.ClassVar['TubingPerformance.CorrelationType'] = ... - DUNS_ROS: typing.ClassVar['TubingPerformance.CorrelationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CorrelationType(java.lang.Enum["TubingPerformance.CorrelationType"]): + BEGGS_BRILL: typing.ClassVar["TubingPerformance.CorrelationType"] = ... + HAGEDORN_BROWN: typing.ClassVar["TubingPerformance.CorrelationType"] = ... + GRAY: typing.ClassVar["TubingPerformance.CorrelationType"] = ... + HASAN_KABIR: typing.ClassVar["TubingPerformance.CorrelationType"] = ... + DUNS_ROS: typing.ClassVar["TubingPerformance.CorrelationType"] = ... + _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: ... + 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]) -> 'TubingPerformance.CorrelationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.CorrelationType": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.CorrelationType']: ... - class TemperatureModel(java.lang.Enum['TubingPerformance.TemperatureModel']): - ISOTHERMAL: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - LINEAR_GRADIENT: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - RAMEY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - HASAN_KABIR: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["TubingPerformance.CorrelationType"]: ... + + class TemperatureModel(java.lang.Enum["TubingPerformance.TemperatureModel"]): + ISOTHERMAL: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + LINEAR_GRADIENT: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + RAMEY: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + HASAN_KABIR: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + _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: ... + 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]) -> 'TubingPerformance.TemperatureModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.TemperatureModel": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + def values() -> ( + typing.MutableSequence["TubingPerformance.TemperatureModel"] + ): ... class TwoFluidPipe(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def addLocalLoss(self, double: float, double2: float) -> None: ... - def calculateCooldownTime(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateCooldownTime( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def calculateHydrateCooldownTime(self) -> float: ... def calculateLocalLossPressureDrop(self) -> float: ... def clearLocalLosses(self) -> None: ... def closeInlet(self) -> None: ... def closeOutlet(self) -> None: ... def configureBuriedThermalModel(self, double: float, boolean: bool) -> None: ... - def configureLagrangianSlugTracking(self, boolean: bool, boolean2: bool, boolean3: bool) -> None: ... - def configureSubseaThermalModel(self, double: float, double2: float, materialType: RadialThermalLayer.MaterialType) -> None: ... + def configureLagrangianSlugTracking( + self, boolean: bool, boolean2: bool, boolean3: bool + ) -> None: ... + def configureSubseaThermalModel( + self, + double: float, + double2: float, + materialType: RadialThermalLayer.MaterialType, + ) -> None: ... def generateRefinedMesh(self, int: int, double: float) -> None: ... - def getAccumulationTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... + def getAccumulationTracker( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.LiquidAccumulationTracker: ... def getAdaptiveDtFactor(self) -> float: ... def getAverageLiquidHoldup(self) -> float: ... def getAverageMixtureDensity(self) -> float: ... @@ -1288,23 +1786,31 @@ class TwoFluidPipe(Pipeline): def getFirstHydrateRiskSection(self) -> int: ... def getFlowAnalysisSummary(self) -> java.lang.String: ... def getFlowRegimeHysteresis(self) -> float: ... - def getFlowRegimeProfile(self) -> typing.MutableSequence[jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime]: ... + def getFlowRegimeProfile( + self, + ) -> typing.MutableSequence[ + jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime + ]: ... def getGasVelocityProfile(self) -> typing.MutableSequence[float]: ... def getHeatTransferCoefficient(self) -> float: ... def getHeatTransferProfile(self) -> typing.MutableSequence[float]: ... def getHydrateFormationTemperature(self) -> float: ... def getHydrateRiskSectionCount(self) -> int: ... def getHydrateRiskSections(self) -> typing.MutableSequence[bool]: ... - def getInletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... + def getInletBoundaryCondition(self) -> "TwoFluidPipe.BoundaryCondition": ... def getInletPressure(self) -> float: ... def getInsulationType(self) -> java.lang.String: ... - def getInsulationTypeEnum(self) -> 'TwoFluidPipe.InsulationType': ... - def getLagrangianSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker: ... + def getInsulationTypeEnum(self) -> "TwoFluidPipe.InsulationType": ... + def getLagrangianSlugTracker( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.LagrangianSlugTracker: ... def getLastSlugArrivalTime(self) -> float: ... def getLength(self) -> float: ... def getLiquidFallbackCoefficient(self) -> float: ... def getLiquidHoldupProfile(self) -> typing.MutableSequence[float]: ... - def getLiquidInventory(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLiquidInventory( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getLiquidVelocityProfile(self) -> typing.MutableSequence[float]: ... def getLocalLossKFactor(self, double: float) -> float: ... def getLocalLossSummary(self) -> java.lang.String: ... @@ -1316,13 +1822,15 @@ class TwoFluidPipe(Pipeline): def getMinimumLiquidHoldup(self) -> float: ... def getMinimumSlipFactor(self) -> float: ... def getNumberOfSections(self) -> int: ... - def getOLGAModelType(self) -> 'TwoFluidPipe.OLGAModelType': ... + def getOLGAModelType(self) -> "TwoFluidPipe.OLGAModelType": ... def getOilHoldupProfile(self) -> typing.MutableSequence[float]: ... def getOilVelocityProfile(self) -> typing.MutableSequence[float]: ... def getOilWaterSlipProfile(self) -> typing.MutableSequence[float]: ... - def getOutletBoundaryCondition(self) -> 'TwoFluidPipe.BoundaryCondition': ... + def getOutletBoundaryCondition(self) -> "TwoFluidPipe.BoundaryCondition": ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getOutletSlugCount(self) -> int: ... @@ -1332,8 +1840,10 @@ class TwoFluidPipe(Pipeline): def getSectionLengths(self) -> typing.MutableSequence[float]: ... def getSimulationTime(self) -> float: ... def getSlugStatisticsSummary(self) -> java.lang.String: ... - def getSlugTracker(self) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... - def getSlugTrackingMode(self) -> 'TwoFluidPipe.SlugTrackingMode': ... + def getSlugTracker( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.SlugTracker: ... + def getSlugTrackingMode(self) -> "TwoFluidPipe.SlugTrackingMode": ... def getSlugTrackingStatisticsJson(self) -> java.lang.String: ... def getSoilThermalResistance(self) -> float: ... def getSurfaceTemperature(self) -> float: ... @@ -1341,11 +1851,17 @@ class TwoFluidPipe(Pipeline): @typing.overload def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... @typing.overload - def getTemperatureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTemperatureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getTerrainSlugCriticalHoldup(self) -> float: ... def getThermalCalculator(self) -> MultilayerThermalCalculator: ... def getThermalSummary(self) -> java.lang.String: ... - def getTimeIntegrationMethod(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method: ... + def getTimeIntegrationMethod( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method + ): ... def getTotalLocalLossKFactors(self) -> float: ... def getTotalPressureDrop(self) -> float: ... def getTotalSlugVolumeAtOutlet(self) -> float: ... @@ -1379,7 +1895,9 @@ class TwoFluidPipe(Pipeline): @typing.overload def openOutlet(self) -> None: ... @typing.overload - def openOutlet(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def openOutlet( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -1391,7 +1909,9 @@ class TwoFluidPipe(Pipeline): def setAdaptiveMaxPressure(self, double: float) -> None: ... def setCflNumber(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... - def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setElevationProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setEnableAdaptiveTimestepping(self, boolean: bool) -> None: ... def setEnableAnnularFilmModel(self, boolean: bool) -> None: ... def setEnableJouleThomson(self, boolean: bool) -> None: ... @@ -1403,24 +1923,38 @@ class TwoFluidPipe(Pipeline): def setEquivalentLengthFittings(self, double: float) -> None: ... def setFlowRegimeHysteresis(self, double: float) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeatTransferProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setHydrateFormationTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatTransferProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setHydrateFormationTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIncludeEnergyEquation(self, boolean: bool) -> None: ... def setIncludeMassTransfer(self, boolean: bool) -> None: ... - def setInletBoundaryCondition(self, boundaryCondition: 'TwoFluidPipe.BoundaryCondition') -> None: ... + def setInletBoundaryCondition( + self, boundaryCondition: "TwoFluidPipe.BoundaryCondition" + ) -> None: ... def setInletLossCoefficient(self, double: float) -> None: ... @typing.overload def setInletMassFlow(self, double: float) -> None: ... @typing.overload - def setInletMassFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletMassFlow( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setInletPressure(self, double: float) -> None: ... @typing.overload - def setInletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setInsulationType(self, insulationType: 'TwoFluidPipe.InsulationType') -> None: ... + def setInsulationType( + self, insulationType: "TwoFluidPipe.InsulationType" + ) -> None: ... def setLength(self, double: float) -> None: ... def setLiquidFallbackCoefficient(self, double: float) -> None: ... def setMassTransferRelaxationTime(self, double: float) -> None: ... @@ -1431,97 +1965,146 @@ class TwoFluidPipe(Pipeline): def setNumberOf45DegreeBends(self, int: int) -> None: ... def setNumberOf90DegreeBends(self, int: int) -> None: ... def setNumberOfSections(self, int: int) -> None: ... - def setOLGAModelType(self, oLGAModelType: 'TwoFluidPipe.OLGAModelType') -> None: ... - def setOutletBoundaryCondition(self, boundaryCondition: 'TwoFluidPipe.BoundaryCondition') -> None: ... + def setOLGAModelType(self, oLGAModelType: "TwoFluidPipe.OLGAModelType") -> None: ... + def setOutletBoundaryCondition( + self, boundaryCondition: "TwoFluidPipe.BoundaryCondition" + ) -> None: ... def setOutletLossCoefficient(self, double: float) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRoughness(self, double: float) -> None: ... - def setSectionLengths(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setSlugTrackingMode(self, slugTrackingMode: 'TwoFluidPipe.SlugTrackingMode') -> None: ... + def setSectionLengths( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setSlugTrackingMode( + self, slugTrackingMode: "TwoFluidPipe.SlugTrackingMode" + ) -> None: ... def setSoilThermalResistance(self, double: float) -> None: ... def setSteadyStateFlashInterval(self, int: int) -> None: ... def setSteadyStateMaxWallClockTime(self, double: float) -> None: ... def setSteadyStateUnderRelaxation(self, double: float) -> None: ... - def setSurfaceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSurfaceTemperatureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSurfaceTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSurfaceTemperatureProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setTerrainSlugCriticalHoldup(self, double: float) -> None: ... - def setThermalCalculator(self, multilayerThermalCalculator: MultilayerThermalCalculator) -> None: ... + def setThermalCalculator( + self, multilayerThermalCalculator: MultilayerThermalCalculator + ) -> None: ... def setThermodynamicUpdateInterval(self, int: int) -> None: ... - def setTimeIntegrationMethod(self, method: jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method) -> None: ... + def setTimeIntegrationMethod( + self, + method: jneqsim.process.equipment.pipeline.twophasepipe.numerics.TimeIntegrator.Method, + ) -> None: ... def setUseAdaptiveMinimumOnly(self, boolean: bool) -> None: ... def setUseMultilayerThermalModel(self, boolean: bool) -> None: ... def setUseOLGAFlowRegimeMap(self, boolean: bool) -> None: ... - def setWallProperties(self, double: float, double2: float, double3: float) -> None: ... - def setWaxAppearanceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - class BoundaryCondition(java.lang.Enum['TwoFluidPipe.BoundaryCondition']): - CONSTANT_PRESSURE: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... - CONSTANT_FLOW: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... - STREAM_CONNECTED: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... - CLOSED: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... - CHARACTERISTIC: typing.ClassVar['TwoFluidPipe.BoundaryCondition'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setWallProperties( + self, double: float, double2: float, double3: float + ) -> None: ... + def setWaxAppearanceTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class BoundaryCondition(java.lang.Enum["TwoFluidPipe.BoundaryCondition"]): + CONSTANT_PRESSURE: typing.ClassVar["TwoFluidPipe.BoundaryCondition"] = ... + CONSTANT_FLOW: typing.ClassVar["TwoFluidPipe.BoundaryCondition"] = ... + STREAM_CONNECTED: typing.ClassVar["TwoFluidPipe.BoundaryCondition"] = ... + CLOSED: typing.ClassVar["TwoFluidPipe.BoundaryCondition"] = ... + CHARACTERISTIC: typing.ClassVar["TwoFluidPipe.BoundaryCondition"] = ... + _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: ... + 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]) -> 'TwoFluidPipe.BoundaryCondition': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoFluidPipe.BoundaryCondition": ... @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.BoundaryCondition']: ... - class InsulationType(java.lang.Enum['TwoFluidPipe.InsulationType']): - NONE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - UNINSULATED_SUBSEA: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - PU_FOAM: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - MULTI_LAYER: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - PIPE_IN_PIPE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - VIT: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - BURIED_ONSHORE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... - EXPOSED_ONSHORE: typing.ClassVar['TwoFluidPipe.InsulationType'] = ... + def values() -> typing.MutableSequence["TwoFluidPipe.BoundaryCondition"]: ... + + class InsulationType(java.lang.Enum["TwoFluidPipe.InsulationType"]): + NONE: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + UNINSULATED_SUBSEA: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + PU_FOAM: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + MULTI_LAYER: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + PIPE_IN_PIPE: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + VIT: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + BURIED_ONSHORE: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... + EXPOSED_ONSHORE: typing.ClassVar["TwoFluidPipe.InsulationType"] = ... def getUValue(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TwoFluidPipe.InsulationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoFluidPipe.InsulationType": ... @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.InsulationType']: ... - class OLGAModelType(java.lang.Enum['TwoFluidPipe.OLGAModelType']): - FULL: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... - SIMPLIFIED: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... - DRIFT_FLUX: typing.ClassVar['TwoFluidPipe.OLGAModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["TwoFluidPipe.InsulationType"]: ... + + class OLGAModelType(java.lang.Enum["TwoFluidPipe.OLGAModelType"]): + FULL: typing.ClassVar["TwoFluidPipe.OLGAModelType"] = ... + SIMPLIFIED: typing.ClassVar["TwoFluidPipe.OLGAModelType"] = ... + DRIFT_FLUX: typing.ClassVar["TwoFluidPipe.OLGAModelType"] = ... + _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: ... + 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]) -> 'TwoFluidPipe.OLGAModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoFluidPipe.OLGAModelType": ... @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.OLGAModelType']: ... - class SlugTrackingMode(java.lang.Enum['TwoFluidPipe.SlugTrackingMode']): - SIMPLIFIED: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... - LAGRANGIAN: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... - DISABLED: typing.ClassVar['TwoFluidPipe.SlugTrackingMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["TwoFluidPipe.OLGAModelType"]: ... + + class SlugTrackingMode(java.lang.Enum["TwoFluidPipe.SlugTrackingMode"]): + SIMPLIFIED: typing.ClassVar["TwoFluidPipe.SlugTrackingMode"] = ... + LAGRANGIAN: typing.ClassVar["TwoFluidPipe.SlugTrackingMode"] = ... + DISABLED: typing.ClassVar["TwoFluidPipe.SlugTrackingMode"] = ... + _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: ... + 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]) -> 'TwoFluidPipe.SlugTrackingMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TwoFluidPipe.SlugTrackingMode": ... @staticmethod - def values() -> typing.MutableSequence['TwoFluidPipe.SlugTrackingMode']: ... + def values() -> typing.MutableSequence["TwoFluidPipe.SlugTrackingMode"]: ... class TwoPhasePipeLine(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def createSystem(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -1532,16 +2115,22 @@ class WaterHammerPipe(Pipeline): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcEffectiveWaveSpeed(self) -> float: ... @typing.overload def calcJoukowskyPressureSurge(self, double: float) -> float: ... @typing.overload - def calcJoukowskyPressureSurge(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calcJoukowskyPressureSurge( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def getCourantNumber(self) -> float: ... def getCurrentTime(self) -> float: ... def getDiameter(self) -> float: ... - def getDownstreamBoundary(self) -> 'WaterHammerPipe.BoundaryType': ... + def getDownstreamBoundary(self) -> "WaterHammerPipe.BoundaryType": ... def getDownstreamBoundaryName(self) -> java.lang.String: ... def getElevation(self) -> float: ... def getElevationChange(self) -> float: ... @@ -1555,7 +2144,9 @@ class WaterHammerPipe(Pipeline): @typing.overload def getMaxPressureEnvelope(self) -> typing.MutableSequence[float]: ... @typing.overload - def getMaxPressureEnvelope(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMaxPressureEnvelope( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getMaxStableTimeStep(self) -> float: ... @typing.overload def getMinPressure(self) -> float: ... @@ -1564,7 +2155,9 @@ class WaterHammerPipe(Pipeline): @typing.overload def getMinPressureEnvelope(self) -> typing.MutableSequence[float]: ... @typing.overload - def getMinPressureEnvelope(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getMinPressureEnvelope( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getNumberOfIncrements(self) -> int: ... def getNumberOfNodes(self) -> int: ... def getPipeWallRoughness(self) -> float: ... @@ -1573,9 +2166,11 @@ class WaterHammerPipe(Pipeline): @typing.overload def getPressureProfile(self) -> typing.MutableSequence[float]: ... @typing.overload - def getPressureProfile(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getPressureProfile( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getTimeHistory(self) -> java.util.List[float]: ... - def getUpstreamBoundary(self) -> 'WaterHammerPipe.BoundaryType': ... + def getUpstreamBoundary(self) -> "WaterHammerPipe.BoundaryType": ... def getUpstreamBoundaryName(self) -> java.lang.String: ... def getValveOpening(self) -> float: ... def getValveOpeningPercent(self) -> float: ... @@ -1597,56 +2192,82 @@ class WaterHammerPipe(Pipeline): @typing.overload def setDiameter(self, double: float) -> None: ... @typing.overload - def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setDownstreamBoundary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDownstreamBoundary( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setDownstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setDownstreamBoundary( + self, boundaryType: "WaterHammerPipe.BoundaryType" + ) -> None: ... def setElevation(self, double: float) -> None: ... def setElevationChange(self, double: float) -> None: ... @typing.overload def setLength(self, double: float) -> None: ... @typing.overload - def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNumberOfIncrements(self, int: int) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... def setPipeElasticModulus(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... def setRoughness(self, double: float) -> None: ... @typing.overload - def setUpstreamBoundary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setUpstreamBoundary( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setUpstreamBoundary(self, boundaryType: 'WaterHammerPipe.BoundaryType') -> None: ... + def setUpstreamBoundary( + self, boundaryType: "WaterHammerPipe.BoundaryType" + ) -> None: ... def setValveOpening(self, double: float) -> None: ... def setValveOpeningPercent(self, double: float) -> None: ... def setWallThickness(self, double: float) -> None: ... def setWaveSpeed(self, double: float) -> None: ... - class BoundaryType(java.lang.Enum['WaterHammerPipe.BoundaryType']): - RESERVOIR: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... - VALVE: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... - CLOSED_END: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... - CONSTANT_FLOW: typing.ClassVar['WaterHammerPipe.BoundaryType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class BoundaryType(java.lang.Enum["WaterHammerPipe.BoundaryType"]): + RESERVOIR: typing.ClassVar["WaterHammerPipe.BoundaryType"] = ... + VALVE: typing.ClassVar["WaterHammerPipe.BoundaryType"] = ... + CLOSED_END: typing.ClassVar["WaterHammerPipe.BoundaryType"] = ... + CONSTANT_FLOW: typing.ClassVar["WaterHammerPipe.BoundaryType"] = ... + _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: ... + 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]) -> 'WaterHammerPipe.BoundaryType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WaterHammerPipe.BoundaryType": ... @staticmethod - def values() -> typing.MutableSequence['WaterHammerPipe.BoundaryType']: ... + def values() -> typing.MutableSequence["WaterHammerPipe.BoundaryType"]: ... class IncompressiblePipeFlow(AdiabaticPipe): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcPressureOut(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -1658,32 +2279,66 @@ class Riser(PipeBeggsAndBrills): @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): ... - @typing.overload - def __init__(self, riserType: 'Riser.RiserType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @typing.overload + def __init__( + self, + riserType: "Riser.RiserType", + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @staticmethod - def createFlexible(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + def createFlexible( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "Riser": ... @staticmethod - def createHybrid(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + def createHybrid( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "Riser": ... @staticmethod - def createLazyWave(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> 'Riser': ... + def createLazyWave( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> "Riser": ... @staticmethod - def createSCR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + def createSCR( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "Riser": ... @staticmethod - def createTTR(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'Riser': ... + def createTTR( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "Riser": ... def getAppliedTopTension(self) -> float: ... def getBuoyancyModuleDepth(self) -> float: ... def getBuoyancyModuleLength(self) -> float: ... def getBuoyancyPerMeter(self) -> float: ... def getCurrentVelocity(self) -> float: ... def getDepartureAngle(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... def getPeakWavePeriod(self) -> float: ... def getPlatformHeaveAmplitude(self) -> float: ... def getPlatformHeavePeriod(self) -> float: ... def getPlatformOffset(self) -> float: ... - def getRiserMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.RiserMechanicalDesign: ... - def getRiserType(self) -> 'Riser.RiserType': ... + def getRiserMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.RiserMechanicalDesign: ... + def getRiserType(self) -> "Riser.RiserType": ... def getSeabedCurrentVelocity(self) -> float: ... def getSeabedFriction(self) -> float: ... def getSeawaterTemperature(self) -> float: ... @@ -1711,7 +2366,7 @@ class Riser(PipeBeggsAndBrills): def setPlatformHeaveAmplitude(self, double: float) -> None: ... def setPlatformHeavePeriod(self, double: float) -> None: ... def setPlatformOffset(self, double: float) -> None: ... - def setRiserType(self, riserType: 'Riser.RiserType') -> None: ... + def setRiserType(self, riserType: "Riser.RiserType") -> None: ... def setSeabedCurrentVelocity(self, double: float) -> None: ... def setSeabedFriction(self, double: float) -> None: ... def setSeawaterTemperature(self, double: float) -> None: ... @@ -1721,25 +2376,31 @@ class Riser(PipeBeggsAndBrills): def setTopAngle(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... def updateGeometryFromType(self) -> None: ... - class RiserType(java.lang.Enum['Riser.RiserType']): - STEEL_CATENARY_RISER: typing.ClassVar['Riser.RiserType'] = ... - FLEXIBLE_RISER: typing.ClassVar['Riser.RiserType'] = ... - TOP_TENSIONED_RISER: typing.ClassVar['Riser.RiserType'] = ... - HYBRID_RISER: typing.ClassVar['Riser.RiserType'] = ... - LAZY_WAVE: typing.ClassVar['Riser.RiserType'] = ... - STEEP_WAVE: typing.ClassVar['Riser.RiserType'] = ... - FREE_STANDING: typing.ClassVar['Riser.RiserType'] = ... - VERTICAL: typing.ClassVar['Riser.RiserType'] = ... + + class RiserType(java.lang.Enum["Riser.RiserType"]): + STEEL_CATENARY_RISER: typing.ClassVar["Riser.RiserType"] = ... + FLEXIBLE_RISER: typing.ClassVar["Riser.RiserType"] = ... + TOP_TENSIONED_RISER: typing.ClassVar["Riser.RiserType"] = ... + HYBRID_RISER: typing.ClassVar["Riser.RiserType"] = ... + LAZY_WAVE: typing.ClassVar["Riser.RiserType"] = ... + STEEP_WAVE: typing.ClassVar["Riser.RiserType"] = ... + FREE_STANDING: typing.ClassVar["Riser.RiserType"] = ... + VERTICAL: typing.ClassVar["Riser.RiserType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Riser.RiserType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Riser.RiserType": ... @staticmethod - def values() -> typing.MutableSequence['Riser.RiserType']: ... + def values() -> typing.MutableSequence["Riser.RiserType"]: ... class TopsidePiping(PipeBeggsAndBrills): @typing.overload @@ -1747,30 +2408,59 @@ class TopsidePiping(PipeBeggsAndBrills): @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): ... - @typing.overload - def __init__(self, serviceType: 'TopsidePiping.ServiceType', string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @typing.overload + def __init__( + self, + serviceType: "TopsidePiping.ServiceType", + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @staticmethod - def createFlareHeader(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createFlareHeader( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... @staticmethod - def createFuelGas(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createFuelGas( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... @staticmethod - def createMultiphase(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createMultiphase( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... @staticmethod - def createProcessGas(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createProcessGas( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... @staticmethod - def createProcessLiquid(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createProcessLiquid( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... @staticmethod - def createSteam(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'TopsidePiping': ... + def createSteam( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "TopsidePiping": ... def getAmbientTemperature(self) -> float: ... def getEquivalentLength(self) -> float: ... def getFlangeRating(self) -> int: ... def getInsulationThickness(self) -> float: ... def getInsulationType(self) -> java.lang.String: ... - def getInsulationTypeEnum(self) -> 'TopsidePiping.InsulationType': ... + def getInsulationTypeEnum(self) -> "TopsidePiping.InsulationType": ... def getMaxOperatingPressure(self) -> float: ... def getMaxOperatingTemperature(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipelineMechanicalDesign: ... def getMinOperatingPressure(self) -> float: ... def getMinOperatingTemperature(self) -> float: ... def getNumberOfAnchors(self) -> int: ... @@ -1784,10 +2474,12 @@ class TopsidePiping(PipeBeggsAndBrills): def getNumberOfTees(self) -> int: ... def getNumberOfValves(self) -> int: ... def getPipeSchedule(self) -> java.lang.String: ... - def getPipeScheduleEnum(self) -> 'TopsidePiping.PipeSchedule': ... - def getServiceType(self) -> 'TopsidePiping.ServiceType': ... + def getPipeScheduleEnum(self) -> "TopsidePiping.PipeSchedule": ... + def getServiceType(self) -> "TopsidePiping.ServiceType": ... def getSupportSpacing(self) -> float: ... - def getTopsideMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pipeline.TopsidePipingMechanicalDesign: ... + def getTopsideMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.TopsidePipingMechanicalDesign: ... def getValveType(self) -> java.lang.String: ... def getWindSpeed(self) -> float: ... def initMechanicalDesign(self) -> None: ... @@ -1801,12 +2493,18 @@ class TopsidePiping(PipeBeggsAndBrills): @typing.overload def setInsulation(self, double: float, double2: float) -> None: ... @typing.overload - def setInsulation(self, insulationType: 'TopsidePiping.InsulationType', double: float) -> None: ... + def setInsulation( + self, insulationType: "TopsidePiping.InsulationType", double: float + ) -> None: ... def setInsulationThickness(self, double: float) -> None: ... @typing.overload - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setInsulationType(self, insulationType: 'TopsidePiping.InsulationType') -> None: ... + def setInsulationType( + self, insulationType: "TopsidePiping.InsulationType" + ) -> None: ... def setMaxOperatingPressure(self, double: float) -> None: ... def setMaxOperatingTemperature(self, double: float) -> None: ... def setMinOperatingPressure(self, double: float) -> None: ... @@ -1821,86 +2519,105 @@ class TopsidePiping(PipeBeggsAndBrills): def setNumberOfSupports(self, int: int) -> None: ... def setNumberOfTees(self, int: int) -> None: ... def setNumberOfValves(self, int: int) -> None: ... - def setOperatingEnvelope(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setOperatingEnvelope( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setPipeSchedule(self, pipeSchedule: 'TopsidePiping.PipeSchedule') -> None: ... - def setServiceType(self, serviceType: 'TopsidePiping.ServiceType') -> None: ... + def setPipeSchedule(self, pipeSchedule: "TopsidePiping.PipeSchedule") -> None: ... + def setServiceType(self, serviceType: "TopsidePiping.ServiceType") -> None: ... def setSupportSpacing(self, double: float) -> None: ... def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWindSpeed(self, double: float) -> None: ... - class InsulationType(java.lang.Enum['TopsidePiping.InsulationType']): - NONE: typing.ClassVar['TopsidePiping.InsulationType'] = ... - MINERAL_WOOL: typing.ClassVar['TopsidePiping.InsulationType'] = ... - CALCIUM_SILICATE: typing.ClassVar['TopsidePiping.InsulationType'] = ... - POLYURETHANE_FOAM: typing.ClassVar['TopsidePiping.InsulationType'] = ... - AEROGEL: typing.ClassVar['TopsidePiping.InsulationType'] = ... - CELLULAR_GLASS: typing.ClassVar['TopsidePiping.InsulationType'] = ... - HEAT_TRACED: typing.ClassVar['TopsidePiping.InsulationType'] = ... + + class InsulationType(java.lang.Enum["TopsidePiping.InsulationType"]): + NONE: typing.ClassVar["TopsidePiping.InsulationType"] = ... + MINERAL_WOOL: typing.ClassVar["TopsidePiping.InsulationType"] = ... + CALCIUM_SILICATE: typing.ClassVar["TopsidePiping.InsulationType"] = ... + POLYURETHANE_FOAM: typing.ClassVar["TopsidePiping.InsulationType"] = ... + AEROGEL: typing.ClassVar["TopsidePiping.InsulationType"] = ... + CELLULAR_GLASS: typing.ClassVar["TopsidePiping.InsulationType"] = ... + HEAT_TRACED: typing.ClassVar["TopsidePiping.InsulationType"] = ... def getDensity(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... def getThermalConductivity(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TopsidePiping.InsulationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TopsidePiping.InsulationType": ... @staticmethod - def values() -> typing.MutableSequence['TopsidePiping.InsulationType']: ... - class PipeSchedule(java.lang.Enum['TopsidePiping.PipeSchedule']): - SCH_5: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_10: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_20: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_30: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_40: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_60: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_80: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_100: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_120: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_140: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - SCH_160: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - STD: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - XS: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... - XXS: typing.ClassVar['TopsidePiping.PipeSchedule'] = ... + def values() -> typing.MutableSequence["TopsidePiping.InsulationType"]: ... + + class PipeSchedule(java.lang.Enum["TopsidePiping.PipeSchedule"]): + SCH_5: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_10: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_20: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_30: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_40: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_60: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_80: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_100: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_120: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_140: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + SCH_160: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + STD: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + XS: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... + XXS: typing.ClassVar["TopsidePiping.PipeSchedule"] = ... def getDisplayName(self) -> java.lang.String: ... def getMinThickness(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TopsidePiping.PipeSchedule': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TopsidePiping.PipeSchedule": ... @staticmethod - def values() -> typing.MutableSequence['TopsidePiping.PipeSchedule']: ... - class ServiceType(java.lang.Enum['TopsidePiping.ServiceType']): - PROCESS_GAS: typing.ClassVar['TopsidePiping.ServiceType'] = ... - PROCESS_LIQUID: typing.ClassVar['TopsidePiping.ServiceType'] = ... - MULTIPHASE: typing.ClassVar['TopsidePiping.ServiceType'] = ... - PRODUCED_WATER: typing.ClassVar['TopsidePiping.ServiceType'] = ... - STEAM: typing.ClassVar['TopsidePiping.ServiceType'] = ... - UTILITY_AIR: typing.ClassVar['TopsidePiping.ServiceType'] = ... - FLARE: typing.ClassVar['TopsidePiping.ServiceType'] = ... - FUEL_GAS: typing.ClassVar['TopsidePiping.ServiceType'] = ... - COOLING_MEDIUM: typing.ClassVar['TopsidePiping.ServiceType'] = ... - CHEMICAL_INJECTION: typing.ClassVar['TopsidePiping.ServiceType'] = ... - VENT_DRAIN: typing.ClassVar['TopsidePiping.ServiceType'] = ... - RELIEF: typing.ClassVar['TopsidePiping.ServiceType'] = ... + def values() -> typing.MutableSequence["TopsidePiping.PipeSchedule"]: ... + + class ServiceType(java.lang.Enum["TopsidePiping.ServiceType"]): + PROCESS_GAS: typing.ClassVar["TopsidePiping.ServiceType"] = ... + PROCESS_LIQUID: typing.ClassVar["TopsidePiping.ServiceType"] = ... + MULTIPHASE: typing.ClassVar["TopsidePiping.ServiceType"] = ... + PRODUCED_WATER: typing.ClassVar["TopsidePiping.ServiceType"] = ... + STEAM: typing.ClassVar["TopsidePiping.ServiceType"] = ... + UTILITY_AIR: typing.ClassVar["TopsidePiping.ServiceType"] = ... + FLARE: typing.ClassVar["TopsidePiping.ServiceType"] = ... + FUEL_GAS: typing.ClassVar["TopsidePiping.ServiceType"] = ... + COOLING_MEDIUM: typing.ClassVar["TopsidePiping.ServiceType"] = ... + CHEMICAL_INJECTION: typing.ClassVar["TopsidePiping.ServiceType"] = ... + VENT_DRAIN: typing.ClassVar["TopsidePiping.ServiceType"] = ... + RELIEF: typing.ClassVar["TopsidePiping.ServiceType"] = ... def getDisplayName(self) -> java.lang.String: ... def getVelocityFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TopsidePiping.ServiceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TopsidePiping.ServiceType": ... @staticmethod - def values() -> typing.MutableSequence['TopsidePiping.ServiceType']: ... - + def values() -> typing.MutableSequence["TopsidePiping.ServiceType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/routing/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/routing/__init__.pyi index a1f6e290..6c3dff87 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/routing/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/routing/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,39 +13,95 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class PipingRouteBuilder(java.io.Serializable): def __init__(self): ... - def addMinorLoss(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'PipingRouteBuilder': ... + def addMinorLoss( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "PipingRouteBuilder": ... @typing.overload - def addSegment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], double2: float, string4: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def addSegment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + double2: float, + string4: typing.Union[java.lang.String, str], + ) -> "PipingRouteBuilder": ... @typing.overload - def addSegment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, string4: typing.Union[java.lang.String, str], double2: float, string5: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def addSegment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + string4: typing.Union[java.lang.String, str], + double2: float, + string5: typing.Union[java.lang.String, str], + ) -> "PipingRouteBuilder": ... @typing.overload - def addToProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addToProcessSystem( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def addToProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def build(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.processmodel.ProcessSystem: ... - def getSegment(self, string: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder.RouteSegment': ... - def getSegments(self) -> java.util.List['PipingRouteBuilder.RouteSegment']: ... - def setDefaultHeatTransferMode(self, heatTransferMode: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills.HeatTransferMode) -> 'PipingRouteBuilder': ... - def setDefaultNumberOfIncrements(self, int: int) -> 'PipingRouteBuilder': ... - def setDefaultPipeWallRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... - def setMinorLossFrictionFactor(self, double: float) -> 'PipingRouteBuilder': ... - def setSegmentElevationChange(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... - def setSegmentPipeWallRoughness(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... - def setSegmentWallThickness(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'PipingRouteBuilder': ... + def addToProcessSystem( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def build( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> jneqsim.process.processmodel.ProcessSystem: ... + def getSegment( + self, string: typing.Union[java.lang.String, str] + ) -> "PipingRouteBuilder.RouteSegment": ... + def getSegments(self) -> java.util.List["PipingRouteBuilder.RouteSegment"]: ... + def setDefaultHeatTransferMode( + self, + heatTransferMode: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills.HeatTransferMode, + ) -> "PipingRouteBuilder": ... + def setDefaultNumberOfIncrements(self, int: int) -> "PipingRouteBuilder": ... + def setDefaultPipeWallRoughness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PipingRouteBuilder": ... + def setMinorLossFrictionFactor(self, double: float) -> "PipingRouteBuilder": ... + def setSegmentElevationChange( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "PipingRouteBuilder": ... + def setSegmentPipeWallRoughness( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "PipingRouteBuilder": ... + def setSegmentWallThickness( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "PipingRouteBuilder": ... def toJson(self) -> java.lang.String: ... + class MinorLoss(java.io.Serializable): def getEquivalentLengthRatio(self) -> float: ... def getFittingType(self) -> java.lang.String: ... def getKValue(self) -> float: ... + class RouteSegment(java.io.Serializable): def getElevationChangeMeters(self) -> float: ... def getFromNode(self) -> java.lang.String: ... def getLengthMeters(self) -> float: ... - def getMinorLosses(self) -> java.util.List['PipingRouteBuilder.MinorLoss']: ... + def getMinorLosses(self) -> java.util.List["PipingRouteBuilder.MinorLoss"]: ... def getNominalDiameterMeters(self) -> float: ... def getPipeName(self) -> java.lang.String: ... def getPipeWallRoughnessMeters(self) -> float: ... @@ -55,7 +111,6 @@ class PipingRouteBuilder(java.io.Serializable): def getTotalKValue(self) -> float: ... def getWallThicknessMeters(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.routing")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi index 4dba6326..70541994 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,16 +21,47 @@ import jneqsim.process.mechanicaldesign.pipeline import jneqsim.thermo.system import typing - - class DriftFluxModel(java.io.Serializable): def __init__(self): ... - def calculateDriftFlux(self, pipeSection: 'PipeSection') -> 'DriftFluxModel.DriftFluxParameters': ... - def calculateEnergyEquation(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters', double: float, double2: float, double3: float, double4: float, double5: float) -> 'DriftFluxModel.EnergyEquationResult': ... - def calculateMixtureHeatCapacity(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters', double: float, double2: float) -> float: ... - def calculatePressureGradient(self, pipeSection: 'PipeSection', driftFluxParameters: 'DriftFluxModel.DriftFluxParameters') -> float: ... - def calculateSteadyStateTemperature(self, pipeSection: 'PipeSection', double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - def estimateJouleThomsonCoefficient(self, double: float, double2: float, double3: float) -> float: ... + def calculateDriftFlux( + self, pipeSection: "PipeSection" + ) -> "DriftFluxModel.DriftFluxParameters": ... + def calculateEnergyEquation( + self, + pipeSection: "PipeSection", + driftFluxParameters: "DriftFluxModel.DriftFluxParameters", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "DriftFluxModel.EnergyEquationResult": ... + def calculateMixtureHeatCapacity( + self, + pipeSection: "PipeSection", + driftFluxParameters: "DriftFluxModel.DriftFluxParameters", + double: float, + double2: float, + ) -> float: ... + def calculatePressureGradient( + self, + pipeSection: "PipeSection", + driftFluxParameters: "DriftFluxModel.DriftFluxParameters", + ) -> float: ... + def calculateSteadyStateTemperature( + self, + pipeSection: "PipeSection", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + def estimateJouleThomsonCoefficient( + self, double: float, double2: float, double3: float + ) -> float: ... + class DriftFluxParameters(java.io.Serializable): C0: float = ... driftVelocity: float = ... @@ -40,6 +71,7 @@ class DriftFluxModel(java.io.Serializable): voidFraction: float = ... liquidHoldup: float = ... def __init__(self): ... + class EnergyEquationResult(java.io.Serializable): newTemperature: float = ... jouleThomsonDeltaT: float = ... @@ -54,42 +86,79 @@ class EntrainmentDeposition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, entrainmentModel: 'EntrainmentDeposition.EntrainmentModel', depositionModel: 'EntrainmentDeposition.DepositionModel'): ... - def calculate(self, flowRegime: 'PipeSection.FlowRegime', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'EntrainmentDeposition.EntrainmentResult': ... + def __init__( + self, + entrainmentModel: "EntrainmentDeposition.EntrainmentModel", + depositionModel: "EntrainmentDeposition.DepositionModel", + ): ... + def calculate( + self, + flowRegime: "PipeSection.FlowRegime", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> "EntrainmentDeposition.EntrainmentResult": ... def getCriticalReFilm(self) -> float: ... def getCriticalWeber(self) -> float: ... - def getDepositionModel(self) -> 'EntrainmentDeposition.DepositionModel': ... - def getEntrainmentModel(self) -> 'EntrainmentDeposition.EntrainmentModel': ... + def getDepositionModel(self) -> "EntrainmentDeposition.DepositionModel": ... + def getEntrainmentModel(self) -> "EntrainmentDeposition.EntrainmentModel": ... def setCriticalReFilm(self, double: float) -> None: ... def setCriticalWeber(self, double: float) -> None: ... - def setDepositionModel(self, depositionModel: 'EntrainmentDeposition.DepositionModel') -> None: ... - def setEntrainmentModel(self, entrainmentModel: 'EntrainmentDeposition.EntrainmentModel') -> None: ... - class DepositionModel(java.lang.Enum['EntrainmentDeposition.DepositionModel']): - MCCOY_HANRATTY: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... - RELAXATION: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... - COUSINS: typing.ClassVar['EntrainmentDeposition.DepositionModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setDepositionModel( + self, depositionModel: "EntrainmentDeposition.DepositionModel" + ) -> None: ... + def setEntrainmentModel( + self, entrainmentModel: "EntrainmentDeposition.EntrainmentModel" + ) -> None: ... + + class DepositionModel(java.lang.Enum["EntrainmentDeposition.DepositionModel"]): + MCCOY_HANRATTY: typing.ClassVar["EntrainmentDeposition.DepositionModel"] = ... + RELAXATION: typing.ClassVar["EntrainmentDeposition.DepositionModel"] = ... + COUSINS: typing.ClassVar["EntrainmentDeposition.DepositionModel"] = ... + _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: ... + 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]) -> 'EntrainmentDeposition.DepositionModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EntrainmentDeposition.DepositionModel": ... @staticmethod - def values() -> typing.MutableSequence['EntrainmentDeposition.DepositionModel']: ... - class EntrainmentModel(java.lang.Enum['EntrainmentDeposition.EntrainmentModel']): - ISHII_MISHIMA: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... - PAN_HANRATTY: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... - OLIEMANS: typing.ClassVar['EntrainmentDeposition.EntrainmentModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["EntrainmentDeposition.DepositionModel"] + ): ... + + class EntrainmentModel(java.lang.Enum["EntrainmentDeposition.EntrainmentModel"]): + ISHII_MISHIMA: typing.ClassVar["EntrainmentDeposition.EntrainmentModel"] = ... + PAN_HANRATTY: typing.ClassVar["EntrainmentDeposition.EntrainmentModel"] = ... + OLIEMANS: typing.ClassVar["EntrainmentDeposition.EntrainmentModel"] = ... + _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: ... + 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]) -> 'EntrainmentDeposition.EntrainmentModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EntrainmentDeposition.EntrainmentModel": ... @staticmethod - def values() -> typing.MutableSequence['EntrainmentDeposition.EntrainmentModel']: ... + def values() -> ( + typing.MutableSequence["EntrainmentDeposition.EntrainmentModel"] + ): ... + class EntrainmentResult(java.io.Serializable): entrainmentRate: float = ... depositionRate: float = ... @@ -103,7 +172,16 @@ class EntrainmentDeposition(java.io.Serializable): class FlashTable(java.io.Serializable): def __init__(self): ... - def build(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, int: int, double3: float, double4: float, int2: int) -> None: ... + def build( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + int: int, + double3: float, + double4: float, + int2: int, + ) -> None: ... def clear(self) -> None: ... def estimateMemoryUsage(self) -> int: ... def getMaxPressure(self) -> float: ... @@ -113,39 +191,61 @@ class FlashTable(java.io.Serializable): def getNumPressurePoints(self) -> int: ... def getNumTemperaturePoints(self) -> int: ... def getPressures(self) -> typing.MutableSequence[float]: ... - def getProperty(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getProperty( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> float: ... def getTemperatures(self) -> typing.MutableSequence[float]: ... def getTotalGridPoints(self) -> int: ... - def interpolate(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... + def interpolate( + self, double: float, double2: float + ) -> "ThermodynamicCoupling.ThermoProperties": ... def isBuilt(self) -> bool: ... class FlowRegimeDetector(java.io.Serializable): def __init__(self): ... - def detectFlowRegime(self, pipeSection: 'PipeSection') -> 'PipeSection.FlowRegime': ... - def getDetectionMethod(self) -> 'FlowRegimeDetector.DetectionMethod': ... - def getFlowRegimeMap(self, pipeSection: 'PipeSection', double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence['PipeSection.FlowRegime']]: ... + def detectFlowRegime( + self, pipeSection: "PipeSection" + ) -> "PipeSection.FlowRegime": ... + def getDetectionMethod(self) -> "FlowRegimeDetector.DetectionMethod": ... + def getFlowRegimeMap( + self, pipeSection: "PipeSection", double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence["PipeSection.FlowRegime"]]: ... def isUseMinimumSlipCriterion(self) -> bool: ... - def setDetectionMethod(self, detectionMethod: 'FlowRegimeDetector.DetectionMethod') -> None: ... + def setDetectionMethod( + self, detectionMethod: "FlowRegimeDetector.DetectionMethod" + ) -> None: ... def setUseMinimumSlipCriterion(self, boolean: bool) -> None: ... - class DetectionMethod(java.lang.Enum['FlowRegimeDetector.DetectionMethod']): - MECHANISTIC: typing.ClassVar['FlowRegimeDetector.DetectionMethod'] = ... - MINIMUM_SLIP: typing.ClassVar['FlowRegimeDetector.DetectionMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DetectionMethod(java.lang.Enum["FlowRegimeDetector.DetectionMethod"]): + MECHANISTIC: typing.ClassVar["FlowRegimeDetector.DetectionMethod"] = ... + MINIMUM_SLIP: typing.ClassVar["FlowRegimeDetector.DetectionMethod"] = ... + _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: ... + 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]) -> 'FlowRegimeDetector.DetectionMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRegimeDetector.DetectionMethod": ... @staticmethod - def values() -> typing.MutableSequence['FlowRegimeDetector.DetectionMethod']: ... + def values() -> ( + typing.MutableSequence["FlowRegimeDetector.DetectionMethod"] + ): ... class LagrangianSlugTracker(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, long: int): ... - def advanceTimeStep(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> None: ... + def advanceTimeStep( + self, + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + double: float, + ) -> None: ... def getAverageSlugLength(self) -> float: ... def getInletSlugFrequency(self) -> float: ... def getMassConservationError(self) -> float: ... @@ -157,7 +257,7 @@ class LagrangianSlugTracker(java.io.Serializable): def getOutletSlugVolumes(self) -> java.util.List[float]: ... def getSlugCount(self) -> int: ... def getSlugFrequency(self) -> float: ... - def getSlugs(self) -> java.util.List['LagrangianSlugTracker.SlugBubbleUnit']: ... + def getSlugs(self) -> java.util.List["LagrangianSlugTracker.SlugBubbleUnit"]: ... def getStatisticsString(self) -> java.lang.String: ... def getTotalMassBorrowedFromEulerian(self) -> float: ... def getTotalMassReturnedToEulerian(self) -> float: ... @@ -165,7 +265,11 @@ class LagrangianSlugTracker(java.io.Serializable): def getTotalSlugsExited(self) -> int: ... def getTotalSlugsGenerated(self) -> int: ... def getTotalSlugsMerged(self) -> int: ... - def initializeTerrainSlug(self, slugCharacteristics: 'LiquidAccumulationTracker.SlugCharacteristics', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> 'LagrangianSlugTracker.SlugBubbleUnit': ... + def initializeTerrainSlug( + self, + slugCharacteristics: "LiquidAccumulationTracker.SlugCharacteristics", + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + ) -> "LagrangianSlugTracker.SlugBubbleUnit": ... def reset(self) -> None: ... def setEnableInletSlugGeneration(self, boolean: bool) -> None: ... def setEnableStochasticInitiation(self, boolean: bool) -> None: ... @@ -179,9 +283,10 @@ class LagrangianSlugTracker(java.io.Serializable): def setReferenceVelocity(self, double: float) -> None: ... def setWakeLengthDiameters(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class SlugBubbleUnit(java.io.Serializable): id: int = ... - source: 'LagrangianSlugTracker.SlugSource' = ... + source: "LagrangianSlugTracker.SlugSource" = ... frontPosition: float = ... tailPosition: float = ... slugLength: float = ... @@ -215,33 +320,59 @@ class LagrangianSlugTracker(java.io.Serializable): def getTotalLiquidVolume(self) -> float: ... def getTotalUnitLength(self) -> float: ... def toString(self) -> java.lang.String: ... - class SlugSource(java.lang.Enum['LagrangianSlugTracker.SlugSource']): - INLET: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... - TERRAIN: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... - INSTABILITY: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... - RANDOM: typing.ClassVar['LagrangianSlugTracker.SlugSource'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SlugSource(java.lang.Enum["LagrangianSlugTracker.SlugSource"]): + INLET: typing.ClassVar["LagrangianSlugTracker.SlugSource"] = ... + TERRAIN: typing.ClassVar["LagrangianSlugTracker.SlugSource"] = ... + INSTABILITY: typing.ClassVar["LagrangianSlugTracker.SlugSource"] = ... + RANDOM: typing.ClassVar["LagrangianSlugTracker.SlugSource"] = ... + _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: ... + 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]) -> 'LagrangianSlugTracker.SlugSource': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LagrangianSlugTracker.SlugSource": ... @staticmethod - def values() -> typing.MutableSequence['LagrangianSlugTracker.SlugSource']: ... + def values() -> typing.MutableSequence["LagrangianSlugTracker.SlugSource"]: ... class LiquidAccumulationTracker(java.io.Serializable): def __init__(self): ... - def calculateDrainageRate(self, accumulationZone: 'LiquidAccumulationTracker.AccumulationZone', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> float: ... - def checkForSlugRelease(self, accumulationZone: 'LiquidAccumulationTracker.AccumulationZone', pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> 'LiquidAccumulationTracker.SlugCharacteristics': ... - def getAccumulationZones(self) -> java.util.List['LiquidAccumulationTracker.AccumulationZone']: ... + def calculateDrainageRate( + self, + accumulationZone: "LiquidAccumulationTracker.AccumulationZone", + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + double: float, + ) -> float: ... + def checkForSlugRelease( + self, + accumulationZone: "LiquidAccumulationTracker.AccumulationZone", + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + ) -> "LiquidAccumulationTracker.SlugCharacteristics": ... + def getAccumulationZones( + self, + ) -> java.util.List["LiquidAccumulationTracker.AccumulationZone"]: ... def getCriticalHoldup(self) -> float: ... - def getOverflowingZones(self) -> java.util.List['LiquidAccumulationTracker.AccumulationZone']: ... + def getOverflowingZones( + self, + ) -> java.util.List["LiquidAccumulationTracker.AccumulationZone"]: ... def getTotalAccumulatedVolume(self) -> float: ... - def identifyAccumulationZones(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray]) -> None: ... + def identifyAccumulationZones( + self, pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray] + ) -> None: ... def setCriticalHoldup(self, double: float) -> None: ... def setDrainageCoefficient(self, double: float) -> None: ... - def updateAccumulation(self, pipeSectionArray: typing.Union[typing.List['PipeSection'], jpype.JArray], double: float) -> None: ... + def updateAccumulation( + self, + pipeSectionArray: typing.Union[typing.List["PipeSection"], jpype.JArray], + double: float, + ) -> None: ... + class AccumulationZone(java.io.Serializable): startPosition: float = ... endPosition: float = ... @@ -255,6 +386,7 @@ class LiquidAccumulationTracker(java.io.Serializable): timeSinceSlug: float = ... sectionIndices: java.util.List = ... def __init__(self): ... + class SlugCharacteristics(java.io.Serializable): frontPosition: float = ... tailPosition: float = ... @@ -270,8 +402,10 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... - def clone(self) -> 'PipeSection': ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... + def clone(self) -> "PipeSection": ... def getAccumulatedLiquidVolume(self) -> float: ... def getArea(self) -> float: ... def getConservativeVariables(self) -> typing.MutableSequence[float]: ... @@ -279,7 +413,7 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): def getEffectiveLiquidHoldup(self) -> float: ... def getEffectiveMixtureDensity(self) -> float: ... def getElevation(self) -> float: ... - def getFlowRegime(self) -> 'PipeSection.FlowRegime': ... + def getFlowRegime(self) -> "PipeSection.FlowRegime": ... def getFrictionPressureGradient(self) -> float: ... def getGasDensity(self) -> float: ... def getGasEnthalpy(self) -> float: ... @@ -317,9 +451,14 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): def setAccumulatedLiquidVolume(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... - def setFlowRegime(self, flowRegime: 'PipeSection.FlowRegime') -> None: ... + def setFlowRegime(self, flowRegime: "PipeSection.FlowRegime") -> None: ... def setFrictionPressureGradient(self, double: float) -> None: ... - def setFromConservativeVariables(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: ... + def setFromConservativeVariables( + 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: ... def setGasDensity(self, double: float) -> None: ... def setGasEnthalpy(self, double: float) -> None: ... def setGasHoldup(self, double: float) -> None: ... @@ -348,49 +487,66 @@ class PipeSection(java.lang.Cloneable, java.io.Serializable): def setSurfaceTension(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... def updateDerivedQuantities(self) -> None: ... - class FlowRegime(java.lang.Enum['PipeSection.FlowRegime']): - STRATIFIED_SMOOTH: typing.ClassVar['PipeSection.FlowRegime'] = ... - STRATIFIED_WAVY: typing.ClassVar['PipeSection.FlowRegime'] = ... - SLUG: typing.ClassVar['PipeSection.FlowRegime'] = ... - ANNULAR: typing.ClassVar['PipeSection.FlowRegime'] = ... - DISPERSED_BUBBLE: typing.ClassVar['PipeSection.FlowRegime'] = ... - BUBBLE: typing.ClassVar['PipeSection.FlowRegime'] = ... - CHURN: typing.ClassVar['PipeSection.FlowRegime'] = ... - MIST: typing.ClassVar['PipeSection.FlowRegime'] = ... - SINGLE_PHASE_GAS: typing.ClassVar['PipeSection.FlowRegime'] = ... - SINGLE_PHASE_LIQUID: typing.ClassVar['PipeSection.FlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FlowRegime(java.lang.Enum["PipeSection.FlowRegime"]): + STRATIFIED_SMOOTH: typing.ClassVar["PipeSection.FlowRegime"] = ... + STRATIFIED_WAVY: typing.ClassVar["PipeSection.FlowRegime"] = ... + SLUG: typing.ClassVar["PipeSection.FlowRegime"] = ... + ANNULAR: typing.ClassVar["PipeSection.FlowRegime"] = ... + DISPERSED_BUBBLE: typing.ClassVar["PipeSection.FlowRegime"] = ... + BUBBLE: typing.ClassVar["PipeSection.FlowRegime"] = ... + CHURN: typing.ClassVar["PipeSection.FlowRegime"] = ... + MIST: typing.ClassVar["PipeSection.FlowRegime"] = ... + SINGLE_PHASE_GAS: typing.ClassVar["PipeSection.FlowRegime"] = ... + SINGLE_PHASE_LIQUID: typing.ClassVar["PipeSection.FlowRegime"] = ... + _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: ... + 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]) -> 'PipeSection.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeSection.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['PipeSection.FlowRegime']: ... + def values() -> typing.MutableSequence["PipeSection.FlowRegime"]: ... class SlugTracker(java.io.Serializable): def __init__(self): ... - def advanceSlugs(self, pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray], double: float) -> None: ... - def generateInletSlug(self, pipeSection: PipeSection, double: float) -> 'SlugTracker.SlugUnit': ... + def advanceSlugs( + self, + pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray], + double: float, + ) -> None: ... + def generateInletSlug( + self, pipeSection: PipeSection, double: float + ) -> "SlugTracker.SlugUnit": ... def getAverageSlugLength(self) -> float: ... def getMassConservationError(self) -> float: ... def getMaxSlugLength(self) -> float: ... def getSlugBodyHoldup(self) -> float: ... def getSlugCount(self) -> int: ... def getSlugFrequency(self) -> float: ... - def getSlugs(self) -> java.util.List['SlugTracker.SlugUnit']: ... + def getSlugs(self) -> java.util.List["SlugTracker.SlugUnit"]: ... def getStatisticsString(self) -> java.lang.String: ... def getTotalMassBorrowedFromEulerian(self) -> float: ... def getTotalMassReturnedToEulerian(self) -> float: ... def getTotalSlugsGenerated(self) -> int: ... def getTotalSlugsMerged(self) -> int: ... - def initializeTerrainSlug(self, slugCharacteristics: LiquidAccumulationTracker.SlugCharacteristics, pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray]) -> 'SlugTracker.SlugUnit': ... + def initializeTerrainSlug( + self, + slugCharacteristics: LiquidAccumulationTracker.SlugCharacteristics, + pipeSectionArray: typing.Union[typing.List[PipeSection], jpype.JArray], + ) -> "SlugTracker.SlugUnit": ... def reset(self) -> None: ... def setFilmHoldup(self, double: float) -> None: ... def setMinimumSlugLength(self, double: float) -> None: ... def setReferenceVelocity(self, double: float) -> None: ... def setSlugBodyHoldup(self, double: float) -> None: ... + class SlugUnit(java.io.Serializable): id: int = ... frontPosition: float = ... @@ -418,11 +574,19 @@ class ThermodynamicCoupling(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcMassTransferRate(self, twoFluidSection: 'TwoFluidSection', double: float) -> float: ... - def calcMassTransferRatePerLength(self, twoFluidSection: 'TwoFluidSection', double: float) -> float: ... - def calcMixtureSoundSpeed(self, twoFluidSection: 'TwoFluidSection') -> float: ... - def flashPH(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... - def flashPT(self, double: float, double2: float) -> 'ThermodynamicCoupling.ThermoProperties': ... + def calcMassTransferRate( + self, twoFluidSection: "TwoFluidSection", double: float + ) -> float: ... + def calcMassTransferRatePerLength( + self, twoFluidSection: "TwoFluidSection", double: float + ) -> float: ... + def calcMixtureSoundSpeed(self, twoFluidSection: "TwoFluidSection") -> float: ... + def flashPH( + self, double: float, double2: float + ) -> "ThermodynamicCoupling.ThermoProperties": ... + def flashPT( + self, double: float, double2: float + ) -> "ThermodynamicCoupling.ThermoProperties": ... def getFlashTable(self) -> FlashTable: ... def getFlashTolerance(self) -> float: ... def getMaxFlashIterations(self) -> int: ... @@ -432,10 +596,18 @@ class ThermodynamicCoupling(java.io.Serializable): def setFlashTolerance(self, double: float) -> None: ... def setMaxFlashIterations(self, int: int) -> None: ... def setPressureRange(self, double: float, double2: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTemperatureRange(self, double: float, double2: float) -> None: ... - def updateAllSections(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray]) -> None: ... - def updateSectionProperties(self, twoFluidSection: 'TwoFluidSection') -> None: ... + def updateAllSections( + self, + twoFluidSectionArray: typing.Union[ + typing.List["TwoFluidSection"], jpype.JArray + ], + ) -> None: ... + def updateSectionProperties(self, twoFluidSection: "TwoFluidSection") -> None: ... + class ThermoProperties(java.io.Serializable): gasVaporFraction: float = ... liquidFraction: float = ... @@ -462,15 +634,28 @@ class ThermodynamicCoupling(java.io.Serializable): class ThreeFluidConservationEquations(java.io.Serializable): def __init__(self): ... - def calcRHS(self, threeFluidSection: 'ThreeFluidSection', double: float, threeFluidSection2: 'ThreeFluidSection', threeFluidSection3: 'ThreeFluidSection') -> 'ThreeFluidConservationEquations.ThreeFluidRHS': ... + def calcRHS( + self, + threeFluidSection: "ThreeFluidSection", + double: float, + threeFluidSection2: "ThreeFluidSection", + threeFluidSection3: "ThreeFluidSection", + ) -> "ThreeFluidConservationEquations.ThreeFluidRHS": ... def getHeatTransferCoefficient(self) -> float: ... - def getStateVector(self, threeFluidSection: 'ThreeFluidSection') -> typing.MutableSequence[float]: ... + def getStateVector( + self, threeFluidSection: "ThreeFluidSection" + ) -> typing.MutableSequence[float]: ... def getSurfaceTemperature(self) -> float: ... def isEnableHeatTransfer(self) -> bool: ... def setEnableHeatTransfer(self, boolean: bool) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setStateVector(self, threeFluidSection: 'ThreeFluidSection', doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStateVector( + self, + threeFluidSection: "ThreeFluidSection", + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setSurfaceTemperature(self, double: float) -> None: ... + class ThreeFluidRHS(java.io.Serializable): gasMass: float = ... oilMass: float = ... @@ -486,13 +671,20 @@ class ThreeFluidConservationEquations(java.io.Serializable): oilWaterInterfacialShear: float = ... def __init__(self): ... -class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.pipeline.PipeLineInterface): +class TransientPipe( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.pipeline.PipeLineInterface, +): @typing.overload def __init__(self): ... @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calculateHoopStress(self) -> float: ... def calculateMAOP(self) -> float: ... def calculateMinimumWallThickness(self) -> float: ... @@ -533,7 +725,9 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMassResidual(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... - def getMechanicalDesignCalculator(self) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... + def getMechanicalDesignCalculator( + self, + ) -> jneqsim.process.mechanicaldesign.pipeline.PipeMechanicalDesignCalculator: ... def getName(self) -> java.lang.String: ... def getNumberOfIncrements(self) -> int: ... def getNumberOfLegs(self) -> int: ... @@ -543,12 +737,16 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. @typing.overload def getOutletPressure(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getOutletTemperature(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOverallHeatTransferCoeff(self) -> float: ... def getPipe(self) -> jneqsim.fluidmechanics.flowsystem.FlowSystemInterface: ... def getPipeElasticity(self) -> float: ... @@ -557,7 +755,9 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def getPipeWallConductivity(self) -> float: ... def getPipeWallRoughness(self) -> float: ... def getPressureDrop(self) -> float: ... - def getPressureHistory(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPressureHistory( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getReynoldsNumber(self) -> float: ... def getRoughness(self) -> float: ... @@ -586,7 +786,9 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setAdiabatic(self, boolean: bool) -> None: ... def setAmbientTemperature(self, double: float) -> None: ... - def setAmbientTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAmbientTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setAngle(self, double: float) -> None: ... def setBurialDepth(self, double: float) -> None: ... def setBuried(self, boolean: bool) -> None: ... @@ -600,26 +802,44 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. @typing.overload def setDesignPressure(self, double: float) -> None: ... @typing.overload - def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDiameter(self, double: float) -> None: ... def setElevation(self, double: float) -> None: ... - def setElevationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setElevationProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setHeatTransferCoefficient(self, double: float) -> None: ... - def setHeightProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInclinationProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHeightProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setInclinationProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setIncludeHeatTransfer(self, boolean: bool) -> None: ... - def setInitialFlowPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... + def setInitialFlowPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletBoundaryCondition( + self, boundaryCondition: "TransientPipe.BoundaryCondition" + ) -> None: ... def setInletElevation(self, double: float) -> None: ... def setInletMassFlow(self, double: float) -> None: ... def setInletPressure(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInnerHeatTransferCoefficient(self, double: float) -> None: ... def setInsulationConductivity(self, double: float) -> None: ... def setInsulationThickness(self, double: float) -> None: ... - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLegPositions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setLegPositions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setLength(self, double: float) -> None: ... def setLocationClass(self, int: int) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -630,59 +850,89 @@ class TransientPipe(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process. def setNumberOfNodesInLeg(self, int: int) -> None: ... def setNumberOfSections(self, int: int) -> None: ... @typing.overload - def setOutPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutPressure(self, double: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... def setOuterHeatTransferCoefficient(self, double: float) -> None: ... - def setOuterHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOuterTemperatures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletBoundaryCondition(self, boundaryCondition: 'TransientPipe.BoundaryCondition') -> None: ... + def setOuterHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOuterTemperatures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOutletBoundaryCondition( + self, boundaryCondition: "TransientPipe.BoundaryCondition" + ) -> None: ... def setOutletElevation(self, double: float) -> None: ... def setOutletMassFlow(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOutputFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setOutputFileName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOverallHeatTransferCoeff(self, double: float) -> None: ... - def setPipeDiameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeDiameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPipeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPipeSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipeSpecification(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeSpecification( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPipeWallConductivity(self, double: float) -> None: ... @typing.overload def setPipeWallRoughness(self, double: float) -> None: ... @typing.overload - def setPipeWallRoughness(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPipeWallRoughness( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setRoughness(self, double: float) -> None: ... def setSoilConductivity(self, double: float) -> None: ... def setThermodynamicUpdateInterval(self, int: int) -> None: ... def setUpdateThermodynamics(self, boolean: bool) -> None: ... - def setWallHeatTransferCoefficients(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWallHeatTransferCoefficients( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setWallThickness(self, double: float) -> None: ... def setinletPressureValue(self, double: float) -> None: ... def setoutletPressureValue(self, double: float) -> None: ... - class BoundaryCondition(java.lang.Enum['TransientPipe.BoundaryCondition']): - CONSTANT_PRESSURE: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - CONSTANT_FLOW: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - CONSTANT_VELOCITY: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - CLOSED: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - TRANSIENT_PRESSURE: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - TRANSIENT_FLOW: typing.ClassVar['TransientPipe.BoundaryCondition'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class BoundaryCondition(java.lang.Enum["TransientPipe.BoundaryCondition"]): + CONSTANT_PRESSURE: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + CONSTANT_FLOW: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + CONSTANT_VELOCITY: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + CLOSED: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + TRANSIENT_PRESSURE: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + TRANSIENT_FLOW: typing.ClassVar["TransientPipe.BoundaryCondition"] = ... + _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: ... + 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]) -> 'TransientPipe.BoundaryCondition': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransientPipe.BoundaryCondition": ... @staticmethod - def values() -> typing.MutableSequence['TransientPipe.BoundaryCondition']: ... + def values() -> typing.MutableSequence["TransientPipe.BoundaryCondition"]: ... class TwoFluidConservationEquations(java.io.Serializable): NUM_EQUATIONS: typing.ClassVar[int] = ... @@ -695,20 +945,62 @@ class TwoFluidConservationEquations(java.io.Serializable): IDX_ENERGY: typing.ClassVar[int] = ... IDX_LIQUID_MOMENTUM: typing.ClassVar[int] = ... def __init__(self): ... - def applyPressureGradient(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> None: ... - def applyState(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def calcRHS(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray], double: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def extractState(self, twoFluidSectionArray: typing.Union[typing.List['TwoFluidSection'], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def applyPressureGradient( + self, + twoFluidSectionArray: typing.Union[ + typing.List["TwoFluidSection"], jpype.JArray + ], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double2: float, + ) -> None: ... + def applyState( + self, + twoFluidSectionArray: typing.Union[ + typing.List["TwoFluidSection"], jpype.JArray + ], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def calcRHS( + self, + twoFluidSectionArray: typing.Union[ + typing.List["TwoFluidSection"], jpype.JArray + ], + double: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def extractState( + self, + twoFluidSectionArray: typing.Union[ + typing.List["TwoFluidSection"], jpype.JArray + ], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getFlowRegimeDetector(self) -> FlowRegimeDetector: ... - def getFluxCalculator(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.AUSMPlusFluxCalculator: ... + def getFluxCalculator( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.AUSMPlusFluxCalculator + ): ... def getHeatTransferCoefficient(self) -> float: ... - def getInterfacialFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction: ... + def getInterfacialFriction( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.closure.InterfacialFriction + ): ... def getMassTransferCoefficient(self) -> float: ... - def getReconstructor(self) -> jneqsim.process.equipment.pipeline.twophasepipe.numerics.MUSCLReconstructor: ... + def getReconstructor( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.MUSCLReconstructor + ): ... def getSurfaceTemperature(self) -> float: ... def getTimestep(self) -> float: ... def getVirtualMassCoefficient(self) -> float: ... - def getWallFriction(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... + def getWallFriction( + self, + ) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.WallFriction: ... def isEnableWaterOilSlip(self) -> bool: ... def isHeatTransferEnabled(self) -> bool: ... def isIncludeEnergyEquation(self) -> bool: ... @@ -724,7 +1016,9 @@ class TwoFluidConservationEquations(java.io.Serializable): def setMassTransferCoefficient(self, double: float) -> None: ... def setMassTransferRelaxationTime(self, double: float) -> None: ... def setSurfaceTemperature(self, double: float) -> None: ... - def setThermodynamicCoupling(self, thermodynamicCoupling: ThermodynamicCoupling) -> None: ... + def setThermodynamicCoupling( + self, thermodynamicCoupling: ThermodynamicCoupling + ) -> None: ... def setTimestep(self, double: float) -> None: ... def setVirtualMassCoefficient(self, double: float) -> None: ... @@ -732,13 +1026,15 @@ class TwoFluidSection(PipeSection): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def calcGravityForces(self) -> typing.MutableSequence[float]: ... def calcOilWaterInterfacialShear(self) -> float: ... - def clone(self) -> 'TwoFluidSection': ... + def clone(self) -> "TwoFluidSection": ... def extractPrimitiveVariables(self) -> None: ... @staticmethod - def fromPipeSection(pipeSection: PipeSection) -> 'TwoFluidSection': ... + def fromPipeSection(pipeSection: PipeSection) -> "TwoFluidSection": ... def getAccumulatedLiquidVolume(self) -> float: ... def getEnergyPerLength(self) -> float: ... def getEnergySource(self) -> float: ... @@ -768,10 +1064,22 @@ class TwoFluidSection(PipeSection): def getOilMomentumPerLength(self) -> float: ... def getOilVelocity(self) -> float: ... def getOilViscosity(self) -> float: ... - def getOilWaterDetector(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector: ... - def getOilWaterFlowRegime(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterFlowRegime: ... + def getOilWaterDetector( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector + ): ... + def getOilWaterFlowRegime( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterFlowRegime + ): ... def getOilWaterInterfacialTension(self) -> float: ... - def getOilWaterResult(self) -> jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterResult: ... + def getOilWaterResult( + self, + ) -> ( + jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector.OilWaterResult + ): ... def getSevereSluggingNumber(self) -> float: ... def getStateVector(self) -> typing.MutableSequence[float]: ... def getStratifiedLiquidLevel(self) -> float: ... @@ -816,11 +1124,16 @@ class TwoFluidSection(PipeSection): def setOilMomentumPerLength(self, double: float) -> None: ... def setOilVelocity(self, double: float) -> None: ... def setOilViscosity(self, double: float) -> None: ... - def setOilWaterDetector(self, oilWaterFlowRegimeDetector: jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector) -> None: ... + def setOilWaterDetector( + self, + oilWaterFlowRegimeDetector: jneqsim.process.equipment.pipeline.twophasepipe.closure.OilWaterFlowRegimeDetector, + ) -> None: ... def setOilWaterInterfacialTension(self, double: float) -> None: ... def setSevereSlugPotential(self, boolean: bool) -> None: ... def setSevereSluggingNumber(self, double: float) -> None: ... - def setStateVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setStateVector( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setStratifiedLiquidLevel(self, double: float) -> None: ... def setTerrainSlugPending(self, boolean: bool) -> None: ... def setTimeSinceTerrainSlug(self, double: float) -> None: ... @@ -843,8 +1156,10 @@ class ThreeFluidSection(TwoFluidSection): @typing.overload def __init__(self, double: float, double2: float, double3: float): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... - def clone(self) -> 'ThreeFluidSection': ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... + def clone(self) -> "ThreeFluidSection": ... def extractPrimitiveVariables(self) -> None: ... def getGasOilInterfacialWidth(self) -> float: ... def getGasOilSurfaceTension(self) -> float: ... @@ -902,7 +1217,6 @@ class ThreeFluidSection(TwoFluidSection): def updateConservativeVariables(self) -> None: ... def updateThreeLayerGeometry(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe")``. @@ -921,6 +1235,12 @@ class __module_protocol__(Protocol): TwoFluidConservationEquations: typing.Type[TwoFluidConservationEquations] TwoFluidSection: typing.Type[TwoFluidSection] closure: jneqsim.process.equipment.pipeline.twophasepipe.closure.__module_protocol__ - numerics: jneqsim.process.equipment.pipeline.twophasepipe.numerics.__module_protocol__ - reporting: jneqsim.process.equipment.pipeline.twophasepipe.reporting.__module_protocol__ - validation: jneqsim.process.equipment.pipeline.twophasepipe.validation.__module_protocol__ + numerics: ( + jneqsim.process.equipment.pipeline.twophasepipe.numerics.__module_protocol__ + ) + reporting: ( + jneqsim.process.equipment.pipeline.twophasepipe.reporting.__module_protocol__ + ) + validation: ( + jneqsim.process.equipment.pipeline.twophasepipe.validation.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi index eb6fe1ae..ba3ce1ff 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/closure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,28 @@ import java.lang import jneqsim.process.equipment.pipeline.twophasepipe import typing - - class GeometryCalculator(java.io.Serializable): def __init__(self): ... def approximateLiquidLevel(self, double: float, double2: float) -> float: ... def calcAnnularFilmThickness(self, double: float, double2: float) -> float: ... def calcAnnularGasPerimeter(self, double: float, double2: float) -> float: ... def calcAreaDerivative(self, double: float, double2: float) -> float: ... - def calculateFromHoldup(self, double: float, double2: float) -> 'GeometryCalculator.StratifiedGeometry': ... - def calculateFromLiquidLevel(self, double: float, double2: float) -> 'GeometryCalculator.StratifiedGeometry': ... - def isStratifiedStable(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> bool: ... + def calculateFromHoldup( + self, double: float, double2: float + ) -> "GeometryCalculator.StratifiedGeometry": ... + def calculateFromLiquidLevel( + self, double: float, double2: float + ) -> "GeometryCalculator.StratifiedGeometry": ... + def isStratifiedStable( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> bool: ... + class StratifiedGeometry(java.io.Serializable): liquidArea: float = ... gasArea: float = ... @@ -36,10 +47,55 @@ class GeometryCalculator(java.io.Serializable): class InterfacialFriction(java.io.Serializable): def __init__(self): ... - def calcAndreussiPersenCorrelation(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... - def calcHartCorrelation(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... - def calcInterfacialForce(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... - def calculate(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'InterfacialFriction.InterfacialFrictionResult': ... + def calcAndreussiPersenCorrelation( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> "InterfacialFriction.InterfacialFrictionResult": ... + def calcHartCorrelation( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> "InterfacialFriction.InterfacialFrictionResult": ... + def calcInterfacialForce( + self, + flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> float: ... + def calculate( + self, + flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> "InterfacialFriction.InterfacialFrictionResult": ... + class InterfacialFrictionResult(java.io.Serializable): interfacialShear: float = ... frictionFactor: float = ... @@ -49,35 +105,97 @@ class InterfacialFriction(java.io.Serializable): class OilWaterFlowRegimeDetector(java.io.Serializable): def __init__(self): ... - def calcCriticalDispersionVelocity(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - def calcEffectiveViscosity(self, double: float, double2: float, double3: float, boolean: bool) -> float: ... - def calcInversionWaterFraction(self, double: float, double2: float, double3: float) -> float: ... - def calcMaxDropletDiameter(self, double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - def detect(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'OilWaterFlowRegimeDetector.OilWaterResult': ... + def calcCriticalDispersionVelocity( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + def calcEffectiveViscosity( + self, double: float, double2: float, double3: float, boolean: bool + ) -> float: ... + def calcInversionWaterFraction( + self, double: float, double2: float, double3: float + ) -> float: ... + def calcMaxDropletDiameter( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> float: ... + def detect( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> "OilWaterFlowRegimeDetector.OilWaterResult": ... def getCriticalWeber(self) -> float: ... def getInversionConstant(self) -> float: ... - def isWaterDropoutLikely(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> bool: ... + def isWaterDropoutLikely( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> bool: ... def setCriticalWeber(self, double: float) -> None: ... def setInversionConstant(self, double: float) -> None: ... - class OilWaterFlowRegime(java.lang.Enum['OilWaterFlowRegimeDetector.OilWaterFlowRegime']): - STRATIFIED: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - STRATIFIED_WITH_MIXING: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - DISPERSED_OIL_IN_WATER: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - DISPERSED_WATER_IN_OIL: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - DUAL_DISPERSION: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - ANNULAR: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - SINGLE_PHASE: typing.ClassVar['OilWaterFlowRegimeDetector.OilWaterFlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class OilWaterFlowRegime( + java.lang.Enum["OilWaterFlowRegimeDetector.OilWaterFlowRegime"] + ): + STRATIFIED: typing.ClassVar["OilWaterFlowRegimeDetector.OilWaterFlowRegime"] = ( + ... + ) + STRATIFIED_WITH_MIXING: typing.ClassVar[ + "OilWaterFlowRegimeDetector.OilWaterFlowRegime" + ] = ... + DISPERSED_OIL_IN_WATER: typing.ClassVar[ + "OilWaterFlowRegimeDetector.OilWaterFlowRegime" + ] = ... + DISPERSED_WATER_IN_OIL: typing.ClassVar[ + "OilWaterFlowRegimeDetector.OilWaterFlowRegime" + ] = ... + DUAL_DISPERSION: typing.ClassVar[ + "OilWaterFlowRegimeDetector.OilWaterFlowRegime" + ] = ... + ANNULAR: typing.ClassVar["OilWaterFlowRegimeDetector.OilWaterFlowRegime"] = ... + SINGLE_PHASE: typing.ClassVar[ + "OilWaterFlowRegimeDetector.OilWaterFlowRegime" + ] = ... + _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: ... + 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]) -> 'OilWaterFlowRegimeDetector.OilWaterFlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OilWaterFlowRegimeDetector.OilWaterFlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['OilWaterFlowRegimeDetector.OilWaterFlowRegime']: ... + def values() -> ( + typing.MutableSequence["OilWaterFlowRegimeDetector.OilWaterFlowRegime"] + ): ... + class OilWaterResult: - regime: 'OilWaterFlowRegimeDetector.OilWaterFlowRegime' = ... + regime: "OilWaterFlowRegimeDetector.OilWaterFlowRegime" = ... waterWetting: bool = ... effectiveViscosity: float = ... inversionWaterFraction: float = ... @@ -85,15 +203,42 @@ class OilWaterFlowRegimeDetector(java.io.Serializable): maxDropletDiameter: float = ... oilContinuous: bool = ... waterDropoutRisk: bool = ... - def __init__(self, oilWaterFlowRegime: 'OilWaterFlowRegimeDetector.OilWaterFlowRegime', boolean: bool, double: float, double2: float, double3: float, double4: float, boolean2: bool, boolean3: bool): ... + def __init__( + self, + oilWaterFlowRegime: "OilWaterFlowRegimeDetector.OilWaterFlowRegime", + boolean: bool, + double: float, + double2: float, + double3: float, + double4: float, + boolean2: bool, + boolean3: bool, + ): ... class WallFriction(java.io.Serializable): def __init__(self): ... - def calcColebrookFanning(self, double: float, double2: float, double3: float) -> float: ... - def calcFanningFrictionFactor(self, double: float, double2: float, double3: float) -> float: ... - def calculate(self, flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> 'WallFriction.WallFrictionResult': ... + def calcColebrookFanning( + self, double: float, double2: float, double3: float + ) -> float: ... + def calcFanningFrictionFactor( + self, double: float, double2: float, double3: float + ) -> float: ... + def calculate( + self, + flowRegime: jneqsim.process.equipment.pipeline.twophasepipe.PipeSection.FlowRegime, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> "WallFriction.WallFrictionResult": ... def getDefaultRoughness(self) -> float: ... def setDefaultRoughness(self, double: float) -> None: ... + class WallFrictionResult(java.io.Serializable): gasWallShear: float = ... liquidWallShear: float = ... @@ -103,7 +248,6 @@ class WallFriction(java.io.Serializable): liquidReynolds: float = ... def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.closure")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi index 265f5990..aad21d24 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/numerics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,30 +10,52 @@ import java.lang import jpype import typing - - class AUSMPlusFluxCalculator(java.io.Serializable): def __init__(self): ... def calcMachMinus(self, double: float) -> float: ... def calcMachPlus(self, double: float) -> float: ... - def calcPhaseFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... + def calcPhaseFlux( + self, + phaseState: "AUSMPlusFluxCalculator.PhaseState", + phaseState2: "AUSMPlusFluxCalculator.PhaseState", + double: float, + ) -> "AUSMPlusFluxCalculator.PhaseFlux": ... def calcPressureMinus(self, double: float) -> float: ... def calcPressurePlus(self, double: float) -> float: ... - def calcRusanovFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... - def calcTwoFluidFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', phaseState3: 'AUSMPlusFluxCalculator.PhaseState', phaseState4: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.TwoFluidFlux': ... - def calcUpwindFlux(self, phaseState: 'AUSMPlusFluxCalculator.PhaseState', phaseState2: 'AUSMPlusFluxCalculator.PhaseState', double: float) -> 'AUSMPlusFluxCalculator.PhaseFlux': ... + def calcRusanovFlux( + self, + phaseState: "AUSMPlusFluxCalculator.PhaseState", + phaseState2: "AUSMPlusFluxCalculator.PhaseState", + double: float, + ) -> "AUSMPlusFluxCalculator.PhaseFlux": ... + def calcTwoFluidFlux( + self, + phaseState: "AUSMPlusFluxCalculator.PhaseState", + phaseState2: "AUSMPlusFluxCalculator.PhaseState", + phaseState3: "AUSMPlusFluxCalculator.PhaseState", + phaseState4: "AUSMPlusFluxCalculator.PhaseState", + double: float, + ) -> "AUSMPlusFluxCalculator.TwoFluidFlux": ... + def calcUpwindFlux( + self, + phaseState: "AUSMPlusFluxCalculator.PhaseState", + phaseState2: "AUSMPlusFluxCalculator.PhaseState", + double: float, + ) -> "AUSMPlusFluxCalculator.PhaseFlux": ... def getAlpha(self) -> float: ... def getBeta(self) -> float: ... def getMinSoundSpeed(self) -> float: ... def setAlpha(self, double: float) -> None: ... def setBeta(self, double: float) -> None: ... def setMinSoundSpeed(self, double: float) -> None: ... + class PhaseFlux(java.io.Serializable): massFlux: float = ... momentumFlux: float = ... energyFlux: float = ... holdupFlux: float = ... def __init__(self): ... + class PhaseState(java.io.Serializable): density: float = ... velocity: float = ... @@ -44,105 +66,214 @@ class AUSMPlusFluxCalculator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... + class TwoFluidFlux(java.io.Serializable): - gasFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... - liquidFlux: 'AUSMPlusFluxCalculator.PhaseFlux' = ... + gasFlux: "AUSMPlusFluxCalculator.PhaseFlux" = ... + liquidFlux: "AUSMPlusFluxCalculator.PhaseFlux" = ... interfaceMach: float = ... def __init__(self): ... class ConservativeStateLimiter: @staticmethod - def enforceThreePhaseMassPositivity(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def enforceThreePhaseMassPositivity( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class MUSCLReconstructor(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, slopeLimiter: 'MUSCLReconstructor.SlopeLimiter'): ... + def __init__(self, slopeLimiter: "MUSCLReconstructor.SlopeLimiter"): ... def calcLimitedSlope(self, double: float, double2: float) -> float: ... def calcLimiter(self, double: float) -> float: ... - def getLimiterType(self) -> 'MUSCLReconstructor.SlopeLimiter': ... + def getLimiterType(self) -> "MUSCLReconstructor.SlopeLimiter": ... def isSecondOrder(self) -> bool: ... def mc(self, double: float) -> float: ... def minmod(self, double: float) -> float: ... def minmod3(self, double: float, double2: float, double3: float) -> float: ... - def reconstruct(self, double: float, double2: float, double3: float, double4: float) -> 'MUSCLReconstructor.ReconstructedPair': ... - def reconstructArray(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence['MUSCLReconstructor.ReconstructedPair']: ... - def setLimiterType(self, slopeLimiter: 'MUSCLReconstructor.SlopeLimiter') -> None: ... + def reconstruct( + self, double: float, double2: float, double3: float, double4: float + ) -> "MUSCLReconstructor.ReconstructedPair": ... + def reconstructArray( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence["MUSCLReconstructor.ReconstructedPair"]: ... + def setLimiterType( + self, slopeLimiter: "MUSCLReconstructor.SlopeLimiter" + ) -> None: ... def superbee(self, double: float) -> float: ... def vanAlbada(self, double: float) -> float: ... def vanLeer(self, double: float) -> float: ... + class ReconstructedPair(java.io.Serializable): left: float = ... right: float = ... def __init__(self): ... - class SlopeLimiter(java.lang.Enum['MUSCLReconstructor.SlopeLimiter']): - MINMOD: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - VAN_LEER: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - VAN_ALBADA: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - SUPERBEE: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - MC: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - NONE: typing.ClassVar['MUSCLReconstructor.SlopeLimiter'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SlopeLimiter(java.lang.Enum["MUSCLReconstructor.SlopeLimiter"]): + MINMOD: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + VAN_LEER: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + VAN_ALBADA: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + SUPERBEE: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + MC: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + NONE: typing.ClassVar["MUSCLReconstructor.SlopeLimiter"] = ... + _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: ... + 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]) -> 'MUSCLReconstructor.SlopeLimiter': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MUSCLReconstructor.SlopeLimiter": ... @staticmethod - def values() -> typing.MutableSequence['MUSCLReconstructor.SlopeLimiter']: ... + def values() -> typing.MutableSequence["MUSCLReconstructor.SlopeLimiter"]: ... class TimeIntegrator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, method: 'TimeIntegrator.Method'): ... + def __init__(self, method: "TimeIntegrator.Method"): ... def advanceTime(self, double: float) -> None: ... - def calcIMEXTimeStep(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... + def calcIMEXTimeStep( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ) -> float: ... def calcStableTimeStep(self, double: float, double2: float) -> float: ... - def calcTwoFluidTimeStep(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], double5: float) -> float: ... + def calcTwoFluidTimeStep( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + double5: float, + ) -> float: ... def getCflNumber(self) -> float: ... def getCurrentDt(self) -> float: ... def getCurrentTime(self) -> float: ... def getMaxTimeStep(self) -> float: ... - def getMethod(self) -> 'TimeIntegrator.Method': ... + def getMethod(self) -> "TimeIntegrator.Method": ... def getMinTimeStep(self) -> float: ... def reset(self) -> None: ... def setCflNumber(self, double: float) -> None: ... def setCurrentTime(self, double: float) -> None: ... @typing.overload - def setIMEXProperties(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, boolean: bool) -> None: ... + def setIMEXProperties( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + double4: float, + boolean: bool, + ) -> None: ... @typing.overload - def setIMEXProperties(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray], double7: float, double8: float, boolean: bool) -> None: ... + def setIMEXProperties( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + doubleArray6: typing.Union[typing.List[float], jpype.JArray], + double7: float, + double8: float, + boolean: bool, + ) -> None: ... def setMaxTimeStep(self, double: float) -> None: ... - def setMethod(self, method: 'TimeIntegrator.Method') -> None: ... + def setMethod(self, method: "TimeIntegrator.Method") -> None: ... def setMinTimeStep(self, double: float) -> None: ... - def step(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def stepEuler(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def stepIMEXPressureCorrection(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def stepRK2(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def stepRK4(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def stepSSPRK3(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], rHSFunction: typing.Union['TimeIntegrator.RHSFunction', typing.Callable], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - class Method(java.lang.Enum['TimeIntegrator.Method']): - EULER: typing.ClassVar['TimeIntegrator.Method'] = ... - RK2: typing.ClassVar['TimeIntegrator.Method'] = ... - RK4: typing.ClassVar['TimeIntegrator.Method'] = ... - SSP_RK3: typing.ClassVar['TimeIntegrator.Method'] = ... - IMEX_PRESSURE_CORRECTION: typing.ClassVar['TimeIntegrator.Method'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def step( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepEuler( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepIMEXPressureCorrection( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepRK2( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepRK4( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def stepSSPRK3( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + rHSFunction: typing.Union["TimeIntegrator.RHSFunction", typing.Callable], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + + class Method(java.lang.Enum["TimeIntegrator.Method"]): + EULER: typing.ClassVar["TimeIntegrator.Method"] = ... + RK2: typing.ClassVar["TimeIntegrator.Method"] = ... + RK4: typing.ClassVar["TimeIntegrator.Method"] = ... + SSP_RK3: typing.ClassVar["TimeIntegrator.Method"] = ... + IMEX_PRESSURE_CORRECTION: typing.ClassVar["TimeIntegrator.Method"] = ... + _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: ... + 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]) -> 'TimeIntegrator.Method': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TimeIntegrator.Method": ... @staticmethod - def values() -> typing.MutableSequence['TimeIntegrator.Method']: ... - class RHSFunction: - def evaluate(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def values() -> typing.MutableSequence["TimeIntegrator.Method"]: ... + class RHSFunction: + def evaluate( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.numerics")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi index f51e6431..241f069a 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/reporting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,41 +13,71 @@ import jneqsim.process.equipment.pipeline import jneqsim.process.equipment.pipeline.twophasepipe.validation import typing - - class TwoFluidPipeReport: @staticmethod - def capture(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> 'TwoFluidPipeReport.ProfileSnapshot': ... + def capture( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> "TwoFluidPipeReport.ProfileSnapshot": ... @staticmethod - def newSnapshotList() -> java.util.List['TwoFluidPipeReport.ProfileSnapshot']: ... + def newSnapshotList() -> java.util.List["TwoFluidPipeReport.ProfileSnapshot"]: ... @staticmethod - def toComparisonCsv(comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison) -> java.lang.String: ... + def toComparisonCsv( + comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison, + ) -> java.lang.String: ... @staticmethod - def toSlugAndFlowAssuranceCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + def toSlugAndFlowAssuranceCsv( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> java.lang.String: ... @staticmethod - def toSteadyStateProfileCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + def toSteadyStateProfileCsv( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> java.lang.String: ... @staticmethod - def toSummaryJson(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + def toSummaryJson( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> java.lang.String: ... @staticmethod - def toSummaryText(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> java.lang.String: ... + def toSummaryText( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> java.lang.String: ... @staticmethod - def toTransientProfileCsv(list: java.util.List['TwoFluidPipeReport.ProfileSnapshot']) -> java.lang.String: ... + def toTransientProfileCsv( + list: java.util.List["TwoFluidPipeReport.ProfileSnapshot"], + ) -> java.lang.String: ... @staticmethod - def writeComparisonCsv(comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeComparisonCsv( + comparison: jneqsim.process.equipment.pipeline.twophasepipe.validation.TwoFluidBenchmarkHarness.Comparison, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def writeSlugAndFlowAssuranceCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeSlugAndFlowAssuranceCsv( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def writeSteadyStateProfileCsv(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeSteadyStateProfileCsv( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def writeSummaryJson(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeSummaryJson( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def writeSummaryText(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeSummaryText( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def writeTransientProfileCsv(list: java.util.List['TwoFluidPipeReport.ProfileSnapshot'], path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def writeTransientProfileCsv( + list: java.util.List["TwoFluidPipeReport.ProfileSnapshot"], + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... + class ProfileSnapshot: def getTimeSeconds(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.reporting")``. diff --git a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/validation/__init__.pyi b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/validation/__init__.pyi index 1c3f27e4..612667d7 100644 --- a/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/validation/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pipeline/twophasepipe/validation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,40 @@ import jpype.protocol import jneqsim.process.equipment.pipeline import typing - - class TwoFluidBenchmarkHarness: @staticmethod - def capture(twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe) -> 'TwoFluidBenchmarkHarness.Snapshot': ... + def capture( + twoFluidPipe: jneqsim.process.equipment.pipeline.TwoFluidPipe, + ) -> "TwoFluidBenchmarkHarness.Snapshot": ... @typing.overload @staticmethod - def compare(list: java.util.List['TwoFluidBenchmarkHarness.Snapshot'], list2: java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']) -> 'TwoFluidBenchmarkHarness.Comparison': ... + def compare( + list: java.util.List["TwoFluidBenchmarkHarness.Snapshot"], + list2: java.util.List["TwoFluidBenchmarkHarness.BenchmarkPoint"], + ) -> "TwoFluidBenchmarkHarness.Comparison": ... @typing.overload @staticmethod - def compare(snapshot: 'TwoFluidBenchmarkHarness.Snapshot', list: java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']) -> 'TwoFluidBenchmarkHarness.Comparison': ... + def compare( + snapshot: "TwoFluidBenchmarkHarness.Snapshot", + list: java.util.List["TwoFluidBenchmarkHarness.BenchmarkPoint"], + ) -> "TwoFluidBenchmarkHarness.Comparison": ... @staticmethod - def readCsv(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List['TwoFluidBenchmarkHarness.BenchmarkPoint']: ... + def readCsv( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> java.util.List["TwoFluidBenchmarkHarness.BenchmarkPoint"]: ... + class BenchmarkPoint: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + double3: float, + double4: float, + double5: float, + string3: typing.Union[java.lang.String, str], + ): ... def getAbsoluteTolerance(self) -> float: ... def getCaseName(self) -> java.lang.String: ... def getPositionMeters(self) -> float: ... @@ -36,24 +55,44 @@ class TwoFluidBenchmarkHarness: def getTimeSeconds(self) -> float: ... def getValue(self) -> float: ... def getVariable(self) -> java.lang.String: ... + class Comparison: def failureSummary(self) -> java.lang.String: ... def getFailureCount(self) -> int: ... def getMaximumRelativeError(self) -> float: ... - def getRows(self) -> java.util.List['TwoFluidBenchmarkHarness.ComparisonRow']: ... + def getRows( + self, + ) -> java.util.List["TwoFluidBenchmarkHarness.ComparisonRow"]: ... def isPassed(self) -> bool: ... + class ComparisonRow: def getAbsoluteError(self) -> float: ... def getModelValue(self) -> float: ... - def getReference(self) -> 'TwoFluidBenchmarkHarness.BenchmarkPoint': ... + def getReference(self) -> "TwoFluidBenchmarkHarness.BenchmarkPoint": ... def getRelativeError(self) -> float: ... def isPassed(self) -> bool: ... + class Snapshot: - def __init__(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]]): ... + def __init__( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ): ... def getAvailableVariables(self) -> java.util.Set[java.lang.String]: ... def getTimeSeconds(self) -> float: ... - def valueAt(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - + def valueAt( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pipeline.twophasepipe.validation")``. diff --git a/src/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi b/src/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi index 6ff626d6..725fba30 100644 --- a/src/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/powergeneration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,23 +20,41 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - -class CombinedCycleSystem(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class CombinedCycleSystem( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def autoSize(self, double: float) -> 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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getFuelEnergyInput(self) -> float: ... @@ -46,7 +64,9 @@ class CombinedCycleSystem(jneqsim.process.equipment.TwoPortEquipment, jneqsim.pr @typing.overload def getRatedTotalPower(self) -> float: ... @typing.overload - def getRatedTotalPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRatedTotalPower( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSizingReport(self) -> java.lang.String: ... def getSteamTurbinePower(self) -> float: ... @typing.overload @@ -56,7 +76,9 @@ class CombinedCycleSystem(jneqsim.process.equipment.TwoPortEquipment, jneqsim.pr def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -68,16 +90,22 @@ class CombinedCycleSystem(jneqsim.process.equipment.TwoPortEquipment, jneqsim.pr @typing.overload def setRatedTotalPower(self, double: float) -> None: ... @typing.overload - def setRatedTotalPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedTotalPower( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSteamCondensorPressure(self, double: float) -> None: ... def setSteamPressure(self, double: float) -> None: ... @typing.overload def setSteamTemperature(self, double: float) -> None: ... @typing.overload - def setSteamTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSteamTurbineEfficiency(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -87,10 +115,17 @@ class FuelCell(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getEfficiency(self) -> float: ... def getHeatLoss(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOxidantStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getPower(self) -> float: ... @typing.overload @@ -98,9 +133,15 @@ class FuelCell(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setEfficiency(self, double: float) -> None: ... - def setOxidantStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOxidantStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... -class GasTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class GasTurbine( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): thermoSystem: jneqsim.thermo.system.SystemInterface = ... airStream: jneqsim.process.equipment.stream.StreamInterface = ... airCompressor: jneqsim.process.equipment.compressor.Compressor = ... @@ -111,24 +152,42 @@ class GasTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equ @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... def calcIdealAirFuelRatio(self) -> float: ... 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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getExcessAirFactor(self) -> float: ... def getHeat(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.compressor.CompressorMechanicalDesign: ... @typing.overload def getPower(self) -> float: ... @typing.overload @@ -141,54 +200,88 @@ class GasTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equ def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> 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 setExcessAirFactor(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setRatedPower(self, double: float) -> None: ... @typing.overload - def setRatedPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedPower( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... -class HRSG(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class HRSG( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def autoSize(self, double: float) -> 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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... @typing.overload def getDesignHeatDuty(self) -> float: ... @typing.overload - def getDesignHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDesignHeatDuty( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getGasOutletTemperature(self) -> float: ... @typing.overload def getHeatTransferred(self) -> float: ... @typing.overload - def getHeatTransferred(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHeatTransferred( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMaxUtilization(self) -> float: ... def getSizingReport(self) -> java.lang.String: ... @typing.overload def getSteamFlowRate(self) -> float: ... @typing.overload - def getSteamFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSteamFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -197,17 +290,23 @@ class HRSG(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment @typing.overload def setDesignHeatDuty(self, double: float) -> None: ... @typing.overload - def setDesignHeatDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignHeatDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEffectiveness(self, double: float) -> None: ... @typing.overload def setFeedWaterTemperature(self, double: float) -> None: ... @typing.overload - def setFeedWaterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFeedWaterTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSteamPressure(self, double: float) -> None: ... @typing.overload def setSteamTemperature(self, double: float) -> None: ... @typing.overload - def setSteamTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSteamTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class OffshoreEnergySystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -220,7 +319,9 @@ class OffshoreEnergySystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getBatteryStorage(self) -> jneqsim.process.equipment.battery.BatteryStorage: ... def getCO2Avoided(self) -> float: ... def getCO2Emissions(self) -> float: ... - def getDispatchHistory(self) -> java.util.List[java.util.Map[java.lang.String, float]]: ... + def getDispatchHistory( + self, + ) -> java.util.List[java.util.Map[java.lang.String, float]]: ... def getFuelConsumption(self) -> float: ... def getGasTurbineCapacity(self) -> float: ... def getGasTurbinePowerDelivered(self) -> float: ... @@ -228,7 +329,7 @@ class OffshoreEnergySystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getSolarPowerDelivered(self) -> float: ... def getTotalPowerDelivered(self) -> float: ... def getTotalPowerDemand(self) -> float: ... - def getWindFarm(self) -> 'WindFarm': ... + def getWindFarm(self) -> "WindFarm": ... def getWindPowerCurtailed(self) -> float: ... def getWindPowerDelivered(self) -> float: ... def getWindPowerFraction(self) -> float: ... @@ -236,16 +337,20 @@ class OffshoreEnergySystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def runHourlyDispatch(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBatteryStorage(self, batteryStorage: jneqsim.process.equipment.battery.BatteryStorage) -> None: ... + def runHourlyDispatch( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBatteryStorage( + self, batteryStorage: jneqsim.process.equipment.battery.BatteryStorage + ) -> None: ... def setCO2EmissionFactor(self, double: float) -> None: ... def setGasTurbineCapacity(self, double: float) -> None: ... def setGasTurbineEfficiency(self, double: float) -> None: ... def setGasTurbineMinLoad(self, double: float) -> None: ... - def setSolarPanel(self, solarPanel: 'SolarPanel') -> None: ... + def setSolarPanel(self, solarPanel: "SolarPanel") -> None: ... def setTimeStepHours(self, double: float) -> None: ... def setTotalPowerDemand(self, double: float) -> None: ... - def setWindFarm(self, windFarm: 'WindFarm') -> None: ... + def setWindFarm(self, windFarm: "WindFarm") -> None: ... class SolarPanel(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -253,7 +358,13 @@ class SolarPanel(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], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getPower(self) -> float: ... @typing.overload def run(self) -> None: ... @@ -263,21 +374,41 @@ class SolarPanel(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setIrradiance(self, double: float) -> None: ... def setPanelArea(self, double: float) -> None: ... -class SteamTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class SteamTurbine( + jneqsim.process.equipment.TwoPortEquipment, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def autoSize(self, double: float) -> 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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getIsentropicEfficiency(self) -> float: ... @@ -295,7 +426,9 @@ class SteamTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.e def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -305,11 +438,15 @@ class SteamTurbine(jneqsim.process.equipment.TwoPortEquipment, jneqsim.process.e @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setRatedPower(self, double: float) -> None: ... @typing.overload - def setRatedPower(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedPower( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class WindFarm(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -364,7 +501,9 @@ class WindFarm(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setWeibullScale(self, double: float) -> None: ... def setWeibullShape(self, double: float) -> None: ... def setWindSpeed(self, double: float) -> None: ... - def setWindSpeedTimeSeries(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWindSpeedTimeSeries( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class WindTurbine(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -385,7 +524,6 @@ class WindTurbine(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setRotorArea(self, double: float) -> None: ... def setWindSpeed(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.powergeneration")``. diff --git a/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi b/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi index b465ee75..80301e52 100644 --- a/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/powergeneration/gasturbine/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,30 +15,32 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class CO2TaxSchedule(java.io.Serializable): def __init__(self, navigableMap: java.util.NavigableMap[int, float]): ... def asMap(self) -> java.util.NavigableMap[int, float]: ... def getTotalNOKPerTonne(self, int: int) -> float: ... @staticmethod - def loadDefault() -> 'CO2TaxSchedule': ... + def loadDefault() -> "CO2TaxSchedule": ... @staticmethod - def loadFromResource(string: typing.Union[java.lang.String, str]) -> 'CO2TaxSchedule': ... + def loadFromResource( + string: typing.Union[java.lang.String, str] + ) -> "CO2TaxSchedule": ... class GasTurbineCatalog(java.io.Serializable): @staticmethod - def all() -> java.util.Map[java.lang.String, 'GasTurbineSpec']: ... + def all() -> java.util.Map[java.lang.String, "GasTurbineSpec"]: ... @typing.overload @staticmethod - def findBestFit(double: float, double2: float) -> 'GasTurbineSpec': ... + def findBestFit(double: float, double2: float) -> "GasTurbineSpec": ... @typing.overload @staticmethod - def findBestFit(double: float, double2: float, boolean: bool) -> 'GasTurbineSpec': ... + def findBestFit( + double: float, double2: float, boolean: bool + ) -> "GasTurbineSpec": ... @staticmethod - def get(string: typing.Union[java.lang.String, str]) -> 'GasTurbineSpec': ... + def get(string: typing.Union[java.lang.String, str]) -> "GasTurbineSpec": ... @staticmethod - def sortedByPower() -> java.util.List['GasTurbineSpec']: ... + def sortedByPower() -> java.util.List["GasTurbineSpec"]: ... class GasTurbineDegradation(java.io.Serializable): def __init__(self): ... @@ -61,9 +63,15 @@ class GasTurbineEmissions(java.io.Serializable): MW_NO2: typing.ClassVar[float] = ... MW_CH4: typing.ClassVar[float] = ... def __init__(self): ... - def computeCO2KgPerS(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... - def computeMethaneSlipKgPerS(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... - def computeNOxKgPerS(self, double: float, double2: float, double3: float) -> float: ... + def computeCO2KgPerS( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> float: ... + def computeMethaneSlipKgPerS( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> float: ... + def computeNOxKgPerS( + self, double: float, double2: float, double3: float + ) -> float: ... def getMethaneSlipFraction(self) -> float: ... def setMethaneSlipFraction(self, double: float) -> None: ... @@ -72,21 +80,36 @@ class GasTurbinePerformanceMap(java.io.Serializable): P_ISO_BARA: typing.ClassVar[float] = ... def __init__(self): ... @staticmethod - def forIndustrial() -> 'GasTurbinePerformanceMap': ... + def forIndustrial() -> "GasTurbinePerformanceMap": ... @staticmethod - def fromSpec(gasTurbineSpec: 'GasTurbineSpec') -> 'GasTurbinePerformanceMap': ... - def getAvailablePower(self, double: float, double2: float, double3: float) -> float: ... + def fromSpec(gasTurbineSpec: "GasTurbineSpec") -> "GasTurbinePerformanceMap": ... + def getAvailablePower( + self, double: float, double2: float, double3: float + ) -> float: ... def getEfficiency(self, double: float, double2: float, double3: float) -> float: ... def getExhaustFlow(self, double: float, double2: float) -> float: ... def getExhaustTemperature(self, double: float, double2: float) -> float: ... def getHeatRate(self, double: float, double2: float, double3: float) -> float: ... def getMinLoadFraction(self) -> float: ... def setAmbientCorrection(self, double: float, double2: float) -> None: ... - def setHeatRatePolynomial(self, double: float, double2: float, double3: float) -> None: ... + def setHeatRatePolynomial( + self, double: float, double2: float, double3: float + ) -> None: ... def setMinLoadFraction(self, double: float) -> None: ... class GasTurbineSpec(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], turbineType: 'GasTurbineSpec.TurbineType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + turbineType: "GasTurbineSpec.TurbineType", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + string2: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... def getExhaustFlowKgPerS(self) -> float: ... def getExhaustTemperatureK(self) -> float: ... @@ -97,30 +120,43 @@ class GasTurbineSpec(java.io.Serializable): def getNoxPpmDLE(self) -> float: ... def getRatedPowerMW(self) -> float: ... def getRatedPowerW(self) -> float: ... - def getType(self) -> 'GasTurbineSpec.TurbineType': ... + def getType(self) -> "GasTurbineSpec.TurbineType": ... def toString(self) -> java.lang.String: ... - class TurbineType(java.lang.Enum['GasTurbineSpec.TurbineType']): - AERODERIVATIVE: typing.ClassVar['GasTurbineSpec.TurbineType'] = ... - INDUSTRIAL: typing.ClassVar['GasTurbineSpec.TurbineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class TurbineType(java.lang.Enum["GasTurbineSpec.TurbineType"]): + AERODERIVATIVE: typing.ClassVar["GasTurbineSpec.TurbineType"] = ... + INDUSTRIAL: typing.ClassVar["GasTurbineSpec.TurbineType"] = ... + _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: ... + 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]) -> 'GasTurbineSpec.TurbineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasTurbineSpec.TurbineType": ... @staticmethod - def values() -> typing.MutableSequence['GasTurbineSpec.TurbineType']: ... + def values() -> typing.MutableSequence["GasTurbineSpec.TurbineType"]: ... class GasTurbineUnit(jneqsim.process.equipment.TwoPortEquipment): @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, gasTurbineSpec: GasTurbineSpec): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + gasTurbineSpec: GasTurbineSpec, + ): ... @typing.overload - def addPowerConsumer(self, compressor: jneqsim.process.equipment.compressor.Compressor) -> None: ... + def addPowerConsumer( + self, compressor: jneqsim.process.equipment.compressor.Compressor + ) -> None: ... @typing.overload - def addPowerConsumer(self, powerDemandConsumer: 'PowerDemandConsumer') -> None: ... + def addPowerConsumer(self, powerDemandConsumer: "PowerDemandConsumer") -> None: ... def clearDemandedPowerOverride(self) -> None: ... def clearPowerConsumers(self) -> None: ... def getAvailablePowerW(self) -> float: ... @@ -140,7 +176,7 @@ class GasTurbineUnit(jneqsim.process.equipment.TwoPortEquipment): def getNOxEmissionKgPerS(self) -> float: ... def getPerformanceMap(self) -> GasTurbinePerformanceMap: ... def getPowerAllocationW(self) -> java.util.Map[java.lang.String, float]: ... - def getPowerConsumers(self) -> java.util.List['PowerDemandConsumer']: ... + def getPowerConsumers(self) -> java.util.List["PowerDemandConsumer"]: ... def getPowerShortfallW(self) -> float: ... def getSpec(self) -> GasTurbineSpec: ... def getThermalEfficiency(self) -> float: ... @@ -158,15 +194,26 @@ class GasTurbineUnit(jneqsim.process.equipment.TwoPortEquipment): def setDemandedPower(self, double: float) -> None: ... def setEmissions(self, gasTurbineEmissions: GasTurbineEmissions) -> None: ... def setEnforcePowerLimit(self, boolean: bool) -> None: ... - def setPerformanceMap(self, gasTurbinePerformanceMap: GasTurbinePerformanceMap) -> None: ... + def setPerformanceMap( + self, gasTurbinePerformanceMap: GasTurbinePerformanceMap + ) -> None: ... def setSpec(self, gasTurbineSpec: GasTurbineSpec) -> None: ... class LateLifeRetrofitStudy(java.io.Serializable): - def __init__(self, list: java.util.List[GasTurbineUnit], list2: java.util.List[GasTurbineUnit], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, cO2TaxSchedule: CO2TaxSchedule, double2: float): ... - def run(self) -> 'LateLifeRetrofitStudy.RetrofitResult': ... + def __init__( + self, + list: java.util.List[GasTurbineUnit], + list2: java.util.List[GasTurbineUnit], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int: int, + cO2TaxSchedule: CO2TaxSchedule, + double2: float, + ): ... + def run(self) -> "LateLifeRetrofitStudy.RetrofitResult": ... def setAnnualOperatingHours(self, double: float) -> None: ... def setDiscountRate(self, double: float) -> None: ... def setRetrofitCapexMNOK(self, double: float) -> None: ... + class RetrofitResult(java.io.Serializable): startYear: int = ... discountRate: float = ... @@ -178,6 +225,7 @@ class LateLifeRetrofitStudy(java.io.Serializable): simplePaybackYear: int = ... def __init__(self): ... def toSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class YearResult(java.io.Serializable): year: int = ... demandedPowerMW: float = ... @@ -201,10 +249,13 @@ class PowerDemandConsumer: class TurbineDispatchOptimizer(java.io.Serializable): BRUTE_FORCE_LIMIT: typing.ClassVar[int] = ... def __init__(self, double: float, double2: float): ... - def dispatch(self, list: java.util.List[GasTurbineUnit], double: float) -> 'TurbineDispatchOptimizer.DispatchResult': ... + def dispatch( + self, list: java.util.List[GasTurbineUnit], double: float + ) -> "TurbineDispatchOptimizer.DispatchResult": ... def setCO2CostNOKPerTonne(self, double: float) -> None: ... def setFuelPriceNOKPerKg(self, double: float) -> None: ... def setRequireNplusOne(self, boolean: bool) -> None: ... + class DispatchResult(java.io.Serializable): feasible: bool = ... reason: java.lang.String = ... @@ -220,10 +271,11 @@ class TurbineDispatchOptimizer(java.io.Serializable): spareUnits: java.util.List = ... def __init__(self): ... @staticmethod - def infeasible(string: typing.Union[java.lang.String, str]) -> 'TurbineDispatchOptimizer.DispatchResult': ... + def infeasible( + string: typing.Union[java.lang.String, str] + ) -> "TurbineDispatchOptimizer.DispatchResult": ... def summary(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.powergeneration.gasturbine")``. diff --git a/src/jneqsim-stubs/process/equipment/pump/__init__.pyi b/src/jneqsim-stubs/process/equipment/pump/__init__.pyi index 7c91b653..2dcd4a07 100644 --- a/src/jneqsim-stubs/process/equipment/pump/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,18 +20,30 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class PumpChartInterface(java.lang.Cloneable): - def addCurve(self, double: 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]) -> None: ... - def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def addCurve( + self, + double: 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], + ) -> None: ... + def calculateViscosityCorrection( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def getBestEfficiencyFlowRate(self) -> float: ... - def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... - def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedEfficiency( + self, double: float, double2: float, double3: float + ) -> float: ... + def getCorrectedHead( + self, double: float, double2: float, double3: float + ) -> float: ... def getEfficiency(self, double: float, double2: float) -> float: ... def getEfficiencyCorrectionFactor(self) -> float: ... def getFlowCorrectionFactor(self) -> float: ... - def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getFullyCorrectedHead( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def getHead(self, double: float, double2: float) -> float: ... def getHeadCorrectionFactor(self) -> float: ... def getHeadUnit(self) -> java.lang.String: ... @@ -46,10 +58,30 @@ class PumpChartInterface(java.lang.Cloneable): def isUsePumpChart(self) -> bool: ... def isUseViscosityCorrection(self) -> bool: ... def plot(self) -> None: ... - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setNPSHCurve( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def setReferenceConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setReferenceDensity(self, double: float) -> None: ... def setReferenceViscosity(self, double: float) -> None: ... def setUsePumpChart(self, boolean: bool) -> None: ... @@ -65,9 +97,18 @@ class PumpCurve(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: 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]): ... + def __init__( + self, + double: 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], + ): ... -class PumpInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +class PumpInterface( + jneqsim.process.equipment.ProcessEquipmentInterface, + jneqsim.process.equipment.TwoPortInterface, +): def equals(self, object: typing.Any) -> bool: ... def getEnergy(self) -> float: ... def getMinimumFlow(self) -> float: ... @@ -80,25 +121,46 @@ class PumpInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim def setMinimumFlow(self, double: float) -> None: ... def setPumpChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... -class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class Pump( + jneqsim.process.equipment.TwoPortEquipment, + PumpInterface, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): isentropicEfficiency: float = ... powerSet: bool = ... @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def calculateAsCompressor(self, boolean: bool) -> None: ... def clearCapacityConstraints(self) -> None: ... def displayResult(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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getDuty(self) -> float: ... @@ -108,13 +170,26 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.pr @typing.overload def getDynamicPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getDynamicSpeed(self) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.pump.PumpElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.pump.PumpElectricalDesign: ... def getEnergy(self) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... def getIsentropicEfficiency(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.pump.PumpMechanicalDesign: ... def getMinimumFlow(self) -> float: ... def getMolarFlow(self) -> float: ... def getNPSHAvailable(self) -> float: ... @@ -146,7 +221,9 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.pr def isHardLimitExceeded(self) -> bool: ... def isTripped(self) -> bool: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def resetDynamicState(self) -> None: ... def restart(self) -> None: ... @typing.overload @@ -167,24 +244,32 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.pr def setMolarFlow(self, double: float) -> None: ... def setNPSHMargin(self, double: float) -> None: ... @typing.overload - def setOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutTemperature(self, double: float) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOutletPressureRampRate(self, double: float) -> None: ... def setOutletPressureTimeConstant(self, double: float) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPowerRampRate(self, double: float) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPumpChartType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSpeed(self, double: float) -> None: ... def setSpeedRampRate(self, double: float) -> None: ... @@ -194,25 +279,41 @@ class Pump(jneqsim.process.equipment.TwoPortEquipment, PumpInterface, jneqsim.pr @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def trip(self) -> None: ... class PumpChart(PumpChartInterface, java.io.Serializable): def __init__(self): ... - def addCurve(self, double: 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]) -> None: ... - def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def addCurve( + self, + double: 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], + ) -> None: ... + def calculateViscosityCorrection( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def checkStoneWall(self, double: float, double2: float) -> bool: ... def checkSurge1(self, double: float, double2: float) -> bool: ... def checkSurge2(self, double: float, double2: float) -> bool: ... def efficiency(self, double: float, double2: float) -> float: ... def fitReducedCurve(self) -> None: ... def getBestEfficiencyFlowRate(self) -> float: ... - def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... - def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedEfficiency( + self, double: float, double2: float, double3: float + ) -> float: ... + def getCorrectedHead( + self, double: float, double2: float, double3: float + ) -> float: ... def getEfficiency(self, double: float, double2: float) -> float: ... def getEfficiencyCorrectionFactor(self) -> float: ... def getFlowCorrectionFactor(self) -> float: ... - def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getFullyCorrectedHead( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def getHead(self, double: float, double2: float) -> float: ... def getHeadCorrectionFactor(self) -> float: ... def getHeadUnit(self) -> java.lang.String: ... @@ -230,12 +331,34 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def isUsePumpChart(self) -> bool: ... def isUseViscosityCorrection(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def plot(self) -> None: ... - def setCurves(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray5: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setCurves( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray5: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setHeadUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def setReferenceConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setNPSHCurve( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def setReferenceConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setReferenceDensity(self, double: float) -> None: ... def setReferenceViscosity(self, double: float) -> None: ... def setUsePumpChart(self, boolean: bool) -> None: ... @@ -243,16 +366,27 @@ class PumpChart(PumpChartInterface, java.io.Serializable): def setUseViscosityCorrection(self, boolean: bool) -> None: ... def useRealKappa(self) -> bool: ... -class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, PumpChartInterface): +class PumpChartAlternativeMapLookupExtrapolate( + jneqsim.process.equipment.compressor.CompressorChartAlternativeMapLookupExtrapolate, + PumpChartInterface, +): def __init__(self): ... - def calculateViscosityCorrection(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def calculateViscosityCorrection( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def getBestEfficiencyFlowRate(self) -> float: ... - def getCorrectedEfficiency(self, double: float, double2: float, double3: float) -> float: ... - def getCorrectedHead(self, double: float, double2: float, double3: float) -> float: ... + def getCorrectedEfficiency( + self, double: float, double2: float, double3: float + ) -> float: ... + def getCorrectedHead( + self, double: float, double2: float, double3: float + ) -> float: ... def getEfficiency(self, double: float, double2: float) -> float: ... def getEfficiencyCorrectionFactor(self) -> float: ... def getFlowCorrectionFactor(self) -> float: ... - def getFullyCorrectedHead(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getFullyCorrectedHead( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def getHead(self, double: float, double2: float) -> float: ... def getHeadCorrectionFactor(self) -> float: ... def getNPSHRequired(self, double: float, double2: float) -> float: ... @@ -264,7 +398,12 @@ class PumpChartAlternativeMapLookupExtrapolate(jneqsim.process.equipment.compres def hasNPSHCurve(self) -> bool: ... def isUsePumpChart(self) -> bool: ... def isUseViscosityCorrection(self) -> bool: ... - def setNPSHCurve(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setNPSHCurve( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setReferenceDensity(self, double: float) -> None: ... def setReferenceViscosity(self, double: float) -> None: ... def setUsePumpChart(self, boolean: bool) -> None: ... @@ -274,7 +413,11 @@ class ESPPump(Pump): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActualHead(self) -> float: ... def getDesignHead(self) -> float: ... def getGasSeparatorEfficiency(self) -> float: ... @@ -303,7 +446,11 @@ class JetPump(Pump): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getDischargePressure(self) -> float: ... def getEfficiency(self) -> float: ... def getHeadRatio(self) -> float: ... @@ -323,11 +470,19 @@ class SuckerRodPump(Pump): @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 getActualDisplacement(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getActualDisplacement( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPlungerArea(self) -> float: ... def getPolishedRodLoad(self) -> float: ... - def getTheoreticalDisplacement(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTheoreticalDisplacement( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -341,7 +496,6 @@ class SuckerRodPump(Pump): def setStrokesPerMinute(self, double: float) -> None: ... def setVolumetricEfficiency(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.pump")``. @@ -349,7 +503,9 @@ class __module_protocol__(Protocol): JetPump: typing.Type[JetPump] Pump: typing.Type[Pump] PumpChart: typing.Type[PumpChart] - PumpChartAlternativeMapLookupExtrapolate: typing.Type[PumpChartAlternativeMapLookupExtrapolate] + PumpChartAlternativeMapLookupExtrapolate: typing.Type[ + PumpChartAlternativeMapLookupExtrapolate + ] PumpChartInterface: typing.Type[PumpChartInterface] PumpCurve: typing.Type[PumpCurve] PumpInterface: typing.Type[PumpInterface] diff --git a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi index 58153dde..3a7bee0a 100644 --- a/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,23 +17,33 @@ import jneqsim.thermo.characterization import jneqsim.thermo.system import typing - - class AmmoniaSynthesisReactor(jneqsim.process.equipment.TwoPortEquipment): @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 getAmmoniaProductionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getAmmoniaProductionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getConversion(self) -> float: ... @typing.overload def getHeatDuty(self) -> float: ... @typing.overload def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getOutletStreams(self) -> java.util.List[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]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getPerPassConversion(self) -> float: ... @@ -50,8 +60,12 @@ class AutothermalReformer(jneqsim.process.equipment.TwoPortEquipment): @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 getBurnerZone(self) -> 'SyngasBurnerZone': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getBurnerZone(self) -> "SyngasBurnerZone": ... def getDrySyngasLhvMjPerNm3(self) -> float: ... def getMethaneConversion(self) -> float: ... def getOxygenToCarbonRatio(self) -> float: ... @@ -68,76 +82,108 @@ class AutothermalReformer(jneqsim.process.equipment.TwoPortEquipment): def setReformingTemperature(self, double: float) -> None: ... def setSteamToCarbonTarget(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... class BiomassGasifier(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def getAgentType(self) -> 'BiomassGasifier.AgentType': ... + def getAgentType(self) -> "BiomassGasifier.AgentType": ... def getCarbonConversionEfficiency(self) -> float: ... - def getCharAshOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCharAshOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getCharYieldFraction(self) -> float: ... def getColdGasEfficiency(self) -> float: ... def getEquivalenceRatio(self) -> float: ... def getGasificationPressure(self) -> float: ... def getGasificationTemperature(self) -> float: ... - def getGasifierType(self) -> 'BiomassGasifier.GasifierType': ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getGasifierType(self) -> "BiomassGasifier.GasifierType": ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getSteamToBiomassRatio(self) -> float: ... def getSyngasLHVMjPerNm3(self) -> float: ... - def getSyngasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSyngasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSyngasYieldNm3PerKg(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setAgentInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setAgentType(self, agentType: 'BiomassGasifier.AgentType') -> None: ... - def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setAgentInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setAgentType(self, agentType: "BiomassGasifier.AgentType") -> None: ... + def setBiomass( + self, + biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, + double: float, + ) -> None: ... def setCarbonConversionEfficiency(self, double: float) -> None: ... def setEquivalenceRatio(self, double: float) -> None: ... def setGasificationPressure(self, double: float) -> None: ... @typing.overload def setGasificationTemperature(self, double: float) -> None: ... @typing.overload - def setGasificationTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setGasifierType(self, gasifierType: 'BiomassGasifier.GasifierType') -> None: ... + def setGasificationTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setGasifierType(self, gasifierType: "BiomassGasifier.GasifierType") -> None: ... def setSteamToBiomassRatio(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class AgentType(java.lang.Enum['BiomassGasifier.AgentType']): - AIR: typing.ClassVar['BiomassGasifier.AgentType'] = ... - OXYGEN: typing.ClassVar['BiomassGasifier.AgentType'] = ... - STEAM: typing.ClassVar['BiomassGasifier.AgentType'] = ... - AIR_STEAM: typing.ClassVar['BiomassGasifier.AgentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AgentType(java.lang.Enum["BiomassGasifier.AgentType"]): + AIR: typing.ClassVar["BiomassGasifier.AgentType"] = ... + OXYGEN: typing.ClassVar["BiomassGasifier.AgentType"] = ... + STEAM: typing.ClassVar["BiomassGasifier.AgentType"] = ... + AIR_STEAM: typing.ClassVar["BiomassGasifier.AgentType"] = ... + _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: ... + 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]) -> 'BiomassGasifier.AgentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BiomassGasifier.AgentType": ... @staticmethod - def values() -> typing.MutableSequence['BiomassGasifier.AgentType']: ... - class GasifierType(java.lang.Enum['BiomassGasifier.GasifierType']): - DOWNDRAFT: typing.ClassVar['BiomassGasifier.GasifierType'] = ... - UPDRAFT: typing.ClassVar['BiomassGasifier.GasifierType'] = ... - FLUIDIZED_BED: typing.ClassVar['BiomassGasifier.GasifierType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["BiomassGasifier.AgentType"]: ... + + class GasifierType(java.lang.Enum["BiomassGasifier.GasifierType"]): + DOWNDRAFT: typing.ClassVar["BiomassGasifier.GasifierType"] = ... + UPDRAFT: typing.ClassVar["BiomassGasifier.GasifierType"] = ... + FLUIDIZED_BED: typing.ClassVar["BiomassGasifier.GasifierType"] = ... + _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: ... + 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]) -> 'BiomassGasifier.GasifierType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BiomassGasifier.GasifierType": ... @staticmethod - def values() -> typing.MutableSequence['BiomassGasifier.GasifierType']: ... + def values() -> typing.MutableSequence["BiomassGasifier.GasifierType"]: ... class CatalystBed(java.io.Serializable): @typing.overload @@ -145,10 +191,16 @@ class CatalystBed(java.io.Serializable): @typing.overload def __init__(self, double: float, double2: float, double3: float): ... def calculateEffectivenessFactor(self, double: float) -> float: ... - def calculatePressureDrop(self, double: float, double2: float, double3: float) -> float: ... - def calculateReynoldsNumber(self, double: float, double2: float, double3: float) -> float: ... + def calculatePressureDrop( + self, double: float, double2: float, double3: float + ) -> float: ... + def calculateReynoldsNumber( + self, double: float, double2: float, double3: float + ) -> float: ... def calculateThieleModulus(self, double: float, double2: float) -> float: ... - def calculateTotalPressureDrop(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateTotalPressureDrop( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def getActivityFactor(self) -> float: ... def getBulkDensity(self) -> float: ... def getEffectiveDiffusivity(self, double: float) -> float: ... @@ -161,9 +213,13 @@ class CatalystBed(java.io.Serializable): def setActivityFactor(self, double: float) -> None: ... def setBulkDensity(self, double: float) -> None: ... def setParticleDensity(self, double: float) -> None: ... - def setParticleDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setParticleDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setParticlePorosity(self, double: float) -> None: ... - def setSpecificSurfaceArea(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSpecificSurfaceArea( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTortuosity(self, double: float) -> None: ... def setVoidFraction(self, double: float) -> None: ... @@ -171,12 +227,14 @@ class CatalystDeactivationKinetics(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, catalystFamily: 'CatalystDeactivationKinetics.CatalystFamily'): ... + def __init__( + self, catalystFamily: "CatalystDeactivationKinetics.CatalystFamily" + ): ... def applyTo(self, catalystBed: CatalystBed) -> float: ... def calculateActivity(self) -> float: ... def estimateTimeToActivity(self, double: float) -> float: ... def getCarbonPotential(self) -> float: ... - def getCatalystFamily(self) -> 'CatalystDeactivationKinetics.CatalystFamily': ... + def getCatalystFamily(self) -> "CatalystDeactivationKinetics.CatalystFamily": ... def getChloridePoisoningRatePerHour(self) -> float: ... def getChloridePpmv(self) -> float: ... def getCokingRatePerHour(self) -> float: ... @@ -189,35 +247,59 @@ class CatalystDeactivationKinetics(java.io.Serializable): def getTemperatureK(self) -> float: ... def getThermalSinteringRatePerHour(self) -> float: ... def getTotalDeactivationRatePerHour(self) -> float: ... - def setCarbonPotential(self, double: float) -> 'CatalystDeactivationKinetics': ... - def setCatalystFamily(self, catalystFamily: 'CatalystDeactivationKinetics.CatalystFamily') -> 'CatalystDeactivationKinetics': ... - def setChloridePpmv(self, double: float) -> 'CatalystDeactivationKinetics': ... - def setOperationHours(self, double: float) -> 'CatalystDeactivationKinetics': ... - def setSteamToCarbonRatio(self, double: float) -> 'CatalystDeactivationKinetics': ... - def setSulfurPpmv(self, double: float) -> 'CatalystDeactivationKinetics': ... - def setTemperature(self, double: float) -> 'CatalystDeactivationKinetics': ... + def setCarbonPotential(self, double: float) -> "CatalystDeactivationKinetics": ... + def setCatalystFamily( + self, catalystFamily: "CatalystDeactivationKinetics.CatalystFamily" + ) -> "CatalystDeactivationKinetics": ... + def setChloridePpmv(self, double: float) -> "CatalystDeactivationKinetics": ... + def setOperationHours(self, double: float) -> "CatalystDeactivationKinetics": ... + def setSteamToCarbonRatio( + self, double: float + ) -> "CatalystDeactivationKinetics": ... + def setSulfurPpmv(self, double: float) -> "CatalystDeactivationKinetics": ... + def setTemperature(self, double: float) -> "CatalystDeactivationKinetics": ... def toJson(self) -> java.lang.String: ... - class CatalystFamily(java.lang.Enum['CatalystDeactivationKinetics.CatalystFamily']): - NICKEL_REFORMING: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... - IRON_CHROMIUM_HT_SHIFT: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... - COPPER_ZINC_LT_SHIFT: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... - RUTHENIUM_AMMONIA_CRACKING: typing.ClassVar['CatalystDeactivationKinetics.CatalystFamily'] = ... + + class CatalystFamily(java.lang.Enum["CatalystDeactivationKinetics.CatalystFamily"]): + NICKEL_REFORMING: typing.ClassVar[ + "CatalystDeactivationKinetics.CatalystFamily" + ] = ... + IRON_CHROMIUM_HT_SHIFT: typing.ClassVar[ + "CatalystDeactivationKinetics.CatalystFamily" + ] = ... + COPPER_ZINC_LT_SHIFT: typing.ClassVar[ + "CatalystDeactivationKinetics.CatalystFamily" + ] = ... + RUTHENIUM_AMMONIA_CRACKING: typing.ClassVar[ + "CatalystDeactivationKinetics.CatalystFamily" + ] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CatalystDeactivationKinetics.CatalystFamily': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CatalystDeactivationKinetics.CatalystFamily": ... @staticmethod - def values() -> typing.MutableSequence['CatalystDeactivationKinetics.CatalystFamily']: ... + def values() -> ( + typing.MutableSequence["CatalystDeactivationKinetics.CatalystFamily"] + ): ... class CatalyticTubeReformer(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCatalystBed(self) -> CatalystBed: ... def getDrySyngasLhvMjPerNm3(self) -> float: ... @typing.overload @@ -237,17 +319,23 @@ class CatalyticTubeReformer(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCatalystBed(self, catalystBed: CatalystBed) -> None: ... - def setDeactivationKinetics(self, catalystDeactivationKinetics: CatalystDeactivationKinetics) -> None: ... + def setDeactivationKinetics( + self, catalystDeactivationKinetics: CatalystDeactivationKinetics + ) -> None: ... def setMaxTubeWallTemperature(self, double: float) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... def setPressureDrop(self, double: float) -> None: ... @typing.overload def setReformingTemperature(self, double: float) -> None: ... @typing.overload - def setReformingTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReformingTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubeGeometry(self, double: float, double2: float, int: int) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -269,75 +357,156 @@ class FurnaceBurner(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAirFuelRatioMass(self, double: float) -> None: ... - def setAirInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setBurnerDesign(self, burnerDesign: 'FurnaceBurner.BurnerDesign') -> None: ... + def setAirInlet( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setBurnerDesign(self, burnerDesign: "FurnaceBurner.BurnerDesign") -> None: ... def setCoolingFactor(self, double: float) -> None: ... def setExcessAirFraction(self, double: float) -> None: ... - def setFuelInlet(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFuelInlet( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setSurroundingsTemperature(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... - class BurnerDesign(java.lang.Enum['FurnaceBurner.BurnerDesign']): - ADIABATIC: typing.ClassVar['FurnaceBurner.BurnerDesign'] = ... - COOLED: typing.ClassVar['FurnaceBurner.BurnerDesign'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... + + class BurnerDesign(java.lang.Enum["FurnaceBurner.BurnerDesign"]): + ADIABATIC: typing.ClassVar["FurnaceBurner.BurnerDesign"] = ... + COOLED: typing.ClassVar["FurnaceBurner.BurnerDesign"] = ... + _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: ... + 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]) -> 'FurnaceBurner.BurnerDesign': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FurnaceBurner.BurnerDesign": ... @staticmethod - def values() -> typing.MutableSequence['FurnaceBurner.BurnerDesign']: ... + def values() -> typing.MutableSequence["FurnaceBurner.BurnerDesign"]: ... class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @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): ... - @typing.overload - def calculateMixtureEnthalpy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']]) -> float: ... - @typing.overload - def calculateMixtureEnthalpy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']], double: float) -> float: ... - def calculateMixtureEnthalpyStandard(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']]) -> float: ... - def calculateMixtureGibbsEnergy(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[float], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent'], typing.Mapping[typing.Union[java.lang.String, str], 'GibbsReactor.GibbsComponent']], double: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @typing.overload + def calculateMixtureEnthalpy( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[float], + double: float, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + typing.Mapping[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + ], + ) -> float: ... + @typing.overload + def calculateMixtureEnthalpy( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[float], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + typing.Mapping[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + ], + double: float, + ) -> float: ... + def calculateMixtureEnthalpyStandard( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[float], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + typing.Mapping[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + ], + ) -> float: ... + def calculateMixtureGibbsEnergy( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[float], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + typing.Mapping[ + typing.Union[java.lang.String, str], "GibbsReactor.GibbsComponent" + ], + ], + double: float, + ) -> float: ... def getActualIterations(self) -> int: ... def getConditionNumberHistory(self) -> java.util.List[float]: ... def getConvergenceTolerance(self) -> float: ... def getDampingComposition(self) -> float: ... - def getDetailedMoleBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getDetailedMoleBalance( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... def getElementBalanceErrorHistory(self) -> java.util.List[float]: ... def getElementMoleBalanceDiff(self) -> typing.MutableSequence[float]: ... def getElementMoleBalanceIn(self) -> typing.MutableSequence[float]: ... def getElementMoleBalanceOut(self) -> typing.MutableSequence[float]: ... def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getEnergyMode(self) -> 'GibbsReactor.EnergyMode': ... + def getEnergyMode(self) -> "GibbsReactor.EnergyMode": ... def getEnthalpyOfReactions(self) -> float: ... def getFinalConvergenceError(self) -> float: ... - def getFugacityCoefficient(self, object: typing.Any) -> typing.MutableSequence[float]: ... + def getFugacityCoefficient( + self, object: typing.Any + ) -> typing.MutableSequence[float]: ... def getGibbsEnergyHistory(self) -> java.util.List[float]: ... def getInletMole(self) -> java.util.List[float]: ... def getInletMoles(self) -> java.util.List[float]: ... def getJacobianColLabels(self) -> java.util.List[java.lang.String]: ... - def getJacobianInverse(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getJacobianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getJacobianInverse( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getJacobianMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getJacobianRowLabels(self) -> java.util.List[java.lang.String]: ... def getLagrangeContributions(self) -> java.util.Map[java.lang.String, float]: ... - def getLagrangeMultiplierContributions(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getLagrangeMultiplierContributions( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... def getLagrangianMultipliers(self) -> typing.MutableSequence[float]: ... def getMassBalanceConverged(self) -> bool: ... def getMassBalanceError(self) -> float: ... def getMaxIterations(self) -> int: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.reactor.ReactorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.reactor.ReactorMechanicalDesign: ... def getMethod(self) -> java.lang.String: ... def getMinIterations(self) -> int: ... def getMixtureEnthalpy(self) -> float: ... def getMixtureGibbsEnergy(self) -> float: ... def getObjectiveFunctionValues(self) -> java.util.Map[java.lang.String, float]: ... def getObjectiveMinimizationVector(self) -> typing.MutableSequence[float]: ... - def getObjectiveMinimizationVectorLabels(self) -> java.util.List[java.lang.String]: ... + def getObjectiveMinimizationVectorLabels( + self, + ) -> java.util.List[java.lang.String]: ... def getOutletMole(self) -> java.util.List[float]: ... def getOutletMoles(self) -> java.util.List[float]: ... @typing.overload @@ -349,13 +518,19 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): def getUseAllDatabaseSpecies(self) -> bool: ... def hasConverged(self) -> bool: ... def initMechanicalDesign(self) -> None: ... - def isComponentExcludedByFeed(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isComponentExcludedByFeed( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def isComponentInert(self, string: typing.Union[java.lang.String, str]) -> bool: ... def isUseAdaptiveStepSize(self) -> bool: ... def isUseArmijoLineSearch(self) -> bool: ... def isUseConsistentOffDiagonal(self) -> bool: ... def isUseRegularization(self) -> bool: ... - def performIterationUpdate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> bool: ... + def performIterationUpdate( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> bool: ... def performNewtonRaphsonIteration(self) -> typing.MutableSequence[float]: ... def printDatabaseComponents(self) -> None: ... @typing.overload @@ -368,13 +543,15 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setComponentAsInert(self, int: int) -> None: ... @typing.overload - def setComponentAsInert(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentAsInert( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setConvergenceTolerance(self, double: float) -> None: ... def setDampingComposition(self, double: float) -> None: ... @typing.overload def setEnergyMode(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setEnergyMode(self, energyMode: 'GibbsReactor.EnergyMode') -> None: ... + def setEnergyMode(self, energyMode: "GibbsReactor.EnergyMode") -> None: ... def setLagrangeMultiplier(self, int: int, double: float) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -391,21 +568,51 @@ class GibbsReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def solveGibbsEquilibrium(self, double: float) -> bool: ... def verifyJacobianInverse(self) -> bool: ... - class EnergyMode(java.lang.Enum['GibbsReactor.EnergyMode']): - ISOTHERMAL: typing.ClassVar['GibbsReactor.EnergyMode'] = ... - ADIABATIC: typing.ClassVar['GibbsReactor.EnergyMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EnergyMode(java.lang.Enum["GibbsReactor.EnergyMode"]): + ISOTHERMAL: typing.ClassVar["GibbsReactor.EnergyMode"] = ... + ADIABATIC: typing.ClassVar["GibbsReactor.EnergyMode"] = ... + _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: ... + 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]) -> 'GibbsReactor.EnergyMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GibbsReactor.EnergyMode": ... @staticmethod - def values() -> typing.MutableSequence['GibbsReactor.EnergyMode']: ... + def values() -> typing.MutableSequence["GibbsReactor.EnergyMode"]: ... + class GibbsComponent: - def __init__(self, gibbsReactor: 'GibbsReactor', string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], 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): ... - def calculateCorrectedHeatCapacityCoeffs(self, int: int) -> typing.MutableSequence[float]: ... + def __init__( + self, + gibbsReactor: "GibbsReactor", + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + 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, + ): ... + def calculateCorrectedHeatCapacityCoeffs( + self, int: int + ) -> typing.MutableSequence[float]: ... def calculateEnthalpy(self, double: float, int: int) -> float: ... def calculateEntropy(self, double: float, int: int) -> float: ... def calculateGibbsEnergy(self, double: float, int: int) -> float: ... @@ -423,7 +630,11 @@ class GibbsReactorCO2(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload @@ -431,23 +642,35 @@ class GibbsReactorCO2(jneqsim.process.equipment.TwoPortEquipment): class KineticReaction(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAdsorptionTerm(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - @typing.overload - def addProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addProduct(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def addReactant(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addAdsorptionTerm( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + @typing.overload + def addProduct( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + @typing.overload + def addProduct( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def addReactant( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def calculateEquilibriumConstant(self, double: float) -> float: ... - def calculateRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> float: ... + def calculateRate( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ) -> float: ... def calculateRateConstant(self, double: float) -> float: ... def getActivationEnergy(self) -> float: ... def getAdsorptionExponent(self) -> int: ... def getHeatOfReaction(self) -> float: ... def getName(self) -> java.lang.String: ... def getPreExponentialFactor(self) -> float: ... - def getRateBasis(self) -> 'KineticReaction.RateBasis': ... - def getRateType(self) -> 'KineticReaction.RateType': ... - def getStoichiometricCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getRateBasis(self) -> "KineticReaction.RateBasis": ... + def getRateType(self) -> "KineticReaction.RateType": ... + def getStoichiometricCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... def getTemperatureExponent(self) -> float: ... def isReversible(self) -> bool: ... @@ -455,50 +678,68 @@ class KineticReaction(java.io.Serializable): def setAdsorptionActivationEnergy(self, double: float) -> None: ... def setAdsorptionExponent(self, int: int) -> None: ... def setAdsorptionPreExpFactor(self, double: float) -> None: ... - def setEquilibriumConstantCorrelation(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setEquilibriumConstantCorrelation( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setHeatOfReaction(self, double: float) -> None: ... def setPreExponentialFactor(self, double: float) -> None: ... - def setRateBasis(self, rateBasis: 'KineticReaction.RateBasis') -> None: ... - def setRateType(self, rateType: 'KineticReaction.RateType') -> None: ... + def setRateBasis(self, rateBasis: "KineticReaction.RateBasis") -> None: ... + def setRateType(self, rateType: "KineticReaction.RateType") -> None: ... def setReversible(self, boolean: bool) -> None: ... def setTemperatureExponent(self, double: float) -> None: ... - class RateBasis(java.lang.Enum['KineticReaction.RateBasis']): - VOLUME: typing.ClassVar['KineticReaction.RateBasis'] = ... - CATALYST_MASS: typing.ClassVar['KineticReaction.RateBasis'] = ... - CATALYST_AREA: typing.ClassVar['KineticReaction.RateBasis'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class RateBasis(java.lang.Enum["KineticReaction.RateBasis"]): + VOLUME: typing.ClassVar["KineticReaction.RateBasis"] = ... + CATALYST_MASS: typing.ClassVar["KineticReaction.RateBasis"] = ... + CATALYST_AREA: typing.ClassVar["KineticReaction.RateBasis"] = ... + _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: ... + 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]) -> 'KineticReaction.RateBasis': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "KineticReaction.RateBasis": ... @staticmethod - def values() -> typing.MutableSequence['KineticReaction.RateBasis']: ... - class RateType(java.lang.Enum['KineticReaction.RateType']): - POWER_LAW: typing.ClassVar['KineticReaction.RateType'] = ... - LHHW: typing.ClassVar['KineticReaction.RateType'] = ... - EQUILIBRIUM: typing.ClassVar['KineticReaction.RateType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["KineticReaction.RateBasis"]: ... + + class RateType(java.lang.Enum["KineticReaction.RateType"]): + POWER_LAW: typing.ClassVar["KineticReaction.RateType"] = ... + LHHW: typing.ClassVar["KineticReaction.RateType"] = ... + EQUILIBRIUM: typing.ClassVar["KineticReaction.RateType"] = ... + _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: ... + 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]) -> 'KineticReaction.RateType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "KineticReaction.RateType": ... @staticmethod - def values() -> typing.MutableSequence['KineticReaction.RateType']: ... + def values() -> typing.MutableSequence["KineticReaction.RateType"]: ... class PartialOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getDrySyngasLhvMjPerNm3(self) -> float: ... def getHydrogenToCarbonMonoxideRatio(self) -> float: ... def getMethaneConversion(self) -> float: ... def getOxygenToCarbonRatio(self) -> float: ... - def getQuenchSection(self) -> 'QuenchSection': ... + def getQuenchSection(self) -> "QuenchSection": ... def getRefractoryTemperature(self) -> float: ... def getRefractoryWarning(self) -> java.lang.String: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -515,7 +756,9 @@ class PartialOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): def setRefractoryTemperatureLimit(self, double: float) -> None: ... def setSteamToCarbonTarget(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -523,27 +766,37 @@ class PlugFlowReactor(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def addReaction(self, kineticReaction: KineticReaction) -> None: ... - def getAxialProfile(self) -> 'ReactorAxialProfile': ... + def getAxialProfile(self) -> "ReactorAxialProfile": ... def getCatalystBed(self) -> CatalystBed: ... def getConversion(self) -> float: ... def getCoolantTemperature(self) -> float: ... def getDiameter(self) -> float: ... - def getEnergyMode(self) -> 'PlugFlowReactor.EnergyMode': ... + def getEnergyMode(self) -> "PlugFlowReactor.EnergyMode": ... @typing.overload def getHeatDuty(self) -> float: ... @typing.overload def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getIntegrationMethod(self) -> 'PlugFlowReactor.IntegrationMethod': ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getIntegrationMethod(self) -> "PlugFlowReactor.IntegrationMethod": ... def getKeyComponent(self) -> java.lang.String: ... def getLength(self) -> float: ... def getNumberOfSteps(self) -> int: ... def getNumberOfTubes(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getOverallHeatTransferCoefficient(self) -> float: ... @@ -557,41 +810,61 @@ class PlugFlowReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCatalystBed(self, catalystBed: CatalystBed) -> None: ... - def setCoolantTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setEnergyMode(self, energyMode: 'PlugFlowReactor.EnergyMode') -> None: ... - def setIntegrationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCoolantTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEnergyMode(self, energyMode: "PlugFlowReactor.EnergyMode") -> None: ... + def setIntegrationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setKeyComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNumberOfSteps(self, int: int) -> None: ... def setNumberOfTubes(self, int: int) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... def setPropertyUpdateFrequency(self, int: int) -> None: ... - class EnergyMode(java.lang.Enum['PlugFlowReactor.EnergyMode']): - ADIABATIC: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... - ISOTHERMAL: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... - COOLANT: typing.ClassVar['PlugFlowReactor.EnergyMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EnergyMode(java.lang.Enum["PlugFlowReactor.EnergyMode"]): + ADIABATIC: typing.ClassVar["PlugFlowReactor.EnergyMode"] = ... + ISOTHERMAL: typing.ClassVar["PlugFlowReactor.EnergyMode"] = ... + COOLANT: typing.ClassVar["PlugFlowReactor.EnergyMode"] = ... + _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: ... + 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]) -> 'PlugFlowReactor.EnergyMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PlugFlowReactor.EnergyMode": ... @staticmethod - def values() -> typing.MutableSequence['PlugFlowReactor.EnergyMode']: ... - class IntegrationMethod(java.lang.Enum['PlugFlowReactor.IntegrationMethod']): - EULER: typing.ClassVar['PlugFlowReactor.IntegrationMethod'] = ... - RK4: typing.ClassVar['PlugFlowReactor.IntegrationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["PlugFlowReactor.EnergyMode"]: ... + + class IntegrationMethod(java.lang.Enum["PlugFlowReactor.IntegrationMethod"]): + EULER: typing.ClassVar["PlugFlowReactor.IntegrationMethod"] = ... + RK4: typing.ClassVar["PlugFlowReactor.IntegrationMethod"] = ... + _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: ... + 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]) -> 'PlugFlowReactor.IntegrationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PlugFlowReactor.IntegrationMethod": ... @staticmethod - def values() -> typing.MutableSequence['PlugFlowReactor.IntegrationMethod']: ... + def values() -> typing.MutableSequence["PlugFlowReactor.IntegrationMethod"]: ... class PyrolysisReactor(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -599,16 +872,24 @@ class PyrolysisReactor(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getActualCharYield(self) -> float: ... def getActualGasYield(self) -> float: ... def getBioOilHHV(self) -> float: ... - def getBioOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBioOilOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getBiocharHHV(self) -> float: ... - def getBiocharOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBiocharOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getEnergyYield(self) -> float: ... def getGasLHVMjPerNm3(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getHeatingRate(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getPyrolysisMode(self) -> 'PyrolysisReactor.PyrolysisMode': ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPyrolysisMode(self) -> "PyrolysisReactor.PyrolysisMode": ... def getPyrolysisTemperature(self) -> float: ... def getReactorPressure(self) -> float: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -617,40 +898,62 @@ class PyrolysisReactor(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setBiomass( + self, + biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, + double: float, + ) -> None: ... def setHeatingRate(self, double: float) -> None: ... - def setProductYields(self, double: float, double2: float, double3: float) -> None: ... - def setPyrolysisMode(self, pyrolysisMode: 'PyrolysisReactor.PyrolysisMode') -> None: ... + def setProductYields( + self, double: float, double2: float, double3: float + ) -> None: ... + def setPyrolysisMode( + self, pyrolysisMode: "PyrolysisReactor.PyrolysisMode" + ) -> None: ... @typing.overload def setPyrolysisTemperature(self, double: float) -> None: ... @typing.overload - def setPyrolysisTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPyrolysisTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setReactorPressure(self, double: float) -> None: ... def setVapourResidenceTime(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class PyrolysisMode(java.lang.Enum['PyrolysisReactor.PyrolysisMode']): - SLOW: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... - FAST: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... - FLASH: typing.ClassVar['PyrolysisReactor.PyrolysisMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class PyrolysisMode(java.lang.Enum["PyrolysisReactor.PyrolysisMode"]): + SLOW: typing.ClassVar["PyrolysisReactor.PyrolysisMode"] = ... + FAST: typing.ClassVar["PyrolysisReactor.PyrolysisMode"] = ... + FLASH: typing.ClassVar["PyrolysisReactor.PyrolysisMode"] = ... + _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: ... + 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]) -> 'PyrolysisReactor.PyrolysisMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PyrolysisReactor.PyrolysisMode": ... @staticmethod - def values() -> typing.MutableSequence['PyrolysisReactor.PyrolysisMode']: ... + def values() -> typing.MutableSequence["PyrolysisReactor.PyrolysisMode"]: ... class QuenchSection(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def getHeatRemoved(self) -> float: ... @typing.overload @@ -666,18 +969,29 @@ class QuenchSection(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setTargetTemperature(self, double: float) -> None: ... @typing.overload - def setTargetTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTargetTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... class ReactorAxialProfile(java.io.Serializable): - def __init__(self, int: int, int2: int, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + int: int, + int2: int, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getConversionAt(self, double: float) -> float: ... def getConversionProfile(self) -> typing.MutableSequence[float]: ... - def getMolarFlowProfiles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMolarFlowProfiles( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getNumberOfSteps(self) -> int: ... def getPositionProfile(self) -> typing.MutableSequence[float]: ... def getPressureAt(self, double: float) -> float: ... @@ -685,7 +999,16 @@ class ReactorAxialProfile(java.io.Serializable): def getReactionRateProfile(self) -> typing.MutableSequence[float]: ... def getTemperatureAt(self, double: float) -> float: ... def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... - def setData(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setData( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def toCSV(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... @@ -693,38 +1016,58 @@ class ReformerFurnace(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAvailableRadiantHeatKW(self) -> float: ... def getEffectiveReformingTemperature(self) -> float: ... - def getFlueGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFlueGasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getHeatBalanceRatio(self) -> float: ... - def getInletStreams(self) -> java.util.List[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 getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getSyngasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSyngasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getTubeHeatDemandKW(self) -> float: ... def getTubeReformer(self) -> CatalyticTubeReformer: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setAirInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setAirInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setEnforceHeatBalance(self, boolean: bool) -> None: ... def setExcessAirFraction(self, double: float) -> None: ... - def setFuelInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFuelInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setFurnaceEfficiencies(self, double: float, double2: float) -> None: ... def setMaxTubeWallTemperature(self, double: float) -> None: ... - def setProcessInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setProcessInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setTargetReformingTemperature(self, double: float) -> None: ... def setTubeGeometry(self, double: float, double2: float, int: int) -> None: ... def setTubeHeatTransferCoefficient(self, double: float) -> None: ... def setTubePressureDrop(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -732,8 +1075,12 @@ class StirredTankReactor(jneqsim.process.equipment.TwoPortEquipment): @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 addReaction(self, stoichiometricReaction: 'StoichiometricReaction') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addReaction(self, stoichiometricReaction: "StoichiometricReaction") -> None: ... def clearReactions(self) -> None: ... def getAgitatorPower(self) -> float: ... def getAgitatorPowerPerVolume(self) -> float: ... @@ -742,7 +1089,7 @@ class StirredTankReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def getHeatDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPressureDrop(self) -> float: ... - def getReactions(self) -> java.util.List['StoichiometricReaction']: ... + def getReactions(self) -> java.util.List["StoichiometricReaction"]: ... def getReactorPressure(self) -> float: ... def getReactorTemperature(self) -> float: ... def getResidenceTime(self) -> float: ... @@ -759,26 +1106,40 @@ class StirredTankReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setReactorTemperature(self, double: float) -> None: ... @typing.overload - def setReactorTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setResidenceTime(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setReactorTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResidenceTime( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setVesselVolume(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... class StoichiometricReaction(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addProduct(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addReactant(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addProduct( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addReactant( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getConversion(self) -> float: ... def getLimitingReactant(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... def isMolarBasis(self) -> bool: ... - def react(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def react( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def setConversion(self, double: float) -> None: ... - def setLimitingReactant(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLimitingReactant( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMolarBasis(self, boolean: bool) -> None: ... def toString(self) -> java.lang.String: ... @@ -786,12 +1147,20 @@ class SulfurDepositionAnalyser(jneqsim.process.equipment.TwoPortEquipment): @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 getBlockageRiskAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getBlockageRiskAssessment( + self, + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getCatalysisAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getCorrosionAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getEquilibriumComposition(self) -> java.util.Map[java.lang.String, float]: ... - def getGasVsLiquidSolubility(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getGasVsLiquidSolubility( + self, + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getKineticAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getReactionSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getResultsAsJson(self) -> java.lang.String: ... @@ -799,8 +1168,12 @@ class SulfurDepositionAnalyser(jneqsim.process.equipment.TwoPortEquipment): def getSulfurDepositionOnsetTemperature(self) -> float: ... def getSulfurSolubilityInGas(self) -> float: ... def getSulfurSolubilityMgSm3(self) -> float: ... - def getSupersaturationAnalysis(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getTemperatureSweepResults(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getSupersaturationAnalysis( + self, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def getTemperatureSweepResults( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def hasCorrosionRisk(self) -> bool: ... def isSolidSulfurPresent(self) -> bool: ... def printSummary(self) -> None: ... @@ -819,13 +1192,19 @@ class SulfurDepositionAnalyser(jneqsim.process.equipment.TwoPortEquipment): def setRunChemicalEquilibrium(self, boolean: bool) -> None: ... def setRunCorrosionAssessment(self, boolean: bool) -> None: ... def setRunSolidFlash(self, boolean: bool) -> None: ... - def setTemperatureSweepRange(self, double: float, double2: float, double3: float) -> None: ... + def setTemperatureSweepRange( + self, double: float, double2: float, double3: float + ) -> None: ... class SulfurOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getH2SConsumedMoles(self) -> float: ... def getH2SConversion(self) -> float: ... def getH2SConversionTarget(self) -> float: ... @@ -847,7 +1226,9 @@ class SulfurOxidationReactor(jneqsim.process.equipment.TwoPortEquipment): def setPressureDrop(self, double: float) -> None: ... def setSolidFlashEnabled(self, boolean: bool) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -855,7 +1236,11 @@ class SyngasBurnerZone(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFlameTemperature(self) -> float: ... def getHeatReleaseKW(self) -> float: ... def getOxygenToCarbonRatio(self) -> float: ... @@ -869,7 +1254,9 @@ class SyngasBurnerZone(jneqsim.process.equipment.TwoPortEquipment): def setMaximumFlameTemperature(self, double: float) -> None: ... def setOxygenToCarbonEnvelope(self, double: float, double2: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -877,7 +1264,11 @@ class WaterGasShiftReactor(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCarbonDioxideMoleFlowFormation(self) -> float: ... def getCarbonMonoxideConversion(self) -> float: ... def getHeatDutyKW(self) -> float: ... @@ -895,9 +1286,13 @@ class WaterGasShiftReactor(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def setShiftTemperature(self, double: float) -> None: ... @typing.overload - def setShiftTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setShiftTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -905,7 +1300,11 @@ class EnzymeTreatment(StirredTankReactor): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getEnzymeConsumption(self) -> float: ... def getEnzymeCostPerHour(self) -> float: ... def getEnzymeCostPerKg(self) -> float: ... @@ -926,7 +1325,11 @@ class Fermenter(StirredTankReactor): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAerationPower(self) -> float: ... def getAerationRate(self) -> float: ... def getCO2EvolutionRate(self) -> float: ... @@ -951,21 +1354,31 @@ class AnaerobicDigester(Fermenter): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActualVsDestruction(self) -> float: ... def getBiogasFlowRateNm3PerDay(self) -> float: ... - def getBiogasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getDigestateOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBiogasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDigestateOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getDigesterTemperature(self) -> float: ... def getFeedRateKgPerHr(self) -> float: ... def getHydraulicRetentionTimeDays(self) -> float: ... def getMethaneContentPercent(self) -> float: ... def getMethaneProductionNm3PerDay(self) -> float: ... def getOrganicLoadingRate(self) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getSubstrateType(self) -> 'AnaerobicDigester.SubstrateType': ... - def getTemperatureRegime(self) -> 'AnaerobicDigester.TemperatureRegime': ... + def getSubstrateType(self) -> "AnaerobicDigester.SubstrateType": ... + def getTemperatureRegime(self) -> "AnaerobicDigester.TemperatureRegime": ... def getTotalSolidsFraction(self) -> float: ... @typing.overload def run(self) -> None: ... @@ -974,69 +1387,99 @@ class AnaerobicDigester(Fermenter): @typing.overload def setDigesterTemperature(self, double: float) -> None: ... @typing.overload - def setDigesterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDigesterTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFeedRate(self, double: float, double2: float) -> None: ... def setMethaneFraction(self, double: float) -> None: ... def setSpecificMethaneYield(self, double: float) -> None: ... - def setSubstrateType(self, substrateType: 'AnaerobicDigester.SubstrateType') -> None: ... + def setSubstrateType( + self, substrateType: "AnaerobicDigester.SubstrateType" + ) -> None: ... def setVSDestruction(self, double: float) -> None: ... def setVSTSRatio(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class SubstrateType(java.lang.Enum['AnaerobicDigester.SubstrateType']): - SEWAGE_SLUDGE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... - FOOD_WASTE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... - MANURE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... - CROP_RESIDUE: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... - ENERGY_CROP: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... - CUSTOM: typing.ClassVar['AnaerobicDigester.SubstrateType'] = ... + + class SubstrateType(java.lang.Enum["AnaerobicDigester.SubstrateType"]): + SEWAGE_SLUDGE: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... + FOOD_WASTE: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... + MANURE: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... + CROP_RESIDUE: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... + ENERGY_CROP: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... + CUSTOM: typing.ClassVar["AnaerobicDigester.SubstrateType"] = ... def getSpecificMethaneYield(self) -> float: ... def getVsDestruction(self) -> float: ... def getVstsRatio(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AnaerobicDigester.SubstrateType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AnaerobicDigester.SubstrateType": ... @staticmethod - def values() -> typing.MutableSequence['AnaerobicDigester.SubstrateType']: ... - class TemperatureRegime(java.lang.Enum['AnaerobicDigester.TemperatureRegime']): - MESOPHILIC: typing.ClassVar['AnaerobicDigester.TemperatureRegime'] = ... - THERMOPHILIC: typing.ClassVar['AnaerobicDigester.TemperatureRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["AnaerobicDigester.SubstrateType"]: ... + + class TemperatureRegime(java.lang.Enum["AnaerobicDigester.TemperatureRegime"]): + MESOPHILIC: typing.ClassVar["AnaerobicDigester.TemperatureRegime"] = ... + THERMOPHILIC: typing.ClassVar["AnaerobicDigester.TemperatureRegime"] = ... + _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: ... + 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]) -> 'AnaerobicDigester.TemperatureRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AnaerobicDigester.TemperatureRegime": ... @staticmethod - def values() -> typing.MutableSequence['AnaerobicDigester.TemperatureRegime']: ... + def values() -> ( + typing.MutableSequence["AnaerobicDigester.TemperatureRegime"] + ): ... class FermentationReactor(Fermenter): @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 computeGrowthRate(self, double: float, double2: float, double3: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def computeGrowthRate( + self, double: float, double2: float, double3: float + ) -> float: ... def getBatchTime(self) -> float: ... def getBiomassConcentration(self) -> float: ... def getContoisConstant(self) -> float: ... def getFinalBiomassConcentration(self) -> float: ... def getFinalSubstrateConcentration(self) -> float: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getKineticModel(self) -> 'FermentationReactor.KineticModel': ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getKineticModel(self) -> "FermentationReactor.KineticModel": ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMaintenanceCoefficient(self) -> float: ... def getMaxSpecificGrowthRate(self) -> float: ... def getMonodConstant(self) -> float: ... - def getOperationMode(self) -> 'FermentationReactor.OperationMode': ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOperationMode(self) -> "FermentationReactor.OperationMode": ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getProductComponentName(self) -> java.lang.String: ... def getProductConcentrationGPerL(self) -> float: ... def getProductFormedKgPerHr(self) -> float: ... @@ -1061,54 +1504,77 @@ class FermentationReactor(Fermenter): def setContoisConstant(self, double: float) -> None: ... def setFeedSubstrateConcentration(self, double: float) -> None: ... def setFeedingRate(self, double: float) -> None: ... - def setGasProductName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasProductName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGasYieldMolPerMol(self, double: float) -> None: ... def setInitialProductConcentration(self, double: float) -> None: ... - def setKineticModel(self, kineticModel: 'FermentationReactor.KineticModel') -> None: ... + def setKineticModel( + self, kineticModel: "FermentationReactor.KineticModel" + ) -> None: ... def setMaintenanceCoefficient(self, double: float) -> None: ... def setMaxSpecificGrowthRate(self, double: float) -> None: ... def setMonodConstant(self, double: float) -> None: ... - def setOperationMode(self, operationMode: 'FermentationReactor.OperationMode') -> None: ... - def setProductComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperationMode( + self, operationMode: "FermentationReactor.OperationMode" + ) -> None: ... + def setProductComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setProductInhibitionConcentration(self, double: float) -> None: ... def setProductInhibitionExponent(self, double: float) -> None: ... - def setSubstrateComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSubstrateComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSubstrateConcentration(self, double: float) -> None: ... def setSubstrateInhibitionConstant(self, double: float) -> None: ... def setYieldBiomass(self, double: float) -> None: ... def setYieldProduct(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class KineticModel(java.lang.Enum['FermentationReactor.KineticModel']): - MONOD: typing.ClassVar['FermentationReactor.KineticModel'] = ... - CONTOIS: typing.ClassVar['FermentationReactor.KineticModel'] = ... - SUBSTRATE_INHIBITED: typing.ClassVar['FermentationReactor.KineticModel'] = ... - PRODUCT_INHIBITED: typing.ClassVar['FermentationReactor.KineticModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class KineticModel(java.lang.Enum["FermentationReactor.KineticModel"]): + MONOD: typing.ClassVar["FermentationReactor.KineticModel"] = ... + CONTOIS: typing.ClassVar["FermentationReactor.KineticModel"] = ... + SUBSTRATE_INHIBITED: typing.ClassVar["FermentationReactor.KineticModel"] = ... + PRODUCT_INHIBITED: typing.ClassVar["FermentationReactor.KineticModel"] = ... + _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: ... + 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]) -> 'FermentationReactor.KineticModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FermentationReactor.KineticModel": ... @staticmethod - def values() -> typing.MutableSequence['FermentationReactor.KineticModel']: ... - class OperationMode(java.lang.Enum['FermentationReactor.OperationMode']): - CONTINUOUS: typing.ClassVar['FermentationReactor.OperationMode'] = ... - BATCH: typing.ClassVar['FermentationReactor.OperationMode'] = ... - FED_BATCH: typing.ClassVar['FermentationReactor.OperationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["FermentationReactor.KineticModel"]: ... + + class OperationMode(java.lang.Enum["FermentationReactor.OperationMode"]): + CONTINUOUS: typing.ClassVar["FermentationReactor.OperationMode"] = ... + BATCH: typing.ClassVar["FermentationReactor.OperationMode"] = ... + FED_BATCH: typing.ClassVar["FermentationReactor.OperationMode"] = ... + _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: ... + 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]) -> 'FermentationReactor.OperationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FermentationReactor.OperationMode": ... @staticmethod - def values() -> typing.MutableSequence['FermentationReactor.OperationMode']: ... - + def values() -> typing.MutableSequence["FermentationReactor.OperationMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reactor")``. diff --git a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi index 41ca9797..c1a522e0 100644 --- a/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/reservoir/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,123 +18,212 @@ import jneqsim.thermo.system import jneqsim.util import typing - - class AnnularLeakagePath(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def calculate(self, double: float, double2: float) -> None: ... def calculateMAASP(self) -> float: ... - def getCementLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getChannelLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCementLeakageRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getChannelLeakageRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDominantMechanism(self) -> java.lang.String: ... def getMAASP(self) -> float: ... def getMAASPLimitingCriterion(self) -> java.lang.String: ... def getPathLength(self) -> float: ... - def getTotalLeakageRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalLeakageRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isAnnularPressureExceeded(self, double: float) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCementCrossSectionArea(self, double: float) -> None: ... - def setCementPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setCementPermeability( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setFluidDensity(self, double: float) -> None: ... def setFluidViscosity(self, double: float) -> None: ... - def setLeakageMechanism(self, leakageMechanism: 'AnnularLeakagePath.LeakageMechanism') -> None: ... - def setMAASPParameters(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setLeakageMechanism( + self, leakageMechanism: "AnnularLeakagePath.LeakageMechanism" + ) -> None: ... + def setMAASPParameters( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def setMAASPSafetyFactors(self, double: float, double2: float) -> None: ... - def setPathGeometry(self, double: float, double2: float, double3: float, double4: float) -> None: ... - class LeakageMechanism(java.lang.Enum['AnnularLeakagePath.LeakageMechanism']): - CHANNEL_FLOW: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... - POROUS_CEMENT: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... - COMBINED: typing.ClassVar['AnnularLeakagePath.LeakageMechanism'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setPathGeometry( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + + class LeakageMechanism(java.lang.Enum["AnnularLeakagePath.LeakageMechanism"]): + CHANNEL_FLOW: typing.ClassVar["AnnularLeakagePath.LeakageMechanism"] = ... + POROUS_CEMENT: typing.ClassVar["AnnularLeakagePath.LeakageMechanism"] = ... + COMBINED: typing.ClassVar["AnnularLeakagePath.LeakageMechanism"] = ... + _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: ... + 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]) -> 'AnnularLeakagePath.LeakageMechanism': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AnnularLeakagePath.LeakageMechanism": ... @staticmethod - def values() -> typing.MutableSequence['AnnularLeakagePath.LeakageMechanism']: ... + def values() -> ( + typing.MutableSequence["AnnularLeakagePath.LeakageMechanism"] + ): ... class CementDegradationModel(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getCementThickness(self) -> float: ... - def getCementType(self) -> 'CementDegradationModel.CementType': ... - def getDegradationDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... - def getPermeabilityAtTime(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... - def getTimeToFullCarbonation(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCementType(self) -> "CementDegradationModel.CementType": ... + def getDegradationDepth( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getPermeabilityAtTime( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTimeToFullCarbonation( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isCementCompromised(self, double: float) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCO2Conditions(self, double: float, double2: float) -> None: ... - def setCementThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setCementType(self, cementType: 'CementDegradationModel.CementType') -> None: ... - def setDegradedPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCementThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCementType( + self, cementType: "CementDegradationModel.CementType" + ) -> None: ... + def setDegradedPermeability( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEffectiveDiffusivity(self, double: float) -> None: ... - def setInitialPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - class CementType(java.lang.Enum['CementDegradationModel.CementType']): - PORTLAND: typing.ClassVar['CementDegradationModel.CementType'] = ... - SILICA_PORTLAND: typing.ClassVar['CementDegradationModel.CementType'] = ... - CO2_RESISTANT: typing.ClassVar['CementDegradationModel.CementType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setInitialPermeability( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class CementType(java.lang.Enum["CementDegradationModel.CementType"]): + PORTLAND: typing.ClassVar["CementDegradationModel.CementType"] = ... + SILICA_PORTLAND: typing.ClassVar["CementDegradationModel.CementType"] = ... + CO2_RESISTANT: typing.ClassVar["CementDegradationModel.CementType"] = ... + _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: ... + 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]) -> 'CementDegradationModel.CementType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CementDegradationModel.CementType": ... @staticmethod - def values() -> typing.MutableSequence['CementDegradationModel.CementType']: ... + def values() -> typing.MutableSequence["CementDegradationModel.CementType"]: ... class InjectionConformanceMonitor(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addZoneProfile(self, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> None: ... + def addZoneProfile( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ) -> None: ... def calculateHallPlot(self) -> None: ... def detectSlopeChange(self, double: float) -> bool: ... - def getConformanceDiagnosis(self) -> 'InjectionConformanceMonitor.ConformanceDiagnosis': ... + def getConformanceDiagnosis( + self, + ) -> "InjectionConformanceMonitor.ConformanceDiagnosis": ... def getCurrentHallSlope(self) -> float: ... def getDataPointCount(self) -> int: ... - def getDataPoints(self) -> java.util.List['InjectionConformanceMonitor.InjectionDataPoint']: ... + def getDataPoints( + self, + ) -> java.util.List["InjectionConformanceMonitor.InjectionDataPoint"]: ... def getDiagnosis(self) -> java.lang.String: ... def getHallCumulativePressureTime(self) -> java.util.List[float]: ... def getHallCumulativeVolume(self) -> java.util.List[float]: ... def getInitialHallSlope(self) -> float: ... def getInjectionEfficiency(self) -> float: ... - def getInjectionProfile(self) -> java.util.List['InjectionConformanceMonitor.ZoneProfilePoint']: ... + def getInjectionProfile( + self, + ) -> java.util.List["InjectionConformanceMonitor.ZoneProfilePoint"]: ... def getOutOfZoneFraction(self) -> float: ... - def recordInjectionData(self, double: float, double2: float, double3: float) -> None: ... + def recordInjectionData( + self, double: float, double2: float, double3: float + ) -> None: ... def reset(self) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - class ConformanceDiagnosis(java.lang.Enum['InjectionConformanceMonitor.ConformanceDiagnosis']): - NORMAL: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... - FRACTURE_GROWTH: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... - PLUGGING: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... - INSUFFICIENT_DATA: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... - OUT_OF_ZONE_SUSPECTED: typing.ClassVar['InjectionConformanceMonitor.ConformanceDiagnosis'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConformanceDiagnosis( + java.lang.Enum["InjectionConformanceMonitor.ConformanceDiagnosis"] + ): + NORMAL: typing.ClassVar["InjectionConformanceMonitor.ConformanceDiagnosis"] = ( + ... + ) + FRACTURE_GROWTH: typing.ClassVar[ + "InjectionConformanceMonitor.ConformanceDiagnosis" + ] = ... + PLUGGING: typing.ClassVar[ + "InjectionConformanceMonitor.ConformanceDiagnosis" + ] = ... + INSUFFICIENT_DATA: typing.ClassVar[ + "InjectionConformanceMonitor.ConformanceDiagnosis" + ] = ... + OUT_OF_ZONE_SUSPECTED: typing.ClassVar[ + "InjectionConformanceMonitor.ConformanceDiagnosis" + ] = ... + _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: ... + 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]) -> 'InjectionConformanceMonitor.ConformanceDiagnosis': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InjectionConformanceMonitor.ConformanceDiagnosis": ... @staticmethod - def values() -> typing.MutableSequence['InjectionConformanceMonitor.ConformanceDiagnosis']: ... + def values() -> ( + typing.MutableSequence["InjectionConformanceMonitor.ConformanceDiagnosis"] + ): ... + class InjectionDataPoint(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def getInjectionRateM3perDay(self) -> float: ... def getTimeDays(self) -> float: ... def getWellheadPressureBar(self) -> float: ... + class ZoneProfilePoint(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ): ... def getAllocationFraction(self) -> float: ... def getDepthM(self) -> float: ... def getZoneName(self) -> java.lang.String: ... @@ -142,24 +231,65 @@ class InjectionConformanceMonitor(jneqsim.process.equipment.ProcessEquipmentBase class MultiCompartmentReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCompartment(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> None: ... - def addInjectionRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... - def addProductionRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... - def getCompartmentFluid(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def getCompartmentPressure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getInterZoneFlowRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def addCompartment( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> None: ... + def addInjectionRate( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + def addProductionRate( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + def getCompartmentFluid( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... + def getCompartmentPressure( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getInterZoneFlowRate( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... def getNumberOfCompartments(self) -> int: ... - def getSimulationTime(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSimulationTime( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def reset(self) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def runTimeStep(self, double: float) -> None: ... - def setCompressibility(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setInjectionRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setProductionRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setTransmissibility(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setCompressibility( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setInjectionRate( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setProductionRate( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setTransmissibility( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + class Compartment(java.io.Serializable): name: java.lang.String = ... fluid: jneqsim.thermo.system.SystemInterface = ... @@ -169,30 +299,54 @@ class MultiCompartmentReservoir(jneqsim.process.equipment.ProcessEquipmentBaseCl totalCompressibility: float = ... netInjectionRate: float = ... netProductionRate: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + class TransmissibilityConnection(java.io.Serializable): compartment1: java.lang.String = ... compartment2: java.lang.String = ... transmissibility: float = ... currentFlowRate: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... class ReservoirCVDsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... class ReservoirDiffLibsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... class ReservoirTPsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getProdPhaseName(self) -> java.lang.String: ... def getReserervourFluid(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -200,49 +354,77 @@ class ReservoirTPsim(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setProdPhaseName(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class SimpleReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def GORprodution(self) -> float: ... - def addGasInjector(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def addGasProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def addOilProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def addWaterInjector(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def addWaterProducer(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addGasInjector( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addGasProducer( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addOilProducer( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addWaterInjector( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def addWaterProducer( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def displayResult(self) -> None: ... def getGasInPlace(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getGasInjector(self, int: int) -> 'Well': ... - def getGasProducer(self, int: int) -> 'Well': ... - def getGasProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasInjector(self, int: int) -> "Well": ... + def getGasProducer(self, int: int) -> "Well": ... + def getGasProductionTotal( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getGasProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getLowPressureLimit(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLowPressureLimit( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOGIP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getOOIP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getOilInPlace(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getOilProducer(self, int: int) -> 'Well': ... + def getOilProducer(self, int: int) -> "Well": ... @typing.overload - def getOilProducer(self, string: typing.Union[java.lang.String, str]) -> 'Well': ... - def getOilProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOilProducer(self, string: typing.Union[java.lang.String, str]) -> "Well": ... + def getOilProductionTotal( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOilProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProductionTotal(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getProductionTotal( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getReservoirFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getTime(self) -> float: ... - def getWaterInjector(self, int: int) -> 'Well': ... - def getWaterProducer(self, int: int) -> 'Well': ... - def getWaterProdution(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterInjector(self, int: int) -> "Well": ... + def getWaterProducer(self, int: int) -> "Well": ... + def getWaterProdution( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -251,84 +433,173 @@ class SimpleReservoir(jneqsim.process.equipment.ProcessEquipmentBaseClass): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setLowPressureLimit(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setReservoirFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float) -> None: ... + def setLowPressureLimit( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReservoirFluid( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + ) -> None: ... class TubingPerformance(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def disableTableVLP(self) -> None: ... - def findOperatingPoint(self, wellFlow: 'WellFlow', double: float, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - @typing.overload - def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - @typing.overload - def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def generateVLPFamily(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> java.util.List[typing.MutableSequence[typing.MutableSequence[float]]]: ... - def getBottomHolePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def findOperatingPoint( + self, + wellFlow: "WellFlow", + double: float, + string: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... + @typing.overload + def generateVLPCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + @typing.overload + def generateVLPCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double2: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateVLPFamily( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> java.util.List[typing.MutableSequence[typing.MutableSequence[float]]]: ... + def getBottomHolePressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDepthProfile(self) -> typing.MutableSequence[float]: ... def getHoldupProfile(self) -> typing.MutableSequence[float]: ... def getPressureProfile(self) -> typing.MutableSequence[float]: ... def getTemperatureProfile(self) -> typing.MutableSequence[float]: ... - def getTotalPressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalPressureDrop( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getVLPCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getVLPTableBHP(self) -> typing.MutableSequence[float]: ... def getVLPTableFlowRates(self) -> typing.MutableSequence[float]: ... def getVLPTableWellheadPressure(self) -> float: ... - def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellheadPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def interpolateBHPFromTable(self, double: float) -> float: ... def isUsingTableVLP(self) -> bool: ... @typing.overload - def loadVLPFromFile(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def loadVLPFromFile( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def loadVLPFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + def loadVLPFromFile( + self, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + double: float, + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setBottomHoleTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setGeothermalGradient(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottomHoleTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setGeothermalGradient( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInclination(self, double: float) -> None: ... def setNumberOfSegments(self, int: int) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... - def setPressureDropCorrelation(self, pressureDropCorrelation: 'TubingPerformance.PressureDropCorrelation') -> None: ... - def setProductionTime(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTableVLP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> None: ... - def setTemperatureModel(self, temperatureModel: 'TubingPerformance.TemperatureModel') -> None: ... - def setTubingDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTubingLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWallRoughness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWellheadTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - class PressureDropCorrelation(java.lang.Enum['TubingPerformance.PressureDropCorrelation']): - BEGGS_BRILL: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... - HAGEDORN_BROWN: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... - GRAY: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... - HASAN_KABIR: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... - DUNS_ROS: typing.ClassVar['TubingPerformance.PressureDropCorrelation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setPressureDropCorrelation( + self, pressureDropCorrelation: "TubingPerformance.PressureDropCorrelation" + ) -> None: ... + def setProductionTime( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTableVLP( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ) -> None: ... + def setTemperatureModel( + self, temperatureModel: "TubingPerformance.TemperatureModel" + ) -> None: ... + def setTubingDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTubingLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWallRoughness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWellheadTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class PressureDropCorrelation( + java.lang.Enum["TubingPerformance.PressureDropCorrelation"] + ): + BEGGS_BRILL: typing.ClassVar["TubingPerformance.PressureDropCorrelation"] = ... + HAGEDORN_BROWN: typing.ClassVar["TubingPerformance.PressureDropCorrelation"] = ( + ... + ) + GRAY: typing.ClassVar["TubingPerformance.PressureDropCorrelation"] = ... + HASAN_KABIR: typing.ClassVar["TubingPerformance.PressureDropCorrelation"] = ... + DUNS_ROS: typing.ClassVar["TubingPerformance.PressureDropCorrelation"] = ... + _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: ... + 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]) -> 'TubingPerformance.PressureDropCorrelation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.PressureDropCorrelation": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.PressureDropCorrelation']: ... - class TemperatureModel(java.lang.Enum['TubingPerformance.TemperatureModel']): - ISOTHERMAL: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - LINEAR_GRADIENT: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - RAMEY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - HASAN_KABIR_ENERGY: typing.ClassVar['TubingPerformance.TemperatureModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["TubingPerformance.PressureDropCorrelation"] + ): ... + + class TemperatureModel(java.lang.Enum["TubingPerformance.TemperatureModel"]): + ISOTHERMAL: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + LINEAR_GRADIENT: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + RAMEY: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + HASAN_KABIR_ENERGY: typing.ClassVar["TubingPerformance.TemperatureModel"] = ... + _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: ... + 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]) -> 'TubingPerformance.TemperatureModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubingPerformance.TemperatureModel": ... @staticmethod - def values() -> typing.MutableSequence['TubingPerformance.TemperatureModel']: ... + def values() -> ( + typing.MutableSequence["TubingPerformance.TemperatureModel"] + ): ... class Well(jneqsim.util.NamedBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -337,25 +608,46 @@ class Well(jneqsim.util.NamedBaseClass): def getStdOilProduction(self) -> float: ... def getStdWaterProduction(self) -> float: ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class WellFlow(jneqsim.process.equipment.TwoPortEquipment): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInjectionZone(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float) -> None: ... - def addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> None: ... + def addInjectionZone( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + double3: float, + ) -> None: ... + def addLayer( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> None: ... def getBottomHolePressure(self) -> float: ... def getDrawdown(self) -> float: ... - def getFlowMode(self) -> 'WellFlow.FlowMode': ... + def getFlowMode(self) -> "WellFlow.FlowMode": ... def getIPRTablePressures(self) -> typing.MutableSequence[float]: ... def getIPRTableRates(self) -> typing.MutableSequence[float]: ... def getInjectionEfficiency(self) -> float: ... - def getLayer(self, int: int) -> 'WellFlow.ReservoirLayer': ... - def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getLayer(self, int: int) -> "WellFlow.ReservoirLayer": ... + def getLayerFlowRates( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getMaxDrawdown(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.well.WellFlowMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.well.WellFlowMechanicalDesign: ... def getMinBottomHolePressure(self) -> float: ... def getNumberOfLayers(self) -> int: ... - def getOutOfZoneRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutOfZoneRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getWellCapex(self) -> float: ... def getWellProductionIndex(self) -> float: ... def getZoneAllocationFractions(self) -> typing.MutableSequence[float]: ... @@ -366,7 +658,9 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def loadIPRFromFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def loadIPRFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def loadIPRFromFile( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -375,50 +669,87 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setBackpressureParameters(self, double: float, double2: float, double3: float) -> None: ... - def setDarcyLawParameters(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - def setFetkovichParameters(self, double: float, double2: float, double3: float) -> None: ... - def setFlowMode(self, flowMode: 'WellFlow.FlowMode') -> None: ... - def setMaxDrawdown(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setMinBottomHolePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBackpressureParameters( + self, double: float, double2: float, double3: float + ) -> None: ... + def setDarcyLawParameters( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + def setFetkovichParameters( + self, double: float, double2: float, double3: float + ) -> None: ... + def setFlowMode(self, flowMode: "WellFlow.FlowMode") -> None: ... + def setMaxDrawdown( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMinBottomHolePressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTableInflow(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTableInflow( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setTargetZone(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... + def setVogelParameters( + self, double: float, double2: float, double3: float + ) -> None: ... def setWellCapex(self, double: float) -> None: ... def setWellProductionIndex(self, double: float) -> None: ... def solveFlowFromOutletPressure(self, boolean: bool) -> None: ... - def useWellConstraints(self) -> 'WellFlow': ... - class FlowMode(java.lang.Enum['WellFlow.FlowMode']): - PRODUCTION: typing.ClassVar['WellFlow.FlowMode'] = ... - INJECTION: typing.ClassVar['WellFlow.FlowMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def useWellConstraints(self) -> "WellFlow": ... + + class FlowMode(java.lang.Enum["WellFlow.FlowMode"]): + PRODUCTION: typing.ClassVar["WellFlow.FlowMode"] = ... + INJECTION: typing.ClassVar["WellFlow.FlowMode"] = ... + _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: ... + 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]) -> 'WellFlow.FlowMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellFlow.FlowMode": ... @staticmethod - def values() -> typing.MutableSequence['WellFlow.FlowMode']: ... - class InflowPerformanceModel(java.lang.Enum['WellFlow.InflowPerformanceModel']): - PRODUCTION_INDEX: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... - VOGEL: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... - FETKOVICH: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... - BACKPRESSURE: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... - TABLE: typing.ClassVar['WellFlow.InflowPerformanceModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["WellFlow.FlowMode"]: ... + + class InflowPerformanceModel(java.lang.Enum["WellFlow.InflowPerformanceModel"]): + PRODUCTION_INDEX: typing.ClassVar["WellFlow.InflowPerformanceModel"] = ... + VOGEL: typing.ClassVar["WellFlow.InflowPerformanceModel"] = ... + FETKOVICH: typing.ClassVar["WellFlow.InflowPerformanceModel"] = ... + BACKPRESSURE: typing.ClassVar["WellFlow.InflowPerformanceModel"] = ... + TABLE: typing.ClassVar["WellFlow.InflowPerformanceModel"] = ... + _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: ... + 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]) -> 'WellFlow.InflowPerformanceModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellFlow.InflowPerformanceModel": ... @staticmethod - def values() -> typing.MutableSequence['WellFlow.InflowPerformanceModel']: ... + def values() -> typing.MutableSequence["WellFlow.InflowPerformanceModel"]: ... + class ReservoirLayer: name: java.lang.String = ... stream: jneqsim.process.equipment.stream.StreamInterface = ... @@ -428,91 +759,171 @@ class WellFlow(jneqsim.process.equipment.TwoPortEquipment): fracturePressure: float = ... barrierStressContrast: float = ... isTargetZone: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ): ... def getFractureContainmentMargin(self, double: float) -> float: ... def isFractureContained(self, double: float) -> bool: ... - def setBarrierStressContrast(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFracturePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBarrierStressContrast( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFracturePressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class WellSystem(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 addLayer(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float) -> None: ... - def generateIPRCurve(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def generateVLPCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getBottomHolePressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addLayer( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + double3: float, + ) -> None: ... + def generateIPRCurve( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateVLPCurve( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBottomHolePressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDrawdown(self, string: typing.Union[java.lang.String, str]) -> float: ... def getEffectiveProductivityIndex(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLayerFlowRates(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getOperatingFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getLayerFlowRates( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getOperatingFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getReservoirPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getReservoirPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTubingVLP(self) -> TubingPerformance: ... - def getVLPSolverMode(self) -> 'WellSystem.VLPSolverMode': ... + def getVLPSolverMode(self) -> "WellSystem.VLPSolverMode": ... def getWellFlowIPR(self) -> WellFlow: ... - def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellheadPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setBackpressureParameters(self, double: float, double2: float, double3: float) -> None: ... - def setBottomHoleTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBackpressureParameters( + self, double: float, double2: float, double3: float + ) -> None: ... + def setBottomHoleTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setChokeOpening(self, double: float) -> None: ... - def setFetkovichParameters(self, double: float, double2: float, double3: float) -> None: ... - def setIPRModel(self, iPRModel: 'WellSystem.IPRModel') -> None: ... + def setFetkovichParameters( + self, double: float, double2: float, double3: float + ) -> None: ... + def setIPRModel(self, iPRModel: "WellSystem.IPRModel") -> None: ... def setInclination(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setPressureDropCorrelation(self, pressureDropCorrelation: TubingPerformance.PressureDropCorrelation) -> None: ... - def setProductionIndex(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setReservoirStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setTemperatureModel(self, temperatureModel: TubingPerformance.TemperatureModel) -> None: ... - def setTubingDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTubingLength(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setPressureDropCorrelation( + self, pressureDropCorrelation: TubingPerformance.PressureDropCorrelation + ) -> None: ... + def setProductionIndex( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReservoirStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setTemperatureModel( + self, temperatureModel: TubingPerformance.TemperatureModel + ) -> None: ... + def setTubingDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTubingLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubingRoughness(self, double: float) -> None: ... - def setVLPSolverMode(self, vLPSolverMode: 'WellSystem.VLPSolverMode') -> None: ... - def setVogelParameters(self, double: float, double2: float, double3: float) -> None: ... - def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWellheadTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - class IPRModel(java.lang.Enum['WellSystem.IPRModel']): - PRODUCTION_INDEX: typing.ClassVar['WellSystem.IPRModel'] = ... - VOGEL: typing.ClassVar['WellSystem.IPRModel'] = ... - FETKOVICH: typing.ClassVar['WellSystem.IPRModel'] = ... - BACKPRESSURE: typing.ClassVar['WellSystem.IPRModel'] = ... - JONES_BLOUNT_GLAZE: typing.ClassVar['WellSystem.IPRModel'] = ... - TABLE: typing.ClassVar['WellSystem.IPRModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setVLPSolverMode(self, vLPSolverMode: "WellSystem.VLPSolverMode") -> None: ... + def setVogelParameters( + self, double: float, double2: float, double3: float + ) -> None: ... + def setWellheadPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWellheadTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class IPRModel(java.lang.Enum["WellSystem.IPRModel"]): + PRODUCTION_INDEX: typing.ClassVar["WellSystem.IPRModel"] = ... + VOGEL: typing.ClassVar["WellSystem.IPRModel"] = ... + FETKOVICH: typing.ClassVar["WellSystem.IPRModel"] = ... + BACKPRESSURE: typing.ClassVar["WellSystem.IPRModel"] = ... + JONES_BLOUNT_GLAZE: typing.ClassVar["WellSystem.IPRModel"] = ... + TABLE: typing.ClassVar["WellSystem.IPRModel"] = ... + _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: ... + 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]) -> 'WellSystem.IPRModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellSystem.IPRModel": ... @staticmethod - def values() -> typing.MutableSequence['WellSystem.IPRModel']: ... + def values() -> typing.MutableSequence["WellSystem.IPRModel"]: ... + class ReservoirLayer: - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, double3: float): ... - class VLPSolverMode(java.lang.Enum['WellSystem.VLPSolverMode']): - SIMPLIFIED: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - BEGGS_BRILL: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - HAGEDORN_BROWN: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - GRAY: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - HASAN_KABIR: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - DUNS_ROS: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - DRIFT_FLUX: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - TWO_FLUID: typing.ClassVar['WellSystem.VLPSolverMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + double3: float, + ): ... + + class VLPSolverMode(java.lang.Enum["WellSystem.VLPSolverMode"]): + SIMPLIFIED: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + BEGGS_BRILL: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + HAGEDORN_BROWN: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + GRAY: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + HASAN_KABIR: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + DUNS_ROS: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + DRIFT_FLUX: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + TWO_FLUID: typing.ClassVar["WellSystem.VLPSolverMode"] = ... + _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: ... + 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]) -> 'WellSystem.VLPSolverMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellSystem.VLPSolverMode": ... @staticmethod - def values() -> typing.MutableSequence['WellSystem.VLPSolverMode']: ... - + def values() -> typing.MutableSequence["WellSystem.VLPSolverMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.reservoir")``. diff --git a/src/jneqsim-stubs/process/equipment/separator/__init__.pyi b/src/jneqsim-stubs/process/equipment/separator/__init__.pyi index 1673dcf7..122781c9 100644 --- a/src/jneqsim-stubs/process/equipment/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -25,27 +25,39 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - class Crystallizer(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCrystalPurity(self) -> float: ... def getCrystalStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getCrystallizationType(self) -> java.lang.String: ... def getHeatDuty(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getMotherLiquorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMotherLiquorStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getResidenceTime(self) -> float: ... @@ -57,19 +69,27 @@ class Crystallizer(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCrystalPurity(self, double: float) -> None: ... - def setCrystallizationType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setCrystallizationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOutletPressure(self, double: float) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setResidenceTime(self, double: float) -> None: ... def setSolidRecovery(self, double: float) -> None: ... def setTargetSolute(self, string: typing.Union[java.lang.String, str]) -> None: ... def setVesselVolume(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -77,14 +97,25 @@ class LiquidLiquidExtractor(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getExtractStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getNumberOfStages(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getPressureDrop(self) -> float: ... - def getRaffinateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRaffinateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getResidenceTimePerStage(self) -> float: ... def getSolventStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStageEfficiency(self) -> float: ... @@ -92,14 +123,20 @@ class LiquidLiquidExtractor(jneqsim.process.equipment.ProcessEquipmentBaseClass) def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setNumberOfStages(self, int: int) -> None: ... def setPressureDrop(self, double: float) -> None: ... def setResidenceTimePerStage(self, double: float) -> None: ... - def setSolventStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setSolventStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setStageEfficiency(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -113,7 +150,9 @@ class SeparatorInterface(jneqsim.process.SimulationInterface): @typing.overload def setHeatInput(self, double: float) -> None: ... @typing.overload - def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatInput( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInternalDiameter(self, double: float) -> None: ... def setLiquidLevel(self, double: float) -> None: ... @@ -121,28 +160,44 @@ class SolidsSeparator(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getDefaultSolidsSplit(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getMoistureContent(self) -> float: ... def getPowerConsumption(self) -> float: ... def getPressureDrop(self) -> float: ... - def getSolidsOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getSolidsSplitFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSolidsOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSolidsSplitFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSpecificEnergy(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDefaultSolidsSplit(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMoistureContent(self, double: float) -> None: ... def setPressureDrop(self, double: float) -> None: ... - def setSolidsSplitFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSolidsSplitFraction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setSpecificEnergy(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -150,7 +205,11 @@ class PressureFilter(SolidsSeparator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFilterArea(self) -> float: ... def getOperatingPressure(self) -> float: ... def setFilterArea(self, double: float) -> None: ... @@ -160,7 +219,11 @@ class RotaryVacuumFilter(SolidsSeparator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFilterArea(self) -> float: ... def getSpecificCakeResistance(self) -> float: ... def getVacuumPressure(self) -> float: ... @@ -172,13 +235,23 @@ class ScrewPress(SolidsSeparator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCompressionRatio(self) -> float: ... def getScrewSpeed(self) -> float: ... def setCompressionRatio(self, double: float) -> None: ... def setScrewSpeed(self, double: float) -> None: ... -class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorInterface, jneqsim.process.ml.StateVectorProvider, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +class Separator( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + SeparatorInterface, + jneqsim.process.ml.StateVectorProvider, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, + jneqsim.process.design.AutoSizeable, +): numberOfInputStreams: int = ... DEFAULT_LIQUID_DENSITY_FOR_SIZING: typing.ClassVar[float] = ... DEFAULT_K_VALUE_LIMIT: typing.ClassVar[float] = ... @@ -189,18 +262,34 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn @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 addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... - def addSeparatorSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 addSeparatorSection( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def builder(string: typing.Union[java.lang.String, str]) -> "Separator.Builder": ... def calcDropletCutSize(self, double: float, double2: float) -> float: ... def calcDropletCutSizeAtHLL(self) -> float: ... def calcGasAreaAboveLevel(self, double: float) -> float: ... @@ -217,18 +306,38 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def calcSegmentArea(double: float, double2: float) -> float: ... def calcWaterRetentionTime(self) -> float: ... def clearCapacityConstraints(self) -> None: ... - def disableConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def disableConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def disableConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def disableConstraints( + self, *string: typing.Union[java.lang.String, str] + ) -> None: ... def displayResult(self) -> None: ... - def enableConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... + def enableConstraints( + self, *string: typing.Union[java.lang.String, str] + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... @typing.overload - def evaluateFireExposure(self, fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... - @typing.overload - def evaluateFireExposure(self, fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig, flare: jneqsim.process.equipment.flare.Flare, double: float) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... + def evaluateFireExposure( + self, + fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig, + ) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... + @typing.overload + def evaluateFireExposure( + self, + fireScenarioConfig: jneqsim.process.util.fire.SeparatorFireExposure.FireScenarioConfig, + flare: jneqsim.process.equipment.flare.Flare, + double: float, + ) -> jneqsim.process.util.fire.SeparatorFireExposure.FireExposureResult: ... def getBootVolume(self) -> float: ... - def getBottleneckConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... - def getCapacityConstraints(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getCapacityUtilization(self) -> float: ... @@ -240,14 +349,27 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def getDesignGasLoadFactor(self) -> float: ... def getDesignLiquidLevelFraction(self) -> float: ... def getEfficiency(self) -> float: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.separator.SeparatorElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.separator.SeparatorElectricalDesign: ... def getEnabledConstraintNames(self) -> java.util.List[java.lang.String]: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasCarryunderFraction(self) -> float: ... @@ -265,17 +387,27 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def getHeatInput(self) -> float: ... @typing.overload def getHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInletFlowRegime(self) -> jneqsim.process.equipment.separator.entrainment.MultiphaseFlowRegime.FlowRegime: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletFlowRegime( + self, + ) -> ( + jneqsim.process.equipment.separator.entrainment.MultiphaseFlowRegime.FlowRegime + ): ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getInnerSurfaceArea(self) -> float: ... - def getInstrumentDesign(self) -> jneqsim.process.instrumentdesign.separator.SeparatorInstrumentDesign: ... + def getInstrumentDesign( + self, + ) -> jneqsim.process.instrumentdesign.separator.SeparatorInstrumentDesign: ... def getInternalDiameter(self) -> float: ... def getKFactor(self) -> float: ... def getKFactorUtilization(self) -> float: ... def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload @@ -283,27 +415,45 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def getMaxAllowableGasFlowRate(self) -> float: ... def getMaxAllowableGasVelocity(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign: ... def getMistEliminatorDpCoeff(self) -> float: ... def getMistEliminatorPressureDrop(self) -> float: ... def getMistEliminatorThickness(self) -> float: ... def getOperatingEnvelopeViolation(self) -> java.lang.String: ... def getOrientation(self) -> java.lang.String: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getPerformanceCalculator(self) -> jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getPerformanceCalculator( + self, + ) -> ( + jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator + ): ... def getPerformanceSummary(self) -> java.lang.String: ... @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getPressure(self) -> float: ... def getPressureDrop(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSeparatorLength(self) -> float: ... @typing.overload - def getSeparatorSection(self, int: int) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... - @typing.overload - def getSeparatorSection(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... - def getSeparatorSections(self) -> java.util.ArrayList[jneqsim.process.equipment.separator.sectiontype.SeparatorSection]: ... + def getSeparatorSection( + self, int: int + ) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + @typing.overload + def getSeparatorSection( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + def getSeparatorSections( + self, + ) -> java.util.ArrayList[ + jneqsim.process.equipment.separator.sectiontype.SeparatorSection + ]: ... def getSimulationValidationErrors(self) -> java.util.List[java.lang.String]: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... @@ -323,7 +473,9 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def initializeTransientCalculation(self) -> None: ... def isAutoSized(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... - def isConstraintEnabled(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def isConstraintEnabled( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def isDetailedEntrainmentCalculation(self) -> bool: ... @typing.overload def isDropletCutSizeWithinLimit(self) -> bool: ... @@ -357,7 +509,9 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def isWithinOperatingEnvelope(self) -> bool: ... def levelFromVolume(self, double: float) -> float: ... def liquidArea(self, double: float) -> float: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -374,25 +528,43 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn @typing.overload def setDuty(self, double: float) -> None: ... @typing.overload - def setDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEfficiency(self, double: float) -> None: ... def setEnforceCapacityLimits(self, boolean: bool) -> None: ... def setEnhancedEntrainmentCalculation(self, boolean: bool) -> None: ... - def setEntrainment(self, double: float, 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]) -> None: ... + def setEntrainment( + self, + double: float, + 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], + ) -> None: ... def setGasCarryunderFraction(self, double: float) -> None: ... def setGasLiquidSurfaceTension(self, double: float) -> None: ... @typing.overload def setHeatDuty(self, double: float) -> None: ... @typing.overload - def setHeatDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setHeatInput(self, double: float) -> None: ... @typing.overload - def setHeatInput(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletDeviceType(self, inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType) -> None: ... + def setHeatInput( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletDeviceType( + self, + inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType, + ) -> None: ... def setInletMomentumLimit(self, double: float) -> None: ... def setInletPipeDiameter(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setInternalDiameter(self, double: float) -> None: ... def setKValueLimit(self, double: float) -> None: ... def setLiquidCarryoverFraction(self, double: float) -> None: ... @@ -402,7 +574,10 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def setMistEliminatorDpCoeff(self, double: float) -> None: ... def setMistEliminatorThickness(self, double: float) -> None: ... def setOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPerformanceCalculator(self, separatorPerformanceCalculator: jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator) -> None: ... + def setPerformanceCalculator( + self, + separatorPerformanceCalculator: jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator, + ) -> None: ... def setPressureDrop(self, double: float) -> None: ... def setSeparatorLength(self, double: float) -> None: ... def setTempPres(self, double: float, double2: float) -> None: ... @@ -412,7 +587,9 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def useAPIConstraints(self) -> None: ... def useAllConstraints(self) -> None: ... def useConstraints(self, *string: typing.Union[java.lang.String, str]) -> None: ... @@ -421,34 +598,51 @@ class Separator(jneqsim.process.equipment.ProcessEquipmentBaseClass, SeparatorIn def useGasScrubberConstraints(self) -> None: ... def useLiquidCapacityConstraints(self) -> None: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class Builder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def build(self) -> 'Separator': ... - def designLiquidLevelFraction(self, double: float) -> 'Separator.Builder': ... - def diameter(self, double: float) -> 'Separator.Builder': ... - def efficiency(self, double: float) -> 'Separator.Builder': ... - def gasCarryunder(self, double: float) -> 'Separator.Builder': ... - def gasInLiquid(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... - def heatInput(self, double: float) -> 'Separator.Builder': ... - def horizontal(self) -> 'Separator.Builder': ... - def inletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'Separator.Builder': ... - def length(self, double: float) -> 'Separator.Builder': ... - def liquidCarryover(self, double: float) -> 'Separator.Builder': ... - def liquidLevel(self, double: float) -> 'Separator.Builder': ... - def oilInGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... - def orientation(self, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... - def pressureDrop(self, double: float) -> 'Separator.Builder': ... - def specifiedStream(self, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... - def steadyStateMode(self) -> 'Separator.Builder': ... - def transientMode(self) -> 'Separator.Builder': ... - def vertical(self) -> 'Separator.Builder': ... - def waterInGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'Separator.Builder': ... + def build(self) -> "Separator": ... + def designLiquidLevelFraction(self, double: float) -> "Separator.Builder": ... + def diameter(self, double: float) -> "Separator.Builder": ... + def efficiency(self, double: float) -> "Separator.Builder": ... + def gasCarryunder(self, double: float) -> "Separator.Builder": ... + def gasInLiquid( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "Separator.Builder": ... + def heatInput(self, double: float) -> "Separator.Builder": ... + def horizontal(self) -> "Separator.Builder": ... + def inletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "Separator.Builder": ... + def length(self, double: float) -> "Separator.Builder": ... + def liquidCarryover(self, double: float) -> "Separator.Builder": ... + def liquidLevel(self, double: float) -> "Separator.Builder": ... + def oilInGas( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "Separator.Builder": ... + def orientation( + self, string: typing.Union[java.lang.String, str] + ) -> "Separator.Builder": ... + def pressureDrop(self, double: float) -> "Separator.Builder": ... + def specifiedStream( + self, string: typing.Union[java.lang.String, str] + ) -> "Separator.Builder": ... + def steadyStateMode(self) -> "Separator.Builder": ... + def transientMode(self) -> "Separator.Builder": ... + def vertical(self) -> "Separator.Builder": ... + def waterInGas( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "Separator.Builder": ... class SolidsCentrifuge(SolidsSeparator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getGForce(self) -> float: ... def setGForce(self, double: float) -> None: ... @@ -456,7 +650,11 @@ class CryogenicSeparator(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCO2MolFrac(self) -> float: ... def getMaxCO2MolFrac(self) -> float: ... def getMaxWaterPpm(self) -> float: ... @@ -475,7 +673,11 @@ class EndFlash(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getFlashGasRatio(self) -> float: ... def getMaxN2InLNG(self) -> float: ... def getMethaneInLNGMolFrac(self) -> float: ... @@ -492,32 +694,52 @@ class GasScrubber(Separator): @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 getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... def initMechanicalDesign(self) -> None: ... class GasScrubberSimple(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcLiquidCarryoverFraction(self) -> float: ... def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class Hydrocyclone(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -525,41 +747,70 @@ class Hydrocyclone(Separator): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class NeqGasScrubber(Separator): @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 addScrubberSection(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addScrubberSection( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def displayResult(self) -> None: ... def getGas(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... + def getLiquidOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class ThreePhaseSeparator(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcInterfaceSettlingTime(self) -> float: ... def calcOilRetentionTime(self) -> float: ... def calcWaterRetentionTime(self) -> float: ... def displayResult(self) -> None: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getGasOutletFlowFraction(self) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @@ -569,7 +820,9 @@ class ThreePhaseSeparator(Separator): def getOilOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOilOutletFlowFraction(self) -> float: ... def getOilThickness(self) -> float: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getPerformanceSummary(self) -> java.lang.String: ... def getWaterLevel(self) -> float: ... def getWaterOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -584,9 +837,18 @@ class ThreePhaseSeparator(Separator): def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setEntrainment(self, double: float, 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]) -> None: ... + def setEntrainment( + self, + double: float, + 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], + ) -> None: ... def setGasOutletFlowFraction(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOilLevel(self, double: float) -> None: ... def setOilOutletFlowFraction(self, double: float) -> None: ... def setTempPres(self, double: float, double2: float) -> None: ... @@ -595,14 +857,19 @@ class ThreePhaseSeparator(Separator): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class TwoPhaseSeparator(Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator")``. diff --git a/src/jneqsim-stubs/process/equipment/separator/entrainment/__init__.pyi b/src/jneqsim-stubs/process/equipment/separator/entrainment/__init__.pyi index 8745c7ab..fce28f52 100644 --- a/src/jneqsim-stubs/process/equipment/separator/entrainment/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/separator/entrainment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,22 +12,43 @@ import jpype import neqsim import typing - - class DropletSettlingCalculator(java.io.Serializable): def __init__(self): ... @staticmethod - def calcCriticalDiameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calcCriticalDiameter( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod def calcDragCoefficient(double: float) -> float: ... @staticmethod - def calcReynolds(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcReynolds( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def calcTerminalVelocity(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcTerminalVelocity( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def calcTurbulenceCorrectedCutDiameter(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... + def calcTurbulenceCorrectedCutDiameter( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... @staticmethod - def checkApi12JCompliance(double: float, double2: float, boolean: bool, double3: float, string: typing.Union[java.lang.String, str], boolean2: bool) -> 'DropletSettlingCalculator.ApiComplianceResult': ... + def checkApi12JCompliance( + double: float, + double2: float, + boolean: bool, + double3: float, + string: typing.Union[java.lang.String, str], + boolean2: bool, + ) -> "DropletSettlingCalculator.ApiComplianceResult": ... + class ApiComplianceResult(java.io.Serializable): gasLiquidSectionCompliant: bool = ... liquidSectionCompliant: bool = ... @@ -35,130 +56,185 @@ class DropletSettlingCalculator(java.io.Serializable): liquidComment: java.lang.String = ... gravityCutDiameter_um: float = ... kFactorUtilization: float = ... - def __init__(self, boolean: bool, boolean2: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + boolean: bool, + boolean2: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def isFullyCompliant(self) -> bool: ... class DropletSizeDistribution(java.io.Serializable): def __init__(self): ... def cumulativeFraction(self, double: float) -> float: ... @staticmethod - def fromHinzeCorrelation(double: float, double2: float, double3: float, double4: float, double5: float) -> 'DropletSizeDistribution': ... + def fromHinzeCorrelation( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> "DropletSizeDistribution": ... def getCharacteristicDiameter(self) -> float: ... def getD50(self) -> float: ... - def getDiscreteClasses(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDiscreteClasses( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getNumberOfClasses(self) -> int: ... def getSauterMeanDiameter(self) -> float: ... def getSpreadParameter(self) -> float: ... - def getType(self) -> 'DropletSizeDistribution.DistributionType': ... + def getType(self) -> "DropletSizeDistribution.DistributionType": ... def inverseCDF(self, double: float) -> float: ... @staticmethod - def logNormal(double: float, double2: float) -> 'DropletSizeDistribution': ... + def logNormal(double: float, double2: float) -> "DropletSizeDistribution": ... @staticmethod - def rosinRammler(double: float, double2: float) -> 'DropletSizeDistribution': ... + def rosinRammler(double: float, double2: float) -> "DropletSizeDistribution": ... def setCharacteristicDiameter(self, double: float) -> None: ... def setNumberOfClasses(self, int: int) -> None: ... def setSpreadParameter(self, double: float) -> None: ... def volumePDF(self, double: float) -> float: ... - class DistributionType(java.lang.Enum['DropletSizeDistribution.DistributionType']): - ROSIN_RAMMLER: typing.ClassVar['DropletSizeDistribution.DistributionType'] = ... - LOG_NORMAL: typing.ClassVar['DropletSizeDistribution.DistributionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DistributionType(java.lang.Enum["DropletSizeDistribution.DistributionType"]): + ROSIN_RAMMLER: typing.ClassVar["DropletSizeDistribution.DistributionType"] = ... + LOG_NORMAL: typing.ClassVar["DropletSizeDistribution.DistributionType"] = ... + _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: ... + 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]) -> 'DropletSizeDistribution.DistributionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DropletSizeDistribution.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['DropletSizeDistribution.DistributionType']: ... + def values() -> ( + typing.MutableSequence["DropletSizeDistribution.DistributionType"] + ): ... class GradeEfficiencyCurve(java.io.Serializable): def __init__(self): ... @staticmethod - def axialCyclone(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + def axialCyclone( + double: float, double2: float, double3: float + ) -> "GradeEfficiencyCurve": ... @staticmethod - def axialCycloneDefault() -> 'GradeEfficiencyCurve': ... - def calcOverallEfficiency(self, dropletSizeDistribution: DropletSizeDistribution) -> float: ... + def axialCycloneDefault() -> "GradeEfficiencyCurve": ... + def calcOverallEfficiency( + self, dropletSizeDistribution: DropletSizeDistribution + ) -> float: ... @staticmethod - def custom(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'GradeEfficiencyCurve': ... + def custom( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> "GradeEfficiencyCurve": ... def getCutDiameter(self) -> float: ... def getEfficiency(self, double: float) -> float: ... def getMaxEfficiency(self) -> float: ... def getMinEfficiency(self) -> float: ... def getSharpness(self) -> float: ... - def getType(self) -> 'GradeEfficiencyCurve.InternalsType': ... + def getType(self) -> "GradeEfficiencyCurve.InternalsType": ... @staticmethod - def gravity(double: float) -> 'GradeEfficiencyCurve': ... + def gravity(double: float) -> "GradeEfficiencyCurve": ... @staticmethod - def platePack(double: float, double2: float) -> 'GradeEfficiencyCurve': ... + def platePack(double: float, double2: float) -> "GradeEfficiencyCurve": ... def setCutDiameter(self, double: float) -> None: ... def setMaxEfficiency(self, double: float) -> None: ... def setMinEfficiency(self, double: float) -> None: ... def setSharpness(self, double: float) -> None: ... @staticmethod - def vanePack(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + def vanePack( + double: float, double2: float, double3: float + ) -> "GradeEfficiencyCurve": ... @staticmethod - def vanePackDefault() -> 'GradeEfficiencyCurve': ... + def vanePackDefault() -> "GradeEfficiencyCurve": ... @staticmethod - def wireMesh(double: float, double2: float, double3: float) -> 'GradeEfficiencyCurve': ... + def wireMesh( + double: float, double2: float, double3: float + ) -> "GradeEfficiencyCurve": ... @staticmethod - def wireMeshDefault() -> 'GradeEfficiencyCurve': ... - class InternalsType(java.lang.Enum['GradeEfficiencyCurve.InternalsType']): - GRAVITY: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - WIRE_MESH: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - VANE_PACK: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - AXIAL_CYCLONE: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - PLATE_PACK: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - CUSTOM: typing.ClassVar['GradeEfficiencyCurve.InternalsType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def wireMeshDefault() -> "GradeEfficiencyCurve": ... + + class InternalsType(java.lang.Enum["GradeEfficiencyCurve.InternalsType"]): + GRAVITY: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + WIRE_MESH: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + VANE_PACK: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + AXIAL_CYCLONE: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + PLATE_PACK: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + CUSTOM: typing.ClassVar["GradeEfficiencyCurve.InternalsType"] = ... + _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: ... + 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]) -> 'GradeEfficiencyCurve.InternalsType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GradeEfficiencyCurve.InternalsType": ... @staticmethod - def values() -> typing.MutableSequence['GradeEfficiencyCurve.InternalsType']: ... + def values() -> ( + typing.MutableSequence["GradeEfficiencyCurve.InternalsType"] + ): ... class InletDeviceModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, inletDeviceType: 'InletDeviceModel.InletDeviceType'): ... - def calculate(self, dropletSizeDistribution: DropletSizeDistribution, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def __init__(self, inletDeviceType: "InletDeviceModel.InletDeviceType"): ... + def calculate( + self, + dropletSizeDistribution: DropletSizeDistribution, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def getBulkSeparationEfficiency(self) -> float: ... - def getDeviceType(self) -> 'InletDeviceModel.InletDeviceType': ... + def getDeviceType(self) -> "InletDeviceModel.InletDeviceType": ... def getDownstreamDSD(self) -> DropletSizeDistribution: ... def getInletNozzleDiameter(self) -> float: ... def getMomentumFlux(self) -> float: ... def getNozzleVelocity(self) -> float: ... def getPressureDrop(self) -> float: ... - def setDeviceType(self, inletDeviceType: 'InletDeviceModel.InletDeviceType') -> None: ... + def setDeviceType( + self, inletDeviceType: "InletDeviceModel.InletDeviceType" + ) -> None: ... def setInletNozzleDiameter(self, double: float) -> None: ... def setOverrideBulkEfficiency(self, double: float) -> None: ... def setOverrideDsdMultiplier(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class InletDeviceType(java.lang.Enum['InletDeviceModel.InletDeviceType']): - NONE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - DEFLECTOR_PLATE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - HALF_PIPE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - INLET_VANE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - INLET_CYCLONE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - SCHOEPENTOETER: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... - IMPINGEMENT_PLATE: typing.ClassVar['InletDeviceModel.InletDeviceType'] = ... + + class InletDeviceType(java.lang.Enum["InletDeviceModel.InletDeviceType"]): + NONE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + DEFLECTOR_PLATE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + HALF_PIPE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + INLET_VANE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + INLET_CYCLONE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + SCHOEPENTOETER: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... + IMPINGEMENT_PLATE: typing.ClassVar["InletDeviceModel.InletDeviceType"] = ... def getDisplayName(self) -> java.lang.String: ... def getDsdMultiplier(self) -> float: ... def getPressureDropCoefficient(self) -> float: ... def getTypicalBulkEfficiency(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InletDeviceModel.InletDeviceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InletDeviceModel.InletDeviceType": ... @staticmethod - def values() -> typing.MutableSequence['InletDeviceModel.InletDeviceType']: ... + def values() -> typing.MutableSequence["InletDeviceModel.InletDeviceType"]: ... class MultiphaseFlowRegime(java.io.Serializable): def __init__(self): ... @@ -172,7 +248,7 @@ class MultiphaseFlowRegime(java.io.Serializable): def getLiquidViscosity(self) -> float: ... def getPipeDiameter(self) -> float: ... def getPipeOrientation(self) -> java.lang.String: ... - def getPredictedRegime(self) -> 'MultiphaseFlowRegime.FlowRegime': ... + def getPredictedRegime(self) -> "MultiphaseFlowRegime.FlowRegime": ... def getSurfaceTension(self) -> float: ... def predict(self) -> None: ... def setGasDensity(self, double: float) -> None: ... @@ -182,30 +258,38 @@ class MultiphaseFlowRegime(java.io.Serializable): def setLiquidSuperficialVelocity(self, double: float) -> None: ... def setLiquidViscosity(self, double: float) -> None: ... def setPipeDiameter(self, double: float) -> None: ... - def setPipeOrientation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipeOrientation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSurfaceTension(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class FlowRegime(java.lang.Enum['MultiphaseFlowRegime.FlowRegime']): - STRATIFIED_SMOOTH: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - STRATIFIED_WAVY: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - SLUG: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - PLUG: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - ANNULAR: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - ANNULAR_MIST: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - DISPERSED_BUBBLE: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - CHURN: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... - BUBBLE: typing.ClassVar['MultiphaseFlowRegime.FlowRegime'] = ... + + class FlowRegime(java.lang.Enum["MultiphaseFlowRegime.FlowRegime"]): + STRATIFIED_SMOOTH: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + STRATIFIED_WAVY: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + SLUG: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + PLUG: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + ANNULAR: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + ANNULAR_MIST: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + DISPERSED_BUBBLE: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + CHURN: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... + BUBBLE: typing.ClassVar["MultiphaseFlowRegime.FlowRegime"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MultiphaseFlowRegime.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiphaseFlowRegime.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['MultiphaseFlowRegime.FlowRegime']: ... + def values() -> typing.MutableSequence["MultiphaseFlowRegime.FlowRegime"]: ... class SeparatorGeometryCalculator(java.io.Serializable): def __init__(self): ... @@ -214,7 +298,9 @@ class SeparatorGeometryCalculator(java.io.Serializable): @staticmethod def calcSegmentArea(double: float, double2: float) -> float: ... def calculate(self, double: float, double2: float) -> None: ... - def calculateThreePhase(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def calculateThreePhase( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def getEffectiveGasSettlingHeight(self) -> float: ... def getEffectiveLiquidSettlingHeight(self) -> float: ... def getGasArea(self) -> float: ... @@ -243,19 +329,44 @@ class SeparatorGeometryCalculator(java.io.Serializable): def toJson(self) -> java.lang.String: ... class SeparatorInternalsDatabase(java.io.Serializable): - def findByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.InternalsRecord']: ... - def findByTypeAndSubType(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SeparatorInternalsDatabase.InternalsRecord': ... - def findInletDeviceByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.InletDeviceRecord']: ... - def findVendorCurveById(self, string: typing.Union[java.lang.String, str]) -> 'SeparatorInternalsDatabase.VendorCurveRecord': ... - def findVendorCurvesByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... - def findVendorCurvesByTypeAndVendor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... - def findVendorCurvesByVendor(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... - def getAllInletDevices(self) -> java.util.List['SeparatorInternalsDatabase.InletDeviceRecord']: ... - def getAllInternals(self) -> java.util.List['SeparatorInternalsDatabase.InternalsRecord']: ... - def getAllVendorCurves(self) -> java.util.List['SeparatorInternalsDatabase.VendorCurveRecord']: ... + def findByType( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SeparatorInternalsDatabase.InternalsRecord"]: ... + def findByTypeAndSubType( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SeparatorInternalsDatabase.InternalsRecord": ... + def findInletDeviceByType( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SeparatorInternalsDatabase.InletDeviceRecord"]: ... + def findVendorCurveById( + self, string: typing.Union[java.lang.String, str] + ) -> "SeparatorInternalsDatabase.VendorCurveRecord": ... + def findVendorCurvesByType( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SeparatorInternalsDatabase.VendorCurveRecord"]: ... + def findVendorCurvesByTypeAndVendor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.List["SeparatorInternalsDatabase.VendorCurveRecord"]: ... + def findVendorCurvesByVendor( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SeparatorInternalsDatabase.VendorCurveRecord"]: ... + def getAllInletDevices( + self, + ) -> java.util.List["SeparatorInternalsDatabase.InletDeviceRecord"]: ... + def getAllInternals( + self, + ) -> java.util.List["SeparatorInternalsDatabase.InternalsRecord"]: ... + def getAllVendorCurves( + self, + ) -> java.util.List["SeparatorInternalsDatabase.VendorCurveRecord"]: ... @staticmethod - def getInstance() -> 'SeparatorInternalsDatabase': ... + def getInstance() -> "SeparatorInternalsDatabase": ... def toCatalogJson(self) -> java.lang.String: ... + class InletDeviceRecord(java.io.Serializable): deviceType: java.lang.String = ... subType: java.lang.String = ... @@ -268,6 +379,7 @@ class SeparatorInternalsDatabase(java.io.Serializable): material: java.lang.String = ... reference: java.lang.String = ... def __init__(self): ... + class InternalsRecord(java.io.Serializable): internalsType: java.lang.String = ... subType: java.lang.String = ... @@ -286,6 +398,7 @@ class SeparatorInternalsDatabase(java.io.Serializable): reference: java.lang.String = ... def __init__(self): ... def toGradeEfficiencyCurve(self) -> GradeEfficiencyCurve: ... + class VendorCurveRecord(java.io.Serializable): curveId: java.lang.String = ... internalsType: java.lang.String = ... @@ -306,14 +419,51 @@ class SeparatorInternalsDatabase(java.io.Serializable): class SeparatorPerformanceCalculator(java.io.Serializable): def __init__(self): ... - def buildBatchCalibrationReportJson(self, list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], batchCalibrationSummary: 'SeparatorPerformanceCalculator.BatchCalibrationSummary', double: float) -> java.lang.String: ... - def calculate(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, string: typing.Union[java.lang.String, str], double10: float) -> None: ... - def calibrateFromCaseLibrary(self, list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], double: float) -> 'SeparatorPerformanceCalculator.BatchCalibrationSummary': ... - def calibrateFromGroupedMeasurements(self, double: float, double2: float, double3: float, double4: float) -> 'SeparatorPerformanceCalculator.CalibrationSummary': ... - def calibrateFromMeasuredFractions(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'SeparatorPerformanceCalculator.CalibrationSummary': ... + def buildBatchCalibrationReportJson( + self, + list: java.util.List["SeparatorPerformanceCalculator.CalibrationCase"], + batchCalibrationSummary: "SeparatorPerformanceCalculator.BatchCalibrationSummary", + double: float, + ) -> java.lang.String: ... + def calculate( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + string: typing.Union[java.lang.String, str], + double10: float, + ) -> None: ... + def calibrateFromCaseLibrary( + self, + list: java.util.List["SeparatorPerformanceCalculator.CalibrationCase"], + double: float, + ) -> "SeparatorPerformanceCalculator.BatchCalibrationSummary": ... + def calibrateFromGroupedMeasurements( + self, double: float, double2: float, double3: float, double4: float + ) -> "SeparatorPerformanceCalculator.CalibrationSummary": ... + def calibrateFromMeasuredFractions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> "SeparatorPerformanceCalculator.CalibrationSummary": ... @staticmethod - def generateLiquidLiquidDSD(double: float, double2: float, double3: float, double4: float) -> DropletSizeDistribution: ... - def getApiComplianceResult(self) -> DropletSettlingCalculator.ApiComplianceResult: ... + def generateLiquidLiquidDSD( + double: float, double2: float, double3: float, double4: float + ) -> DropletSizeDistribution: ... + def getApiComplianceResult( + self, + ) -> DropletSettlingCalculator.ApiComplianceResult: ... def getFlowRegimeCalculator(self) -> MultiphaseFlowRegime: ... def getGasCarryUnderCalibrationFactor(self) -> float: ... def getGasInOilFraction(self) -> float: ... @@ -347,34 +497,68 @@ class SeparatorPerformanceCalculator(java.io.Serializable): def isMistEliminatorFlooded(self) -> bool: ... def isUseEnhancedCalculation(self) -> bool: ... @staticmethod - def loadCalibrationCasesFromCsv(string: typing.Union[java.lang.String, str]) -> java.util.List['SeparatorPerformanceCalculator.CalibrationCase']: ... - def saveBatchCalibrationReportJson(self, string: typing.Union[java.lang.String, str], list: java.util.List['SeparatorPerformanceCalculator.CalibrationCase'], batchCalibrationSummary: 'SeparatorPerformanceCalculator.BatchCalibrationSummary', double: float) -> None: ... + def loadCalibrationCasesFromCsv( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["SeparatorPerformanceCalculator.CalibrationCase"]: ... + def saveBatchCalibrationReportJson( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List["SeparatorPerformanceCalculator.CalibrationCase"], + batchCalibrationSummary: "SeparatorPerformanceCalculator.BatchCalibrationSummary", + double: float, + ) -> None: ... def setApplyTurbulenceCorrection(self, boolean: bool) -> None: ... - def setFlowRegimeCalculator(self, multiphaseFlowRegime: MultiphaseFlowRegime) -> None: ... - def setGasBubbleDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setFlowRegimeCalculator( + self, multiphaseFlowRegime: MultiphaseFlowRegime + ) -> None: ... + def setGasBubbleDSD( + self, dropletSizeDistribution: DropletSizeDistribution + ) -> None: ... def setGasCarryUnderCalibrationFactor(self, double: float) -> None: ... - def setGasLiquidDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... - def setGeometryCalculator(self, separatorGeometryCalculator: SeparatorGeometryCalculator) -> None: ... + def setGasLiquidDSD( + self, dropletSizeDistribution: DropletSizeDistribution + ) -> None: ... + def setGeometryCalculator( + self, separatorGeometryCalculator: SeparatorGeometryCalculator + ) -> None: ... def setIncludeGravitySection(self, boolean: bool) -> None: ... def setInletDeviceModel(self, inletDeviceModel: InletDeviceModel) -> None: ... def setInletPipeDiameter(self, double: float) -> None: ... def setLiquidInGasCalibrationFactor(self, double: float) -> None: ... def setLiquidLiquidCalibrationFactor(self, double: float) -> None: ... def setLiquidLiquidResidenceTime(self, double: float) -> None: ... - def setMistEliminatorCurve(self, gradeEfficiencyCurve: GradeEfficiencyCurve) -> None: ... - def setOilInWaterDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setMistEliminatorCurve( + self, gradeEfficiencyCurve: GradeEfficiencyCurve + ) -> None: ... + def setOilInWaterDSD( + self, dropletSizeDistribution: DropletSizeDistribution + ) -> None: ... def setOilVolumeFraction(self, double: float) -> None: ... - def setOilWaterCoalescerCurve(self, gradeEfficiencyCurve: GradeEfficiencyCurve) -> None: ... + def setOilWaterCoalescerCurve( + self, gradeEfficiencyCurve: GradeEfficiencyCurve + ) -> None: ... def setOilWaterInterfacialTension(self, double: float) -> None: ... def setSurfaceTension(self, double: float) -> None: ... def setUseEnhancedCalculation(self, boolean: bool) -> None: ... - def setWaterInOilDSD(self, dropletSizeDistribution: DropletSizeDistribution) -> None: ... + def setWaterInOilDSD( + self, dropletSizeDistribution: DropletSizeDistribution + ) -> None: ... def toJson(self) -> java.lang.String: ... - class BatchCalibrationSummary(jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator.CalibrationSummary): + + class BatchCalibrationSummary( + jneqsim.process.equipment.separator.entrainment.SeparatorPerformanceCalculator.CalibrationSummary + ): casesProcessed: int = ... mapeBefore: float = ... mapeAfter: float = ... - def __init__(self, calibrationSummary: 'SeparatorPerformanceCalculator.CalibrationSummary', int: int, double: float, double2: float): ... + def __init__( + self, + calibrationSummary: "SeparatorPerformanceCalculator.CalibrationSummary", + int: int, + double: float, + double2: float, + ): ... + class CalibrationCase(java.io.Serializable): caseId: java.lang.String = ... modeledOilInGas: float = ... @@ -389,7 +573,23 @@ class SeparatorPerformanceCalculator(java.io.Serializable): measuredGasInWater: float = ... measuredOilInWater: float = ... measuredWaterInOil: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + double12: float, + ): ... + class CalibrationSummary(java.io.Serializable): previousLiquidInGasFactor: float = ... previousGasCarryUnderFactor: float = ... @@ -400,8 +600,18 @@ class SeparatorPerformanceCalculator(java.io.Serializable): liquidInGasPointsUsed: int = ... gasCarryUnderPointsUsed: int = ... liquidLiquidPointsUsed: int = ... - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, int: int, int2: int, int3: int): ... - + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + int: int, + int2: int, + int3: int, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator.entrainment")``. diff --git a/src/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi index b43c0620..78bbdec1 100644 --- a/src/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,20 @@ import jneqsim.process.mechanicaldesign.separator.sectiontype import jneqsim.util import typing - - class SeparatorSection(jneqsim.util.NamedBaseClass): separator: jneqsim.process.equipment.separator.Separator = ... outerDiameter: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... def getEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.SepDesignSection: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.SepDesignSection: ... def getMinimumLiquidSealHeight(self) -> float: ... def getOuterDiameter(self) -> float: ... def getPressureDrop(self) -> float: ... @@ -29,37 +34,80 @@ class SeparatorSection(jneqsim.util.NamedBaseClass): def setEfficiency(self, double: float) -> None: ... def setOuterDiameter(self, double: float) -> None: ... def setPressureDrop(self, double: float) -> None: ... - def setSeparator(self, separator: jneqsim.process.equipment.separator.Separator) -> None: ... + def setSeparator( + self, separator: jneqsim.process.equipment.separator.Separator + ) -> None: ... class ManwaySection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechManwaySection: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechManwaySection: ... class MeshSection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MecMeshSection: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MecMeshSection: ... class NozzleSection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechNozzleSection: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechNozzleSection: ... class PackedSection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... class ValveSection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.DistillationTraySection: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.separator.sectiontype.DistillationTraySection + ): ... class VaneSection(SeparatorSection): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... def calcEfficiency(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechVaneSection: ... - + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.separator.sectiontype.MechVaneSection: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.separator.sectiontype")``. diff --git a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi index c07a36af..85f7e401 100644 --- a/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/splitter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,26 +16,36 @@ import jneqsim.process.util.report import jneqsim.util.validation import typing - - class BiogasUpgrader(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getBiomethaneCO2Percent(self) -> float: ... def getBiomethaneFlowNm3PerHr(self) -> float: ... def getBiomethaneMethanePercent(self) -> float: ... - def getBiomethaneOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBiomethaneOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getEnergyConsumptionKW(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getMethaneSlipPercent(self) -> float: ... - def getOffgasOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOffgasOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getRawBiogasFlowNm3PerHr(self) -> float: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getTechnology(self) -> 'BiogasUpgrader.UpgradingTechnology': ... + def getTechnology(self) -> "BiogasUpgrader.UpgradingTechnology": ... def getWobbeIndex(self) -> float: ... @typing.overload def run(self) -> None: ... @@ -43,52 +53,74 @@ class BiogasUpgrader(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self, uUID: java.util.UUID) -> None: ... def setCO2RemovalEfficiency(self, double: float) -> None: ... def setH2SRemovalEfficiency(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMethaneRecovery(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setSpecificEnergy(self, double: float) -> None: ... - def setTechnology(self, upgradingTechnology: 'BiogasUpgrader.UpgradingTechnology') -> None: ... + def setTechnology( + self, upgradingTechnology: "BiogasUpgrader.UpgradingTechnology" + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class UpgradingTechnology(java.lang.Enum['BiogasUpgrader.UpgradingTechnology']): - WATER_SCRUBBING: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... - AMINE_SCRUBBING: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... - MEMBRANE: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... - PSA: typing.ClassVar['BiogasUpgrader.UpgradingTechnology'] = ... + + class UpgradingTechnology(java.lang.Enum["BiogasUpgrader.UpgradingTechnology"]): + WATER_SCRUBBING: typing.ClassVar["BiogasUpgrader.UpgradingTechnology"] = ... + AMINE_SCRUBBING: typing.ClassVar["BiogasUpgrader.UpgradingTechnology"] = ... + MEMBRANE: typing.ClassVar["BiogasUpgrader.UpgradingTechnology"] = ... + PSA: typing.ClassVar["BiogasUpgrader.UpgradingTechnology"] = ... def getCo2RemovalEfficiency(self) -> float: ... def getH2sRemovalEfficiency(self) -> float: ... def getMethaneRecovery(self) -> float: ... def getSpecificEnergyKWhPerNm3(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'BiogasUpgrader.UpgradingTechnology': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BiogasUpgrader.UpgradingTechnology": ... @staticmethod - def values() -> typing.MutableSequence['BiogasUpgrader.UpgradingTechnology']: ... + def values() -> ( + typing.MutableSequence["BiogasUpgrader.UpgradingTechnology"] + ): ... class ComponentCaptureUnit(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getActualCaptureFraction(self) -> float: ... def getCaptureFraction(self) -> float: ... def getCapturedComponentMoleFlow(self) -> float: ... def getCapturedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getComponentName(self) -> java.lang.String: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[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 getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getTreatedComponentMoleFlow(self) -> float: ... def getTreatedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @@ -98,9 +130,13 @@ class ComponentCaptureUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self, uUID: java.util.UUID) -> None: ... def setCaptureFraction(self, double: float) -> None: ... def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @@ -108,72 +144,123 @@ class ComponentSplitter(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[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 getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getSplitFactors(self) -> typing.MutableSequence[float]: ... def getSplitNumber(self) -> int: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setSplitFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class SplitterInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def equals(self, object: typing.Any) -> bool: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def hashCode(self) -> int: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setSplitNumber(self, int: int) -> None: ... -class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +class Splitter( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + SplitterInterface, + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, +): @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): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, int: int): ... - def addCapacityConstraint(self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + int: int, + ): ... + def addCapacityConstraint( + self, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint + ) -> None: ... def calcSplitFactors(self) -> None: ... def clearCapacityConstraints(self) -> None: ... def displayResult(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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getDesignPressureDrop(self) -> float: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getFlowUnit(self) -> java.lang.String: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[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 getMaxDesignVelocity(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getSplitFactor(self, int: int) -> float: ... def getSplitFactors(self) -> typing.MutableSequence[float]: ... def getSplitNumber(self) -> int: ... - def getSplitStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getSplitStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initMechanicalDesign(self) -> None: ... def isCapacityAnalysisEnabled(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -184,18 +271,27 @@ class Splitter(jneqsim.process.equipment.ProcessEquipmentBaseClass, SplitterInte def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... def setCapacityAnalysisEnabled(self, boolean: bool) -> None: ... def setDesignPressureDrop(self, double: float) -> None: ... - def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFlowRates( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMaxDesignVelocity(self, double: float) -> None: ... - def setSplitFactors(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSplitFactors( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setSplitNumber(self, int: int) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.splitter")``. diff --git a/src/jneqsim-stubs/process/equipment/stream/__init__.pyi b/src/jneqsim-stubs/process/equipment/stream/__init__.pyi index 48d2c1bd..b0a251ca 100644 --- a/src/jneqsim-stubs/process/equipment/stream/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/stream/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,14 +16,12 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - class EnergyStream(java.io.Serializable, java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def clone(self) -> 'EnergyStream': ... + def clone(self) -> "EnergyStream": ... def equals(self, object: typing.Any) -> bool: ... def getDuty(self) -> float: ... def getName(self) -> java.lang.String: ... @@ -36,121 +34,239 @@ class StreamInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def CCT(self, string: typing.Union[java.lang.String, str]) -> float: ... def GCV(self) -> float: ... def LCV(self) -> float: ... - def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def TVP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def clone(self) -> 'StreamInterface': ... + def clone(self) -> "StreamInterface": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'StreamInterface': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "StreamInterface": ... def equals(self, object: typing.Any) -> bool: ... def flashStream(self) -> None: ... def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getGCV(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getGCV( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> float: ... def getHydrateEquilibriumTemperature(self) -> float: ... - def getHydrocarbonDewPoint(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> float: ... - def getISO6976(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.standards.gasquality.Standard_ISO6976: ... + def getHydrocarbonDewPoint( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getISO6976( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> jneqsim.standards.gasquality.Standard_ISO6976: ... def getMolarRate(self) -> float: ... @typing.overload def getPressure(self) -> float: ... @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getTVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getRVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + @typing.overload + def getRVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getTVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getTemperature(self) -> float: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getWI(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getWI( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> float: ... def hashCode(self) -> int: ... def runTPflash(self) -> None: ... - def setEmptyThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setEmptyThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setThermoSystemFromPhase(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setThermoSystemFromPhase( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... class VirtualStream(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: StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: StreamInterface, + ): ... def getOutStream(self) -> StreamInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setComposition( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setReferenceStream(self, streamInterface: StreamInterface) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def solved(self) -> bool: ... -class Stream(jneqsim.process.equipment.ProcessEquipmentBaseClass, StreamInterface, java.lang.Cloneable): +class Stream( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + StreamInterface, + java.lang.Cloneable, +): @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: StreamInterface): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: StreamInterface, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... def CCB(self, string: typing.Union[java.lang.String, str]) -> float: ... def CCT(self, string: typing.Union[java.lang.String, str]) -> float: ... def GCV(self) -> float: ... def LCV(self) -> float: ... - def TVP(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def TVP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def clone(self) -> 'Stream': ... + def clone(self) -> "Stream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'Stream': ... + def clone(self, string: typing.Union[java.lang.String, str]) -> "Stream": ... def displayResult(self) -> None: ... def flashStream(self) -> None: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getGCV(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getGCV( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> float: ... def getGasQuality(self) -> float: ... def getHydrateEquilibriumTemperature(self) -> float: ... - def getHydrocarbonDewPoint(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> float: ... - def getISO6976(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.standards.gasquality.Standard_ISO6976: ... + def getHydrocarbonDewPoint( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getISO6976( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> jneqsim.standards.gasquality.Standard_ISO6976: ... def getMolarRate(self) -> float: ... def getOutletStream(self) -> StreamInterface: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... - @typing.overload - def getProperty(self, 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]) -> typing.Any: ... - @typing.overload - def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getRVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getReport(self) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getSolidFormationTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTVP(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getProperty( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... + @typing.overload + def getProperty( + self, + 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], + ) -> typing.Any: ... + @typing.overload + def getRVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + @typing.overload + def getRVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getReport( + self, + ) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSolidFormationTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTVP( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getTemperature(self) -> float: ... @typing.overload def getTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getWI(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> float: ... + def getWI( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> float: ... def needRecalculation(self) -> bool: ... def phaseEnvelope(self) -> None: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -161,37 +277,61 @@ class Stream(jneqsim.process.equipment.ProcessEquipmentBaseClass, StreamInterfac def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setEmptyThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setEmptyThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setGasQuality(self, double: float) -> None: ... def setInletStream(self, streamInterface: StreamInterface) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setStream(self, streamInterface: StreamInterface) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setThermoSystemFromPhase(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setThermoSystemFromPhase( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class EquilibriumStream(Stream): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'EquilibriumStream': ... + def clone(self) -> "EquilibriumStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'EquilibriumStream': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "EquilibriumStream": ... @typing.overload def run(self) -> None: ... @typing.overload @@ -201,13 +341,23 @@ class IronIonSaturationStream(Stream): @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: StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: StreamInterface, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'IronIonSaturationStream': ... + def clone(self) -> "IronIonSaturationStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'IronIonSaturationStream': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "IronIonSaturationStream": ... def displayResult(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -218,13 +368,21 @@ class NeqStream(Stream): @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: StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: StreamInterface, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'NeqStream': ... + def clone(self) -> "NeqStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'NeqStream': ... + def clone(self, string: typing.Union[java.lang.String, str]) -> "NeqStream": ... @typing.overload def run(self) -> None: ... @typing.overload @@ -234,20 +392,29 @@ class ScalePotentialCheckStream(Stream): @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: StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: StreamInterface, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload - def clone(self) -> 'ScalePotentialCheckStream': ... + def clone(self) -> "ScalePotentialCheckStream": ... @typing.overload - def clone(self, string: typing.Union[java.lang.String, str]) -> 'ScalePotentialCheckStream': ... + def clone( + self, string: typing.Union[java.lang.String, str] + ) -> "ScalePotentialCheckStream": ... def displayResult(self) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.stream")``. diff --git a/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi b/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi index cc7113fe..d7c67b5f 100644 --- a/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/subsea/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,20 +18,30 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class FlexiblePipe(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self): ... @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @staticmethod - def createDynamicRiser(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, riserConfiguration: 'FlexiblePipe.RiserConfiguration') -> 'FlexiblePipe': ... + def createDynamicRiser( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + riserConfiguration: "FlexiblePipe.RiserConfiguration", + ) -> "FlexiblePipe": ... @staticmethod - def createStaticFlowline(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'FlexiblePipe': ... - def getApplication(self) -> 'FlexiblePipe.Application': ... + def createStaticFlowline( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "FlexiblePipe": ... + def getApplication(self) -> "FlexiblePipe.Application": ... def getBendStiffenerLength(self) -> float: ... def getBurstPressure(self) -> float: ... def getCarcassMaterial(self) -> java.lang.String: ... @@ -47,13 +57,15 @@ class FlexiblePipe(jneqsim.process.equipment.TwoPortEquipment): def getInternalSheathMaterial(self) -> java.lang.String: ... def getLength(self) -> float: ... def getMaxTensionKN(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.FlexiblePipeMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.FlexiblePipeMechanicalDesign: ... def getMinDesignTemperature(self) -> float: ... def getMinimumBendRadius(self) -> float: ... def getOuterDiameterMm(self) -> float: ... - def getPipeType(self) -> 'FlexiblePipe.PipeType': ... - def getRiserConfiguration(self) -> 'FlexiblePipe.RiserConfiguration': ... - def getServiceType(self) -> 'FlexiblePipe.ServiceType': ... + def getPipeType(self) -> "FlexiblePipe.PipeType": ... + def getRiserConfiguration(self) -> "FlexiblePipe.RiserConfiguration": ... + def getServiceType(self) -> "FlexiblePipe.ServiceType": ... def getSubmergedWeightPerMeter(self) -> float: ... def getTensileArmorLayers(self) -> int: ... def getWaterDepth(self) -> float: ... @@ -67,100 +79,134 @@ class FlexiblePipe(jneqsim.process.equipment.TwoPortEquipment): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setApplication(self, application: 'FlexiblePipe.Application') -> None: ... + def setApplication(self, application: "FlexiblePipe.Application") -> None: ... def setBendStiffenerLength(self, double: float) -> None: ... def setBurstPressure(self, double: float) -> None: ... def setCO2Content(self, double: float) -> None: ... - def setCarcassMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCarcassMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCollapsePressure(self, double: float) -> None: ... def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDryWeightPerMeter(self, double: float) -> None: ... - def setEndFittingFlangeRating(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEndFittingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEndFittingFlangeRating( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEndFittingType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setH2SContent(self, double: float) -> None: ... def setHasBendStiffener(self, boolean: bool) -> None: ... def setHasCarcass(self, boolean: bool) -> None: ... def setHasPressureArmor(self, boolean: bool) -> None: ... def setInnerDiameterInches(self, double: float) -> None: ... - def setInternalSheathMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInternalSheathMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLength(self, double: float) -> None: ... def setMaxTensionKN(self, double: float) -> None: ... def setMinDesignTemperature(self, double: float) -> None: ... def setMinimumBendRadius(self, double: float) -> None: ... def setOuterDiameterMm(self, double: float) -> None: ... - def setPipeType(self, pipeType: 'FlexiblePipe.PipeType') -> None: ... - def setRiserConfiguration(self, riserConfiguration: 'FlexiblePipe.RiserConfiguration') -> None: ... - def setServiceType(self, serviceType: 'FlexiblePipe.ServiceType') -> None: ... + def setPipeType(self, pipeType: "FlexiblePipe.PipeType") -> None: ... + def setRiserConfiguration( + self, riserConfiguration: "FlexiblePipe.RiserConfiguration" + ) -> None: ... + def setServiceType(self, serviceType: "FlexiblePipe.ServiceType") -> None: ... def setSubmergedWeightPerMeter(self, double: float) -> None: ... def setTensileArmorLayers(self, int: int) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class Application(java.lang.Enum['FlexiblePipe.Application']): - DYNAMIC_RISER: typing.ClassVar['FlexiblePipe.Application'] = ... - STATIC_RISER: typing.ClassVar['FlexiblePipe.Application'] = ... - FLOWLINE: typing.ClassVar['FlexiblePipe.Application'] = ... - JUMPER: typing.ClassVar['FlexiblePipe.Application'] = ... - EXPORT: typing.ClassVar['FlexiblePipe.Application'] = ... - INJECTION: typing.ClassVar['FlexiblePipe.Application'] = ... + + class Application(java.lang.Enum["FlexiblePipe.Application"]): + DYNAMIC_RISER: typing.ClassVar["FlexiblePipe.Application"] = ... + STATIC_RISER: typing.ClassVar["FlexiblePipe.Application"] = ... + FLOWLINE: typing.ClassVar["FlexiblePipe.Application"] = ... + JUMPER: typing.ClassVar["FlexiblePipe.Application"] = ... + EXPORT: typing.ClassVar["FlexiblePipe.Application"] = ... + INJECTION: typing.ClassVar["FlexiblePipe.Application"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlexiblePipe.Application': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlexiblePipe.Application": ... @staticmethod - def values() -> typing.MutableSequence['FlexiblePipe.Application']: ... - class PipeType(java.lang.Enum['FlexiblePipe.PipeType']): - UNBONDED: typing.ClassVar['FlexiblePipe.PipeType'] = ... - BONDED: typing.ClassVar['FlexiblePipe.PipeType'] = ... - HYBRID_COMPOSITE: typing.ClassVar['FlexiblePipe.PipeType'] = ... + def values() -> typing.MutableSequence["FlexiblePipe.Application"]: ... + + class PipeType(java.lang.Enum["FlexiblePipe.PipeType"]): + UNBONDED: typing.ClassVar["FlexiblePipe.PipeType"] = ... + BONDED: typing.ClassVar["FlexiblePipe.PipeType"] = ... + HYBRID_COMPOSITE: typing.ClassVar["FlexiblePipe.PipeType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlexiblePipe.PipeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlexiblePipe.PipeType": ... @staticmethod - def values() -> typing.MutableSequence['FlexiblePipe.PipeType']: ... - class RiserConfiguration(java.lang.Enum['FlexiblePipe.RiserConfiguration']): - FREE_HANGING: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... - LAZY_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... - STEEP_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... - LAZY_S: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... - STEEP_S: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... - PLIANT_WAVE: typing.ClassVar['FlexiblePipe.RiserConfiguration'] = ... + def values() -> typing.MutableSequence["FlexiblePipe.PipeType"]: ... + + class RiserConfiguration(java.lang.Enum["FlexiblePipe.RiserConfiguration"]): + FREE_HANGING: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... + LAZY_WAVE: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... + STEEP_WAVE: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... + LAZY_S: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... + STEEP_S: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... + PLIANT_WAVE: typing.ClassVar["FlexiblePipe.RiserConfiguration"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlexiblePipe.RiserConfiguration': ... - @staticmethod - def values() -> typing.MutableSequence['FlexiblePipe.RiserConfiguration']: ... - class ServiceType(java.lang.Enum['FlexiblePipe.ServiceType']): - OIL: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - GAS: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - MULTIPHASE: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - WATER_INJECTION: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - GAS_INJECTION: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - GAS_LIFT: typing.ClassVar['FlexiblePipe.ServiceType'] = ... - CHEMICAL: typing.ClassVar['FlexiblePipe.ServiceType'] = ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlexiblePipe.RiserConfiguration": ... + @staticmethod + def values() -> typing.MutableSequence["FlexiblePipe.RiserConfiguration"]: ... + + class ServiceType(java.lang.Enum["FlexiblePipe.ServiceType"]): + OIL: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + GAS: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + MULTIPHASE: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + WATER_INJECTION: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + GAS_INJECTION: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + GAS_LIFT: typing.ClassVar["FlexiblePipe.ServiceType"] = ... + CHEMICAL: typing.ClassVar["FlexiblePipe.ServiceType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlexiblePipe.ServiceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlexiblePipe.ServiceType": ... @staticmethod - def values() -> typing.MutableSequence['FlexiblePipe.ServiceType']: ... + def values() -> typing.MutableSequence["FlexiblePipe.ServiceType"]: ... class FloatingSubstructure(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -170,7 +216,7 @@ class FloatingSubstructure(jneqsim.process.equipment.ProcessEquipmentBaseClass): def getBallastMass(self) -> float: ... def getCenterOfBuoyancy(self) -> float: ... def getCenterOfGravity(self) -> float: ... - def getConceptType(self) -> 'FloatingSubstructure.ConceptType': ... + def getConceptType(self) -> "FloatingSubstructure.ConceptType": ... def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDisplacedVolume(self) -> float: ... def getDisplacement(self) -> float: ... @@ -200,7 +246,9 @@ class FloatingSubstructure(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setColumnDiameter(self, double: float) -> None: ... def setColumnHeight(self, double: float) -> None: ... def setColumnSpacing(self, double: float) -> None: ... - def setConceptType(self, conceptType: 'FloatingSubstructure.ConceptType') -> None: ... + def setConceptType( + self, conceptType: "FloatingSubstructure.ConceptType" + ) -> None: ... def setDesignWindThrust(self, double: float) -> None: ... def setHubHeight(self, double: float) -> None: ... def setNumberOfColumns(self, int: int) -> None: ... @@ -213,21 +261,27 @@ class FloatingSubstructure(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setTowerMass(self, double: float) -> None: ... def setTurbineMass(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class ConceptType(java.lang.Enum['FloatingSubstructure.ConceptType']): - SEMI_SUBMERSIBLE: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... - SPAR: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... - BARGE: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... - TLP: typing.ClassVar['FloatingSubstructure.ConceptType'] = ... + + class ConceptType(java.lang.Enum["FloatingSubstructure.ConceptType"]): + SEMI_SUBMERSIBLE: typing.ClassVar["FloatingSubstructure.ConceptType"] = ... + SPAR: typing.ClassVar["FloatingSubstructure.ConceptType"] = ... + BARGE: typing.ClassVar["FloatingSubstructure.ConceptType"] = ... + TLP: typing.ClassVar["FloatingSubstructure.ConceptType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FloatingSubstructure.ConceptType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FloatingSubstructure.ConceptType": ... @staticmethod - def values() -> typing.MutableSequence['FloatingSubstructure.ConceptType']: ... + def values() -> typing.MutableSequence["FloatingSubstructure.ConceptType"]: ... class MooringSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -236,7 +290,9 @@ class MooringSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAnchorTension(self) -> float: ... def getBreakingStrengthSafetyFactor(self) -> float: ... - def getCatenaryProfile(self, int: int) -> java.util.List[typing.MutableSequence[float]]: ... + def getCatenaryProfile( + self, int: int + ) -> java.util.List[typing.MutableSequence[float]]: ... def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getEstimatedCost(self) -> float: ... def getFairleadAngle(self) -> float: ... @@ -256,49 +312,61 @@ class MooringSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAnchorRadius(self, double: float) -> None: ... - def setAnchorType(self, anchorType: 'MooringSystem.AnchorType') -> None: ... + def setAnchorType(self, anchorType: "MooringSystem.AnchorType") -> None: ... def setChainDiameter(self, double: float) -> None: ... def setChainGrade(self, int: int) -> None: ... def setDesignHorizontalForce(self, double: float) -> None: ... def setDesignVerticalForce(self, double: float) -> None: ... def setFairleadDepth(self, double: float) -> None: ... - def setLineType(self, lineType: 'MooringSystem.LineType') -> None: ... + def setLineType(self, lineType: "MooringSystem.LineType") -> None: ... def setNumberOfLines(self, int: int) -> None: ... def setPolyesterDiameter(self, double: float) -> None: ... def setRequiredSafetyFactor(self, double: float) -> None: ... def setSeawaterDensity(self, double: float) -> None: ... def setSoilType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class AnchorType(java.lang.Enum['MooringSystem.AnchorType']): - DRAG_EMBEDMENT: typing.ClassVar['MooringSystem.AnchorType'] = ... - SUCTION_PILE: typing.ClassVar['MooringSystem.AnchorType'] = ... - DRIVEN_PILE: typing.ClassVar['MooringSystem.AnchorType'] = ... - GRAVITY: typing.ClassVar['MooringSystem.AnchorType'] = ... + + class AnchorType(java.lang.Enum["MooringSystem.AnchorType"]): + DRAG_EMBEDMENT: typing.ClassVar["MooringSystem.AnchorType"] = ... + SUCTION_PILE: typing.ClassVar["MooringSystem.AnchorType"] = ... + DRIVEN_PILE: typing.ClassVar["MooringSystem.AnchorType"] = ... + GRAVITY: typing.ClassVar["MooringSystem.AnchorType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MooringSystem.AnchorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MooringSystem.AnchorType": ... @staticmethod - def values() -> typing.MutableSequence['MooringSystem.AnchorType']: ... - class LineType(java.lang.Enum['MooringSystem.LineType']): - CHAIN: typing.ClassVar['MooringSystem.LineType'] = ... - WIRE_ROPE: typing.ClassVar['MooringSystem.LineType'] = ... - POLYESTER: typing.ClassVar['MooringSystem.LineType'] = ... - CHAIN_POLYESTER_CHAIN: typing.ClassVar['MooringSystem.LineType'] = ... + def values() -> typing.MutableSequence["MooringSystem.AnchorType"]: ... + + class LineType(java.lang.Enum["MooringSystem.LineType"]): + CHAIN: typing.ClassVar["MooringSystem.LineType"] = ... + WIRE_ROPE: typing.ClassVar["MooringSystem.LineType"] = ... + POLYESTER: typing.ClassVar["MooringSystem.LineType"] = ... + CHAIN_POLYESTER_CHAIN: typing.ClassVar["MooringSystem.LineType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MooringSystem.LineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MooringSystem.LineType": ... @staticmethod - def values() -> typing.MutableSequence['MooringSystem.LineType']: ... + def values() -> typing.MutableSequence["MooringSystem.LineType"]: ... class PLEM(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -307,18 +375,26 @@ class PLEM(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... - def addInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def closeBranch(self, int: int) -> None: ... def getBranchSizeInches(self) -> float: ... - def getBranchValves(self) -> java.util.List[jneqsim.process.equipment.valve.ThrottlingValve]: ... - def getConfigurationType(self) -> 'PLEM.ConfigurationType': ... + def getBranchValves( + self, + ) -> java.util.List[jneqsim.process.equipment.valve.ThrottlingValve]: ... + def getConfigurationType(self) -> "PLEM.ConfigurationType": ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDryWeight(self) -> float: ... def getFoundationType(self) -> java.lang.String: ... def getHeaderSizeInches(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.PLEMMechanicalDesign: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.PLEMMechanicalDesign: ... def getNumberOfSlots(self) -> int: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStructureHeight(self) -> float: ... @@ -337,11 +413,15 @@ class PLEM(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setBranchIsolationValves(self, boolean: bool) -> None: ... def setBranchSizeInches(self, double: float) -> None: ... def setBranchValveOpening(self, int: int, double: float) -> None: ... - def setConfigurationType(self, configurationType: 'PLEM.ConfigurationType') -> None: ... + def setConfigurationType( + self, configurationType: "PLEM.ConfigurationType" + ) -> None: ... def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDryWeight(self, double: float) -> None: ... - def setFoundationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFoundationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeaderIsolationValves(self, boolean: bool) -> None: ... def setHeaderSizeInches(self, double: float) -> None: ... def setNumberOfSlots(self, int: int) -> None: ... @@ -350,21 +430,27 @@ class PLEM(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setStructureWidth(self, double: float) -> None: ... def setSubmergedWeight(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class ConfigurationType(java.lang.Enum['PLEM.ConfigurationType']): - THROUGH_FLOW: typing.ClassVar['PLEM.ConfigurationType'] = ... - COMMINGLING: typing.ClassVar['PLEM.ConfigurationType'] = ... - DISTRIBUTION: typing.ClassVar['PLEM.ConfigurationType'] = ... - CROSSOVER: typing.ClassVar['PLEM.ConfigurationType'] = ... + + class ConfigurationType(java.lang.Enum["PLEM.ConfigurationType"]): + THROUGH_FLOW: typing.ClassVar["PLEM.ConfigurationType"] = ... + COMMINGLING: typing.ClassVar["PLEM.ConfigurationType"] = ... + DISTRIBUTION: typing.ClassVar["PLEM.ConfigurationType"] = ... + CROSSOVER: typing.ClassVar["PLEM.ConfigurationType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PLEM.ConfigurationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PLEM.ConfigurationType": ... @staticmethod - def values() -> typing.MutableSequence['PLEM.ConfigurationType']: ... + def values() -> typing.MutableSequence["PLEM.ConfigurationType"]: ... class PLET(jneqsim.process.equipment.TwoPortEquipment): @typing.overload @@ -372,23 +458,29 @@ class PLET(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def closeIsolationValve(self) -> None: ... def getActuatorType(self) -> java.lang.String: ... - def getConnectionType(self) -> 'PLET.ConnectionType': ... + def getConnectionType(self) -> "PLET.ConnectionType": ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDryWeight(self) -> float: ... def getIsolationValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getIsolationValveOpening(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.PLETMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.PLETMechanicalDesign: ... def getNominalBoreInches(self) -> float: ... def getNumberOfHubs(self) -> int: ... def getPiggingType(self) -> java.lang.String: ... def getSpareHubs(self) -> int: ... def getStructureHeight(self) -> float: ... def getStructureLength(self) -> float: ... - def getStructureType(self) -> 'PLET.StructureType': ... + def getStructureType(self) -> "PLET.StructureType": ... def getStructureWidth(self) -> float: ... def getSubmergedWeight(self) -> float: ... def getValveType(self) -> java.lang.String: ... @@ -403,7 +495,7 @@ class PLET(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setConnectionType(self, connectionType: 'PLET.ConnectionType') -> None: ... + def setConnectionType(self, connectionType: "PLET.ConnectionType") -> None: ... def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDryWeight(self, double: float) -> None: ... @@ -417,48 +509,66 @@ class PLET(jneqsim.process.equipment.TwoPortEquipment): def setSpareHubs(self, int: int) -> None: ... def setStructureHeight(self, double: float) -> None: ... def setStructureLength(self, double: float) -> None: ... - def setStructureType(self, structureType: 'PLET.StructureType') -> None: ... + def setStructureType(self, structureType: "PLET.StructureType") -> None: ... def setStructureWidth(self, double: float) -> None: ... def setSubmergedWeight(self, double: float) -> None: ... def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class ConnectionType(java.lang.Enum['PLET.ConnectionType']): - VERTICAL_HUB: typing.ClassVar['PLET.ConnectionType'] = ... - HORIZONTAL_HUB: typing.ClassVar['PLET.ConnectionType'] = ... - CLAMP_CONNECTOR: typing.ClassVar['PLET.ConnectionType'] = ... - COLLET_CONNECTOR: typing.ClassVar['PLET.ConnectionType'] = ... - DIVER_FLANGE: typing.ClassVar['PLET.ConnectionType'] = ... + + class ConnectionType(java.lang.Enum["PLET.ConnectionType"]): + VERTICAL_HUB: typing.ClassVar["PLET.ConnectionType"] = ... + HORIZONTAL_HUB: typing.ClassVar["PLET.ConnectionType"] = ... + CLAMP_CONNECTOR: typing.ClassVar["PLET.ConnectionType"] = ... + COLLET_CONNECTOR: typing.ClassVar["PLET.ConnectionType"] = ... + DIVER_FLANGE: typing.ClassVar["PLET.ConnectionType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PLET.ConnectionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PLET.ConnectionType": ... @staticmethod - def values() -> typing.MutableSequence['PLET.ConnectionType']: ... - class StructureType(java.lang.Enum['PLET.StructureType']): - GRAVITY_BASE: typing.ClassVar['PLET.StructureType'] = ... - PILED: typing.ClassVar['PLET.StructureType'] = ... - SUCTION_ANCHOR: typing.ClassVar['PLET.StructureType'] = ... - MUDMAT: typing.ClassVar['PLET.StructureType'] = ... + def values() -> typing.MutableSequence["PLET.ConnectionType"]: ... + + class StructureType(java.lang.Enum["PLET.StructureType"]): + GRAVITY_BASE: typing.ClassVar["PLET.StructureType"] = ... + PILED: typing.ClassVar["PLET.StructureType"] = ... + SUCTION_ANCHOR: typing.ClassVar["PLET.StructureType"] = ... + MUDMAT: typing.ClassVar["PLET.StructureType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PLET.StructureType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PLET.StructureType": ... @staticmethod - def values() -> typing.MutableSequence['PLET.StructureType']: ... + def values() -> typing.MutableSequence["PLET.StructureType"]: ... class SimpleFlowLine(jneqsim.process.equipment.TwoPortEquipment): length: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getHeight(self) -> float: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload def run(self) -> None: ... @@ -472,36 +582,52 @@ class SubseaBooster(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calculateRequiredPower(self) -> float: ... @staticmethod - def createMultiphasePump(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaBooster': ... + def createMultiphasePump( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "SubseaBooster": ... @staticmethod - def createWetGasCompressor(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaBooster': ... - def getBoosterType(self) -> 'SubseaBooster.BoosterType': ... - def getCompressorType(self) -> 'SubseaBooster.CompressorType': ... + def createWetGasCompressor( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "SubseaBooster": ... + def getBoosterType(self) -> "SubseaBooster.BoosterType": ... + def getCompressorType(self) -> "SubseaBooster.CompressorType": ... def getDesignFlowRate(self) -> float: ... def getDesignGVF(self) -> float: ... def getDesignInletPressure(self) -> float: ... def getDesignLifeYears(self) -> int: ... def getDesignTemperature(self) -> float: ... def getDifferentialPressure(self) -> float: ... - def getDriveType(self) -> 'SubseaBooster.DriveType': ... + def getDriveType(self) -> "SubseaBooster.DriveType": ... def getEfficiency(self) -> float: ... def getInletConnectionInches(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaBoosterMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.SubseaBoosterMechanicalDesign: ... def getModuleDryWeight(self) -> float: ... def getMtbfHours(self) -> float: ... def getNumberOfStages(self) -> int: ... def getOperatingVoltage(self) -> float: ... def getOutletConnectionInches(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getPowerRatingMW(self) -> float: ... def getPressureRatio(self) -> float: ... - def getPumpType(self) -> 'SubseaBooster.PumpType': ... + def getPumpType(self) -> "SubseaBooster.PumpType": ... def getSpeedRPM(self) -> float: ... def getWaterDepth(self) -> float: ... def hasRedundantMotor(self) -> bool: ... @@ -512,15 +638,17 @@ class SubseaBooster(jneqsim.process.equipment.TwoPortEquipment): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setBoosterType(self, boosterType: 'SubseaBooster.BoosterType') -> None: ... - def setCompressorType(self, compressorType: 'SubseaBooster.CompressorType') -> None: ... + def setBoosterType(self, boosterType: "SubseaBooster.BoosterType") -> None: ... + def setCompressorType( + self, compressorType: "SubseaBooster.CompressorType" + ) -> None: ... def setDesignFlowRate(self, double: float) -> None: ... def setDesignGVF(self, double: float) -> None: ... def setDesignInletPressure(self, double: float) -> None: ... def setDesignLifeYears(self, int: int) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDifferentialPressure(self, double: float) -> None: ... - def setDriveType(self, driveType: 'SubseaBooster.DriveType') -> None: ... + def setDriveType(self, driveType: "SubseaBooster.DriveType") -> None: ... def setEfficiency(self, double: float) -> None: ... def setInletConnectionInches(self, double: float) -> None: ... def setModuleDryWeight(self, double: float) -> None: ... @@ -529,77 +657,103 @@ class SubseaBooster(jneqsim.process.equipment.TwoPortEquipment): def setOperatingVoltage(self, double: float) -> None: ... def setOutletConnectionInches(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... def setPowerRatingMW(self, double: float) -> None: ... def setPressureRatio(self, double: float) -> None: ... - def setPumpType(self, pumpType: 'SubseaBooster.PumpType') -> None: ... + def setPumpType(self, pumpType: "SubseaBooster.PumpType") -> None: ... def setRedundantMotor(self, boolean: bool) -> None: ... def setRetrievable(self, boolean: bool) -> None: ... def setSpeedRPM(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class BoosterType(java.lang.Enum['SubseaBooster.BoosterType']): - MULTIPHASE_PUMP: typing.ClassVar['SubseaBooster.BoosterType'] = ... - LIQUID_PUMP: typing.ClassVar['SubseaBooster.BoosterType'] = ... - WET_GAS_COMPRESSOR: typing.ClassVar['SubseaBooster.BoosterType'] = ... - DRY_GAS_COMPRESSOR: typing.ClassVar['SubseaBooster.BoosterType'] = ... - SEPARATOR_BOOSTER: typing.ClassVar['SubseaBooster.BoosterType'] = ... + + class BoosterType(java.lang.Enum["SubseaBooster.BoosterType"]): + MULTIPHASE_PUMP: typing.ClassVar["SubseaBooster.BoosterType"] = ... + LIQUID_PUMP: typing.ClassVar["SubseaBooster.BoosterType"] = ... + WET_GAS_COMPRESSOR: typing.ClassVar["SubseaBooster.BoosterType"] = ... + DRY_GAS_COMPRESSOR: typing.ClassVar["SubseaBooster.BoosterType"] = ... + SEPARATOR_BOOSTER: typing.ClassVar["SubseaBooster.BoosterType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaBooster.BoosterType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaBooster.BoosterType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaBooster.BoosterType']: ... - class CompressorType(java.lang.Enum['SubseaBooster.CompressorType']): - CENTRIFUGAL: typing.ClassVar['SubseaBooster.CompressorType'] = ... - AXIAL: typing.ClassVar['SubseaBooster.CompressorType'] = ... - SCREW: typing.ClassVar['SubseaBooster.CompressorType'] = ... + def values() -> typing.MutableSequence["SubseaBooster.BoosterType"]: ... + + class CompressorType(java.lang.Enum["SubseaBooster.CompressorType"]): + CENTRIFUGAL: typing.ClassVar["SubseaBooster.CompressorType"] = ... + AXIAL: typing.ClassVar["SubseaBooster.CompressorType"] = ... + SCREW: typing.ClassVar["SubseaBooster.CompressorType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaBooster.CompressorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaBooster.CompressorType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaBooster.CompressorType']: ... - class DriveType(java.lang.Enum['SubseaBooster.DriveType']): - PERMANENT_MAGNET: typing.ClassVar['SubseaBooster.DriveType'] = ... - INDUCTION: typing.ClassVar['SubseaBooster.DriveType'] = ... - HIGH_SPEED_PM: typing.ClassVar['SubseaBooster.DriveType'] = ... + def values() -> typing.MutableSequence["SubseaBooster.CompressorType"]: ... + + class DriveType(java.lang.Enum["SubseaBooster.DriveType"]): + PERMANENT_MAGNET: typing.ClassVar["SubseaBooster.DriveType"] = ... + INDUCTION: typing.ClassVar["SubseaBooster.DriveType"] = ... + HIGH_SPEED_PM: typing.ClassVar["SubseaBooster.DriveType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaBooster.DriveType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaBooster.DriveType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaBooster.DriveType']: ... - class PumpType(java.lang.Enum['SubseaBooster.PumpType']): - HELICO_AXIAL: typing.ClassVar['SubseaBooster.PumpType'] = ... - TWIN_SCREW: typing.ClassVar['SubseaBooster.PumpType'] = ... - COUNTER_ROTATING_AXIAL: typing.ClassVar['SubseaBooster.PumpType'] = ... - ESP: typing.ClassVar['SubseaBooster.PumpType'] = ... - CENTRIFUGAL_SINGLE: typing.ClassVar['SubseaBooster.PumpType'] = ... - CENTRIFUGAL_MULTI: typing.ClassVar['SubseaBooster.PumpType'] = ... + def values() -> typing.MutableSequence["SubseaBooster.DriveType"]: ... + + class PumpType(java.lang.Enum["SubseaBooster.PumpType"]): + HELICO_AXIAL: typing.ClassVar["SubseaBooster.PumpType"] = ... + TWIN_SCREW: typing.ClassVar["SubseaBooster.PumpType"] = ... + COUNTER_ROTATING_AXIAL: typing.ClassVar["SubseaBooster.PumpType"] = ... + ESP: typing.ClassVar["SubseaBooster.PumpType"] = ... + CENTRIFUGAL_SINGLE: typing.ClassVar["SubseaBooster.PumpType"] = ... + CENTRIFUGAL_MULTI: typing.ClassVar["SubseaBooster.PumpType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaBooster.PumpType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaBooster.PumpType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaBooster.PumpType']: ... + def values() -> typing.MutableSequence["SubseaBooster.PumpType"]: ... class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): @typing.overload @@ -607,11 +761,23 @@ class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @staticmethod - def createFlexibleStatic(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaJumper': ... + def createFlexibleStatic( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "SubseaJumper": ... @staticmethod - def createRigidMShape(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'SubseaJumper': ... + def createRigidMShape( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "SubseaJumper": ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDryWeight(self) -> float: ... @@ -619,18 +785,20 @@ class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): def getFlexibleStructure(self) -> java.lang.String: ... def getHorizontalSpan(self) -> float: ... def getInletHubSizeInches(self) -> float: ... - def getInletHubType(self) -> 'SubseaJumper.HubType': ... + def getInletHubType(self) -> "SubseaJumper.HubType": ... def getInstallationMethod(self) -> java.lang.String: ... - def getJumperType(self) -> 'SubseaJumper.JumperType': ... + def getJumperType(self) -> "SubseaJumper.JumperType": ... def getLength(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaJumperMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.SubseaJumperMechanicalDesign: ... def getMinimumBendRadius(self) -> float: ... def getNominalBoreInches(self) -> float: ... def getNumberOfBends(self) -> int: ... def getOuterDiameterInches(self) -> float: ... def getOutletHubSizeInches(self) -> float: ... - def getOutletHubType(self) -> 'SubseaJumper.HubType': ... + def getOutletHubType(self) -> "SubseaJumper.HubType": ... def getSubmergedWeight(self) -> float: ... def getVerticalRise(self) -> float: ... def getWallThicknessMm(self) -> float: ... @@ -648,12 +816,16 @@ class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): def setDesignTemperature(self, double: float) -> None: ... def setDryWeight(self, double: float) -> None: ... def setFlexibleMinBendRadius(self, double: float) -> None: ... - def setFlexibleStructure(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlexibleStructure( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHorizontalSpan(self, double: float) -> None: ... def setInletHubSizeInches(self, double: float) -> None: ... - def setInletHubType(self, hubType: 'SubseaJumper.HubType') -> None: ... - def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setJumperType(self, jumperType: 'SubseaJumper.JumperType') -> None: ... + def setInletHubType(self, hubType: "SubseaJumper.HubType") -> None: ... + def setInstallationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setJumperType(self, jumperType: "SubseaJumper.JumperType") -> None: ... def setLength(self, double: float) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMinimumBendRadius(self, double: float) -> None: ... @@ -661,7 +833,7 @@ class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): def setNumberOfBends(self, int: int) -> None: ... def setOuterDiameterInches(self, double: float) -> None: ... def setOutletHubSizeInches(self, double: float) -> None: ... - def setOutletHubType(self, hubType: 'SubseaJumper.HubType') -> None: ... + def setOutletHubType(self, hubType: "SubseaJumper.HubType") -> None: ... def setRetrievable(self, boolean: bool) -> None: ... def setRovInstalled(self, boolean: bool) -> None: ... def setSubmergedWeight(self, double: float) -> None: ... @@ -669,42 +841,56 @@ class SubseaJumper(jneqsim.process.equipment.TwoPortEquipment): def setWallThicknessMm(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class HubType(java.lang.Enum['SubseaJumper.HubType']): - VERTICAL: typing.ClassVar['SubseaJumper.HubType'] = ... - HORIZONTAL: typing.ClassVar['SubseaJumper.HubType'] = ... - CLAMP: typing.ClassVar['SubseaJumper.HubType'] = ... - COLLET: typing.ClassVar['SubseaJumper.HubType'] = ... + + class HubType(java.lang.Enum["SubseaJumper.HubType"]): + VERTICAL: typing.ClassVar["SubseaJumper.HubType"] = ... + HORIZONTAL: typing.ClassVar["SubseaJumper.HubType"] = ... + CLAMP: typing.ClassVar["SubseaJumper.HubType"] = ... + COLLET: typing.ClassVar["SubseaJumper.HubType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaJumper.HubType': ... - @staticmethod - def values() -> typing.MutableSequence['SubseaJumper.HubType']: ... - class JumperType(java.lang.Enum['SubseaJumper.JumperType']): - RIGID_M_SHAPE: typing.ClassVar['SubseaJumper.JumperType'] = ... - RIGID_INVERTED_U: typing.ClassVar['SubseaJumper.JumperType'] = ... - RIGID_Z_SHAPE: typing.ClassVar['SubseaJumper.JumperType'] = ... - RIGID_STRAIGHT: typing.ClassVar['SubseaJumper.JumperType'] = ... - FLEXIBLE_STATIC: typing.ClassVar['SubseaJumper.JumperType'] = ... - FLEXIBLE_DYNAMIC: typing.ClassVar['SubseaJumper.JumperType'] = ... - HYBRID: typing.ClassVar['SubseaJumper.JumperType'] = ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaJumper.HubType": ... + @staticmethod + def values() -> typing.MutableSequence["SubseaJumper.HubType"]: ... + + class JumperType(java.lang.Enum["SubseaJumper.JumperType"]): + RIGID_M_SHAPE: typing.ClassVar["SubseaJumper.JumperType"] = ... + RIGID_INVERTED_U: typing.ClassVar["SubseaJumper.JumperType"] = ... + RIGID_Z_SHAPE: typing.ClassVar["SubseaJumper.JumperType"] = ... + RIGID_STRAIGHT: typing.ClassVar["SubseaJumper.JumperType"] = ... + FLEXIBLE_STATIC: typing.ClassVar["SubseaJumper.JumperType"] = ... + FLEXIBLE_DYNAMIC: typing.ClassVar["SubseaJumper.JumperType"] = ... + HYBRID: typing.ClassVar["SubseaJumper.JumperType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaJumper.JumperType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaJumper.JumperType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaJumper.JumperType']: ... + def values() -> typing.MutableSequence["SubseaJumper.JumperType"]: ... class SubseaManifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -714,35 +900,51 @@ class SubseaManifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], int: int): ... @typing.overload - def addWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> int: ... + def addWellStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> int: ... @typing.overload - def addWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str]) -> int: ... + def addWellStream( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + ) -> int: ... def getActiveWellCount(self) -> int: ... def getBranchSizeInches(self) -> float: ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDryWeight(self) -> float: ... def getFoundationType(self) -> java.lang.String: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getManifoldType(self) -> 'SubseaManifold.ManifoldType': ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaManifoldMechanicalDesign: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getManifoldType(self) -> "SubseaManifold.ManifoldType": ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.SubseaManifoldMechanicalDesign: ... def getNumberOfSlots(self) -> int: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getProductionHeaderSizeInches(self) -> float: ... - def getProductionStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProductionStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getStructureHeight(self) -> float: ... def getStructureLength(self) -> float: ... def getStructureWidth(self) -> float: ... def getSubmergedWeight(self) -> float: ... def getTestHeaderSizeInches(self) -> float: ... def getTestStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getValveSkids(self) -> java.util.List['SubseaManifold.ValveSkid']: ... + def getValveSkids(self) -> java.util.List["SubseaManifold.ValveSkid"]: ... def getWaterDepth(self) -> float: ... def hasInjectionHeader(self) -> bool: ... def hasServiceHeader(self) -> bool: ... def hasTestHeader(self) -> bool: ... def initMechanicalDesign(self) -> None: ... - def routeToProduction(self, string: typing.Union[java.lang.String, str]) -> None: ... + def routeToProduction( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def routeToTest(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def run(self) -> None: ... @@ -752,11 +954,13 @@ class SubseaManifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setDryWeight(self, double: float) -> None: ... - def setFoundationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFoundationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHasInjectionHeader(self, boolean: bool) -> None: ... def setHasServiceHeader(self, boolean: bool) -> None: ... def setHasTestHeader(self, boolean: bool) -> None: ... - def setManifoldType(self, manifoldType: 'SubseaManifold.ManifoldType') -> None: ... + def setManifoldType(self, manifoldType: "SubseaManifold.ManifoldType") -> None: ... def setNumberOfSlots(self, int: int) -> None: ... def setProductionHeaderSizeInches(self, double: float) -> None: ... def setStructureHeight(self, double: float) -> None: ... @@ -766,35 +970,52 @@ class SubseaManifold(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setTestHeaderSizeInches(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... def shutInWell(self, string: typing.Union[java.lang.String, str]) -> None: ... - class ManifoldType(java.lang.Enum['SubseaManifold.ManifoldType']): - PRODUCTION_ONLY: typing.ClassVar['SubseaManifold.ManifoldType'] = ... - PRODUCTION_TEST: typing.ClassVar['SubseaManifold.ManifoldType'] = ... - FULL_SERVICE: typing.ClassVar['SubseaManifold.ManifoldType'] = ... - INJECTION: typing.ClassVar['SubseaManifold.ManifoldType'] = ... + + class ManifoldType(java.lang.Enum["SubseaManifold.ManifoldType"]): + PRODUCTION_ONLY: typing.ClassVar["SubseaManifold.ManifoldType"] = ... + PRODUCTION_TEST: typing.ClassVar["SubseaManifold.ManifoldType"] = ... + FULL_SERVICE: typing.ClassVar["SubseaManifold.ManifoldType"] = ... + INJECTION: typing.ClassVar["SubseaManifold.ManifoldType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaManifold.ManifoldType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaManifold.ManifoldType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaManifold.ManifoldType']: ... + def values() -> typing.MutableSequence["SubseaManifold.ManifoldType"]: ... + class ValveSkid: def __init__(self, int: int): ... - def getConnectedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getProductionValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... + def getConnectedStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getProductionValve( + self, + ) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getRouting(self) -> java.lang.String: ... def getSlotNumber(self) -> int: ... def getTestValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getWellName(self) -> java.lang.String: ... def isActive(self) -> bool: ... def setActive(self, boolean: bool) -> None: ... - def setConnectedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setProductionValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setConnectedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setProductionValve( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... def setRouting(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTestValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setTestValve( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... def setWellName(self, string: typing.Union[java.lang.String, str]) -> None: ... class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): @@ -804,7 +1025,7 @@ class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAmpacity(self) -> float: ... def getCableCost(self) -> float: ... - def getCableType(self) -> 'SubseaPowerCable.CableType': ... + def getCableType(self) -> "SubseaPowerCable.CableType": ... def getConductorArea(self) -> float: ... def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDielectricLoss(self) -> float: ... @@ -822,7 +1043,7 @@ class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setBurialDepth(self, double: float) -> None: ... - def setCableType(self, cableType: 'SubseaPowerCable.CableType') -> None: ... + def setCableType(self, cableType: "SubseaPowerCable.CableType") -> None: ... def setConductorArea(self, double: float) -> None: ... def setConductorResistivity(self, double: float) -> None: ... def setConductorTemperature(self, double: float) -> None: ... @@ -834,20 +1055,26 @@ class SubseaPowerCable(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setSeawaterTemperature(self, double: float) -> None: ... def setVoltage(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... - class CableType(java.lang.Enum['SubseaPowerCable.CableType']): - XLPE_AC: typing.ClassVar['SubseaPowerCable.CableType'] = ... - XLPE_HVDC: typing.ClassVar['SubseaPowerCable.CableType'] = ... - MI_HVDC: typing.ClassVar['SubseaPowerCable.CableType'] = ... + + class CableType(java.lang.Enum["SubseaPowerCable.CableType"]): + XLPE_AC: typing.ClassVar["SubseaPowerCable.CableType"] = ... + XLPE_HVDC: typing.ClassVar["SubseaPowerCable.CableType"] = ... + MI_HVDC: typing.ClassVar["SubseaPowerCable.CableType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaPowerCable.CableType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaPowerCable.CableType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaPowerCable.CableType']: ... + def values() -> typing.MutableSequence["SubseaPowerCable.CableType"]: ... class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): @typing.overload @@ -855,7 +1082,11 @@ class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def emergencyShutdown(self) -> None: ... def getActuatorType(self) -> java.lang.String: ... def getBoreSizeInches(self) -> float: ... @@ -867,13 +1098,15 @@ class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): def getDryWeight(self) -> float: ... def getFlowlineConnectionSizeInches(self) -> float: ... def getFlowlineConnectionType(self) -> java.lang.String: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.SubseaTreeMechanicalDesign: ... - def getPressureRating(self) -> 'SubseaTree.PressureRating': ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.SubseaTreeMechanicalDesign: ... + def getPressureRating(self) -> "SubseaTree.PressureRating": ... def getProductionChoke(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getSubmergedWeight(self) -> float: ... def getTreeDiameter(self) -> float: ... def getTreeHeight(self) -> float: ... - def getTreeType(self) -> 'SubseaTree.TreeType': ... + def getTreeType(self) -> "SubseaTree.TreeType": ... def getWaterDepth(self) -> float: ... def hasDownholePressure(self) -> bool: ... def hasDownholeTemperature(self) -> bool: ... @@ -902,56 +1135,76 @@ class SubseaTree(jneqsim.process.equipment.TwoPortEquipment): def setDryWeight(self, double: float) -> None: ... def setFailSafeClose(self, boolean: bool) -> None: ... def setFlowlineConnectionSizeInches(self, double: float) -> None: ... - def setFlowlineConnectionType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowlineConnectionType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHasDownholePressure(self, boolean: bool) -> None: ... def setHasDownholeTemperature(self, boolean: bool) -> None: ... - def setPressureRating(self, pressureRating: 'SubseaTree.PressureRating') -> None: ... + def setPressureRating( + self, pressureRating: "SubseaTree.PressureRating" + ) -> None: ... def setProductionMasterValveOpen(self, boolean: bool) -> None: ... def setProductionWingValveOpen(self, boolean: bool) -> None: ... def setSubmergedWeight(self, double: float) -> None: ... def setTreeDiameter(self, double: float) -> None: ... def setTreeHeight(self, double: float) -> None: ... - def setTreeType(self, treeType: 'SubseaTree.TreeType') -> None: ... + def setTreeType(self, treeType: "SubseaTree.TreeType") -> None: ... def setWaterDepth(self, double: float) -> None: ... - class PressureRating(java.lang.Enum['SubseaTree.PressureRating']): - PR5000: typing.ClassVar['SubseaTree.PressureRating'] = ... - PR10000: typing.ClassVar['SubseaTree.PressureRating'] = ... - PR15000: typing.ClassVar['SubseaTree.PressureRating'] = ... - PR20000: typing.ClassVar['SubseaTree.PressureRating'] = ... + + class PressureRating(java.lang.Enum["SubseaTree.PressureRating"]): + PR5000: typing.ClassVar["SubseaTree.PressureRating"] = ... + PR10000: typing.ClassVar["SubseaTree.PressureRating"] = ... + PR15000: typing.ClassVar["SubseaTree.PressureRating"] = ... + PR20000: typing.ClassVar["SubseaTree.PressureRating"] = ... def getBar(self) -> int: ... def getPsi(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaTree.PressureRating': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaTree.PressureRating": ... @staticmethod - def values() -> typing.MutableSequence['SubseaTree.PressureRating']: ... - class TreeType(java.lang.Enum['SubseaTree.TreeType']): - VERTICAL: typing.ClassVar['SubseaTree.TreeType'] = ... - HORIZONTAL: typing.ClassVar['SubseaTree.TreeType'] = ... - DUAL_BORE: typing.ClassVar['SubseaTree.TreeType'] = ... - MUDLINE: typing.ClassVar['SubseaTree.TreeType'] = ... - SPOOL: typing.ClassVar['SubseaTree.TreeType'] = ... + def values() -> typing.MutableSequence["SubseaTree.PressureRating"]: ... + + class TreeType(java.lang.Enum["SubseaTree.TreeType"]): + VERTICAL: typing.ClassVar["SubseaTree.TreeType"] = ... + HORIZONTAL: typing.ClassVar["SubseaTree.TreeType"] = ... + DUAL_BORE: typing.ClassVar["SubseaTree.TreeType"] = ... + MUDLINE: typing.ClassVar["SubseaTree.TreeType"] = ... + SPOOL: typing.ClassVar["SubseaTree.TreeType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaTree.TreeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaTree.TreeType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaTree.TreeType']: ... + def values() -> typing.MutableSequence["SubseaTree.TreeType"]: ... class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): height: float = ... length: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCompletionDays(self) -> float: ... - def getCompletionType(self) -> 'SubseaWell.CompletionType': ... + def getCompletionType(self) -> "SubseaWell.CompletionType": ... def getConductorDepth(self) -> float: ... def getConductorOD(self) -> float: ... def getDrillingDays(self) -> float: ... @@ -962,9 +1215,13 @@ class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): def getMaxInclination(self) -> float: ... def getMaxWellheadPressure(self) -> float: ... def getMeasuredDepth(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getNumberOfCasingStrings(self) -> int: ... - def getPipeline(self) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... + def getPipeline( + self, + ) -> jneqsim.process.equipment.pipeline.AdiabaticTwoPhasePipe: ... def getPrimaryBarrierElements(self) -> int: ... def getProductionCasingDepth(self) -> float: ... def getProductionCasingOD(self) -> float: ... @@ -973,7 +1230,7 @@ class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): def getReservoirPressure(self) -> float: ... def getReservoirTemperature(self) -> float: ... def getRigDayRate(self) -> float: ... - def getRigType(self) -> 'SubseaWell.RigType': ... + def getRigType(self) -> "SubseaWell.RigType": ... def getSecondaryBarrierElements(self) -> int: ... def getSurfaceCasingDepth(self) -> float: ... def getSurfaceCasingOD(self) -> float: ... @@ -982,20 +1239,26 @@ class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): def getTubingOD(self) -> float: ... def getTubingWeight(self) -> float: ... def getWaterDepth(self) -> float: ... - def getWellLocationType(self) -> jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType: ... - def getWellType(self) -> 'SubseaWell.WellType': ... + def getWellLocationType( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType: ... + def getWellType(self) -> "SubseaWell.WellType": ... def hasDHSV(self) -> bool: ... def initMechanicalDesign(self) -> None: ... def isInjector(self) -> bool: ... def isProducer(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setCompletionDays(self, double: float) -> None: ... - def setCompletionType(self, completionType: 'SubseaWell.CompletionType') -> None: ... + def setCompletionType( + self, completionType: "SubseaWell.CompletionType" + ) -> None: ... def setConductorDepth(self, double: float) -> None: ... def setConductorOD(self, double: float) -> None: ... def setDrillingDays(self, double: float) -> None: ... @@ -1015,7 +1278,7 @@ class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): def setReservoirPressure(self, double: float) -> None: ... def setReservoirTemperature(self, double: float) -> None: ... def setRigDayRate(self, double: float) -> None: ... - def setRigType(self, rigType: 'SubseaWell.RigType') -> None: ... + def setRigType(self, rigType: "SubseaWell.RigType") -> None: ... def setSecondaryBarrierElements(self, int: int) -> None: ... def setSurfaceCasingDepth(self, double: float) -> None: ... def setSurfaceCasingOD(self, double: float) -> None: ... @@ -1025,87 +1288,118 @@ class SubseaWell(jneqsim.process.equipment.TwoPortEquipment): def setTubingOD(self, double: float) -> None: ... def setTubingWeight(self, double: float) -> None: ... def setWaterDepth(self, double: float) -> None: ... - def setWellLocationType(self, wellLocationType: jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType) -> None: ... - def setWellType(self, wellType: 'SubseaWell.WellType') -> None: ... - class CompletionType(java.lang.Enum['SubseaWell.CompletionType']): - CASED_PERFORATED: typing.ClassVar['SubseaWell.CompletionType'] = ... - OPEN_HOLE: typing.ClassVar['SubseaWell.CompletionType'] = ... - GRAVEL_PACK: typing.ClassVar['SubseaWell.CompletionType'] = ... - ICD: typing.ClassVar['SubseaWell.CompletionType'] = ... - AICD: typing.ClassVar['SubseaWell.CompletionType'] = ... - MULTI_ZONE: typing.ClassVar['SubseaWell.CompletionType'] = ... + def setWellLocationType( + self, + wellLocationType: jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType, + ) -> None: ... + def setWellType(self, wellType: "SubseaWell.WellType") -> None: ... + + class CompletionType(java.lang.Enum["SubseaWell.CompletionType"]): + CASED_PERFORATED: typing.ClassVar["SubseaWell.CompletionType"] = ... + OPEN_HOLE: typing.ClassVar["SubseaWell.CompletionType"] = ... + GRAVEL_PACK: typing.ClassVar["SubseaWell.CompletionType"] = ... + ICD: typing.ClassVar["SubseaWell.CompletionType"] = ... + AICD: typing.ClassVar["SubseaWell.CompletionType"] = ... + MULTI_ZONE: typing.ClassVar["SubseaWell.CompletionType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaWell.CompletionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaWell.CompletionType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaWell.CompletionType']: ... - class RigType(java.lang.Enum['SubseaWell.RigType']): - SEMI_SUBMERSIBLE: typing.ClassVar['SubseaWell.RigType'] = ... - DRILLSHIP: typing.ClassVar['SubseaWell.RigType'] = ... - JACK_UP: typing.ClassVar['SubseaWell.RigType'] = ... - PLATFORM_RIG: typing.ClassVar['SubseaWell.RigType'] = ... + def values() -> typing.MutableSequence["SubseaWell.CompletionType"]: ... + + class RigType(java.lang.Enum["SubseaWell.RigType"]): + SEMI_SUBMERSIBLE: typing.ClassVar["SubseaWell.RigType"] = ... + DRILLSHIP: typing.ClassVar["SubseaWell.RigType"] = ... + JACK_UP: typing.ClassVar["SubseaWell.RigType"] = ... + PLATFORM_RIG: typing.ClassVar["SubseaWell.RigType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaWell.RigType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaWell.RigType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaWell.RigType']: ... - class WellType(java.lang.Enum['SubseaWell.WellType']): - OIL_PRODUCER: typing.ClassVar['SubseaWell.WellType'] = ... - GAS_PRODUCER: typing.ClassVar['SubseaWell.WellType'] = ... - WATER_INJECTOR: typing.ClassVar['SubseaWell.WellType'] = ... - GAS_INJECTOR: typing.ClassVar['SubseaWell.WellType'] = ... - OBSERVATION: typing.ClassVar['SubseaWell.WellType'] = ... + def values() -> typing.MutableSequence["SubseaWell.RigType"]: ... + + class WellType(java.lang.Enum["SubseaWell.WellType"]): + OIL_PRODUCER: typing.ClassVar["SubseaWell.WellType"] = ... + GAS_PRODUCER: typing.ClassVar["SubseaWell.WellType"] = ... + WATER_INJECTOR: typing.ClassVar["SubseaWell.WellType"] = ... + GAS_INJECTOR: typing.ClassVar["SubseaWell.WellType"] = ... + OBSERVATION: typing.ClassVar["SubseaWell.WellType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SubseaWell.WellType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaWell.WellType": ... @staticmethod - def values() -> typing.MutableSequence['SubseaWell.WellType']: ... + def values() -> typing.MutableSequence["SubseaWell.WellType"]: ... class Umbilical(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addChemicalLine(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def addElectricalCable(self, string: typing.Union[java.lang.String, str], int: int, double: float) -> None: ... - def addFiberOptic(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def addHydraulicLine(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addChemicalLine( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def addElectricalCable( + self, string: typing.Union[java.lang.String, str], int: int, double: float + ) -> None: ... + def addFiberOptic( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... + def addHydraulicLine( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def calculateTotalCrossSection(self) -> float: ... def estimateOverallDiameter(self) -> float: ... def getArmorWireMaterial(self) -> java.lang.String: ... def getChemicalLineCount(self) -> int: ... - def getCrossSectionType(self) -> 'Umbilical.CrossSectionType': ... + def getCrossSectionType(self) -> "Umbilical.CrossSectionType": ... def getDryWeightPerMeter(self) -> float: ... def getElectricalCableCount(self) -> int: ... - def getElements(self) -> java.util.List['Umbilical.UmbilicalElement']: ... + def getElements(self) -> java.util.List["Umbilical.UmbilicalElement"]: ... def getFiberOpticCount(self) -> int: ... def getHydraulicLineCount(self) -> int: ... def getInstallationMethod(self) -> java.lang.String: ... def getLength(self) -> float: ... def getMaxInstallationTensionKN(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.subsea.UmbilicalMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.UmbilicalMechanicalDesign: ... def getMinimumBendRadius(self) -> float: ... def getOuterSheathMaterial(self) -> java.lang.String: ... def getOuterSheathThicknessMm(self) -> float: ... def getOverallDiameterMm(self) -> float: ... def getSubmergedWeightPerMeter(self) -> float: ... def getTotalElementCount(self) -> int: ... - def getUmbilicalType(self) -> 'Umbilical.UmbilicalType': ... + def getUmbilicalType(self) -> "Umbilical.UmbilicalType": ... def getWaterDepth(self) -> float: ... def hasArmorWires(self) -> bool: ... def initMechanicalDesign(self) -> None: ... @@ -1113,37 +1407,60 @@ class Umbilical(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setArmorWireMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCrossSectionType(self, crossSectionType: 'Umbilical.CrossSectionType') -> None: ... + def setArmorWireMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCrossSectionType( + self, crossSectionType: "Umbilical.CrossSectionType" + ) -> None: ... def setHasArmorWires(self, boolean: bool) -> None: ... - def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstallationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLength(self, double: float) -> None: ... def setMaxInstallationTensionKN(self, double: float) -> None: ... def setMinimumBendRadius(self, double: float) -> None: ... - def setOuterSheathMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOuterSheathMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOuterSheathThicknessMm(self, double: float) -> None: ... def setOverallDiameterMm(self, double: float) -> None: ... - def setUmbilicalType(self, umbilicalType: 'Umbilical.UmbilicalType') -> None: ... + def setUmbilicalType(self, umbilicalType: "Umbilical.UmbilicalType") -> None: ... def setWaterDepth(self, double: float) -> None: ... - class CrossSectionType(java.lang.Enum['Umbilical.CrossSectionType']): - CIRCULAR: typing.ClassVar['Umbilical.CrossSectionType'] = ... - FLAT: typing.ClassVar['Umbilical.CrossSectionType'] = ... - BUNDLED: typing.ClassVar['Umbilical.CrossSectionType'] = ... + + class CrossSectionType(java.lang.Enum["Umbilical.CrossSectionType"]): + CIRCULAR: typing.ClassVar["Umbilical.CrossSectionType"] = ... + FLAT: typing.ClassVar["Umbilical.CrossSectionType"] = ... + BUNDLED: typing.ClassVar["Umbilical.CrossSectionType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Umbilical.CrossSectionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Umbilical.CrossSectionType": ... @staticmethod - def values() -> typing.MutableSequence['Umbilical.CrossSectionType']: ... + def values() -> typing.MutableSequence["Umbilical.CrossSectionType"]: ... + class UmbilicalElement: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], int: int, double: float + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getDesignPressureBar(self) -> float: ... def getElementType(self) -> java.lang.String: ... def getInnerDiameterMm(self) -> float: ... @@ -1156,23 +1473,28 @@ class Umbilical(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNumberOfFibers(self, int: int) -> None: ... def setOuterDiameterMm(self, double: float) -> None: ... - class UmbilicalType(java.lang.Enum['Umbilical.UmbilicalType']): - STEEL_TUBE: typing.ClassVar['Umbilical.UmbilicalType'] = ... - THERMOPLASTIC: typing.ClassVar['Umbilical.UmbilicalType'] = ... - INTEGRATED_PRODUCTION: typing.ClassVar['Umbilical.UmbilicalType'] = ... - ELECTRO_HYDRAULIC: typing.ClassVar['Umbilical.UmbilicalType'] = ... - ELECTRIC_ONLY: typing.ClassVar['Umbilical.UmbilicalType'] = ... + + class UmbilicalType(java.lang.Enum["Umbilical.UmbilicalType"]): + STEEL_TUBE: typing.ClassVar["Umbilical.UmbilicalType"] = ... + THERMOPLASTIC: typing.ClassVar["Umbilical.UmbilicalType"] = ... + INTEGRATED_PRODUCTION: typing.ClassVar["Umbilical.UmbilicalType"] = ... + ELECTRO_HYDRAULIC: typing.ClassVar["Umbilical.UmbilicalType"] = ... + ELECTRIC_ONLY: typing.ClassVar["Umbilical.UmbilicalType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Umbilical.UmbilicalType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Umbilical.UmbilicalType": ... @staticmethod - def values() -> typing.MutableSequence['Umbilical.UmbilicalType']: ... - + def values() -> typing.MutableSequence["Umbilical.UmbilicalType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.subsea")``. diff --git a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi index dd35bc36..f4e08ba3 100644 --- a/src/jneqsim-stubs/process/equipment/tank/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/tank/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,25 +18,45 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - -class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.design.AutoSizeable, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment): +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]): ... @typing.overload - 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 addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + 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 addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def autoSize(self) -> None: ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def clearCapacityConstraints(self) -> None: ... def displayResult(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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getDesignLiquidLevel(self) -> float: ... def getDesignResidenceTime(self) -> float: ... def getEfficiency(self) -> float: ... @@ -46,14 +66,18 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def getLiquid(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getLiquidCarryoverFraction(self) -> float: ... def getLiquidLevel(self) -> float: ... - def getLiquidOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutStream( + self, + ) -> 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 getMaxLiquidLevel(self) -> float: ... def getMaxUtilization(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.tank.TankMechanicalDesign: ... def getMinLiquidLevel(self) -> float: ... def getMinResidenceTime(self) -> float: ... def getSizingReport(self) -> java.lang.String: ... @@ -64,7 +88,9 @@ class Tank(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process. def isCapacityAnalysisEnabled(self) -> bool: ... def isCapacityExceeded(self) -> bool: ... def isHardLimitExceeded(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -78,58 +104,88 @@ 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 setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 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 setOutComposition( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTempPres(self, double: float, double2: float) -> None: ... def setVolume(self, double: float) -> None: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class VesselDepressurization(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 assessFlowAssuranceRisks(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def calculateRequiredOrificeDiameter(self, double: float, double2: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def assessFlowAssuranceRisks( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def calculateRequiredOrificeDiameter( + self, double: float, double2: float + ) -> float: ... def calculateSBFireFlux(self, double: float) -> float: ... def clearFixedFlowRate(self) -> None: ... def clearHistory(self) -> None: ... @staticmethod - def createTwoPhaseFluid(string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + def createTwoPhaseFluid( + string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def createTwoPhaseFluidAtPressure(string: typing.Union[java.lang.String, str], double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + def createTwoPhaseFluidAtPressure( + string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> jneqsim.thermo.system.SystemInterface: ... def exportToCSV(self) -> java.lang.String: ... def exportToJSON(self) -> java.lang.String: ... def getCO2FreezingSubcooling(self) -> float: ... @typing.overload def getCO2FreezingTemperature(self) -> float: ... @typing.overload - def getCO2FreezingTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCO2FreezingTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDensity(self) -> float: ... - def getDischargeRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDischargeRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getEnthalpy(self) -> float: ... def getEntropy(self) -> float: ... - def getFireHeatInput(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getFireModelType(self) -> 'VesselDepressurization.FireModelType': ... - def getFireType(self) -> 'VesselDepressurization.FireType': ... + def getFireHeatInput( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getFireModelType(self) -> "VesselDepressurization.FireModelType": ... + def getFireType(self) -> "VesselDepressurization.FireType": ... def getFlameTemperature(self) -> float: ... def getFlareHeaderMach(self, double: float) -> float: ... - def getFlareHeaderVelocity(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlareHeaderVelocity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def getGasWallTemperature(self) -> float: ... def getGasWallTemperatureHistory(self) -> java.util.List[float]: ... @typing.overload def getHydrateFormationTemperature(self) -> float: ... @typing.overload - def getHydrateFormationTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getHydrateSubcooling(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getHydrateFormationTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getHydrateSubcooling( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getInternalEnergy(self) -> float: ... def getLiquidLevel(self) -> float: ... def getLiquidLevelHistory(self) -> java.util.List[float]: ... @@ -138,11 +194,17 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass def getMass(self) -> float: ... def getMassHistory(self) -> java.util.List[float]: ... def getMaxHydrateSubcoolingDuringBlowdown(self) -> float: ... - def getMinimumTemperatureReached(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMinimumWallTemperatureReached(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMinimumTemperatureReached( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getMinimumWallTemperatureReached( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOutletLiquidFraction(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getPeakDischargeRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPeakDischargeRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPeakOutletLiquidFraction(self) -> float: ... @typing.overload def getPressure(self) -> float: ... @@ -157,7 +219,9 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getTimeHistory(self) -> java.util.List[float]: ... def getTimeToReachPressure(self, double: float) -> float: ... - def getTotalMassDischarged(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalMassDischarged( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getVaporFraction(self) -> float: ... def getVentTemperature(self) -> float: ... def getVolume(self) -> float: ... @@ -171,11 +235,19 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def runOrificeSensitivity(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> typing.MutableSequence[float]: ... + def runOrificeSensitivity( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> typing.MutableSequence[float]: ... @typing.overload - def runSimulation(self, double: float, double2: float) -> 'VesselDepressurization.SimulationResult': ... + def runSimulation( + self, double: float, double2: float + ) -> "VesselDepressurization.SimulationResult": ... @typing.overload - def runSimulation(self, double: float, double2: float, int: int) -> 'VesselDepressurization.SimulationResult': ... + def runSimulation( + self, double: float, double2: float, int: int + ) -> "VesselDepressurization.SimulationResult": ... @typing.overload def runTransient(self, double: float) -> None: ... @typing.overload @@ -183,141 +255,221 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass def setAmbientTemperature(self, double: float) -> None: ... def setBackPressure(self, double: float) -> None: ... def setCalculateExternalHTC(self, boolean: bool) -> None: ... - def setCalculationType(self, calculationType: 'VesselDepressurization.CalculationType') -> None: ... + def setCalculationType( + self, calculationType: "VesselDepressurization.CalculationType" + ) -> None: ... def setDischargeCoefficient(self, double: float) -> None: ... def setExternalHeatTransferCoefficient(self, double: float) -> None: ... def setFireCase(self, boolean: bool) -> None: ... @typing.overload def setFireHeatFlux(self, double: float) -> None: ... @typing.overload - def setFireHeatFlux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setFireModelType(self, fireModelType: 'VesselDepressurization.FireModelType') -> None: ... - def setFireType(self, fireType: 'VesselDepressurization.FireType') -> None: ... + def setFireHeatFlux( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFireModelType( + self, fireModelType: "VesselDepressurization.FireModelType" + ) -> None: ... + def setFireType(self, fireType: "VesselDepressurization.FireType") -> None: ... def setFixedInternalHTC(self, double: float) -> None: ... def setFixedMassFlowRate(self, double: float) -> None: ... def setFixedQ(self, double: float) -> None: ... def setFixedU(self, double: float) -> None: ... - def setFixedVolumetricFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setFixedVolumetricFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFlameTemperature(self, double: float) -> None: ... - def setFlowDirection(self, flowDirection: 'VesselDepressurization.FlowDirection') -> None: ... - def setHeatTransferType(self, heatTransferType: 'VesselDepressurization.HeatTransferType') -> None: ... + def setFlowDirection( + self, flowDirection: "VesselDepressurization.FlowDirection" + ) -> None: ... + def setHeatTransferType( + self, heatTransferType: "VesselDepressurization.HeatTransferType" + ) -> None: ... @typing.overload def setIncidentHeatFlux(self, double: float) -> None: ... @typing.overload - def setIncidentHeatFlux(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setIncidentHeatFlux( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInitialLiquidLevel(self, double: float) -> None: ... def setInitialWallTemperature(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setInletTemperature(self, double: float) -> None: ... @typing.overload - def setInletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setLinerMaterial(self, double: float, linerMaterial: 'VesselDepressurization.LinerMaterial') -> None: ... - def setLinerProperties(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setInletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setLinerMaterial( + self, double: float, linerMaterial: "VesselDepressurization.LinerMaterial" + ) -> None: ... + def setLinerProperties( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setOrificeDiameter(self, double: float) -> None: ... - def setSBFireParameters(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSBFireParameters( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setTargetPressure(self, double: float) -> None: ... def setTwoPhaseHeatTransfer(self, boolean: bool) -> None: ... def setValveOpeningTime(self, double: float) -> None: ... - def setVesselGeometry(self, double: float, double2: float, vesselOrientation: 'VesselDepressurization.VesselOrientation') -> None: ... - def setVesselMaterial(self, double: float, vesselMaterial: 'VesselDepressurization.VesselMaterial') -> None: ... - def setVesselProperties(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setVesselGeometry( + self, + double: float, + double2: float, + vesselOrientation: "VesselDepressurization.VesselOrientation", + ) -> None: ... + def setVesselMaterial( + self, double: float, vesselMaterial: "VesselDepressurization.VesselMaterial" + ) -> None: ... + def setVesselProperties( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setVolume(self, double: float) -> None: ... def setWettedSurfaceFraction(self, double: float) -> None: ... def validate(self) -> None: ... def validateWithWarnings(self) -> java.util.List[java.lang.String]: ... - class CalculationType(java.lang.Enum['VesselDepressurization.CalculationType']): - ISOTHERMAL: typing.ClassVar['VesselDepressurization.CalculationType'] = ... - ISENTHALPIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... - ISENTROPIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... - ISENERGETIC: typing.ClassVar['VesselDepressurization.CalculationType'] = ... - ENERGY_BALANCE: typing.ClassVar['VesselDepressurization.CalculationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CalculationType(java.lang.Enum["VesselDepressurization.CalculationType"]): + ISOTHERMAL: typing.ClassVar["VesselDepressurization.CalculationType"] = ... + ISENTHALPIC: typing.ClassVar["VesselDepressurization.CalculationType"] = ... + ISENTROPIC: typing.ClassVar["VesselDepressurization.CalculationType"] = ... + ISENERGETIC: typing.ClassVar["VesselDepressurization.CalculationType"] = ... + ENERGY_BALANCE: typing.ClassVar["VesselDepressurization.CalculationType"] = ... + _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: ... + 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]) -> 'VesselDepressurization.CalculationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.CalculationType": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.CalculationType']: ... - class FireModelType(java.lang.Enum['VesselDepressurization.FireModelType']): - NONE: typing.ClassVar['VesselDepressurization.FireModelType'] = ... - CONSTANT_FLUX: typing.ClassVar['VesselDepressurization.FireModelType'] = ... - STEFAN_BOLTZMANN: typing.ClassVar['VesselDepressurization.FireModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["VesselDepressurization.CalculationType"] + ): ... + + class FireModelType(java.lang.Enum["VesselDepressurization.FireModelType"]): + NONE: typing.ClassVar["VesselDepressurization.FireModelType"] = ... + CONSTANT_FLUX: typing.ClassVar["VesselDepressurization.FireModelType"] = ... + STEFAN_BOLTZMANN: typing.ClassVar["VesselDepressurization.FireModelType"] = ... + _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: ... + 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]) -> 'VesselDepressurization.FireModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.FireModelType": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.FireModelType']: ... - class FireType(java.lang.Enum['VesselDepressurization.FireType']): - SCANDPOWER_JET: typing.ClassVar['VesselDepressurization.FireType'] = ... - SCANDPOWER_POOL: typing.ClassVar['VesselDepressurization.FireType'] = ... - API_JET: typing.ClassVar['VesselDepressurization.FireType'] = ... - API_POOL: typing.ClassVar['VesselDepressurization.FireType'] = ... - CUSTOM: typing.ClassVar['VesselDepressurization.FireType'] = ... + def values() -> ( + typing.MutableSequence["VesselDepressurization.FireModelType"] + ): ... + + class FireType(java.lang.Enum["VesselDepressurization.FireType"]): + SCANDPOWER_JET: typing.ClassVar["VesselDepressurization.FireType"] = ... + SCANDPOWER_POOL: typing.ClassVar["VesselDepressurization.FireType"] = ... + API_JET: typing.ClassVar["VesselDepressurization.FireType"] = ... + API_POOL: typing.ClassVar["VesselDepressurization.FireType"] = ... + CUSTOM: typing.ClassVar["VesselDepressurization.FireType"] = ... def getAbsorptivity(self) -> float: ... def getConvectionCoeff(self) -> float: ... def getFlameEmissivity(self) -> float: ... def getIncidentFlux(self) -> float: ... def getSurfaceEmissivity(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'VesselDepressurization.FireType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.FireType": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.FireType']: ... - class FlowDirection(java.lang.Enum['VesselDepressurization.FlowDirection']): - DISCHARGE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - FILLING: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - IDLE: typing.ClassVar['VesselDepressurization.FlowDirection'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["VesselDepressurization.FireType"]: ... + + class FlowDirection(java.lang.Enum["VesselDepressurization.FlowDirection"]): + DISCHARGE: typing.ClassVar["VesselDepressurization.FlowDirection"] = ... + FILLING: typing.ClassVar["VesselDepressurization.FlowDirection"] = ... + IDLE: typing.ClassVar["VesselDepressurization.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: ... + 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]) -> 'VesselDepressurization.FlowDirection': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.FlowDirection": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.FlowDirection']: ... - class HeatTransferType(java.lang.Enum['VesselDepressurization.HeatTransferType']): - ADIABATIC: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... - FIXED_U: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... - FIXED_Q: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... - CALCULATED: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... - TRANSIENT_WALL: typing.ClassVar['VesselDepressurization.HeatTransferType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["VesselDepressurization.FlowDirection"] + ): ... + + class HeatTransferType(java.lang.Enum["VesselDepressurization.HeatTransferType"]): + ADIABATIC: typing.ClassVar["VesselDepressurization.HeatTransferType"] = ... + FIXED_U: typing.ClassVar["VesselDepressurization.HeatTransferType"] = ... + FIXED_Q: typing.ClassVar["VesselDepressurization.HeatTransferType"] = ... + CALCULATED: typing.ClassVar["VesselDepressurization.HeatTransferType"] = ... + TRANSIENT_WALL: typing.ClassVar["VesselDepressurization.HeatTransferType"] = ... + _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: ... + 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]) -> 'VesselDepressurization.HeatTransferType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.HeatTransferType": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.HeatTransferType']: ... - class LinerMaterial(java.lang.Enum['VesselDepressurization.LinerMaterial']): - HDPE: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... - NYLON: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... - ALUMINUM: typing.ClassVar['VesselDepressurization.LinerMaterial'] = ... + def values() -> ( + typing.MutableSequence["VesselDepressurization.HeatTransferType"] + ): ... + + class LinerMaterial(java.lang.Enum["VesselDepressurization.LinerMaterial"]): + HDPE: typing.ClassVar["VesselDepressurization.LinerMaterial"] = ... + NYLON: typing.ClassVar["VesselDepressurization.LinerMaterial"] = ... + ALUMINUM: typing.ClassVar["VesselDepressurization.LinerMaterial"] = ... def getDensity(self) -> float: ... def getHeatCapacity(self) -> float: ... def getThermalConductivity(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'VesselDepressurization.LinerMaterial': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.LinerMaterial": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.LinerMaterial']: ... + def values() -> ( + typing.MutableSequence["VesselDepressurization.LinerMaterial"] + ): ... + class SimulationResult: def getEndTime(self) -> float: ... def getFinalPressure(self) -> float: ... @@ -339,54 +491,78 @@ class VesselDepressurization(jneqsim.process.equipment.ProcessEquipmentBaseClass def getTimeStep(self) -> float: ... def getWallTemperature(self) -> java.util.List[float]: ... def size(self) -> int: ... - class VesselMaterial(java.lang.Enum['VesselDepressurization.VesselMaterial']): - CARBON_STEEL: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - STAINLESS_304: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - STAINLESS_316: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - DUPLEX_22CR: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - ALUMINUM_6061: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - TITANIUM_GR2: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - CFRP: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... - FIBERGLASS: typing.ClassVar['VesselDepressurization.VesselMaterial'] = ... + + class VesselMaterial(java.lang.Enum["VesselDepressurization.VesselMaterial"]): + CARBON_STEEL: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + STAINLESS_304: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + STAINLESS_316: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + DUPLEX_22CR: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + ALUMINUM_6061: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + TITANIUM_GR2: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + CFRP: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... + FIBERGLASS: typing.ClassVar["VesselDepressurization.VesselMaterial"] = ... def getDensity(self) -> float: ... def getHeatCapacity(self) -> float: ... def getThermalConductivity(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'VesselDepressurization.VesselMaterial': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.VesselMaterial": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.VesselMaterial']: ... - class VesselOrientation(java.lang.Enum['VesselDepressurization.VesselOrientation']): - VERTICAL: typing.ClassVar['VesselDepressurization.VesselOrientation'] = ... - HORIZONTAL: typing.ClassVar['VesselDepressurization.VesselOrientation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["VesselDepressurization.VesselMaterial"] + ): ... + + class VesselOrientation(java.lang.Enum["VesselDepressurization.VesselOrientation"]): + VERTICAL: typing.ClassVar["VesselDepressurization.VesselOrientation"] = ... + HORIZONTAL: typing.ClassVar["VesselDepressurization.VesselOrientation"] = ... + _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: ... + 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]) -> 'VesselDepressurization.VesselOrientation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VesselDepressurization.VesselOrientation": ... @staticmethod - def values() -> typing.MutableSequence['VesselDepressurization.VesselOrientation']: ... + def values() -> ( + typing.MutableSequence["VesselDepressurization.VesselOrientation"] + ): ... class LNGTank(Tank): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getAmbientTemperature(self) -> float: ... def getBOGMassFlowRate(self) -> float: ... def getBOGStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getBoilOffRatePctPerDay(self) -> float: ... def getHeatIngress(self) -> float: ... - def getInsulationType(self) -> 'LNGTank.InsulationType': ... + def getInsulationType(self) -> "LNGTank.InsulationType": ... def getLNGInventory(self) -> float: ... - def getLNGProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getLNGProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOverallHeatTransferCoefficient(self) -> float: ... def getStoragePressure(self) -> float: ... def getTankSurfaceArea(self) -> float: ... @@ -394,26 +570,33 @@ class LNGTank(Tank): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setAmbientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInsulationType(self, insulationType: 'LNGTank.InsulationType') -> None: ... + def setAmbientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInsulationType(self, insulationType: "LNGTank.InsulationType") -> None: ... def setLNGInventory(self, double: float) -> None: ... def setOverallHeatTransferCoefficient(self, double: float) -> None: ... def setStoragePressure(self, double: float) -> None: ... def setTankSurfaceArea(self, double: float) -> None: ... - class InsulationType(java.lang.Enum['LNGTank.InsulationType']): - MEMBRANE: typing.ClassVar['LNGTank.InsulationType'] = ... - MOSS: typing.ClassVar['LNGTank.InsulationType'] = ... - PRISMATIC: typing.ClassVar['LNGTank.InsulationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class InsulationType(java.lang.Enum["LNGTank.InsulationType"]): + MEMBRANE: typing.ClassVar["LNGTank.InsulationType"] = ... + MOSS: typing.ClassVar["LNGTank.InsulationType"] = ... + PRISMATIC: typing.ClassVar["LNGTank.InsulationType"] = ... + _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: ... + 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]) -> 'LNGTank.InsulationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LNGTank.InsulationType": ... @staticmethod - def values() -> typing.MutableSequence['LNGTank.InsulationType']: ... - + def values() -> typing.MutableSequence["LNGTank.InsulationType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.tank")``. diff --git a/src/jneqsim-stubs/process/equipment/util/__init__.pyi b/src/jneqsim-stubs/process/equipment/util/__init__.pyi index 4189f83a..ff1aff67 100644 --- a/src/jneqsim-stubs/process/equipment/util/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -24,32 +24,38 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - -class AccelerationMethod(java.lang.Enum['AccelerationMethod']): - DIRECT_SUBSTITUTION: typing.ClassVar['AccelerationMethod'] = ... - WEGSTEIN: typing.ClassVar['AccelerationMethod'] = ... - BROYDEN: typing.ClassVar['AccelerationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class AccelerationMethod(java.lang.Enum["AccelerationMethod"]): + DIRECT_SUBSTITUTION: typing.ClassVar["AccelerationMethod"] = ... + WEGSTEIN: typing.ClassVar["AccelerationMethod"] = ... + BROYDEN: typing.ClassVar["AccelerationMethod"] = ... + _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: ... + 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]) -> 'AccelerationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AccelerationMethod": ... @staticmethod - def values() -> typing.MutableSequence['AccelerationMethod']: ... + def values() -> typing.MutableSequence["AccelerationMethod"]: ... class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... def displayResult(self) -> None: ... - def getAdjustedEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getAdjustedEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getAdjustedVariable(self) -> java.lang.String: ... def getAdjustedVariableUnit(self) -> java.lang.String: ... def getError(self) -> float: ... def getMaxAdjustedValue(self) -> float: ... def getMinAdjustedValue(self) -> float: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getTargetVariable(self) -> java.lang.String: ... def getTolerance(self) -> float: ... def isActivateWhenLess(self) -> bool: ... @@ -58,47 +64,140 @@ class Adjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def isActive(self, boolean: bool) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setActivateWhenLess(self, boolean: bool) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setAdjustedEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def setAdjustedValueGetter(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... - @typing.overload - def setAdjustedValueGetter(self, supplier: typing.Union[java.util.function.Supplier[float], typing.Callable[[], float]]) -> None: ... - @typing.overload - def setAdjustedValueSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface, float], None]]) -> None: ... - @typing.overload - def setAdjustedValueSetter(self, consumer: typing.Union[java.util.function.Consumer[float], typing.Callable[[float], None]]) -> None: ... - @typing.overload - def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setAdjustedEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def setAdjustedValueGetter( + self, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.ProcessEquipmentInterface, float + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], float + ], + ], + ) -> None: ... + @typing.overload + def setAdjustedValueGetter( + self, + supplier: typing.Union[ + java.util.function.Supplier[float], typing.Callable[[], float] + ], + ) -> None: ... + @typing.overload + def setAdjustedValueSetter( + self, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.equipment.ProcessEquipmentInterface, float + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface, float], None + ], + ], + ) -> None: ... + @typing.overload + def setAdjustedValueSetter( + self, + consumer: typing.Union[ + java.util.function.Consumer[float], typing.Callable[[float], None] + ], + ) -> None: ... + @typing.overload + def setAdjustedVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def setAdjustedVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setAdjustedVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setError(self, double: float) -> None: ... def setMaxAdjustedValue(self, double: float) -> None: ... def setMinAdjustedValue(self, double: float) -> None: ... - def setTargetEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setTargetEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def setTargetValue(self, double: float) -> None: ... @typing.overload - def setTargetValueCalculator(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... - @typing.overload - def setTargetValueCalculator(self, supplier: typing.Union[java.util.function.Supplier[float], typing.Callable[[], float]]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> None: ... + def setTargetValueCalculator( + self, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.ProcessEquipmentInterface, float + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], float + ], + ], + ) -> None: ... + @typing.overload + def setTargetValueCalculator( + self, + supplier: typing.Union[ + java.util.function.Supplier[float], typing.Callable[[], float] + ], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ) -> None: ... def setTolerance(self, double: float) -> None: ... def solved(self) -> bool: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... @@ -108,10 +207,16 @@ class BroydenAccelerator(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def accelerate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def accelerate( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def getDelayIterations(self) -> int: ... def getDimension(self) -> int: ... - def getInverseJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInverseJacobian( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getIterationCount(self) -> int: ... def getMaxStepSize(self) -> float: ... def getRelaxationFactor(self) -> float: ... @@ -125,70 +230,146 @@ class BroydenAccelerator(java.io.Serializable): class Calculator(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addInputVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def addInputVariable(self, *processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - def getInputVariable(self) -> java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - def getOutputVariable(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def addInputVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def addInputVariable( + self, + *processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + def getInputVariable( + self, + ) -> java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getOutputVariable( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def runAntiSurgeCalc(self, uUID: java.util.UUID) -> None: ... @typing.overload - def setCalculationMethod(self, runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... - @typing.overload - def setCalculationMethod(self, biConsumer: typing.Union[java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... - def setOutputVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setCalculationMethod( + self, runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... + @typing.overload + def setCalculationMethod( + self, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + java.util.ArrayList[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + jneqsim.process.equipment.ProcessEquipmentInterface, + ], + typing.Callable[ + [ + java.util.ArrayList[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + jneqsim.process.equipment.ProcessEquipmentInterface, + ], + None, + ], + ], + ) -> None: ... + def setOutputVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... class CalculatorLibrary: @typing.overload @staticmethod - def antiSurge() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def antiSurge() -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @typing.overload @staticmethod - def antiSurge(double: float) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def antiSurge( + double: float, + ) -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def byName( + string: typing.Union[java.lang.String, str] + ) -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @typing.overload @staticmethod - def dewPointTargeting() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def dewPointTargeting() -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @typing.overload @staticmethod - def dewPointTargeting(double: float) -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def dewPointTargeting( + double: float, + ) -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @staticmethod - def energyBalance() -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def energyBalance() -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... @staticmethod - def preset(preset: 'CalculatorLibrary.Preset') -> java.util.function.BiConsumer[java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], jneqsim.process.equipment.ProcessEquipmentInterface]: ... - class Preset(java.lang.Enum['CalculatorLibrary.Preset']): - ENERGY_BALANCE: typing.ClassVar['CalculatorLibrary.Preset'] = ... - DEW_POINT_TARGETING: typing.ClassVar['CalculatorLibrary.Preset'] = ... - ANTI_SURGE: typing.ClassVar['CalculatorLibrary.Preset'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def preset( + preset: "CalculatorLibrary.Preset", + ) -> java.util.function.BiConsumer[ + java.util.ArrayList[jneqsim.process.equipment.ProcessEquipmentInterface], + jneqsim.process.equipment.ProcessEquipmentInterface, + ]: ... + + class Preset(java.lang.Enum["CalculatorLibrary.Preset"]): + ENERGY_BALANCE: typing.ClassVar["CalculatorLibrary.Preset"] = ... + DEW_POINT_TARGETING: typing.ClassVar["CalculatorLibrary.Preset"] = ... + ANTI_SURGE: typing.ClassVar["CalculatorLibrary.Preset"] = ... + _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: ... + 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]) -> 'CalculatorLibrary.Preset': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CalculatorLibrary.Preset": ... @staticmethod - def values() -> typing.MutableSequence['CalculatorLibrary.Preset']: ... + def values() -> typing.MutableSequence["CalculatorLibrary.Preset"]: ... class ConvergenceDiagnostics(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def analyze(self) -> 'ConvergenceDiagnostics.DiagnosticReport': ... + def analyze(self) -> "ConvergenceDiagnostics.DiagnosticReport": ... + class AdjusterStatus(java.io.Serializable): name: java.lang.String = ... converged: bool = ... error: float = ... tolerance: float = ... iterations: int = ... + class DiagnosticReport(java.io.Serializable): - def getAdjusterStatuses(self) -> java.util.List['ConvergenceDiagnostics.AdjusterStatus']: ... - def getRecycleStatuses(self) -> java.util.List['ConvergenceDiagnostics.RecycleStatus']: ... + def getAdjusterStatuses( + self, + ) -> java.util.List["ConvergenceDiagnostics.AdjusterStatus"]: ... + def getRecycleStatuses( + self, + ) -> java.util.List["ConvergenceDiagnostics.RecycleStatus"]: ... def getSuggestions(self) -> java.util.List[java.lang.String]: ... def isConverged(self) -> bool: ... def toJson(self) -> java.lang.String: ... + class RecycleStatus(java.io.Serializable): name: java.lang.String = ... converged: bool = ... @@ -210,12 +391,16 @@ class EmissionsCalculator(java.io.Serializable): @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def calculate(self) -> None: ... @staticmethod def calculateConventionalCH4(double: float, double2: float) -> float: ... @staticmethod - def calculateConventionalEmissions(double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... + def calculateConventionalEmissions( + double: float, double2: float + ) -> java.util.Map[java.lang.String, float]: ... @staticmethod def calculateConventionalNMVOC(double: float, double2: float) -> float: ... def calculateGWMF(self, double: float, double2: float) -> float: ... @@ -226,19 +411,39 @@ class EmissionsCalculator(java.io.Serializable): def calculateGWR(double: float, double2: float) -> float: ... def calculateMethaneFactor(self, double: float, double2: float) -> float: ... def calculateNMVOCFactor(self, double: float, double2: float) -> float: ... - def compareWithConventionalMethod(self, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def compareWithConventionalMethod( + self, double: float, double2: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... def generateReport(self) -> java.lang.String: ... - def getCO2EmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeCO2(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeMethane(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeNMVOC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCO2EmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCO2Equivalents( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeCO2( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeCO2Equivalents( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeMethane( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeNMVOC( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getGasCompositionMass(self) -> java.util.Map[java.lang.String, float]: ... def getGasCompositionMole(self) -> java.util.Map[java.lang.String, float]: ... - def getMethaneEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNMVOCEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNitrogenEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMethaneEmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getNMVOCEmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getNitrogenEmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalGasRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTotalRunTime(self) -> float: ... def resetCumulative(self) -> None: ... @@ -252,56 +457,103 @@ class FlowRateAdjuster(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... @typing.overload - def setAdjustedFlowRates(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setAdjustedFlowRates(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setAdjustedFlowRates( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setAdjustedFlowRates( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class FlowSetter(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... - def createReferenceProcess(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.processmodel.ProcessSystem: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def createReferenceProcess( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> jneqsim.process.processmodel.ProcessSystem: ... def getGasFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getOilFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getReferenceProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getWaterFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWaterFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setGasFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOilFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSeparationPT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> None: ... - def setWaterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setGasFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setOilFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSeparationPT( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setWaterFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class FuelGasSystem(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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def addConsumer(self, string: typing.Union[java.lang.String, str], consumerType: 'FuelGasSystem.ConsumerType', double: float) -> None: ... + def addConsumer( + self, + string: typing.Union[java.lang.String, str], + consumerType: "FuelGasSystem.ConsumerType", + double: float, + ) -> None: ... @typing.overload - def addConsumer(self, fuelGasConsumer: 'FuelGasSystem.FuelGasConsumer') -> None: ... + def addConsumer(self, fuelGasConsumer: "FuelGasSystem.FuelGasConsumer") -> None: ... def getAnnualConsumptionTonnes(self, double: float) -> float: ... - def getConsumers(self) -> java.util.List['FuelGasSystem.FuelGasConsumer']: ... + def getConsumers(self) -> java.util.List["FuelGasSystem.FuelGasConsumer"]: ... def getDewPoint(self) -> float: ... def getHeaterDutyKW(self) -> float: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getJTCooling(self) -> float: ... def getLowerHeatingValue(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletTemperature(self) -> float: ... def getSuperheat(self) -> float: ... @@ -313,40 +565,56 @@ class FuelGasSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setOutletTemperature(self, double: float) -> None: ... def setTotalDemand(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class ConsumerType(java.lang.Enum['FuelGasSystem.ConsumerType']): - GAS_TURBINE: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... - FIRED_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... - FLARE_PILOT: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... - HOT_OIL_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... - REGEN_HEATER: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... - INCINERATOR: typing.ClassVar['FuelGasSystem.ConsumerType'] = ... + + class ConsumerType(java.lang.Enum["FuelGasSystem.ConsumerType"]): + GAS_TURBINE: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... + FIRED_HEATER: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... + FLARE_PILOT: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... + HOT_OIL_HEATER: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... + REGEN_HEATER: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... + INCINERATOR: typing.ClassVar["FuelGasSystem.ConsumerType"] = ... def getDescription(self) -> java.lang.String: ... def getMaxH2Sppmv(self) -> float: ... def getMinSuperheatC(self) -> float: ... def getTypicalPressureBarg(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FuelGasSystem.ConsumerType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FuelGasSystem.ConsumerType": ... @staticmethod - def values() -> typing.MutableSequence['FuelGasSystem.ConsumerType']: ... + def values() -> typing.MutableSequence["FuelGasSystem.ConsumerType"]: ... + class FuelGasConsumer(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], consumerType: 'FuelGasSystem.ConsumerType', double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + consumerType: "FuelGasSystem.ConsumerType", + double: float, + ): ... def getDemandKgh(self) -> float: ... def getEfficiencyPercent(self) -> float: ... def getName(self) -> java.lang.String: ... - def getType(self) -> 'FuelGasSystem.ConsumerType': ... + def getType(self) -> "FuelGasSystem.ConsumerType": ... def getUsefulThermalPowerKW(self, double: float) -> float: ... def isRunning(self) -> bool: ... def setDemandKgh(self, double: float) -> None: ... @@ -354,7 +622,11 @@ class FuelGasSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): def setRunning(self, boolean: bool) -> None: ... class GORfitter(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getGFV(self) -> float: ... def getGOR(self) -> float: ... @typing.overload @@ -374,24 +646,38 @@ class GORfitter(jneqsim.process.equipment.TwoPortEquipment): def setFitAsGVF(self, boolean: bool) -> None: ... def setGOR(self, double: float) -> None: ... def setGVF(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceConditions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReferenceConditions( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def getGFV(self) -> float: ... def getGOR(self) -> float: ... @typing.overload @@ -412,41 +698,83 @@ class MPFMfitter(jneqsim.process.equipment.TwoPortEquipment): def setFitAsGVF(self, boolean: bool) -> None: ... def setGOR(self, double: float) -> None: ... def setGVF(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceConditions(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceFluidPackage(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReferenceConditions( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReferenceFluidPackage( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class MoleFractionControllerUtil(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... def getMolesChange(self) -> float: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setComponentRate(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setMoleFraction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setRelativeMoleFractionReduction(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setComponentRate( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setMoleFraction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setRelativeMoleFractionReduction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class MultiVariableAdjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAdjustedVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addTargetSpecification(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addTargetSpecification(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> None: ... + def addAdjustedVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addTargetSpecification( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addTargetSpecification( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ) -> None: ... def getIterations(self) -> int: ... def getMaxResidual(self) -> float: ... def getNumberOfVariables(self) -> int: ... @@ -463,7 +791,12 @@ class MultiVariableAdjuster(jneqsim.process.equipment.ProcessEquipmentBaseClass) class NeqSimUnit(jneqsim.process.equipment.TwoPortEquipment): numberOfNodes: int = ... interfacialArea: float = ... - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getEquipment(self) -> java.lang.String: ... def getID(self) -> float: ... def getInterfacialArea(self) -> float: ... @@ -479,7 +812,9 @@ class NeqSimUnit(jneqsim.process.equipment.TwoPortEquipment): def runStratified(self) -> None: ... def setEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... def setID(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setLength(self, double: float) -> None: ... def setNumberOfNodes(self, int: int) -> None: ... def setOuterTemperature(self, double: float) -> None: ... @@ -488,12 +823,18 @@ class PressureDrop(jneqsim.process.equipment.valve.ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setPressureDrop(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureDrop( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class ProducedWaterDegassingSystem(java.io.Serializable): KIJ_WATER_CO2_BASE: typing.ClassVar[float] = ... @@ -510,34 +851,77 @@ class ProducedWaterDegassingSystem(java.io.Serializable): def getEmissionsReport(self) -> java.lang.String: ... def getMethodComparisonReport(self) -> java.lang.String: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getTotalCO2EmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalCO2Equivalents(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalMethaneEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalNMVOCEmissionRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalCO2EmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTotalCO2Equivalents( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTotalMethaneEmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTotalNMVOCEmissionRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getValidationResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setCFUPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setCaissonPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDegasserPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setDissolvedGasComposition(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - @typing.overload - def setDissolvedGasComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setInletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCFUPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCaissonPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDegasserPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + @typing.overload + def setDissolvedGasComposition( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + @typing.overload + def setDissolvedGasComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setInletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLabGWR(self, double: float) -> None: ... - def setLabGasComposition(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setLabGasComposition( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTunedInteractionParameters(self, boolean: bool) -> None: ... - def setWaterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setWaterTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... -class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.process.equipment.mixer.MixerInterface): +class Recycle( + jneqsim.process.equipment.ProcessEquipmentBaseClass, + jneqsim.process.equipment.mixer.MixerInterface, +): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def calcMixStreamEnthalpy(self) -> float: ... def compositionBalanceCheck(self) -> float: ... def displayResult(self) -> None: ... @@ -551,7 +935,9 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getErrorPressure(self) -> float: ... def getErrorTemperature(self) -> float: ... def getFlowTolerance(self) -> float: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getIterations(self) -> int: ... @typing.overload def getMassBalance(self) -> float: ... @@ -561,10 +947,14 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getMinimumFlow(self) -> float: ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getPressureTolerance(self) -> float: ... def getPriority(self) -> int: ... - def getStream(self, int: int) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStream( + self, int: int + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getTemperatureTolerance(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getWegsteinDelayIterations(self) -> int: ... @@ -572,11 +962,17 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def getWegsteinQMax(self) -> float: ... def getWegsteinQMin(self) -> float: ... def guessTemperature(self) -> float: ... - def initiateDownstreamProperties(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def initiateDownstreamProperties( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def mixStream(self) -> None: ... def pressureBalanceCheck(self) -> float: ... def removeInputStream(self, int: int) -> None: ... - def replaceStream(self, int: int, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def replaceStream( + self, + int: int, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def resetAccelerationState(self) -> None: ... def resetIterations(self) -> None: ... @typing.overload @@ -587,9 +983,13 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def setCompositionTolerance(self, double: float) -> None: ... def setDownstreamProperties(self) -> None: ... @typing.overload - def setDownstreamProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDownstreamProperty( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setDownstreamProperty(self, arrayList: java.util.ArrayList[typing.Union[java.lang.String, str]]) -> None: ... + def setDownstreamProperty( + self, arrayList: java.util.ArrayList[typing.Union[java.lang.String, str]] + ) -> None: ... def setErrorCompositon(self, double: float) -> None: ... def setErrorFlow(self, double: float) -> None: ... def setErrorPressure(self, double: float) -> None: ... @@ -597,7 +997,9 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce def setFlowTolerance(self, double: float) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setMinimumFlow(self, double: float) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setPressure(self, double: float) -> None: ... def setPressureTolerance(self, double: float) -> None: ... def setPriority(self, int: int) -> None: ... @@ -612,7 +1014,9 @@ class Recycle(jneqsim.process.equipment.ProcessEquipmentBaseClass, jneqsim.proce @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... class RecycleController(java.io.Serializable): @@ -622,14 +1026,18 @@ class RecycleController(java.io.Serializable): def doSolveRecycle(self, recycle: Recycle) -> bool: ... def equals(self, object: typing.Any) -> bool: ... def getConvergenceDiagnostics(self) -> java.lang.String: ... - def getConvergenceJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getConvergenceJacobian( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getCoordinatedAccelerator(self) -> BroydenAccelerator: ... def getCurrentPriorityLevel(self) -> int: ... def getMaxResidualError(self) -> float: ... def getRecycleCount(self) -> int: ... def getRecycles(self) -> java.util.List[Recycle]: ... def getRecyclesAtCurrentPriority(self) -> java.util.List[Recycle]: ... - def getTearStreamSensitivityMatrix(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def getTearStreamSensitivityMatrix( + self, + ) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... def getTearStreamVariableNames(self) -> java.util.List[java.lang.String]: ... def getTotalIterations(self) -> int: ... def hasHigherPriorityLevel(self) -> bool: ... @@ -646,7 +1054,9 @@ class RecycleController(java.io.Serializable): @typing.overload def setAccelerationMethod(self, accelerationMethod: AccelerationMethod) -> None: ... @typing.overload - def setAccelerationMethod(self, accelerationMethod: AccelerationMethod, int: int) -> None: ... + def setAccelerationMethod( + self, accelerationMethod: AccelerationMethod, int: int + ) -> None: ... def setCurrentPriorityLevel(self, int: int) -> None: ... def setUseCoordinatedAcceleration(self, boolean: bool) -> None: ... def solvedAll(self) -> bool: ... @@ -658,43 +1068,110 @@ class SetPoint(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], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def displayResult(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setSourceValueCalculator(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... - @typing.overload - def setSourceVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def setSourceVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def setTargetVariable(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]) -> None: ... + def setSourceValueCalculator( + self, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.ProcessEquipmentInterface, float + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], float + ], + ], + ) -> None: ... + @typing.overload + def setSourceVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def setSourceVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def setTargetVariable( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ) -> None: ... class Setter(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addTargetEquipment(self, list: java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]) -> None: ... - @typing.overload - def addTargetEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - def getParameters(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def addParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + @typing.overload + def addTargetEquipment( + self, list: java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface] + ) -> None: ... + @typing.overload + def addTargetEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + def getParameters( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -702,11 +1179,61 @@ class Setter(jneqsim.process.equipment.ProcessEquipmentBaseClass): class SpreadsheetBlock(jneqsim.process.equipment.ProcessEquipmentBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addConstantCell(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addExportCell(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, exportWriter: typing.Union['SpreadsheetBlock.ExportWriter', typing.Callable]) -> None: ... - def addFormulaCell(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], float], typing.Callable[[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], float]]) -> None: ... - def addImportCell(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, float], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], float]]) -> None: ... - def addStreamImportCell(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.stream.StreamInterface, float], typing.Callable[[jneqsim.process.equipment.stream.StreamInterface], float]]) -> None: ... + def addConstantCell( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addExportCell( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + exportWriter: typing.Union["SpreadsheetBlock.ExportWriter", typing.Callable], + ) -> None: ... + def addFormulaCell( + self, + string: typing.Union[java.lang.String, str], + function: typing.Union[ + java.util.function.Function[ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + float, + ], + typing.Callable[ + [ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ] + ], + float, + ], + ], + ) -> None: ... + def addImportCell( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.ProcessEquipmentInterface, float + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], float + ], + ], + ) -> None: ... + def addStreamImportCell( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.stream.StreamInterface, float + ], + typing.Callable[[jneqsim.process.equipment.stream.StreamInterface], float], + ], + ) -> None: ... def getAllCellValues(self) -> java.util.Map[java.lang.String, float]: ... def getCellNames(self) -> java.util.List[java.lang.String]: ... def getCellValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -714,14 +1241,23 @@ class SpreadsheetBlock(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... + class ExportWriter(java.io.Serializable): - def apply(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float) -> None: ... + def apply( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double: float, + ) -> None: ... class StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def isMultiPhase(self) -> bool: ... def needRecalculation(self) -> bool: ... @typing.overload @@ -729,14 +1265,23 @@ class StreamSaturatorUtil(jneqsim.process.equipment.TwoPortEquipment): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setApprachToSaturation(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setMultiPhase(self, boolean: bool) -> None: ... class StreamTransition(jneqsim.process.equipment.TwoPortEquipment): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -746,18 +1291,28 @@ class UnisimCalculator(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 addStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def getCalculationMode(self) -> java.lang.String: ... def getInletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getMassBalance(self) -> float: ... def getOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOutletStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -772,29 +1327,51 @@ class UnisimCalculator(jneqsim.process.equipment.ProcessEquipmentBaseClass): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setCalculationMode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setOutletFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCalculationMode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setMolarComposition( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setOutletFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... @typing.overload def setOutletTemperature(self, double: float) -> None: ... @typing.overload - def setOutletTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setSourceOperationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSourceOperationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class UtilityAirSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload @@ -802,117 +1379,163 @@ class UtilityAirSystem(jneqsim.process.equipment.ProcessEquipmentBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass'): ... - @typing.overload - def addConsumer(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... - @typing.overload - def addConsumer(self, airConsumer: 'UtilityAirSystem.AirConsumer') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + airQualityClass: "UtilityAirSystem.AirQualityClass", + ): ... + @typing.overload + def addConsumer( + self, + string: typing.Union[java.lang.String, str], + double: float, + airQualityClass: "UtilityAirSystem.AirQualityClass", + ) -> None: ... + @typing.overload + def addConsumer(self, airConsumer: "UtilityAirSystem.AirConsumer") -> None: ... def autoSize(self) -> None: ... def calculateAnnualOperatingCost(self, double: float, double2: float) -> float: ... def getActualDewPoint(self) -> float: ... def getCompressorPowerKW(self) -> float: ... - def getCompressorType(self) -> 'UtilityAirSystem.CompressorType': ... + def getCompressorType(self) -> "UtilityAirSystem.CompressorType": ... def getCondensateVolume(self) -> float: ... def getDischargePressure(self) -> float: ... def getDryerPurgeLoss(self) -> float: ... - def getDryerType(self) -> 'UtilityAirSystem.DryerType': ... + def getDryerType(self) -> "UtilityAirSystem.DryerType": ... def getInletRelativeHumidity(self) -> float: ... def getInletTemperature(self) -> float: ... def getNumberOfCompressors(self) -> int: ... def getReceiverHoldupMinutes(self) -> float: ... def getReceiverVolume(self) -> float: ... def getSpecificEnergy(self) -> float: ... - def getTargetQuality(self) -> 'UtilityAirSystem.AirQualityClass': ... + def getTargetQuality(self) -> "UtilityAirSystem.AirQualityClass": ... def getTotalAirDemand(self) -> float: ... def isQualityTargetMet(self) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setCompressorType(self, compressorType: 'UtilityAirSystem.CompressorType') -> None: ... + def setCompressorType( + self, compressorType: "UtilityAirSystem.CompressorType" + ) -> None: ... def setDischargePressure(self, double: float) -> None: ... - def setDryerType(self, dryerType: 'UtilityAirSystem.DryerType') -> None: ... + def setDryerType(self, dryerType: "UtilityAirSystem.DryerType") -> None: ... def setInletRelativeHumidity(self, double: float) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setNumberOfCompressors(self, int: int) -> None: ... def setReceiverVolume(self, double: float) -> None: ... - def setTargetQuality(self, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... + def setTargetQuality( + self, airQualityClass: "UtilityAirSystem.AirQualityClass" + ) -> None: ... def setTotalAirDemand(self, double: float) -> None: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... + class AirConsumer(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, airQualityClass: 'UtilityAirSystem.AirQualityClass'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + airQualityClass: "UtilityAirSystem.AirQualityClass", + ): ... def getDemandNm3h(self) -> float: ... def getName(self) -> java.lang.String: ... - def getRequiredQuality(self) -> 'UtilityAirSystem.AirQualityClass': ... + def getRequiredQuality(self) -> "UtilityAirSystem.AirQualityClass": ... def isCritical(self) -> bool: ... def setCritical(self, boolean: bool) -> None: ... def setDemandNm3h(self, double: float) -> None: ... - def setRequiredQuality(self, airQualityClass: 'UtilityAirSystem.AirQualityClass') -> None: ... - class AirQualityClass(java.lang.Enum['UtilityAirSystem.AirQualityClass']): - CLASS_1: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... - CLASS_2: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... - CLASS_3: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... - CLASS_4: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... - CLASS_5: typing.ClassVar['UtilityAirSystem.AirQualityClass'] = ... + def setRequiredQuality( + self, airQualityClass: "UtilityAirSystem.AirQualityClass" + ) -> None: ... + + class AirQualityClass(java.lang.Enum["UtilityAirSystem.AirQualityClass"]): + CLASS_1: typing.ClassVar["UtilityAirSystem.AirQualityClass"] = ... + CLASS_2: typing.ClassVar["UtilityAirSystem.AirQualityClass"] = ... + CLASS_3: typing.ClassVar["UtilityAirSystem.AirQualityClass"] = ... + CLASS_4: typing.ClassVar["UtilityAirSystem.AirQualityClass"] = ... + CLASS_5: typing.ClassVar["UtilityAirSystem.AirQualityClass"] = ... def getMaxDewPointC(self) -> float: ... def getMaxOilMgM3(self) -> float: ... def getMaxParticleSizeMicron(self) -> float: ... def getTypicalUse(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'UtilityAirSystem.AirQualityClass': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "UtilityAirSystem.AirQualityClass": ... @staticmethod - def values() -> typing.MutableSequence['UtilityAirSystem.AirQualityClass']: ... - class CompressorType(java.lang.Enum['UtilityAirSystem.CompressorType']): - ROTARY_SCREW: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... - RECIPROCATING: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... - CENTRIFUGAL: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... - SCROLL: typing.ClassVar['UtilityAirSystem.CompressorType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["UtilityAirSystem.AirQualityClass"]: ... + + class CompressorType(java.lang.Enum["UtilityAirSystem.CompressorType"]): + ROTARY_SCREW: typing.ClassVar["UtilityAirSystem.CompressorType"] = ... + RECIPROCATING: typing.ClassVar["UtilityAirSystem.CompressorType"] = ... + CENTRIFUGAL: typing.ClassVar["UtilityAirSystem.CompressorType"] = ... + SCROLL: typing.ClassVar["UtilityAirSystem.CompressorType"] = ... + _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: ... + 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]) -> 'UtilityAirSystem.CompressorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "UtilityAirSystem.CompressorType": ... @staticmethod - def values() -> typing.MutableSequence['UtilityAirSystem.CompressorType']: ... - class DryerType(java.lang.Enum['UtilityAirSystem.DryerType']): - REFRIGERATED: typing.ClassVar['UtilityAirSystem.DryerType'] = ... - DESICCANT_HEATLESS: typing.ClassVar['UtilityAirSystem.DryerType'] = ... - DESICCANT_HEATED: typing.ClassVar['UtilityAirSystem.DryerType'] = ... - MEMBRANE: typing.ClassVar['UtilityAirSystem.DryerType'] = ... - HYBRID: typing.ClassVar['UtilityAirSystem.DryerType'] = ... + def values() -> typing.MutableSequence["UtilityAirSystem.CompressorType"]: ... + + class DryerType(java.lang.Enum["UtilityAirSystem.DryerType"]): + REFRIGERATED: typing.ClassVar["UtilityAirSystem.DryerType"] = ... + DESICCANT_HEATLESS: typing.ClassVar["UtilityAirSystem.DryerType"] = ... + DESICCANT_HEATED: typing.ClassVar["UtilityAirSystem.DryerType"] = ... + MEMBRANE: typing.ClassVar["UtilityAirSystem.DryerType"] = ... + HYBRID: typing.ClassVar["UtilityAirSystem.DryerType"] = ... def getAchievableDewPointC(self) -> float: ... def getAirYieldFraction(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'UtilityAirSystem.DryerType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "UtilityAirSystem.DryerType": ... @staticmethod - def values() -> typing.MutableSequence['UtilityAirSystem.DryerType']: ... + def values() -> typing.MutableSequence["UtilityAirSystem.DryerType"]: ... class AntiSurgeCalculator(Calculator): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor, splitter: jneqsim.process.equipment.splitter.Splitter): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + compressor: jneqsim.process.equipment.compressor.Compressor, + splitter: jneqsim.process.equipment.splitter.Splitter, + ): ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.util")``. diff --git a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi index c3552f26..95f77e8a 100644 --- a/src/jneqsim-stubs/process/equipment/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,26 +18,26 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class ChokeCollapseAnalyzer(java.io.Serializable): DEFAULT_MARGIN_THRESHOLD: typing.ClassVar[float] = ... DEFAULT_CAVITATION_THRESHOLD: typing.ClassVar[float] = ... - def __init__(self, throttlingValve: 'ThrottlingValve'): ... - def analyze(self) -> 'ChokeCollapseResult': ... + def __init__(self, throttlingValve: "ThrottlingValve"): ... + def analyze(self) -> "ChokeCollapseResult": ... @staticmethod def criticalPressureRatio(double: float) -> float: ... def findCollapsePressureRatio(self) -> float: ... def setCavitationThreshold(self, double: float) -> None: ... def setCriticalMarginThreshold(self, double: float) -> None: ... - def setDownstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDownstreamPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class ChokeCollapseResult(java.io.Serializable): def __init__(self): ... def getCavitationIndex(self) -> float: ... - def getCollapseMode(self) -> 'ChokeCollapseResult.CollapseMode': ... + def getCollapseMode(self) -> "ChokeCollapseResult.CollapseMode": ... def getCriticalPressureRatio(self) -> float: ... - def getFlowRegime(self) -> 'ChokeCollapseResult.FlowRegime': ... + def getFlowRegime(self) -> "ChokeCollapseResult.FlowRegime": ... def getFluidPhase(self) -> java.lang.String: ... def getGamma(self) -> float: ... def getInletPressureBara(self) -> float: ... @@ -50,10 +50,12 @@ class ChokeCollapseResult(java.io.Serializable): def getRecommendations(self) -> java.util.List[java.lang.String]: ... def isFlashing(self) -> bool: ... def setCavitationIndex(self, double: float) -> None: ... - def setCollapseMode(self, collapseMode: 'ChokeCollapseResult.CollapseMode') -> None: ... + def setCollapseMode( + self, collapseMode: "ChokeCollapseResult.CollapseMode" + ) -> None: ... def setCriticalPressureRatio(self, double: float) -> None: ... def setFlashing(self, boolean: bool) -> None: ... - def setFlowRegime(self, flowRegime: 'ChokeCollapseResult.FlowRegime') -> None: ... + def setFlowRegime(self, flowRegime: "ChokeCollapseResult.FlowRegime") -> None: ... def setFluidPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... def setGamma(self, double: float) -> None: ... def setInletPressureBara(self, double: float) -> None: ... @@ -64,62 +66,88 @@ class ChokeCollapseResult(java.io.Serializable): def setOutletPressureBara(self, double: float) -> None: ... def setPressureRatio(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class CollapseMode(java.lang.Enum['ChokeCollapseResult.CollapseMode']): - NONE: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... - NEAR_COLLAPSE: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... - COLLAPSED: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... - FLASHING: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... - CAVITATION: typing.ClassVar['ChokeCollapseResult.CollapseMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CollapseMode(java.lang.Enum["ChokeCollapseResult.CollapseMode"]): + NONE: typing.ClassVar["ChokeCollapseResult.CollapseMode"] = ... + NEAR_COLLAPSE: typing.ClassVar["ChokeCollapseResult.CollapseMode"] = ... + COLLAPSED: typing.ClassVar["ChokeCollapseResult.CollapseMode"] = ... + FLASHING: typing.ClassVar["ChokeCollapseResult.CollapseMode"] = ... + CAVITATION: typing.ClassVar["ChokeCollapseResult.CollapseMode"] = ... + _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: ... + 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]) -> 'ChokeCollapseResult.CollapseMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ChokeCollapseResult.CollapseMode": ... @staticmethod - def values() -> typing.MutableSequence['ChokeCollapseResult.CollapseMode']: ... - class FlowRegime(java.lang.Enum['ChokeCollapseResult.FlowRegime']): - CRITICAL: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... - SUBCRITICAL: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... - TRANSITION: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... - REVERSE: typing.ClassVar['ChokeCollapseResult.FlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["ChokeCollapseResult.CollapseMode"]: ... + + class FlowRegime(java.lang.Enum["ChokeCollapseResult.FlowRegime"]): + CRITICAL: typing.ClassVar["ChokeCollapseResult.FlowRegime"] = ... + SUBCRITICAL: typing.ClassVar["ChokeCollapseResult.FlowRegime"] = ... + TRANSITION: typing.ClassVar["ChokeCollapseResult.FlowRegime"] = ... + REVERSE: typing.ClassVar["ChokeCollapseResult.FlowRegime"] = ... + _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: ... + 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]) -> 'ChokeCollapseResult.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ChokeCollapseResult.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['ChokeCollapseResult.FlowRegime']: ... + def values() -> typing.MutableSequence["ChokeCollapseResult.FlowRegime"]: ... class InadvertentValveOperationAnalyzer: DEFAULT_SPURIOUS_FREQUENCY_PER_YEAR: typing.ClassVar[float] = ... DEFAULT_STUCK_FREQUENCY_PER_YEAR: typing.ClassVar[float] = ... API521_MAX_ACCUMULATION_FACTOR: typing.ClassVar[float] = ... API521_FIRE_ACCUMULATION_FACTOR: typing.ClassVar[float] = ... - def __init__(self, valveInterface: 'ValveInterface'): ... - def analyze(self) -> 'InadvertentValveOperationResult': ... - def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... - def setDownstreamDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... - def setFrequencyPerYear(self, double: float) -> 'InadvertentValveOperationAnalyzer': ... - def setMode(self, ivoMode: 'InadvertentValveOperationResult.IvoMode') -> 'InadvertentValveOperationAnalyzer': ... - def setRole(self, valveRole: 'InadvertentValveOperationResult.ValveRole') -> 'InadvertentValveOperationAnalyzer': ... - def setUpstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InadvertentValveOperationAnalyzer': ... + def __init__(self, valveInterface: "ValveInterface"): ... + def analyze(self) -> "InadvertentValveOperationResult": ... + def setDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationAnalyzer": ... + def setDownstreamDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationAnalyzer": ... + def setFrequencyPerYear( + self, double: float + ) -> "InadvertentValveOperationAnalyzer": ... + def setMode( + self, ivoMode: "InadvertentValveOperationResult.IvoMode" + ) -> "InadvertentValveOperationAnalyzer": ... + def setRole( + self, valveRole: "InadvertentValveOperationResult.ValveRole" + ) -> "InadvertentValveOperationAnalyzer": ... + def setUpstreamPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationAnalyzer": ... class InadvertentValveOperationResult(java.io.Serializable): def __init__(self): ... - def addRecommendation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addRecommendation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getDescription(self) -> java.lang.String: ... def getDesignPressureBara(self) -> float: ... def getDownstreamPressureBara(self) -> float: ... def getFrequencyPerYear(self) -> float: ... - def getMode(self) -> 'InadvertentValveOperationResult.IvoMode': ... + def getMode(self) -> "InadvertentValveOperationResult.IvoMode": ... def getOverpressureFactor(self) -> float: ... def getRecommendations(self) -> java.util.List[java.lang.String]: ... - def getRole(self) -> 'InadvertentValveOperationResult.ValveRole': ... - def getSeverity(self) -> 'InadvertentValveOperationResult.ConsequenceSeverity': ... + def getRole(self) -> "InadvertentValveOperationResult.ValveRole": ... + def getSeverity(self) -> "InadvertentValveOperationResult.ConsequenceSeverity": ... def getUpstreamPressureBara(self) -> float: ... def getValveName(self) -> java.lang.String: ... def isBlockedOutlet(self) -> bool: ... @@ -133,62 +161,107 @@ class InadvertentValveOperationResult(java.io.Serializable): def setFailureToIsolateOnDemand(self, boolean: bool) -> None: ... def setFrequencyPerYear(self, double: float) -> None: ... def setLossOfReliefPath(self, boolean: bool) -> None: ... - def setMode(self, ivoMode: 'InadvertentValveOperationResult.IvoMode') -> None: ... + def setMode(self, ivoMode: "InadvertentValveOperationResult.IvoMode") -> None: ... def setOverpressureFactor(self, double: float) -> None: ... def setReverseFlowRisk(self, boolean: bool) -> None: ... - def setRole(self, valveRole: 'InadvertentValveOperationResult.ValveRole') -> None: ... - def setSeverity(self, consequenceSeverity: 'InadvertentValveOperationResult.ConsequenceSeverity') -> None: ... + def setRole( + self, valveRole: "InadvertentValveOperationResult.ValveRole" + ) -> None: ... + def setSeverity( + self, consequenceSeverity: "InadvertentValveOperationResult.ConsequenceSeverity" + ) -> None: ... def setUpstreamPressureBara(self, double: float) -> None: ... def setValveName(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... - class ConsequenceSeverity(java.lang.Enum['InadvertentValveOperationResult.ConsequenceSeverity']): - NONE: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... - MINOR: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... - MAJOR: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... - SAFETY_CRITICAL: typing.ClassVar['InadvertentValveOperationResult.ConsequenceSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConsequenceSeverity( + java.lang.Enum["InadvertentValveOperationResult.ConsequenceSeverity"] + ): + NONE: typing.ClassVar["InadvertentValveOperationResult.ConsequenceSeverity"] = ( + ... + ) + MINOR: typing.ClassVar[ + "InadvertentValveOperationResult.ConsequenceSeverity" + ] = ... + MAJOR: typing.ClassVar[ + "InadvertentValveOperationResult.ConsequenceSeverity" + ] = ... + SAFETY_CRITICAL: typing.ClassVar[ + "InadvertentValveOperationResult.ConsequenceSeverity" + ] = ... + _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: ... + 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]) -> 'InadvertentValveOperationResult.ConsequenceSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationResult.ConsequenceSeverity": ... @staticmethod - def values() -> typing.MutableSequence['InadvertentValveOperationResult.ConsequenceSeverity']: ... - class IvoMode(java.lang.Enum['InadvertentValveOperationResult.IvoMode']): - SPURIOUS_OPEN: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... - SPURIOUS_CLOSE: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... - STUCK_OPEN: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... - STUCK_CLOSED: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... - PARTIAL_STROKE: typing.ClassVar['InadvertentValveOperationResult.IvoMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence[ + "InadvertentValveOperationResult.ConsequenceSeverity" + ] + ): ... + + class IvoMode(java.lang.Enum["InadvertentValveOperationResult.IvoMode"]): + SPURIOUS_OPEN: typing.ClassVar["InadvertentValveOperationResult.IvoMode"] = ... + SPURIOUS_CLOSE: typing.ClassVar["InadvertentValveOperationResult.IvoMode"] = ... + STUCK_OPEN: typing.ClassVar["InadvertentValveOperationResult.IvoMode"] = ... + STUCK_CLOSED: typing.ClassVar["InadvertentValveOperationResult.IvoMode"] = ... + PARTIAL_STROKE: typing.ClassVar["InadvertentValveOperationResult.IvoMode"] = ... + _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: ... + 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]) -> 'InadvertentValveOperationResult.IvoMode': ... - @staticmethod - def values() -> typing.MutableSequence['InadvertentValveOperationResult.IvoMode']: ... - class ValveRole(java.lang.Enum['InadvertentValveOperationResult.ValveRole']): - BLOCK: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - CONTROL: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - BYPASS: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - CHECK: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - PSV_ISOLATION: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - ESD: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - BLOWDOWN: typing.ClassVar['InadvertentValveOperationResult.ValveRole'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationResult.IvoMode": ... + @staticmethod + def values() -> ( + typing.MutableSequence["InadvertentValveOperationResult.IvoMode"] + ): ... + + class ValveRole(java.lang.Enum["InadvertentValveOperationResult.ValveRole"]): + BLOCK: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + CONTROL: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + BYPASS: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + CHECK: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + PSV_ISOLATION: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ( + ... + ) + ESD: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + BLOWDOWN: typing.ClassVar["InadvertentValveOperationResult.ValveRole"] = ... + _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: ... + 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]) -> 'InadvertentValveOperationResult.ValveRole': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InadvertentValveOperationResult.ValveRole": ... @staticmethod - def values() -> typing.MutableSequence['InadvertentValveOperationResult.ValveRole']: ... + def values() -> ( + typing.MutableSequence["InadvertentValveOperationResult.ValveRole"] + ): ... -class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsim.process.equipment.TwoPortInterface): +class ValveInterface( + jneqsim.process.equipment.ProcessEquipmentInterface, + jneqsim.process.equipment.TwoPortInterface, +): def equals(self, object: typing.Any) -> bool: ... def getCg(self) -> float: ... def getClosingTravelTime(self) -> float: ... @@ -201,7 +274,7 @@ class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsi def getPercentValveOpening(self) -> float: ... def getTargetPercentValveOpening(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getTravelModel(self) -> 'ValveTravelModel': ... + def getTravelModel(self) -> "ValveTravelModel": ... def getTravelTime(self) -> float: ... def getTravelTimeConstant(self) -> float: ... def hashCode(self) -> int: ... @@ -210,66 +283,90 @@ class ValveInterface(jneqsim.process.equipment.ProcessEquipmentInterface, jneqsi @typing.overload def setCv(self, double: float) -> None: ... @typing.overload - def setCv(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCv( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIsoThermal(self, boolean: bool) -> None: ... def setKv(self, double: float) -> None: ... def setOpeningTravelTime(self, double: float) -> None: ... def setPercentValveOpening(self, double: float) -> None: ... def setTargetPercentValveOpening(self, double: float) -> None: ... - def setTravelModel(self, valveTravelModel: 'ValveTravelModel') -> None: ... + def setTravelModel(self, valveTravelModel: "ValveTravelModel") -> None: ... def setTravelTime(self, double: float) -> None: ... def setTravelTimeConstant(self, double: float) -> None: ... -class ValveSeatLeakageClass(java.lang.Enum['ValveSeatLeakageClass']): - EN_12266_RATE_A: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_B: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_C: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_D: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_E: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_F: typing.ClassVar['ValveSeatLeakageClass'] = ... - EN_12266_RATE_G: typing.ClassVar['ValveSeatLeakageClass'] = ... - FCI_70_2_CLASS_II: typing.ClassVar['ValveSeatLeakageClass'] = ... - FCI_70_2_CLASS_III: typing.ClassVar['ValveSeatLeakageClass'] = ... - FCI_70_2_CLASS_IV: typing.ClassVar['ValveSeatLeakageClass'] = ... - FCI_70_2_CLASS_V: typing.ClassVar['ValveSeatLeakageClass'] = ... - FCI_70_2_CLASS_VI: typing.ClassVar['ValveSeatLeakageClass'] = ... +class ValveSeatLeakageClass(java.lang.Enum["ValveSeatLeakageClass"]): + EN_12266_RATE_A: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_B: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_C: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_D: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_E: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_F: typing.ClassVar["ValveSeatLeakageClass"] = ... + EN_12266_RATE_G: typing.ClassVar["ValveSeatLeakageClass"] = ... + FCI_70_2_CLASS_II: typing.ClassVar["ValveSeatLeakageClass"] = ... + FCI_70_2_CLASS_III: typing.ClassVar["ValveSeatLeakageClass"] = ... + FCI_70_2_CLASS_IV: typing.ClassVar["ValveSeatLeakageClass"] = ... + FCI_70_2_CLASS_V: typing.ClassVar["ValveSeatLeakageClass"] = ... + FCI_70_2_CLASS_VI: typing.ClassVar["ValveSeatLeakageClass"] = ... @staticmethod def estimateFciClassVLeakRate(double: float, double2: float) -> float: ... def getDescription(self) -> java.lang.String: ... def getStandardDesignation(self) -> java.lang.String: ... def isEssentiallyZeroLeakage(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ValveSeatLeakageClass': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ValveSeatLeakageClass": ... @staticmethod - def values() -> typing.MutableSequence['ValveSeatLeakageClass']: ... + def values() -> typing.MutableSequence["ValveSeatLeakageClass"]: ... -class ValveTravelModel(java.lang.Enum['ValveTravelModel']): - NONE: typing.ClassVar['ValveTravelModel'] = ... - LINEAR_RATE_LIMIT: typing.ClassVar['ValveTravelModel'] = ... - FIRST_ORDER_LAG: typing.ClassVar['ValveTravelModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class ValveTravelModel(java.lang.Enum["ValveTravelModel"]): + NONE: typing.ClassVar["ValveTravelModel"] = ... + LINEAR_RATE_LIMIT: typing.ClassVar["ValveTravelModel"] = ... + FIRST_ORDER_LAG: typing.ClassVar["ValveTravelModel"] = ... + _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: ... + 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]) -> 'ValveTravelModel': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ValveTravelModel": ... @staticmethod - def values() -> typing.MutableSequence['ValveTravelModel']: ... + def values() -> typing.MutableSequence["ValveTravelModel"]: ... -class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface, jneqsim.process.equipment.capacity.CapacityConstrainedEquipment, jneqsim.process.design.AutoSizeable): +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]): ... @typing.overload - 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 __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 analyseChokeCollapse(self) -> ChokeCollapseResult: ... - def analyseInadvertentOperation(self, valveRole: InadvertentValveOperationResult.ValveRole, ivoMode: InadvertentValveOperationResult.IvoMode, double: float) -> InadvertentValveOperationResult: ... + def analyseInadvertentOperation( + self, + valveRole: InadvertentValveOperationResult.ValveRole, + ivoMode: InadvertentValveOperationResult.IvoMode, + double: float, + ) -> InadvertentValveOperationResult: ... @typing.overload def autoSize(self) -> None: ... @typing.overload @@ -277,16 +374,28 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def autoSize(self, double: float, double2: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def calcKv(self) -> None: ... def calculateAIV(self) -> float: ... - def calculateAIVLikelihoodOfFailure(self, double: float, double2: float) -> float: ... + def calculateAIVLikelihoodOfFailure( + self, double: float, double2: float + ) -> float: ... def calculateMolarFlow(self) -> float: ... def calculateOutletPressure(self, double: float) -> float: ... def clearCapacityConstraints(self) -> None: ... def displayResult(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 getBottleneckConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapacityConstraints( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.capacity.CapacityConstraint + ]: ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getCg(self) -> float: ... @@ -298,28 +407,47 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def getDeltaPressure(self) -> float: ... @typing.overload - def getDeltaPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentState(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... + def getDeltaPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentState( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getFp(self) -> float: ... def getInletPressure(self) -> float: ... def getKv(self) -> float: ... def getMaxDesignAIV(self) -> float: ... def getMaxUtilization(self) -> float: ... def getMaximumValveOpening(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.valve.ValveMechanicalDesign: ... def getMinimumValveOpening(self) -> float: ... def getOpeningTravelTime(self) -> float: ... @typing.overload - def getOutletPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getOutletPressure(self) -> float: ... def getPercentValveOpening(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSizingReport(self) -> java.lang.String: ... def getSizingReportJson(self) -> java.lang.String: ... def getTargetPercentValveOpening(self) -> float: ... @@ -341,7 +469,9 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface def isIsoThermal(self) -> bool: ... def isValveKvSet(self) -> bool: ... def needRecalculation(self) -> bool: ... - def removeCapacityConstraint(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def removeCapacityConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -358,8 +488,12 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def setCv(self, double: float) -> None: ... @typing.overload - def setCv(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setDeltaPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCv( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDeltaPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFp(self, double: float) -> None: ... def setGasValve(self, boolean: bool) -> None: ... def setIsCalcOutPressure(self, boolean: bool) -> None: ... @@ -372,12 +506,16 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def setOutletPressure(self, double: float) -> None: ... @typing.overload - def setOutletPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOutletPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPercentValveOpening(self, double: float) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTargetPercentValveOpening(self, double: float) -> None: ... def setTravelModel(self, valveTravelModel: ValveTravelModel) -> None: ... def setTravelTime(self, double: float) -> None: ... @@ -389,13 +527,19 @@ class ThrottlingValve(jneqsim.process.equipment.TwoPortEquipment, ValveInterface @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... class BlowdownValve(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def activate(self) -> None: ... def close(self) -> None: ... def getOpeningTime(self) -> float: ... @@ -414,7 +558,11 @@ class CheckValve(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getCrackingPressure(self) -> float: ... def isOpen(self) -> bool: ... @typing.overload @@ -428,14 +576,22 @@ class ControlValve(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def toString(self) -> java.lang.String: ... class ESDValve(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def completePartialStrokeTest(self) -> None: ... def deEnergize(self) -> None: ... def energize(self) -> None: ... @@ -461,18 +617,29 @@ class HIPPSValve(ThrottlingValve): @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 addPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addPressureTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def getActiveTransmitterCount(self) -> int: ... def getClosureTime(self) -> float: ... def getDiagnostics(self) -> java.lang.String: ... def getLastTripTime(self) -> float: ... - def getPressureTransmitters(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getPressureTransmitters( + self, + ) -> java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ]: ... def getProofTestInterval(self) -> float: ... def getSILRating(self) -> int: ... def getSpuriousTripCount(self) -> int: ... def getTimeSinceProofTest(self) -> float: ... - def getVotingLogic(self) -> 'HIPPSValve.VotingLogic': ... + def getVotingLogic(self) -> "HIPPSValve.VotingLogic": ... def hasTripped(self) -> bool: ... def isPartialStrokeTestActive(self) -> bool: ... def isProofTestDue(self) -> bool: ... @@ -480,7 +647,10 @@ class HIPPSValve(ThrottlingValve): def performPartialStrokeTest(self, double: float) -> None: ... def performProofTest(self) -> None: ... def recordSpuriousTrip(self) -> None: ... - def removePressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def removePressureTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -491,35 +661,50 @@ class HIPPSValve(ThrottlingValve): def setProofTestInterval(self, double: float) -> None: ... def setSILRating(self, int: int) -> None: ... def setTripEnabled(self, boolean: bool) -> None: ... - def setVotingLogic(self, votingLogic: 'HIPPSValve.VotingLogic') -> None: ... + def setVotingLogic(self, votingLogic: "HIPPSValve.VotingLogic") -> None: ... def toString(self) -> java.lang.String: ... - class VotingLogic(java.lang.Enum['HIPPSValve.VotingLogic']): - ONE_OUT_OF_ONE: typing.ClassVar['HIPPSValve.VotingLogic'] = ... - ONE_OUT_OF_TWO: typing.ClassVar['HIPPSValve.VotingLogic'] = ... - TWO_OUT_OF_TWO: typing.ClassVar['HIPPSValve.VotingLogic'] = ... - TWO_OUT_OF_THREE: typing.ClassVar['HIPPSValve.VotingLogic'] = ... - TWO_OUT_OF_FOUR: typing.ClassVar['HIPPSValve.VotingLogic'] = ... + + class VotingLogic(java.lang.Enum["HIPPSValve.VotingLogic"]): + ONE_OUT_OF_ONE: typing.ClassVar["HIPPSValve.VotingLogic"] = ... + ONE_OUT_OF_TWO: typing.ClassVar["HIPPSValve.VotingLogic"] = ... + TWO_OUT_OF_TWO: typing.ClassVar["HIPPSValve.VotingLogic"] = ... + TWO_OUT_OF_THREE: typing.ClassVar["HIPPSValve.VotingLogic"] = ... + TWO_OUT_OF_FOUR: typing.ClassVar["HIPPSValve.VotingLogic"] = ... def getNotation(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'HIPPSValve.VotingLogic': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HIPPSValve.VotingLogic": ... @staticmethod - def values() -> typing.MutableSequence['HIPPSValve.VotingLogic']: ... + def values() -> typing.MutableSequence["HIPPSValve.VotingLogic"]: ... class PSDValve(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getClosureTime(self) -> float: ... - def getPressureTransmitter(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getPressureTransmitter( + self, + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def hasTripped(self) -> bool: ... def isTripEnabled(self) -> bool: ... - def linkToPressureTransmitter(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... + def linkToPressureTransmitter( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... def reset(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @@ -534,7 +719,11 @@ class RuptureDisk(ThrottlingValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getBurstPressure(self) -> float: ... def getFullOpenPressure(self) -> float: ... def hasRuptured(self) -> bool: ... @@ -554,22 +743,30 @@ class SafetyReliefValve(ThrottlingValve): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... - def configureBalancedModulating(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... - def configureConventionalSnap(self, double: float, double2: float, double3: float, double4: float) -> 'SafetyReliefValve': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def configureBalancedModulating( + self, double: float, double2: float, double3: float, double4: float + ) -> "SafetyReliefValve": ... + def configureConventionalSnap( + self, double: float, double2: float, double3: float, double4: float + ) -> "SafetyReliefValve": ... def getBackpressureSensitivity(self) -> float: ... def getBlowdownFrac(self) -> float: ... def getKbMax(self) -> float: ... def getKd(self) -> float: ... def getMinStableOpenFrac(self) -> float: ... def getOpenFraction(self) -> float: ... - def getOpeningLaw(self) -> 'SafetyReliefValve.OpeningLaw': ... + def getOpeningLaw(self) -> "SafetyReliefValve.OpeningLaw": ... def getOverpressureFrac(self) -> float: ... def getRatedCv(self) -> float: ... def getRelievingPressureBar(self) -> float: ... def getReseatPressureBar(self) -> float: ... def getSetPressureBar(self) -> float: ... - def getValveType(self) -> 'SafetyReliefValve.ValveType': ... + def getValveType(self) -> "SafetyReliefValve.ValveType": ... def initMechanicalDesign(self) -> None: ... @typing.overload def run(self) -> None: ... @@ -587,120 +784,184 @@ class SafetyReliefValve(ThrottlingValve): def setMinCloseTimeSec(self, double: float) -> None: ... def setMinOpenTimeSec(self, double: float) -> None: ... def setMinStableOpenFrac(self, double: float) -> None: ... - def setOpeningLaw(self, openingLaw: 'SafetyReliefValve.OpeningLaw') -> None: ... + def setOpeningLaw(self, openingLaw: "SafetyReliefValve.OpeningLaw") -> None: ... def setOverpressureFrac(self, double: float) -> None: ... def setRatedCv(self, double: float) -> None: ... def setSetPressureBar(self, double: float) -> None: ... def setTauCloseSec(self, double: float) -> None: ... def setTauOpenSec(self, double: float) -> None: ... - def setValveType(self, valveType: 'SafetyReliefValve.ValveType') -> None: ... - class OpeningLaw(java.lang.Enum['SafetyReliefValve.OpeningLaw']): - SNAP: typing.ClassVar['SafetyReliefValve.OpeningLaw'] = ... - MODULATING: typing.ClassVar['SafetyReliefValve.OpeningLaw'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setValveType(self, valveType: "SafetyReliefValve.ValveType") -> None: ... + + class OpeningLaw(java.lang.Enum["SafetyReliefValve.OpeningLaw"]): + SNAP: typing.ClassVar["SafetyReliefValve.OpeningLaw"] = ... + MODULATING: typing.ClassVar["SafetyReliefValve.OpeningLaw"] = ... + _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: ... + 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]) -> 'SafetyReliefValve.OpeningLaw': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyReliefValve.OpeningLaw": ... @staticmethod - def values() -> typing.MutableSequence['SafetyReliefValve.OpeningLaw']: ... - class ValveType(java.lang.Enum['SafetyReliefValve.ValveType']): - CONVENTIONAL: typing.ClassVar['SafetyReliefValve.ValveType'] = ... - BALANCED_BELLOWS: typing.ClassVar['SafetyReliefValve.ValveType'] = ... - PILOT_MODULATING: typing.ClassVar['SafetyReliefValve.ValveType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["SafetyReliefValve.OpeningLaw"]: ... + + class ValveType(java.lang.Enum["SafetyReliefValve.ValveType"]): + CONVENTIONAL: typing.ClassVar["SafetyReliefValve.ValveType"] = ... + BALANCED_BELLOWS: typing.ClassVar["SafetyReliefValve.ValveType"] = ... + PILOT_MODULATING: typing.ClassVar["SafetyReliefValve.ValveType"] = ... + _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: ... + 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]) -> 'SafetyReliefValve.ValveType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyReliefValve.ValveType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyReliefValve.ValveType']: ... + def values() -> typing.MutableSequence["SafetyReliefValve.ValveType"]: ... class SafetyValve(ThrottlingValve): @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 addScenario(self, relievingScenario: 'SafetyValve.RelievingScenario') -> 'SafetyValve': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addScenario( + self, relievingScenario: "SafetyValve.RelievingScenario" + ) -> "SafetyValve": ... def clearRelievingScenarios(self) -> None: ... def ensureDefaultScenario(self) -> None: ... - def getActiveScenario(self) -> java.util.Optional['SafetyValve.RelievingScenario']: ... + def getActiveScenario( + self, + ) -> java.util.Optional["SafetyValve.RelievingScenario"]: ... def getActiveScenarioName(self) -> java.util.Optional[java.lang.String]: ... def getBlowdownPressure(self) -> float: ... def getFullOpenPressure(self) -> float: ... def getPressureSpec(self) -> float: ... - def getRelievingScenarios(self) -> java.util.List['SafetyValve.RelievingScenario']: ... + def getRelievingScenarios( + self, + ) -> java.util.List["SafetyValve.RelievingScenario"]: ... def initMechanicalDesign(self) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @typing.overload def runTransient(self, double: float, uUID: java.util.UUID) -> None: ... - def setActiveScenario(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setActiveScenario( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBlowdown(self, double: float) -> None: ... def setBlowdownPressure(self, double: float) -> None: ... def setFullOpenPressure(self, double: float) -> None: ... def setPressureSpec(self, double: float) -> None: ... - def setRelievingScenarios(self, list: java.util.List['SafetyValve.RelievingScenario']) -> None: ... - class FluidService(java.lang.Enum['SafetyValve.FluidService']): - GAS: typing.ClassVar['SafetyValve.FluidService'] = ... - LIQUID: typing.ClassVar['SafetyValve.FluidService'] = ... - MULTIPHASE: typing.ClassVar['SafetyValve.FluidService'] = ... - FIRE: typing.ClassVar['SafetyValve.FluidService'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setRelievingScenarios( + self, list: java.util.List["SafetyValve.RelievingScenario"] + ) -> None: ... + + class FluidService(java.lang.Enum["SafetyValve.FluidService"]): + GAS: typing.ClassVar["SafetyValve.FluidService"] = ... + LIQUID: typing.ClassVar["SafetyValve.FluidService"] = ... + MULTIPHASE: typing.ClassVar["SafetyValve.FluidService"] = ... + FIRE: typing.ClassVar["SafetyValve.FluidService"] = ... + _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: ... + 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]) -> 'SafetyValve.FluidService': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyValve.FluidService": ... @staticmethod - def values() -> typing.MutableSequence['SafetyValve.FluidService']: ... + def values() -> typing.MutableSequence["SafetyValve.FluidService"]: ... + class RelievingScenario(java.io.Serializable): def getBackPressure(self) -> float: ... def getBackPressureCorrection(self) -> java.util.Optional[float]: ... def getDischargeCoefficient(self) -> java.util.Optional[float]: ... - def getFluidService(self) -> 'SafetyValve.FluidService': ... + def getFluidService(self) -> "SafetyValve.FluidService": ... def getInstallationCorrection(self) -> java.util.Optional[float]: ... def getName(self) -> java.lang.String: ... def getOverpressureFraction(self) -> float: ... - def getRelievingStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRelievingStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getSetPressure(self) -> java.util.Optional[float]: ... - def getSizingStandard(self) -> 'SafetyValve.SizingStandard': ... + def getSizingStandard(self) -> "SafetyValve.SizingStandard": ... + class Builder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def backPressure(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def backPressureCorrection(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def build(self) -> 'SafetyValve.RelievingScenario': ... - def dischargeCoefficient(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def fluidService(self, fluidService: 'SafetyValve.FluidService') -> 'SafetyValve.RelievingScenario.Builder': ... - def installationCorrection(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def overpressureFraction(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def relievingStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'SafetyValve.RelievingScenario.Builder': ... - def setPressure(self, double: float) -> 'SafetyValve.RelievingScenario.Builder': ... - def sizingStandard(self, sizingStandard: 'SafetyValve.SizingStandard') -> 'SafetyValve.RelievingScenario.Builder': ... - class SizingStandard(java.lang.Enum['SafetyValve.SizingStandard']): - API_520: typing.ClassVar['SafetyValve.SizingStandard'] = ... - ISO_4126: typing.ClassVar['SafetyValve.SizingStandard'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def backPressure( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def backPressureCorrection( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def build(self) -> "SafetyValve.RelievingScenario": ... + def dischargeCoefficient( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def fluidService( + self, fluidService: "SafetyValve.FluidService" + ) -> "SafetyValve.RelievingScenario.Builder": ... + def installationCorrection( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def overpressureFraction( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def relievingStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "SafetyValve.RelievingScenario.Builder": ... + def setPressure( + self, double: float + ) -> "SafetyValve.RelievingScenario.Builder": ... + def sizingStandard( + self, sizingStandard: "SafetyValve.SizingStandard" + ) -> "SafetyValve.RelievingScenario.Builder": ... + + class SizingStandard(java.lang.Enum["SafetyValve.SizingStandard"]): + API_520: typing.ClassVar["SafetyValve.SizingStandard"] = ... + ISO_4126: typing.ClassVar["SafetyValve.SizingStandard"] = ... + _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: ... + 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]) -> 'SafetyValve.SizingStandard': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyValve.SizingStandard": ... @staticmethod - def values() -> typing.MutableSequence['SafetyValve.SizingStandard']: ... + def values() -> typing.MutableSequence["SafetyValve.SizingStandard"]: ... class LevelControlValve(ControlValve): @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 getControlAction(self) -> 'LevelControlValve.ControlAction': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def getControlAction(self) -> "LevelControlValve.ControlAction": ... def getControlError(self) -> float: ... def getControllerGain(self) -> float: ... def getFailSafePosition(self) -> float: ... @@ -712,32 +973,44 @@ class LevelControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlAction(self, controlAction: 'LevelControlValve.ControlAction') -> None: ... + def setControlAction( + self, controlAction: "LevelControlValve.ControlAction" + ) -> None: ... def setControllerGain(self, double: float) -> None: ... def setFailSafePosition(self, double: float) -> None: ... def setLevelSetpoint(self, double: float) -> None: ... def setMeasuredLevel(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class ControlAction(java.lang.Enum['LevelControlValve.ControlAction']): - DIRECT: typing.ClassVar['LevelControlValve.ControlAction'] = ... - REVERSE: typing.ClassVar['LevelControlValve.ControlAction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ControlAction(java.lang.Enum["LevelControlValve.ControlAction"]): + DIRECT: typing.ClassVar["LevelControlValve.ControlAction"] = ... + REVERSE: typing.ClassVar["LevelControlValve.ControlAction"] = ... + _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: ... + 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]) -> 'LevelControlValve.ControlAction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LevelControlValve.ControlAction": ... @staticmethod - def values() -> typing.MutableSequence['LevelControlValve.ControlAction']: ... + def values() -> typing.MutableSequence["LevelControlValve.ControlAction"]: ... class PressureControlValve(ControlValve): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getControlError(self) -> float: ... - def getControlMode(self) -> 'PressureControlValve.ControlMode': ... + def getControlMode(self) -> "PressureControlValve.ControlMode": ... def getControllerGain(self) -> float: ... def getPressureSetpoint(self) -> float: ... def getProcessVariable(self) -> float: ... @@ -747,24 +1020,31 @@ class PressureControlValve(ControlValve): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setAutoMode(self, boolean: bool) -> None: ... - def setControlMode(self, controlMode: 'PressureControlValve.ControlMode') -> None: ... + def setControlMode( + self, controlMode: "PressureControlValve.ControlMode" + ) -> None: ... def setControllerGain(self, double: float) -> None: ... def setPressureSetpoint(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class ControlMode(java.lang.Enum['PressureControlValve.ControlMode']): - DOWNSTREAM: typing.ClassVar['PressureControlValve.ControlMode'] = ... - UPSTREAM: typing.ClassVar['PressureControlValve.ControlMode'] = ... - DIFFERENTIAL: typing.ClassVar['PressureControlValve.ControlMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ControlMode(java.lang.Enum["PressureControlValve.ControlMode"]): + DOWNSTREAM: typing.ClassVar["PressureControlValve.ControlMode"] = ... + UPSTREAM: typing.ClassVar["PressureControlValve.ControlMode"] = ... + DIFFERENTIAL: typing.ClassVar["PressureControlValve.ControlMode"] = ... + _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: ... + 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]) -> 'PressureControlValve.ControlMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PressureControlValve.ControlMode": ... @staticmethod - def values() -> typing.MutableSequence['PressureControlValve.ControlMode']: ... - + def values() -> typing.MutableSequence["PressureControlValve.ControlMode"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.valve")``. diff --git a/src/jneqsim-stubs/process/equipment/watertreatment/__init__.pyi b/src/jneqsim-stubs/process/equipment/watertreatment/__init__.pyi index 3a06d9fd..b7010062 100644 --- a/src/jneqsim-stubs/process/equipment/watertreatment/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/watertreatment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,11 +15,9 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign.watertreatment import typing - - class ChemicalDoseLagModel(java.io.Serializable): def __init__(self): ... - def copy(self) -> 'ChemicalDoseLagModel': ... + def copy(self) -> "ChemicalDoseLagModel": ... def getChemicalMassKg(self) -> float: ... def getDecayHalfLifeHours(self) -> float: ... def getEffectiveDosePpm(self) -> float: ... @@ -38,7 +36,12 @@ class ChemicalDoseLagModel(java.io.Serializable): class DemulsifierDoseResponseModel(java.io.Serializable): def __init__(self): ... def calculateRemovalFraction(self, double: float) -> float: ... - def calibrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... + def calibrate( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ) -> float: ... def getHalfEffectDosePpm(self) -> float: ... def getHillCoefficient(self) -> float: ... def getLastEffectiveRemovalFraction(self) -> float: ... @@ -62,7 +65,11 @@ class GasFlotationUnit(jneqsim.process.equipment.separator.Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calcMinimumGasFlowRate(self) -> float: ... def calcPerStageEfficiency(self) -> float: ... def calcRejectFlowPerStage(self) -> float: ... @@ -81,7 +88,9 @@ class GasFlotationUnit(jneqsim.process.equipment.separator.Separator): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setFlotationGasType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlotationGasType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletOilConcentration(self, double: float) -> None: ... def setNumberOfStages(self, int: int) -> None: ... def setOilRemovalEfficiency(self, double: float) -> None: ... @@ -95,11 +104,19 @@ class Hydrocyclone(jneqsim.process.equipment.separator.Separator): @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 __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def autoSize(self, double: float) -> None: ... @typing.overload - def autoSize(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def autoSize( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def autoSize(self) -> None: ... def calcD50FromConditions(self) -> float: ... @@ -107,8 +124,12 @@ class Hydrocyclone(jneqsim.process.equipment.separator.Separator): def calcNumberOfLiners(self, double: float) -> int: ... def calcNumberOfVessels(self) -> int: ... def calcRejectRatioFromPDR(self) -> float: ... - def calcRequiredInletPressure(self, double: float, double2: float, double3: float, double4: float) -> float: ... - def estimateEfficiencyFromConditions(self, double: float, double2: float) -> float: ... + def calcRequiredInletPressure( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... + def estimateEfficiencyFromConditions( + self, double: float, double2: float + ) -> float: ... def getCalculatedD50(self) -> float: ... def getCalculatedEfficiency(self) -> float: ... def getD50Microns(self) -> float: ... @@ -126,7 +147,11 @@ class Hydrocyclone(jneqsim.process.equipment.separator.Separator): def getMaxDesignCapacityM3h(self) -> float: ... def getMaxFlowPerLinerM3h(self) -> float: ... def getMaxOperatingFlowM3h(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.watertreatment.HydrocycloneMechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> ( + jneqsim.process.mechanicaldesign.watertreatment.HydrocycloneMechanicalDesign + ): ... def getMinFlowPerLinerM3h(self) -> float: ... def getMinOperatingFlowM3h(self) -> float: ... def getNumberOfLiners(self) -> int: ... @@ -184,7 +209,9 @@ class OilInWaterAnalyzerDriftModel(java.io.Serializable): def getZeroOffsetMgL(self) -> float: ... def isCalibrationDue(self, double: float) -> bool: ... def measure(self, double: float, double2: float) -> float: ... - def measureConservative(self, double: float, double2: float, double3: float) -> float: ... + def measureConservative( + self, double: float, double2: float, double3: float + ) -> float: ... def setCalibrationIntervalDays(self, double: float) -> None: ... def setNoiseStandardDeviationMgL(self, double: float) -> None: ... def setSpanDriftFractionPerDay(self, double: float) -> None: ... @@ -199,25 +226,48 @@ class OilInWaterDoseOptimizer(java.io.Serializable): def getAnalyzerDriftModel(self) -> OilInWaterAnalyzerDriftModel: ... def getChemicalLagModel(self) -> ChemicalDoseLagModel: ... def getDoseResponseModel(self) -> DemulsifierDoseResponseModel: ... - def getLastRecommendation(self) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... - def getMonthlyMonitor(self) -> 'OilInWaterMonthlyComplianceMonitor': ... + def getLastRecommendation(self) -> "OilInWaterDoseOptimizer.DoseRecommendation": ... + def getMonthlyMonitor(self) -> "OilInWaterMonthlyComplianceMonitor": ... def getOptimizationHorizonHours(self) -> float: ... def getSafetyMarginMgL(self) -> float: ... @typing.overload - def recommendDose(self, double: float, double2: float, double3: float, int: int) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... + def recommendDose( + self, double: float, double2: float, double3: float, int: int + ) -> "OilInWaterDoseOptimizer.DoseRecommendation": ... @typing.overload - def recommendDose(self, double: float, double2: float, int: int) -> 'OilInWaterDoseOptimizer.DoseRecommendation': ... + def recommendDose( + self, double: float, double2: float, int: int + ) -> "OilInWaterDoseOptimizer.DoseRecommendation": ... def setAnalyzerConfidenceMultiplier(self, double: float) -> None: ... - def setAnalyzerDriftModel(self, oilInWaterAnalyzerDriftModel: OilInWaterAnalyzerDriftModel) -> None: ... - def setChemicalLagModel(self, chemicalDoseLagModel: ChemicalDoseLagModel) -> None: ... + def setAnalyzerDriftModel( + self, oilInWaterAnalyzerDriftModel: OilInWaterAnalyzerDriftModel + ) -> None: ... + def setChemicalLagModel( + self, chemicalDoseLagModel: ChemicalDoseLagModel + ) -> None: ... def setDoseRange(self, double: float, double2: float, double3: float) -> None: ... - def setDoseResponseModel(self, demulsifierDoseResponseModel: DemulsifierDoseResponseModel) -> None: ... - def setMonthlyMonitor(self, oilInWaterMonthlyComplianceMonitor: 'OilInWaterMonthlyComplianceMonitor') -> None: ... + def setDoseResponseModel( + self, demulsifierDoseResponseModel: DemulsifierDoseResponseModel + ) -> None: ... + def setMonthlyMonitor( + self, oilInWaterMonthlyComplianceMonitor: "OilInWaterMonthlyComplianceMonitor" + ) -> None: ... def setOptimizationHorizonHours(self, double: float) -> None: ... def setSafetyMarginMgL(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class DoseRecommendation(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getEffectiveDosePpm(self) -> float: ... def getMessage(self) -> java.lang.String: ... def getPredictedMeasuredOilInWaterMgL(self) -> float: ... @@ -230,7 +280,9 @@ class OilInWaterDoseOptimizer(java.io.Serializable): class OilInWaterMonthlyComplianceMonitor(java.io.Serializable): def __init__(self): ... def addSample(self, double: float, double2: float) -> None: ... - def calculateStatus(self, int: int) -> 'OilInWaterMonthlyComplianceMonitor.MonthlyStatus': ... + def calculateStatus( + self, int: int + ) -> "OilInWaterMonthlyComplianceMonitor.MonthlyStatus": ... def getCumulativeOilMassKg(self) -> float: ... def getCumulativeWaterVolumeM3(self) -> float: ... def getDaysInMonth(self) -> int: ... @@ -245,27 +297,58 @@ class OilInWaterMonthlyComplianceMonitor(java.io.Serializable): def setWarningFraction(self, double: float) -> None: ... def setWatchFraction(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class ComplianceStatus(java.lang.Enum['OilInWaterMonthlyComplianceMonitor.ComplianceStatus']): - NORMAL: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... - WATCH: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... - WARNING: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... - EXCEEDED: typing.ClassVar['OilInWaterMonthlyComplianceMonitor.ComplianceStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ComplianceStatus( + java.lang.Enum["OilInWaterMonthlyComplianceMonitor.ComplianceStatus"] + ): + NORMAL: typing.ClassVar[ + "OilInWaterMonthlyComplianceMonitor.ComplianceStatus" + ] = ... + WATCH: typing.ClassVar[ + "OilInWaterMonthlyComplianceMonitor.ComplianceStatus" + ] = ... + WARNING: typing.ClassVar[ + "OilInWaterMonthlyComplianceMonitor.ComplianceStatus" + ] = ... + EXCEEDED: typing.ClassVar[ + "OilInWaterMonthlyComplianceMonitor.ComplianceStatus" + ] = ... + _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: ... + 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]) -> 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OilInWaterMonthlyComplianceMonitor.ComplianceStatus": ... @staticmethod - def values() -> typing.MutableSequence['OilInWaterMonthlyComplianceMonitor.ComplianceStatus']: ... + def values() -> ( + typing.MutableSequence[ + "OilInWaterMonthlyComplianceMonitor.ComplianceStatus" + ] + ): ... + class MonthlyStatus(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, complianceStatus: 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + complianceStatus: "OilInWaterMonthlyComplianceMonitor.ComplianceStatus", + string: typing.Union[java.lang.String, str], + ): ... def getProjectedMonthlyWaterVolumeM3(self) -> float: ... def getRecommendation(self) -> java.lang.String: ... def getRemainingAllowedAverageMgL(self) -> float: ... def getRemainingWaterVolumeM3(self) -> float: ... - def getStatus(self) -> 'OilInWaterMonthlyComplianceMonitor.ComplianceStatus': ... + def getStatus( + self, + ) -> "OilInWaterMonthlyComplianceMonitor.ComplianceStatus": ... def getWeightedAverageMgL(self) -> float: ... class ProducedWaterTreatmentTrain(jneqsim.process.equipment.ProcessEquipmentBaseClass): @@ -274,8 +357,14 @@ class ProducedWaterTreatmentTrain(jneqsim.process.equipment.ProcessEquipmentBase @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 addStage(self, waterTreatmentStage: 'ProducedWaterTreatmentTrain.WaterTreatmentStage') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... + def addStage( + self, waterTreatmentStage: "ProducedWaterTreatmentTrain.WaterTreatmentStage" + ) -> None: ... def clearStages(self) -> None: ... def generateReport(self) -> java.lang.String: ... def getAnnualOilDischargeTonnes(self, double: float) -> float: ... @@ -285,51 +374,78 @@ class ProducedWaterTreatmentTrain(jneqsim.process.equipment.ProcessEquipmentBase def getOilInWaterPpm(self) -> float: ... def getOverallEfficiency(self) -> float: ... def getRecoveredOilM3h(self) -> float: ... - def getRecoveredOilStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getStages(self) -> java.util.List['ProducedWaterTreatmentTrain.WaterTreatmentStage']: ... - def getTreatedWaterStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getRecoveredOilStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getStages( + self, + ) -> java.util.List["ProducedWaterTreatmentTrain.WaterTreatmentStage"]: ... + def getTreatedWaterStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def isCompliantWith(self, double: float) -> bool: ... def isDischargeCompliant(self) -> bool: ... - def recommendDemulsifierDose(self, double: float, double2: float, int: int) -> OilInWaterDoseOptimizer.DoseRecommendation: ... + def recommendDemulsifierDose( + self, double: float, double2: float, int: int + ) -> OilInWaterDoseOptimizer.DoseRecommendation: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setInletOilConcentration(self, double: float) -> None: ... - def setInletStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setOilInWaterDoseOptimizer(self, oilInWaterDoseOptimizer: OilInWaterDoseOptimizer) -> None: ... - def setStageEfficiency(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setInletStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setOilInWaterDoseOptimizer( + self, oilInWaterDoseOptimizer: OilInWaterDoseOptimizer + ) -> None: ... + def setStageEfficiency( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setWaterFlowRate(self, double: float) -> None: ... - class StageType(java.lang.Enum['ProducedWaterTreatmentTrain.StageType']): - HYDROCYCLONE: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - FLOTATION: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - SKIM_TANK: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - COALESCER: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - FILTER: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - MEMBRANE: typing.ClassVar['ProducedWaterTreatmentTrain.StageType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class StageType(java.lang.Enum["ProducedWaterTreatmentTrain.StageType"]): + HYDROCYCLONE: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + FLOTATION: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + SKIM_TANK: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + COALESCER: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + FILTER: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + MEMBRANE: typing.ClassVar["ProducedWaterTreatmentTrain.StageType"] = ... + _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: ... + 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]) -> 'ProducedWaterTreatmentTrain.StageType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProducedWaterTreatmentTrain.StageType": ... @staticmethod - def values() -> typing.MutableSequence['ProducedWaterTreatmentTrain.StageType']: ... + def values() -> ( + typing.MutableSequence["ProducedWaterTreatmentTrain.StageType"] + ): ... + class WaterTreatmentStage(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], stageType: 'ProducedWaterTreatmentTrain.StageType', double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + stageType: "ProducedWaterTreatmentTrain.StageType", + double: float, + ): ... def getEfficiency(self) -> float: ... def getInletOIW(self) -> float: ... def getName(self) -> java.lang.String: ... def getOutletOIW(self) -> float: ... def getRecoveredOilM3h(self) -> float: ... - def getType(self) -> 'ProducedWaterTreatmentTrain.StageType': ... + def getType(self) -> "ProducedWaterTreatmentTrain.StageType": ... def setEfficiency(self, double: float) -> None: ... def setInletOIW(self, double: float) -> None: ... def setOutletOIW(self, double: float) -> None: ... def setRecoveredOilM3h(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.watertreatment")``. diff --git a/src/jneqsim-stubs/process/equipment/well/__init__.pyi b/src/jneqsim-stubs/process/equipment/well/__init__.pyi index c94eaa47..7766f1a2 100644 --- a/src/jneqsim-stubs/process/equipment/well/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/well/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.process.equipment.well.allocation import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.well")``. diff --git a/src/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi b/src/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi index c126383c..688c6dda 100644 --- a/src/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi +++ b/src/jneqsim-stubs/process/equipment/well/allocation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,10 +12,27 @@ import java.util import jneqsim.process.equipment.stream import typing - - class AllocationResult(java.io.Serializable): - def __init__(self, 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]], double: float): ... + def __init__( + self, + 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], + ], + double: float, + ): ... def getAllGasRates(self) -> java.util.Map[java.lang.String, float]: ... def getAllOilRates(self) -> java.util.Map[java.lang.String, float]: ... def getAllWaterRates(self) -> java.util.Map[java.lang.String, float]: ... @@ -30,35 +47,54 @@ class AllocationResult(java.io.Serializable): def getUncertainty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getWaterCut(self, string: typing.Union[java.lang.String, str]) -> float: ... def getWaterRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getWellAllocation(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def getWellAllocation( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... def getWellNames(self) -> typing.MutableSequence[java.lang.String]: ... def isBalanced(self) -> bool: ... def toString(self) -> java.lang.String: ... class WellProductionAllocator(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addWell(self, string: typing.Union[java.lang.String, str]) -> 'WellProductionAllocator.WellData': ... - def allocate(self, double: float, double2: float, double3: float) -> AllocationResult: ... + def addWell( + self, string: typing.Union[java.lang.String, str] + ) -> "WellProductionAllocator.WellData": ... + def allocate( + self, double: float, double2: float, double3: float + ) -> AllocationResult: ... def getName(self) -> java.lang.String: ... - def getWell(self, string: typing.Union[java.lang.String, str]) -> 'WellProductionAllocator.WellData': ... + def getWell( + self, string: typing.Union[java.lang.String, str] + ) -> "WellProductionAllocator.WellData": ... def getWellCount(self) -> int: ... def getWellNames(self) -> java.util.List[java.lang.String]: ... - def setAllocationMethod(self, allocationMethod: 'WellProductionAllocator.AllocationMethod') -> None: ... + def setAllocationMethod( + self, allocationMethod: "WellProductionAllocator.AllocationMethod" + ) -> None: ... def setReconciliationTolerance(self, double: float) -> None: ... - class AllocationMethod(java.lang.Enum['WellProductionAllocator.AllocationMethod']): - WELL_TEST: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... - VFM_BASED: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... - CHOKE_MODEL: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... - COMBINED: typing.ClassVar['WellProductionAllocator.AllocationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AllocationMethod(java.lang.Enum["WellProductionAllocator.AllocationMethod"]): + WELL_TEST: typing.ClassVar["WellProductionAllocator.AllocationMethod"] = ... + VFM_BASED: typing.ClassVar["WellProductionAllocator.AllocationMethod"] = ... + CHOKE_MODEL: typing.ClassVar["WellProductionAllocator.AllocationMethod"] = ... + COMBINED: typing.ClassVar["WellProductionAllocator.AllocationMethod"] = ... + _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: ... + 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]) -> 'WellProductionAllocator.AllocationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellProductionAllocator.AllocationMethod": ... @staticmethod - def values() -> typing.MutableSequence['WellProductionAllocator.AllocationMethod']: ... + def values() -> ( + typing.MutableSequence["WellProductionAllocator.AllocationMethod"] + ): ... + class WellData(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getChokePosition(self) -> float: ... @@ -76,11 +112,16 @@ class WellProductionAllocator(java.io.Serializable): def setChokePosition(self, double: float) -> None: ... def setProductivityIndex(self, double: float) -> None: ... def setReservoirPressure(self, double: float) -> None: ... - def setTestRates(self, double: float, double2: float, double3: float) -> None: ... - def setVFMRates(self, double: float, double2: float, double3: float) -> None: ... + def setTestRates( + self, double: float, double2: float, double3: float + ) -> None: ... + def setVFMRates( + self, double: float, double2: float, double3: float + ) -> None: ... def setWeight(self, double: float) -> None: ... - def setWellStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - + def setWellStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.equipment.well.allocation")``. diff --git a/src/jneqsim-stubs/process/examples/__init__.pyi b/src/jneqsim-stubs/process/examples/__init__.pyi index d301a1b6..bd36de23 100644 --- a/src/jneqsim-stubs/process/examples/__init__.pyi +++ b/src/jneqsim-stubs/process/examples/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,8 +16,6 @@ import jneqsim.process.safety.risk.sis import jneqsim.thermo.system import typing - - class InletSeparatorSafetySystemExample: DESIGN_PRESSURE_BARA: typing.ClassVar[float] = ... MAWP_BARA: typing.ClassVar[float] = ... @@ -27,19 +25,38 @@ class InletSeparatorSafetySystemExample: def __init__(self): ... def addInstrumentation(self) -> None: ... def buildFeedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def buildLopaForOverpressure(self) -> jneqsim.process.safety.risk.sis.LOPAResult: ... + def buildLopaForOverpressure( + self, + ) -> jneqsim.process.safety.risk.sis.LOPAResult: ... def buildProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def configurePressureSafetyValve(self) -> jneqsim.process.equipment.valve.SafetyValve: ... - def configureSafetyInstrumentedSystem(self) -> java.util.Map[java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction]: ... + def configurePressureSafetyValve( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve: ... + def configureSafetyInstrumentedSystem( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction + ]: ... def demonstrateOverpressureTrip(self) -> java.lang.String: ... def getInletEsdValve(self) -> jneqsim.process.equipment.valve.ESDValve: ... - def getInletSeparator(self) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... + def getInletSeparator( + self, + ) -> jneqsim.process.equipment.separator.ThreePhaseSeparator: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getReliefValve(self) -> jneqsim.process.equipment.valve.SafetyValve: ... - def getSifs(self) -> java.util.Map[java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction]: ... + def getSifs( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction + ]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def runFullDemonstration(self) -> 'InletSeparatorSafetySystemExample.SafetyReport': ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def runFullDemonstration( + self, + ) -> "InletSeparatorSafetySystemExample.SafetyReport": ... + class SafetyReport: def __init__(self): ... def getControllingOrificeArea(self) -> float: ... @@ -47,75 +64,165 @@ class InletSeparatorSafetySystemExample: def getGasMassFlow(self) -> float: ... def getOilMassFlow(self) -> float: ... def getOverpressureLopa(self) -> jneqsim.process.safety.risk.sis.LOPAResult: ... - def getScenarioResults(self) -> java.util.Map[java.lang.String, jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult]: ... + def getScenarioResults( + self, + ) -> java.util.Map[ + java.lang.String, + jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult, + ]: ... def getSeparatorPressure(self) -> float: ... def getSeparatorTemperature(self) -> float: ... def getSifIds(self) -> java.util.List[java.lang.String]: ... - def getSifs(self) -> java.util.Map[java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction]: ... + def getSifs( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction + ]: ... def getTripDescription(self) -> java.lang.String: ... def getWaterMassFlow(self) -> float: ... def setControllingOrificeArea(self, double: float) -> None: ... - def setControllingScenario(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setControllingScenario( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGasMassFlow(self, double: float) -> None: ... def setOilMassFlow(self, double: float) -> None: ... - def setOverpressureLopa(self, lOPAResult: jneqsim.process.safety.risk.sis.LOPAResult) -> None: ... - def setScenarioResults(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult]]) -> None: ... + def setOverpressureLopa( + self, lOPAResult: jneqsim.process.safety.risk.sis.LOPAResult + ) -> None: ... + def setScenarioResults( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.mechanicaldesign.valve.SafetyValveMechanicalDesign.SafetyValveScenarioResult, + ], + ], + ) -> None: ... def setSeparatorPressure(self, double: float) -> None: ... def setSeparatorTemperature(self, double: float) -> None: ... - def setSifs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction]]) -> None: ... - def setTripDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSifs( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction, + ], + ], + ) -> None: ... + def setTripDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setWaterMassFlow(self, double: float) -> None: ... class OilGasProcessSimulationOptimization: def __init__(self): ... def configureCompressorCharts(self, double: float, double2: float) -> None: ... def createProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getInputParameters(self) -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + def getInputParameters( + self, + ) -> "OilGasProcessSimulationOptimization.ProcessInputParameters": ... def getOilProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getOutput(self) -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... + def getOutput( + self, + ) -> "OilGasProcessSimulationOptimization.ProcessOutputResults": ... def getWellFluid(self) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def optimizeMaxProduction(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.MaxProductionResult': ... - def optimizePowerConsumption(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def optimizeMaxProduction( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> "OilGasProcessSimulationOptimization.MaxProductionResult": ... + def optimizePowerConsumption( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> "OilGasProcessSimulationOptimization.ProcessInputParameters": ... @typing.overload - def runSimulation(self) -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... + def runSimulation( + self, + ) -> "OilGasProcessSimulationOptimization.ProcessOutputResults": ... @typing.overload - def runSimulation(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> 'OilGasProcessSimulationOptimization.ProcessOutputResults': ... - def setInputParameters(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... - def updateInput(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + def runSimulation( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> "OilGasProcessSimulationOptimization.ProcessOutputResults": ... + def setInputParameters( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> None: ... + def updateInput( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> None: ... + class MaxProductionResult: def __init__(self): ... def getBottleneckSeparator(self) -> java.lang.String: ... def getBottleneckUtilization(self) -> float: ... - def getCompressorSpeedUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getCompressorSpeedUtilization( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getLimitingFeedRate(self) -> float: ... def getLimitingSeparator(self) -> java.lang.String: ... def getLimitingUtilization(self) -> float: ... def getMaxFeedRate(self) -> float: ... def getMaxGasExportRate(self) -> float: ... def getMaxOilExportRate(self) -> float: ... - def getOptimalParams(self) -> 'OilGasProcessSimulationOptimization.ProcessInputParameters': ... + def getOptimalParams( + self, + ) -> "OilGasProcessSimulationOptimization.ProcessInputParameters": ... def getSeparatorCapacities(self) -> java.util.Map[java.lang.String, float]: ... def getSuccessfulIterations(self) -> int: ... def getTotalFailures(self) -> int: ... - def setBottleneckSeparator(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckSeparator( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBottleneckUtilization(self, double: float) -> None: ... - def setCompressorSpeedUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setCompressorSpeedUtilization( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setLimitingFeedRate(self, double: float) -> None: ... - def setLimitingSeparator(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLimitingSeparator( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setLimitingUtilization(self, double: float) -> None: ... def setMaxFeedRate(self, double: float) -> None: ... def setMaxGasExportRate(self, double: float) -> None: ... def setMaxOilExportRate(self, double: float) -> None: ... - def setOptimalParams(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... - def setSeparatorCapacities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setOptimalParams( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> None: ... + def setSeparatorCapacities( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setSuccessfulIterations(self, int: int) -> None: ... def setTotalFailures(self, int: int) -> None: ... def toString(self) -> java.lang.String: ... + class ProcessInputParameters: def __init__(self): ... - def copyFrom(self, processInputParameters: 'OilGasProcessSimulationOptimization.ProcessInputParameters') -> None: ... + def copyFrom( + self, + processInputParameters: "OilGasProcessSimulationOptimization.ProcessInputParameters", + ) -> None: ... def getFeedRate(self) -> float: ... def getP_gas_export(self) -> float: ... def getP_oil_export(self) -> float: ... @@ -172,17 +279,22 @@ class OilGasProcessSimulationOptimization: def setdP_25_HA_01(self, double: float) -> None: ... def setdP_25_HA_02(self, double: float) -> None: ... def setdP_27_HA_01(self, double: float) -> None: ... + class ProcessOutputResults: def __init__(self): ... def getCompressorMaxSpeeds(self) -> java.util.Map[java.lang.String, float]: ... def getCompressorPowers(self) -> java.util.Map[java.lang.String, float]: ... - def getCompressorSpeedUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getCompressorSpeedUtilization( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getCompressorSpeeds(self) -> java.util.Map[java.lang.String, float]: ... def getFuelGasRate(self) -> float: ... def getGasExportRate(self) -> float: ... def getMassBalance(self) -> float: ... def getOilExportRate(self) -> float: ... - def getSeparatorCapacityUtilization(self) -> java.util.Map[java.lang.String, float]: ... + def getSeparatorCapacityUtilization( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getSeparatorLoadFactors(self) -> java.util.Map[java.lang.String, float]: ... def getStreamFlowRates(self) -> java.util.Map[java.lang.String, float]: ... def getTotalCompressorPower(self) -> float: ... @@ -192,24 +304,67 @@ class OilGasProcessSimulationOptimization: def isAnySeparatorOverloaded(self) -> bool: ... def setAnyCompressorOverspeed(self, boolean: bool) -> None: ... def setAnySeparatorOverloaded(self, boolean: bool) -> None: ... - def setCompressorMaxSpeeds(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setCompressorPowers(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setCompressorSpeedUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setCompressorSpeeds(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setCompressorMaxSpeeds( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setCompressorPowers( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setCompressorSpeedUtilization( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setCompressorSpeeds( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setFuelGasRate(self, double: float) -> None: ... def setGasExportRate(self, double: float) -> None: ... def setMassBalance(self, double: float) -> None: ... def setOilExportRate(self, double: float) -> None: ... - def setSeparatorCapacityUtilization(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setSeparatorLoadFactors(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setStreamFlowRates(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setSeparatorCapacityUtilization( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setSeparatorLoadFactors( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setStreamFlowRates( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setTotalCompressorPower(self, double: float) -> None: ... def setTotalPumpPower(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.examples")``. InletSeparatorSafetySystemExample: typing.Type[InletSeparatorSafetySystemExample] - OilGasProcessSimulationOptimization: typing.Type[OilGasProcessSimulationOptimization] + OilGasProcessSimulationOptimization: typing.Type[ + OilGasProcessSimulationOptimization + ] diff --git a/src/jneqsim-stubs/process/fastsimulation/__init__.pyi b/src/jneqsim-stubs/process/fastsimulation/__init__.pyi index fece7f41..1befa62a 100644 --- a/src/jneqsim-stubs/process/fastsimulation/__init__.pyi +++ b/src/jneqsim-stubs/process/fastsimulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class KValueProcessBenchmarkResult(java.io.Serializable): def getCaseCount(self) -> int: ... def getMaxTerminalMassDeviation(self) -> float: ... @@ -32,43 +30,96 @@ class KValueProcessResult(java.io.Serializable): def getMaxResidual(self) -> float: ... def getRunTimeNanos(self) -> int: ... def getSourceStreamNames(self) -> java.util.List[java.lang.String]: ... - def getStreamComponentFlow(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getStreamMoleFraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getStreamComponentFlow( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getStreamMoleFraction( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getStreamNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getStreamTotalFlow(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getStreamTotalFlow( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getTerminalStreamNames(self) -> java.util.List[java.lang.String]: ... - def getTerminalTotalFlow(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTerminalTotalFlow( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def toJson(self) -> java.lang.String: ... class KValueProcessSimulator(java.io.Serializable): - def benchmarkSourceFlowMultipliers(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> KValueProcessBenchmarkResult: ... + def benchmarkSourceFlowMultipliers( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> KValueProcessBenchmarkResult: ... @staticmethod - def fromBaseCase(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'KValueProcessSimulator': ... + def fromBaseCase( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "KValueProcessSimulator": ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getSourceNames(self) -> typing.MutableSequence[java.lang.String]: ... def getTerminalStreamNames(self) -> java.util.List[java.lang.String]: ... - def getUnitProfiles(self) -> java.util.List['KValueUnitProfile']: ... + def getUnitProfiles(self) -> java.util.List["KValueUnitProfile"]: ... def run(self) -> KValueProcessResult: ... - def runWithSourceFlowMultipliers(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> KValueProcessResult: ... - def runWithSourceFlowRates(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]) -> KValueProcessResult: ... + def runWithSourceFlowMultipliers( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> KValueProcessResult: ... + def runWithSourceFlowRates( + 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], + ) -> KValueProcessResult: ... def setMaxIterations(self, int: int) -> None: ... def setTolerance(self, double: float) -> None: ... class KValueUnitProfile(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], list2: java.util.List[jneqsim.process.equipment.stream.StreamInterface], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], int: int, int2: int, int3: int, doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + list: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + list2: java.util.List[jneqsim.process.equipment.stream.StreamInterface], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + int: int, + int2: int, + int3: int, + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... def getBaseInletComponentFlow(self, int: int) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getEquipmentType(self) -> java.lang.String: ... - def getInletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getInletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getOutletKey(self, int: int) -> java.lang.String: ... - def getOutletStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getOutletStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getUnitName(self) -> java.lang.String: ... def getVaporLiquidKValues(self) -> typing.MutableSequence[float]: ... def getWaterLiquidKValues(self) -> typing.MutableSequence[float]: ... def usesKValueRouting(self) -> bool: ... def usesThreePhaseKValueRouting(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fastsimulation")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/__init__.pyi index 89b1f263..ffdb1d32 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,7 +19,6 @@ import jneqsim.process.fielddevelopment.tieback import jneqsim.process.fielddevelopment.workflow import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi index 96dc4b22..18d41d67 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/concept/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,74 +13,134 @@ import jneqsim.process.fielddevelopment.facility import jneqsim.process.fielddevelopment.screening import typing - - class DevelopmentCaseTemplate(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fieldConcept: 'FieldConcept', facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, 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[int, float], typing.Mapping[int, float]], double: float, double2: float, double3: float, int: int, int2: int, cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + fieldConcept: "FieldConcept", + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + 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[int, float], typing.Mapping[int, float]], + double: float, + double2: float, + double3: float, + int: int, + int2: int, + cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, + string3: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fieldConcept: 'FieldConcept', facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, 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[int, float], typing.Mapping[int, float]], double: float, double2: float, double3: float, int: int, int2: int, cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, string3: typing.Union[java.lang.String, str], developmentCaseUncertainty: 'DevelopmentCaseUncertainty', lifecycleEmissionsProfile: jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + fieldConcept: "FieldConcept", + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + 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[int, float], typing.Mapping[int, float]], + double: float, + double2: float, + double3: float, + int: int, + int2: int, + cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult, + string3: typing.Union[java.lang.String, str], + developmentCaseUncertainty: "DevelopmentCaseUncertainty", + lifecycleEmissionsProfile: jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile, + ): ... def getAnnualEmissionsTonnes(self) -> float: ... def getAnnualOpexMusd(self) -> float: ... def getAssumptionsSummary(self) -> java.lang.String: ... def getCapexBreakdownMusd(self) -> java.util.Map[java.lang.String, float]: ... def getCaseName(self) -> java.lang.String: ... def getCaseType(self) -> java.lang.String: ... - def getConcept(self) -> 'FieldConcept': ... + def getConcept(self) -> "FieldConcept": ... def getDevelopmentDurationMonths(self) -> int: ... - def getEconomics(self) -> jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult: ... - def getFacilityConfig(self) -> jneqsim.process.fielddevelopment.facility.FacilityConfig: ... + def getEconomics( + self, + ) -> jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult: ... + def getFacilityConfig( + self, + ) -> jneqsim.process.fielddevelopment.facility.FacilityConfig: ... def getFirstProductionYear(self) -> int: ... - def getLifecycleEmissionsProfile(self) -> jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile: ... + def getLifecycleEmissionsProfile( + self, + ) -> jneqsim.process.fielddevelopment.screening.LifecycleEmissionsProfile: ... def getName(self) -> java.lang.String: ... def getPowerMw(self) -> float: ... def getProductionProfile(self) -> java.util.Map[int, float]: ... def getSummary(self) -> java.lang.String: ... def getTotalCapexMusd(self) -> float: ... - def getUncertainty(self) -> 'DevelopmentCaseUncertainty': ... + def getUncertainty(self) -> "DevelopmentCaseUncertainty": ... def toString(self) -> java.lang.String: ... class DevelopmentCaseUncertainty(java.io.Serializable): @staticmethod - def builder() -> 'DevelopmentCaseUncertainty.Builder': ... + def builder() -> "DevelopmentCaseUncertainty.Builder": ... @staticmethod - def empty() -> 'DevelopmentCaseUncertainty': ... - def getCapex(self) -> 'UncertaintyRange': ... - def getPrice(self) -> 'UncertaintyRange': ... - def getProductionFactor(self) -> 'UncertaintyRange': ... - def getResource(self) -> 'UncertaintyRange': ... - def getScheduleMonths(self) -> 'UncertaintyRange': ... + def empty() -> "DevelopmentCaseUncertainty": ... + def getCapex(self) -> "UncertaintyRange": ... + def getPrice(self) -> "UncertaintyRange": ... + def getProductionFactor(self) -> "UncertaintyRange": ... + def getResource(self) -> "UncertaintyRange": ... + def getScheduleMonths(self) -> "UncertaintyRange": ... def getSummary(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'DevelopmentCaseUncertainty': ... - def capex(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... - def price(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... - def productionFactor(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... - def resource(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... - def scheduleMonths(self, uncertaintyRange: 'UncertaintyRange') -> 'DevelopmentCaseUncertainty.Builder': ... + def build(self) -> "DevelopmentCaseUncertainty": ... + def capex( + self, uncertaintyRange: "UncertaintyRange" + ) -> "DevelopmentCaseUncertainty.Builder": ... + def price( + self, uncertaintyRange: "UncertaintyRange" + ) -> "DevelopmentCaseUncertainty.Builder": ... + def productionFactor( + self, uncertaintyRange: "UncertaintyRange" + ) -> "DevelopmentCaseUncertainty.Builder": ... + def resource( + self, uncertaintyRange: "UncertaintyRange" + ) -> "DevelopmentCaseUncertainty.Builder": ... + def scheduleMonths( + self, uncertaintyRange: "UncertaintyRange" + ) -> "DevelopmentCaseUncertainty.Builder": ... class FieldConcept(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "FieldConcept.Builder": ... def equals(self, object: typing.Any) -> bool: ... @typing.overload @staticmethod - def gasTieback(string: typing.Union[java.lang.String, str]) -> 'FieldConcept': ... + def gasTieback(string: typing.Union[java.lang.String, str]) -> "FieldConcept": ... @typing.overload @staticmethod - def gasTieback(string: typing.Union[java.lang.String, str], double: float, int: int, double2: float) -> 'FieldConcept': ... + def gasTieback( + string: typing.Union[java.lang.String, str], + double: float, + int: int, + double2: float, + ) -> "FieldConcept": ... def getDescription(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... - def getInfrastructure(self) -> 'InfrastructureInput': ... + def getInfrastructure(self) -> "InfrastructureInput": ... def getName(self) -> java.lang.String: ... def getProductionRateUnit(self) -> java.lang.String: ... - def getReservoir(self) -> 'ReservoirInput': ... + def getReservoir(self) -> "ReservoirInput": ... def getSummary(self) -> java.lang.String: ... def getTiebackLength(self) -> float: ... def getTotalProductionRate(self) -> float: ... def getWaterDepth(self) -> float: ... - def getWells(self) -> 'WellsInput': ... + def getWells(self) -> "WellsInput": ... def hasWaterInjection(self) -> bool: ... def hashCode(self) -> int: ... def isSubseaTieback(self) -> bool: ... @@ -90,46 +150,74 @@ class FieldConcept(java.io.Serializable): def needsH2STreatment(self) -> bool: ... @typing.overload @staticmethod - def oilDevelopment(string: typing.Union[java.lang.String, str]) -> 'FieldConcept': ... + def oilDevelopment( + string: typing.Union[java.lang.String, str] + ) -> "FieldConcept": ... @typing.overload @staticmethod - def oilDevelopment(string: typing.Union[java.lang.String, str], int: int, double: float, double2: float) -> 'FieldConcept': ... + def oilDevelopment( + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + ) -> "FieldConcept": ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'FieldConcept': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... - def id(self, string: typing.Union[java.lang.String, str]) -> 'FieldConcept.Builder': ... - def infrastructure(self, infrastructureInput: 'InfrastructureInput') -> 'FieldConcept.Builder': ... - def reservoir(self, reservoirInput: 'ReservoirInput') -> 'FieldConcept.Builder': ... - def wells(self, wellsInput: 'WellsInput') -> 'FieldConcept.Builder': ... + def build(self) -> "FieldConcept": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "FieldConcept.Builder": ... + def id( + self, string: typing.Union[java.lang.String, str] + ) -> "FieldConcept.Builder": ... + def infrastructure( + self, infrastructureInput: "InfrastructureInput" + ) -> "FieldConcept.Builder": ... + def reservoir( + self, reservoirInput: "ReservoirInput" + ) -> "FieldConcept.Builder": ... + def wells(self, wellsInput: "WellsInput") -> "FieldConcept.Builder": ... class GreenfieldConceptFactory: @staticmethod - def fixedPlatform(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def fixedPlatform( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... @staticmethod - def onshoreTerminal(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def onshoreTerminal( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... @staticmethod - def phasedBrownfieldExpansion(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def phasedBrownfieldExpansion( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... @staticmethod - def standaloneFpso(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def standaloneFpso( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... @staticmethod - def subseaTieback(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def subseaTieback( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... @staticmethod - def subseaToShore(string: typing.Union[java.lang.String, str]) -> DevelopmentCaseTemplate: ... + def subseaToShore( + string: typing.Union[java.lang.String, str] + ) -> DevelopmentCaseTemplate: ... class InfrastructureInput(java.io.Serializable): @staticmethod - def builder() -> 'InfrastructureInput.Builder': ... + def builder() -> "InfrastructureInput.Builder": ... def getAmbientAirTemperature(self) -> float: ... def getAmbientSeaTemperature(self) -> float: ... def getEstimatedSeabedTemperature(self) -> float: ... def getExportPipelineDiameter(self) -> float: ... def getExportPipelineLength(self) -> float: ... def getExportPressure(self) -> float: ... - def getExportType(self) -> 'InfrastructureInput.ExportType': ... + def getExportType(self) -> "InfrastructureInput.ExportType": ... def getHostCapacityAvailable(self) -> float: ... - def getPowerSupply(self) -> 'InfrastructureInput.PowerSupply': ... - def getProcessingLocation(self) -> 'InfrastructureInput.ProcessingLocation': ... + def getPowerSupply(self) -> "InfrastructureInput.PowerSupply": ... + def getProcessingLocation(self) -> "InfrastructureInput.ProcessingLocation": ... def getTiebackLength(self) -> float: ... def getTiebackLengthKm(self) -> float: ... def getWaterDepth(self) -> float: ... @@ -140,80 +228,113 @@ class InfrastructureInput(java.io.Serializable): def isInsulatedFlowline(self) -> bool: ... def isLongTieback(self) -> bool: ... @staticmethod - def subseaTieback() -> 'InfrastructureInput.Builder': ... + def subseaTieback() -> "InfrastructureInput.Builder": ... def toString(self) -> java.lang.String: ... + class Builder: - def ambientTemperatures(self, double: float, double2: float) -> 'InfrastructureInput.Builder': ... - def build(self) -> 'InfrastructureInput': ... - def electricHeating(self, boolean: bool) -> 'InfrastructureInput.Builder': ... - def exportPipeline(self, double: float, double2: float) -> 'InfrastructureInput.Builder': ... - def exportPressure(self, double: float) -> 'InfrastructureInput.Builder': ... - def exportType(self, exportType: 'InfrastructureInput.ExportType') -> 'InfrastructureInput.Builder': ... - def hostCapacityAvailable(self, double: float) -> 'InfrastructureInput.Builder': ... - def insulatedFlowline(self, boolean: bool) -> 'InfrastructureInput.Builder': ... - def powerSupply(self, powerSupply: 'InfrastructureInput.PowerSupply') -> 'InfrastructureInput.Builder': ... - def processingLocation(self, processingLocation: 'InfrastructureInput.ProcessingLocation') -> 'InfrastructureInput.Builder': ... - def tiebackLength(self, double: float) -> 'InfrastructureInput.Builder': ... - def waterDepth(self, double: float) -> 'InfrastructureInput.Builder': ... - class ExportType(java.lang.Enum['InfrastructureInput.ExportType']): - WET_GAS: typing.ClassVar['InfrastructureInput.ExportType'] = ... - DRY_GAS: typing.ClassVar['InfrastructureInput.ExportType'] = ... - STABILIZED_OIL: typing.ClassVar['InfrastructureInput.ExportType'] = ... - RICH_GAS_CONDENSATE: typing.ClassVar['InfrastructureInput.ExportType'] = ... - LNG: typing.ClassVar['InfrastructureInput.ExportType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def ambientTemperatures( + self, double: float, double2: float + ) -> "InfrastructureInput.Builder": ... + def build(self) -> "InfrastructureInput": ... + def electricHeating(self, boolean: bool) -> "InfrastructureInput.Builder": ... + def exportPipeline( + self, double: float, double2: float + ) -> "InfrastructureInput.Builder": ... + def exportPressure(self, double: float) -> "InfrastructureInput.Builder": ... + def exportType( + self, exportType: "InfrastructureInput.ExportType" + ) -> "InfrastructureInput.Builder": ... + def hostCapacityAvailable( + self, double: float + ) -> "InfrastructureInput.Builder": ... + def insulatedFlowline(self, boolean: bool) -> "InfrastructureInput.Builder": ... + def powerSupply( + self, powerSupply: "InfrastructureInput.PowerSupply" + ) -> "InfrastructureInput.Builder": ... + def processingLocation( + self, processingLocation: "InfrastructureInput.ProcessingLocation" + ) -> "InfrastructureInput.Builder": ... + def tiebackLength(self, double: float) -> "InfrastructureInput.Builder": ... + def waterDepth(self, double: float) -> "InfrastructureInput.Builder": ... + + class ExportType(java.lang.Enum["InfrastructureInput.ExportType"]): + WET_GAS: typing.ClassVar["InfrastructureInput.ExportType"] = ... + DRY_GAS: typing.ClassVar["InfrastructureInput.ExportType"] = ... + STABILIZED_OIL: typing.ClassVar["InfrastructureInput.ExportType"] = ... + RICH_GAS_CONDENSATE: typing.ClassVar["InfrastructureInput.ExportType"] = ... + LNG: typing.ClassVar["InfrastructureInput.ExportType"] = ... + _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: ... + 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]) -> 'InfrastructureInput.ExportType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InfrastructureInput.ExportType": ... @staticmethod - def values() -> typing.MutableSequence['InfrastructureInput.ExportType']: ... - class PowerSupply(java.lang.Enum['InfrastructureInput.PowerSupply']): - GAS_TURBINE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - POWER_FROM_SHORE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - POWER_FROM_HOST: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - HYBRID: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - COMBINED_CYCLE: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - DIESEL: typing.ClassVar['InfrastructureInput.PowerSupply'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["InfrastructureInput.ExportType"]: ... + + class PowerSupply(java.lang.Enum["InfrastructureInput.PowerSupply"]): + GAS_TURBINE: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + POWER_FROM_SHORE: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + POWER_FROM_HOST: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + HYBRID: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + COMBINED_CYCLE: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + DIESEL: typing.ClassVar["InfrastructureInput.PowerSupply"] = ... + _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: ... + 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]) -> 'InfrastructureInput.PowerSupply': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InfrastructureInput.PowerSupply": ... @staticmethod - def values() -> typing.MutableSequence['InfrastructureInput.PowerSupply']: ... - class ProcessingLocation(java.lang.Enum['InfrastructureInput.ProcessingLocation']): - HOST_PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - NEW_PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - PLATFORM: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - SUBSEA: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - ONSHORE: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - FPSO: typing.ClassVar['InfrastructureInput.ProcessingLocation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["InfrastructureInput.PowerSupply"]: ... + + class ProcessingLocation(java.lang.Enum["InfrastructureInput.ProcessingLocation"]): + HOST_PLATFORM: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + NEW_PLATFORM: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + PLATFORM: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + SUBSEA: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + ONSHORE: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + FPSO: typing.ClassVar["InfrastructureInput.ProcessingLocation"] = ... + _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: ... + 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]) -> 'InfrastructureInput.ProcessingLocation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InfrastructureInput.ProcessingLocation": ... @staticmethod - def values() -> typing.MutableSequence['InfrastructureInput.ProcessingLocation']: ... + def values() -> ( + typing.MutableSequence["InfrastructureInput.ProcessingLocation"] + ): ... class ReservoirInput(java.io.Serializable): @staticmethod - def blackOil() -> 'ReservoirInput.Builder': ... + def blackOil() -> "ReservoirInput.Builder": ... @staticmethod - def builder() -> 'ReservoirInput.Builder': ... + def builder() -> "ReservoirInput.Builder": ... @staticmethod - def gasCondensate() -> 'ReservoirInput.Builder': ... + def gasCondensate() -> "ReservoirInput.Builder": ... def getApiGravity(self) -> float: ... def getCo2Percent(self) -> float: ... def getCustomComposition(self) -> java.util.Map[java.lang.String, float]: ... - def getFluidType(self) -> 'ReservoirInput.FluidType': ... + def getFluidType(self) -> "ReservoirInput.FluidType": ... def getGasGravity(self) -> float: ... def getGor(self) -> float: ... def getGorUnit(self) -> java.lang.String: ... @@ -241,55 +362,89 @@ class ReservoirInput(java.io.Serializable): def isHighCO2(self) -> bool: ... def isSour(self) -> bool: ... @staticmethod - def leanGas() -> 'ReservoirInput.Builder': ... + def leanGas() -> "ReservoirInput.Builder": ... @staticmethod - def richGas() -> 'ReservoirInput.Builder': ... + def richGas() -> "ReservoirInput.Builder": ... def toString(self) -> java.lang.String: ... + class Builder: - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReservoirInput.Builder': ... - def apiGravity(self, double: float) -> 'ReservoirInput.Builder': ... - def build(self) -> 'ReservoirInput': ... - def co2Percent(self, double: float) -> 'ReservoirInput.Builder': ... - def fluidType(self, fluidType: 'ReservoirInput.FluidType') -> 'ReservoirInput.Builder': ... - def gasGravity(self, double: float) -> 'ReservoirInput.Builder': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ReservoirInput.Builder": ... + def apiGravity(self, double: float) -> "ReservoirInput.Builder": ... + def build(self) -> "ReservoirInput": ... + def co2Percent(self, double: float) -> "ReservoirInput.Builder": ... + def fluidType( + self, fluidType: "ReservoirInput.FluidType" + ) -> "ReservoirInput.Builder": ... + def gasGravity(self, double: float) -> "ReservoirInput.Builder": ... @typing.overload - def gor(self, double: float) -> 'ReservoirInput.Builder': ... + def gor(self, double: float) -> "ReservoirInput.Builder": ... @typing.overload - def gor(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... - def h2sPercent(self, double: float) -> 'ReservoirInput.Builder': ... - def n2Percent(self, double: float) -> 'ReservoirInput.Builder': ... - def recoveryFactor(self, double: float) -> 'ReservoirInput.Builder': ... - def reservoirPressure(self, double: float) -> 'ReservoirInput.Builder': ... - def reservoirTemperature(self, double: float) -> 'ReservoirInput.Builder': ... - def resourceEstimate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... + def gor( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ReservoirInput.Builder": ... + def h2sPercent(self, double: float) -> "ReservoirInput.Builder": ... + def n2Percent(self, double: float) -> "ReservoirInput.Builder": ... + def recoveryFactor(self, double: float) -> "ReservoirInput.Builder": ... + def reservoirPressure(self, double: float) -> "ReservoirInput.Builder": ... + def reservoirTemperature(self, double: float) -> "ReservoirInput.Builder": ... + def resourceEstimate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ReservoirInput.Builder": ... @typing.overload - def resourceUncertainty(self, double: float, double2: float, double3: float) -> 'ReservoirInput.Builder': ... + def resourceUncertainty( + self, double: float, double2: float, double3: float + ) -> "ReservoirInput.Builder": ... @typing.overload - def resourceUncertainty(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> 'ReservoirInput.Builder': ... - def waterCut(self, double: float) -> 'ReservoirInput.Builder': ... - def waterSalinity(self, double: float) -> 'ReservoirInput.Builder': ... - class FluidType(java.lang.Enum['ReservoirInput.FluidType']): - LEAN_GAS: typing.ClassVar['ReservoirInput.FluidType'] = ... - RICH_GAS: typing.ClassVar['ReservoirInput.FluidType'] = ... - GAS_CONDENSATE: typing.ClassVar['ReservoirInput.FluidType'] = ... - VOLATILE_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... - BLACK_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... - HEAVY_OIL: typing.ClassVar['ReservoirInput.FluidType'] = ... - CUSTOM: typing.ClassVar['ReservoirInput.FluidType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def resourceUncertainty( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> "ReservoirInput.Builder": ... + def waterCut(self, double: float) -> "ReservoirInput.Builder": ... + def waterSalinity(self, double: float) -> "ReservoirInput.Builder": ... + + class FluidType(java.lang.Enum["ReservoirInput.FluidType"]): + LEAN_GAS: typing.ClassVar["ReservoirInput.FluidType"] = ... + RICH_GAS: typing.ClassVar["ReservoirInput.FluidType"] = ... + GAS_CONDENSATE: typing.ClassVar["ReservoirInput.FluidType"] = ... + VOLATILE_OIL: typing.ClassVar["ReservoirInput.FluidType"] = ... + BLACK_OIL: typing.ClassVar["ReservoirInput.FluidType"] = ... + HEAVY_OIL: typing.ClassVar["ReservoirInput.FluidType"] = ... + CUSTOM: typing.ClassVar["ReservoirInput.FluidType"] = ... + _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: ... + 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]) -> 'ReservoirInput.FluidType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirInput.FluidType": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirInput.FluidType']: ... + def values() -> typing.MutableSequence["ReservoirInput.FluidType"]: ... class UncertaintyRange(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... @staticmethod - def deterministic(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'UncertaintyRange': ... + def deterministic( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "UncertaintyRange": ... def getName(self) -> java.lang.String: ... def getP10(self) -> float: ... def getP50(self) -> float: ... @@ -301,13 +456,13 @@ class UncertaintyRange(java.io.Serializable): class WellsInput(java.io.Serializable): @staticmethod - def builder() -> 'WellsInput.Builder': ... - def getCompletionType(self) -> 'WellsInput.CompletionType': ... + def builder() -> "WellsInput.Builder": ... + def getCompletionType(self) -> "WellsInput.CompletionType": ... def getGasLiftRate(self) -> float: ... def getGasLiftUnit(self) -> java.lang.String: ... def getInjectorCount(self) -> int: ... def getProducerCount(self) -> int: ... - def getProducerType(self) -> 'WellsInput.WellType': ... + def getProducerType(self) -> "WellsInput.WellType": ... def getProductivityIndex(self) -> float: ... def getRatePerWell(self) -> float: ... def getRatePerWellSm3d(self) -> float: ... @@ -322,48 +477,70 @@ class WellsInput(java.io.Serializable): def isSubsea(self) -> bool: ... def needsArtificialLift(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'WellsInput': ... - def completionType(self, completionType: 'WellsInput.CompletionType') -> 'WellsInput.Builder': ... - def gasLift(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... - def injectorCount(self, int: int) -> 'WellsInput.Builder': ... - def producerCount(self, int: int) -> 'WellsInput.Builder': ... - def producerType(self, wellType: 'WellsInput.WellType') -> 'WellsInput.Builder': ... - def productivityIndex(self, double: float) -> 'WellsInput.Builder': ... - def ratePerWell(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... - def shutInPressure(self, double: float) -> 'WellsInput.Builder': ... - def thp(self, double: float) -> 'WellsInput.Builder': ... - def tubeheadPressure(self, double: float) -> 'WellsInput.Builder': ... - def waterInjection(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellsInput.Builder': ... - class CompletionType(java.lang.Enum['WellsInput.CompletionType']): - SUBSEA: typing.ClassVar['WellsInput.CompletionType'] = ... - PLATFORM: typing.ClassVar['WellsInput.CompletionType'] = ... - ONSHORE: typing.ClassVar['WellsInput.CompletionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build(self) -> "WellsInput": ... + def completionType( + self, completionType: "WellsInput.CompletionType" + ) -> "WellsInput.Builder": ... + def gasLift( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "WellsInput.Builder": ... + def injectorCount(self, int: int) -> "WellsInput.Builder": ... + def producerCount(self, int: int) -> "WellsInput.Builder": ... + def producerType( + self, wellType: "WellsInput.WellType" + ) -> "WellsInput.Builder": ... + def productivityIndex(self, double: float) -> "WellsInput.Builder": ... + def ratePerWell( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "WellsInput.Builder": ... + def shutInPressure(self, double: float) -> "WellsInput.Builder": ... + def thp(self, double: float) -> "WellsInput.Builder": ... + def tubeheadPressure(self, double: float) -> "WellsInput.Builder": ... + def waterInjection( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "WellsInput.Builder": ... + + class CompletionType(java.lang.Enum["WellsInput.CompletionType"]): + SUBSEA: typing.ClassVar["WellsInput.CompletionType"] = ... + PLATFORM: typing.ClassVar["WellsInput.CompletionType"] = ... + ONSHORE: typing.ClassVar["WellsInput.CompletionType"] = ... + _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: ... + 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]) -> 'WellsInput.CompletionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellsInput.CompletionType": ... @staticmethod - def values() -> typing.MutableSequence['WellsInput.CompletionType']: ... - class WellType(java.lang.Enum['WellsInput.WellType']): - NATURAL_FLOW: typing.ClassVar['WellsInput.WellType'] = ... - GAS_LIFT: typing.ClassVar['WellsInput.WellType'] = ... - ESP: typing.ClassVar['WellsInput.WellType'] = ... - WATER_INJECTOR: typing.ClassVar['WellsInput.WellType'] = ... - GAS_INJECTOR: typing.ClassVar['WellsInput.WellType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["WellsInput.CompletionType"]: ... + + class WellType(java.lang.Enum["WellsInput.WellType"]): + NATURAL_FLOW: typing.ClassVar["WellsInput.WellType"] = ... + GAS_LIFT: typing.ClassVar["WellsInput.WellType"] = ... + ESP: typing.ClassVar["WellsInput.WellType"] = ... + WATER_INJECTOR: typing.ClassVar["WellsInput.WellType"] = ... + GAS_INJECTOR: typing.ClassVar["WellsInput.WellType"] = ... + _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: ... + 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]) -> 'WellsInput.WellType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellsInput.WellType": ... @staticmethod - def values() -> typing.MutableSequence['WellsInput.WellType']: ... - + def values() -> typing.MutableSequence["WellsInput.WellType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.concept")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi index 91327c21..0dd80eb3 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/economics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.process.equipment.reservoir import jneqsim.process.fielddevelopment.concept import typing - - class CashFlowEngine(java.io.Serializable): DEFAULT_DISCOUNT_RATE: typing.ClassVar[float] = ... DEFAULT_OPEX_PERCENT: typing.ClassVar[float] = ... @@ -22,16 +20,18 @@ class CashFlowEngine(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, norwegianTaxModel: 'NorwegianTaxModel'): ... + def __init__(self, norwegianTaxModel: "NorwegianTaxModel"): ... @typing.overload - def __init__(self, taxModel: 'TaxModel'): ... - def addAnnualProduction(self, int: int, double: float, double2: float, double3: float) -> None: ... + def __init__(self, taxModel: "TaxModel"): ... + def addAnnualProduction( + self, int: int, double: float, double2: float, double3: float + ) -> None: ... def addCapex(self, double: float, int: int) -> None: ... - def calculate(self, double: float) -> 'CashFlowEngine.CashFlowResult': ... + def calculate(self, double: float) -> "CashFlowEngine.CashFlowResult": ... def calculateBreakevenGasPrice(self, double: float) -> float: ... def calculateBreakevenOilPrice(self, double: float) -> float: ... def calculateNPV(self, double: float) -> float: ... - def copy(self) -> 'CashFlowEngine': ... + def copy(self) -> "CashFlowEngine": ... def getCapexSchedule(self) -> java.util.Map[int, float]: ... def getCountryCode(self) -> java.lang.String: ... def getCountryName(self) -> java.lang.String: ... @@ -47,11 +47,13 @@ class CashFlowEngine(java.io.Serializable): def getOilProductionProfile(self) -> java.util.Map[int, float]: ... def getOilTariff(self) -> float: ... def getOpexPercentOfCapex(self) -> float: ... - def getTaxModel(self) -> 'TaxModel': ... + def getTaxModel(self) -> "TaxModel": ... def getTotalCapex(self) -> float: ... def getVariableOpexPerBoe(self) -> float: ... def setCapex(self, double: float, int: int) -> None: ... - def setCapexSchedule(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + def setCapexSchedule( + self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]] + ) -> None: ... def setFixedOpexPerYear(self, double: float) -> None: ... def setGasPrice(self, double: float) -> None: ... def setGasTariff(self, double: float) -> None: ... @@ -59,14 +61,37 @@ class CashFlowEngine(java.io.Serializable): def setOilPrice(self, double: float) -> None: ... def setOilTariff(self, double: float) -> None: ... def setOpexPercentOfCapex(self, double: float) -> None: ... - def setProductionProfile(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], map2: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], map3: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + def setProductionProfile( + self, + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + map2: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + map3: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + ) -> None: ... @typing.overload def setTaxModel(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setTaxModel(self, taxModel: 'TaxModel') -> None: ... + def setTaxModel(self, taxModel: "TaxModel") -> None: ... def setVariableOpexPerBoe(self, double: float) -> None: ... + class AnnualCashFlow(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): ... + 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, + ): ... def getAfterTaxCashFlow(self) -> float: ... def getCapex(self) -> float: ... def getCorporateTax(self) -> float: ... @@ -82,9 +107,22 @@ class CashFlowEngine(java.io.Serializable): def getTotalTax(self) -> float: ... def getUplift(self) -> float: ... def getYear(self) -> int: ... + class CashFlowResult(java.io.Serializable): - def __init__(self, list: java.util.List['CashFlowEngine.AnnualCashFlow'], double: float, double2: float, double3: float, double4: float, double5: float, int: int, int2: int): ... - def getAnnualCashFlows(self) -> java.util.List['CashFlowEngine.AnnualCashFlow']: ... + def __init__( + self, + list: java.util.List["CashFlowEngine.AnnualCashFlow"], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + int: int, + int2: int, + ): ... + def getAnnualCashFlows( + self, + ) -> java.util.List["CashFlowEngine.AnnualCashFlow"]: ... def getDiscountRate(self) -> float: ... def getIrr(self) -> float: ... def getNpv(self) -> float: ... @@ -99,16 +137,18 @@ class CashFlowEngine(java.io.Serializable): class FiscalParameters(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.Builder": ... def getCorporateTaxRate(self) -> float: ... def getCostRecoveryLimit(self) -> float: ... def getCountryCode(self) -> java.lang.String: ... def getCountryName(self) -> java.lang.String: ... def getDecliningBalanceRate(self) -> float: ... - def getDepreciationMethod(self) -> 'FiscalParameters.DepreciationMethod': ... + def getDepreciationMethod(self) -> "FiscalParameters.DepreciationMethod": ... def getDepreciationYears(self) -> int: ... def getDescription(self) -> java.lang.String: ... - def getFiscalSystemType(self) -> 'FiscalParameters.FiscalSystemType': ... + def getFiscalSystemType(self) -> "FiscalParameters.FiscalSystemType": ... def getInvestmentTaxCredit(self) -> float: ... def getLossCarryBackYears(self) -> int: ... def getLossCarryForwardInterest(self) -> float: ... @@ -117,7 +157,7 @@ class FiscalParameters(java.io.Serializable): def getProfitShareGovernment(self) -> float: ... def getRdEnhancementFactor(self) -> float: ... def getResourceTaxRate(self) -> float: ... - def getRingFenceLevel(self) -> 'FiscalParameters.RingFenceLevel': ... + def getRingFenceLevel(self) -> "FiscalParameters.RingFenceLevel": ... def getRoyaltyRate(self) -> float: ... def getStateParticipation(self) -> float: ... def getTotalMarginalTaxRate(self) -> float: ... @@ -136,123 +176,221 @@ class FiscalParameters(java.io.Serializable): def isPscSystem(self) -> bool: ... def isRingFenced(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'FiscalParameters': ... - def corporateTaxRate(self, double: float) -> 'FiscalParameters.Builder': ... - def costRecoveryLimit(self, double: float) -> 'FiscalParameters.Builder': ... - def countryName(self, string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... - def decliningBalanceRate(self, double: float) -> 'FiscalParameters.Builder': ... - def decommissioning(self, boolean: bool, boolean2: bool) -> 'FiscalParameters.Builder': ... - def depreciation(self, depreciationMethod: 'FiscalParameters.DepreciationMethod', int: int) -> 'FiscalParameters.Builder': ... - def depreciationYears(self, int: int) -> 'FiscalParameters.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'FiscalParameters.Builder': ... - def enhancedRdDeduction(self, double: float) -> 'FiscalParameters.Builder': ... - def fiscalSystemType(self, fiscalSystemType: 'FiscalParameters.FiscalSystemType') -> 'FiscalParameters.Builder': ... - def investmentTaxCredit(self, double: float) -> 'FiscalParameters.Builder': ... - def lossCarryBack(self, int: int) -> 'FiscalParameters.Builder': ... - def lossCarryForward(self, int: int, double: float) -> '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': ... - def royaltyRate(self, double: float) -> 'FiscalParameters.Builder': ... - def stateParticipation(self, double: float) -> 'FiscalParameters.Builder': ... - def uplift(self, double: float, int: int) -> 'FiscalParameters.Builder': ... - def validFromYear(self, int: int) -> 'FiscalParameters.Builder': ... - def windfallTax(self, double: float, double2: float) -> 'FiscalParameters.Builder': ... - class DepreciationMethod(java.lang.Enum['FiscalParameters.DepreciationMethod']): - STRAIGHT_LINE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... - DECLINING_BALANCE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... - UNIT_OF_PRODUCTION: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... - IMMEDIATE: typing.ClassVar['FiscalParameters.DepreciationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build(self) -> "FiscalParameters": ... + def corporateTaxRate(self, double: float) -> "FiscalParameters.Builder": ... + def costRecoveryLimit(self, double: float) -> "FiscalParameters.Builder": ... + def countryName( + self, string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.Builder": ... + def decliningBalanceRate(self, double: float) -> "FiscalParameters.Builder": ... + def decommissioning( + self, boolean: bool, boolean2: bool + ) -> "FiscalParameters.Builder": ... + def depreciation( + self, depreciationMethod: "FiscalParameters.DepreciationMethod", int: int + ) -> "FiscalParameters.Builder": ... + def depreciationYears(self, int: int) -> "FiscalParameters.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.Builder": ... + def enhancedRdDeduction(self, double: float) -> "FiscalParameters.Builder": ... + def fiscalSystemType( + self, fiscalSystemType: "FiscalParameters.FiscalSystemType" + ) -> "FiscalParameters.Builder": ... + def investmentTaxCredit(self, double: float) -> "FiscalParameters.Builder": ... + def lossCarryBack(self, int: int) -> "FiscalParameters.Builder": ... + def lossCarryForward( + self, int: int, double: float + ) -> "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": ... + def royaltyRate(self, double: float) -> "FiscalParameters.Builder": ... + def stateParticipation(self, double: float) -> "FiscalParameters.Builder": ... + def uplift(self, double: float, int: int) -> "FiscalParameters.Builder": ... + def validFromYear(self, int: int) -> "FiscalParameters.Builder": ... + def windfallTax( + self, double: float, double2: float + ) -> "FiscalParameters.Builder": ... + + class DepreciationMethod(java.lang.Enum["FiscalParameters.DepreciationMethod"]): + STRAIGHT_LINE: typing.ClassVar["FiscalParameters.DepreciationMethod"] = ... + DECLINING_BALANCE: typing.ClassVar["FiscalParameters.DepreciationMethod"] = ... + UNIT_OF_PRODUCTION: typing.ClassVar["FiscalParameters.DepreciationMethod"] = ... + IMMEDIATE: typing.ClassVar["FiscalParameters.DepreciationMethod"] = ... + _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: ... + 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]) -> 'FiscalParameters.DepreciationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.DepreciationMethod": ... @staticmethod - def values() -> typing.MutableSequence['FiscalParameters.DepreciationMethod']: ... - class FiscalSystemType(java.lang.Enum['FiscalParameters.FiscalSystemType']): - CONCESSIONARY: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... - PSC: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... - SERVICE_CONTRACT: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... - RISK_SERVICE_CONTRACT: typing.ClassVar['FiscalParameters.FiscalSystemType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["FiscalParameters.DepreciationMethod"] + ): ... + + class FiscalSystemType(java.lang.Enum["FiscalParameters.FiscalSystemType"]): + CONCESSIONARY: typing.ClassVar["FiscalParameters.FiscalSystemType"] = ... + PSC: typing.ClassVar["FiscalParameters.FiscalSystemType"] = ... + SERVICE_CONTRACT: typing.ClassVar["FiscalParameters.FiscalSystemType"] = ... + RISK_SERVICE_CONTRACT: typing.ClassVar["FiscalParameters.FiscalSystemType"] = ( + ... + ) + _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: ... + 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]) -> 'FiscalParameters.FiscalSystemType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.FiscalSystemType": ... @staticmethod - def values() -> typing.MutableSequence['FiscalParameters.FiscalSystemType']: ... - class RingFenceLevel(java.lang.Enum['FiscalParameters.RingFenceLevel']): - FIELD: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... - LICENSE: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... - COMPANY: typing.ClassVar['FiscalParameters.RingFenceLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["FiscalParameters.FiscalSystemType"]: ... + + class RingFenceLevel(java.lang.Enum["FiscalParameters.RingFenceLevel"]): + FIELD: typing.ClassVar["FiscalParameters.RingFenceLevel"] = ... + LICENSE: typing.ClassVar["FiscalParameters.RingFenceLevel"] = ... + COMPANY: typing.ClassVar["FiscalParameters.RingFenceLevel"] = ... + _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: ... + 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]) -> 'FiscalParameters.RingFenceLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FiscalParameters.RingFenceLevel": ... @staticmethod - def values() -> typing.MutableSequence['FiscalParameters.RingFenceLevel']: ... + def values() -> typing.MutableSequence["FiscalParameters.RingFenceLevel"]: ... class PortfolioOptimizer(java.io.Serializable): def __init__(self): ... @typing.overload - def addProject(self, string: typing.Union[java.lang.String, str], double: float, double2: float, projectType: 'PortfolioOptimizer.ProjectType', double3: float) -> 'PortfolioOptimizer.Project': ... + def addProject( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + projectType: "PortfolioOptimizer.ProjectType", + double3: float, + ) -> "PortfolioOptimizer.Project": ... @typing.overload - def addProject(self, string: typing.Union[java.lang.String, str], double: float, projectType: 'PortfolioOptimizer.ProjectType', double2: float, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'PortfolioOptimizer.Project': ... + def addProject( + self, + string: typing.Union[java.lang.String, str], + double: float, + projectType: "PortfolioOptimizer.ProjectType", + double2: float, + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + ) -> "PortfolioOptimizer.Project": ... @typing.overload - def addProject(self, project: 'PortfolioOptimizer.Project') -> None: ... + def addProject(self, project: "PortfolioOptimizer.Project") -> None: ... def clearProjects(self) -> None: ... - def compareStrategies(self) -> java.util.Map['PortfolioOptimizer.OptimizationStrategy', 'PortfolioOptimizer.PortfolioResult']: ... + def compareStrategies( + self, + ) -> java.util.Map[ + "PortfolioOptimizer.OptimizationStrategy", "PortfolioOptimizer.PortfolioResult" + ]: ... def generateComparisonReport(self) -> java.lang.String: ... - def getProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... - def optimize(self, optimizationStrategy: 'PortfolioOptimizer.OptimizationStrategy') -> 'PortfolioOptimizer.PortfolioResult': ... + def getProjects(self) -> java.util.List["PortfolioOptimizer.Project"]: ... + def optimize( + self, optimizationStrategy: "PortfolioOptimizer.OptimizationStrategy" + ) -> "PortfolioOptimizer.PortfolioResult": ... def setAnnualBudget(self, int: int, double: float) -> None: ... - def setMaxAllocation(self, projectType: 'PortfolioOptimizer.ProjectType', double: float) -> None: ... - def setMinAllocation(self, projectType: 'PortfolioOptimizer.ProjectType', double: float) -> None: ... + def setMaxAllocation( + self, projectType: "PortfolioOptimizer.ProjectType", double: float + ) -> None: ... + def setMinAllocation( + self, projectType: "PortfolioOptimizer.ProjectType", double: float + ) -> None: ... def setTotalBudget(self, double: float) -> None: ... - class OptimizationStrategy(java.lang.Enum['PortfolioOptimizer.OptimizationStrategy']): - GREEDY_NPV_RATIO: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... - GREEDY_ABSOLUTE_NPV: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... - RISK_WEIGHTED: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... - BALANCED: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... - EMV_MAXIMIZATION: typing.ClassVar['PortfolioOptimizer.OptimizationStrategy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class OptimizationStrategy( + java.lang.Enum["PortfolioOptimizer.OptimizationStrategy"] + ): + GREEDY_NPV_RATIO: typing.ClassVar["PortfolioOptimizer.OptimizationStrategy"] = ( + ... + ) + GREEDY_ABSOLUTE_NPV: typing.ClassVar[ + "PortfolioOptimizer.OptimizationStrategy" + ] = ... + RISK_WEIGHTED: typing.ClassVar["PortfolioOptimizer.OptimizationStrategy"] = ... + BALANCED: typing.ClassVar["PortfolioOptimizer.OptimizationStrategy"] = ... + EMV_MAXIMIZATION: typing.ClassVar["PortfolioOptimizer.OptimizationStrategy"] = ( + ... + ) + _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: ... + 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]) -> 'PortfolioOptimizer.OptimizationStrategy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PortfolioOptimizer.OptimizationStrategy": ... @staticmethod - def values() -> typing.MutableSequence['PortfolioOptimizer.OptimizationStrategy']: ... + def values() -> ( + typing.MutableSequence["PortfolioOptimizer.OptimizationStrategy"] + ): ... + class PortfolioResult(java.io.Serializable): def __init__(self): ... def generateReport(self) -> java.lang.String: ... def getAnnualBudgetRemaining(self) -> java.util.Map[int, float]: ... def getAnnualCapexUsed(self) -> java.util.Map[int, float]: ... def getCapitalEfficiency(self) -> float: ... - def getDeferredProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... + def getDeferredProjects( + self, + ) -> java.util.List["PortfolioOptimizer.Project"]: ... def getProjectCount(self) -> int: ... - def getSelectedProjects(self) -> java.util.List['PortfolioOptimizer.Project']: ... - def getStrategy(self) -> 'PortfolioOptimizer.OptimizationStrategy': ... + def getSelectedProjects( + self, + ) -> java.util.List["PortfolioOptimizer.Project"]: ... + def getStrategy(self) -> "PortfolioOptimizer.OptimizationStrategy": ... def getTotalCapex(self) -> float: ... def getTotalEmv(self) -> float: ... def getTotalNpv(self) -> float: ... - def setStrategy(self, optimizationStrategy: 'PortfolioOptimizer.OptimizationStrategy') -> None: ... + def setStrategy( + self, optimizationStrategy: "PortfolioOptimizer.OptimizationStrategy" + ) -> None: ... def setTotalCapex(self, double: float) -> None: ... def setTotalEmv(self, double: float) -> None: ... def setTotalNpv(self, double: float) -> None: ... + class Project(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, projectType: 'PortfolioOptimizer.ProjectType', double3: float): ... - def addDependency(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + projectType: "PortfolioOptimizer.ProjectType", + double3: float, + ): ... + def addDependency( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getCapexForYear(self, int: int) -> float: ... def getCapexMusd(self) -> float: ... def getCapexProfile(self) -> java.util.Map[int, float]: ... @@ -264,84 +402,207 @@ class PortfolioOptimizer(java.io.Serializable): def getProbabilityOfSuccess(self) -> float: ... def getRiskWeightedRatio(self) -> float: ... def getStartYear(self) -> int: ... - def getType(self) -> 'PortfolioOptimizer.ProjectType': ... + def getType(self) -> "PortfolioOptimizer.ProjectType": ... def isMandatory(self) -> bool: ... - def setCapexProfile(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> None: ... + def setCapexProfile( + self, + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + ) -> None: ... def setMandatory(self, boolean: bool) -> None: ... def setStartYear(self, int: int) -> None: ... - class ProjectType(java.lang.Enum['PortfolioOptimizer.ProjectType']): - DEVELOPMENT: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... - IOR: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... - EXPLORATION: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... - TIEBACK: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... - INFRASTRUCTURE: typing.ClassVar['PortfolioOptimizer.ProjectType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ProjectType(java.lang.Enum["PortfolioOptimizer.ProjectType"]): + DEVELOPMENT: typing.ClassVar["PortfolioOptimizer.ProjectType"] = ... + IOR: typing.ClassVar["PortfolioOptimizer.ProjectType"] = ... + EXPLORATION: typing.ClassVar["PortfolioOptimizer.ProjectType"] = ... + TIEBACK: typing.ClassVar["PortfolioOptimizer.ProjectType"] = ... + INFRASTRUCTURE: typing.ClassVar["PortfolioOptimizer.ProjectType"] = ... + _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: ... + 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]) -> 'PortfolioOptimizer.ProjectType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PortfolioOptimizer.ProjectType": ... @staticmethod - def values() -> typing.MutableSequence['PortfolioOptimizer.ProjectType']: ... + def values() -> typing.MutableSequence["PortfolioOptimizer.ProjectType"]: ... class ProductionProfileGenerator(java.io.Serializable): def __init__(self): ... @staticmethod - def calculateCumulativeProduction(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> float: ... + def calculateCumulativeProduction( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]] + ) -> float: ... @staticmethod - def calculateEUR(double: float, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', double3: float) -> float: ... + def calculateEUR( + double: float, + double2: float, + declineType: "ProductionProfileGenerator.DeclineType", + double3: float, + ) -> float: ... @staticmethod - def capProfileToCumulativeLimit(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], double: float) -> java.util.Map[int, float]: ... + def capProfileToCumulativeLimit( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + double: float, + ) -> java.util.Map[int, float]: ... @staticmethod - def combineProfiles(*map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> java.util.Map[int, float]: ... - def fitHistoryMatchedDecline(self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'ProductionProfileGenerator.HistoryMatchedDeclineCase': ... + def combineProfiles( + *map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]] + ) -> java.util.Map[int, float]: ... + def fitHistoryMatchedDecline( + self, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]] + ) -> "ProductionProfileGenerator.HistoryMatchedDeclineCase": ... @typing.overload - def generateExponentialDecline(self, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + def generateExponentialDecline( + self, double: float, double2: float, int: int, int2: int + ) -> java.util.Map[int, float]: ... @typing.overload - def generateExponentialDecline(self, double: float, double2: float, int: int, int2: int, double3: float) -> java.util.Map[int, float]: ... - def generateFromReservoirInput(self, reservoirInput: jneqsim.process.fielddevelopment.concept.ReservoirInput, double: float, boolean: bool, int: int, int2: int) -> java.util.Map[int, float]: ... - def generateFromSimpleReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, boolean: bool, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + def generateExponentialDecline( + self, double: float, double2: float, int: int, int2: int, double3: float + ) -> java.util.Map[int, float]: ... + def generateFromReservoirInput( + self, + reservoirInput: jneqsim.process.fielddevelopment.concept.ReservoirInput, + double: float, + boolean: bool, + int: int, + int2: int, + ) -> java.util.Map[int, float]: ... + def generateFromSimpleReservoir( + self, + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + boolean: bool, + double: float, + double2: float, + int: int, + int2: int, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateFullProfile(self, double: float, int: int, int2: int, double2: float, double3: float, declineType: 'ProductionProfileGenerator.DeclineType', int3: int, int4: int, double4: float) -> java.util.Map[int, float]: ... + def generateFullProfile( + self, + double: float, + int: int, + int2: int, + double2: float, + double3: float, + declineType: "ProductionProfileGenerator.DeclineType", + int3: int, + int4: int, + double4: float, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateFullProfile(self, double: float, int: int, int2: int, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', int3: int, int4: int) -> java.util.Map[int, float]: ... + def generateFullProfile( + self, + double: float, + int: int, + int2: int, + double2: float, + declineType: "ProductionProfileGenerator.DeclineType", + int3: int, + int4: int, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateHarmonicDecline(self, double: float, double2: float, int: int, int2: int) -> java.util.Map[int, float]: ... + def generateHarmonicDecline( + self, double: float, double2: float, int: int, int2: int + ) -> java.util.Map[int, float]: ... @typing.overload - def generateHarmonicDecline(self, double: float, double2: float, int: int, int2: int, double3: float) -> java.util.Map[int, float]: ... - def generateHistoryMatchedProfile(self, historyMatchedDeclineCase: 'ProductionProfileGenerator.HistoryMatchedDeclineCase', int: int, int2: int, double: float) -> java.util.Map[int, float]: ... + def generateHarmonicDecline( + self, double: float, double2: float, int: int, int2: int, double3: float + ) -> java.util.Map[int, float]: ... + def generateHistoryMatchedProfile( + self, + historyMatchedDeclineCase: "ProductionProfileGenerator.HistoryMatchedDeclineCase", + int: int, + int2: int, + double: float, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateHyperbolicDecline(self, double: float, double2: float, double3: float, int: int, int2: int) -> java.util.Map[int, float]: ... + def generateHyperbolicDecline( + self, double: float, double2: float, double3: float, int: int, int2: int + ) -> java.util.Map[int, float]: ... @typing.overload - def generateHyperbolicDecline(self, double: float, double2: float, double3: float, int: int, int2: int, double4: float) -> java.util.Map[int, float]: ... + def generateHyperbolicDecline( + self, + double: float, + double2: float, + double3: float, + int: int, + int2: int, + double4: float, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateWithPlateau(self, double: float, int: int, double2: float, double3: float, declineType: 'ProductionProfileGenerator.DeclineType', int2: int, int3: int, double4: float) -> java.util.Map[int, float]: ... + def generateWithPlateau( + self, + double: float, + int: int, + double2: float, + double3: float, + declineType: "ProductionProfileGenerator.DeclineType", + int2: int, + int3: int, + double4: float, + ) -> java.util.Map[int, float]: ... @typing.overload - def generateWithPlateau(self, double: float, int: int, double2: float, declineType: 'ProductionProfileGenerator.DeclineType', int2: int, int3: int) -> java.util.Map[int, float]: ... + def generateWithPlateau( + self, + double: float, + int: int, + double2: float, + declineType: "ProductionProfileGenerator.DeclineType", + int2: int, + int3: int, + ) -> java.util.Map[int, float]: ... @staticmethod - def getProfileSummary(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> java.lang.String: ... + def getProfileSummary( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]] + ) -> java.lang.String: ... @staticmethod - def scaleProfile(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], double: float) -> java.util.Map[int, float]: ... + def scaleProfile( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + double: float, + ) -> java.util.Map[int, float]: ... @staticmethod - def shiftProfile(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], int: int) -> java.util.Map[int, float]: ... + def shiftProfile( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + int: int, + ) -> java.util.Map[int, float]: ... @staticmethod - def toVfpRateTableCsv(map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... - class DeclineType(java.lang.Enum['ProductionProfileGenerator.DeclineType']): - EXPONENTIAL: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... - HYPERBOLIC: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... - HARMONIC: typing.ClassVar['ProductionProfileGenerator.DeclineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toVfpRateTableCsv( + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + string: typing.Union[java.lang.String, str], + double: float, + ) -> java.lang.String: ... + + class DeclineType(java.lang.Enum["ProductionProfileGenerator.DeclineType"]): + EXPONENTIAL: typing.ClassVar["ProductionProfileGenerator.DeclineType"] = ... + HYPERBOLIC: typing.ClassVar["ProductionProfileGenerator.DeclineType"] = ... + HARMONIC: typing.ClassVar["ProductionProfileGenerator.DeclineType"] = ... + _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: ... + 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]) -> 'ProductionProfileGenerator.DeclineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionProfileGenerator.DeclineType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionProfileGenerator.DeclineType']: ... + def values() -> ( + typing.MutableSequence["ProductionProfileGenerator.DeclineType"] + ): ... + class HistoryMatchedDeclineCase(java.io.Serializable): - def __init__(self, int: int, int2: int, double: float, double2: float, double3: float): ... + def __init__( + self, int: int, int2: int, double: float, double2: float, double3: float + ): ... def getAnnualDeclineRate(self) -> float: ... def getFirstHistoryYear(self) -> int: ... def getFitQuality(self) -> float: ... @@ -350,21 +611,34 @@ class ProductionProfileGenerator(java.io.Serializable): class SensitivityAnalyzer(java.io.Serializable): def __init__(self, cashFlowEngine: CashFlowEngine, double: float): ... - def breakevenAnalysis(self) -> 'SensitivityAnalyzer.BreakevenResult': ... - def monteCarloAnalysis(self, int: int) -> 'SensitivityAnalyzer.MonteCarloResult': ... - def scenarioAnalysis(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'SensitivityAnalyzer.ScenarioResult': ... + def breakevenAnalysis(self) -> "SensitivityAnalyzer.BreakevenResult": ... + def monteCarloAnalysis( + self, int: int + ) -> "SensitivityAnalyzer.MonteCarloResult": ... + def scenarioAnalysis( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "SensitivityAnalyzer.ScenarioResult": ... def setCapexDistribution(self, double: float, double2: float) -> None: ... def setGasPriceDistribution(self, double: float, double2: float) -> None: ... def setOilPriceDistribution(self, double: float, double2: float) -> None: ... def setOpexFactorDistribution(self, double: float, double2: float) -> None: ... - def setProductionFactorDistribution(self, double: float, double2: float) -> None: ... + def setProductionFactorDistribution( + self, double: float, double2: float + ) -> None: ... def setRandomSeed(self, long: int) -> None: ... - def tornadoAnalysis(self, double: float) -> 'SensitivityAnalyzer.TornadoResult': ... + def tornadoAnalysis(self, double: float) -> "SensitivityAnalyzer.TornadoResult": ... + class BreakevenResult(java.io.Serializable): def getBreakevenGasPrice(self) -> float: ... def getBreakevenOilPrice(self) -> float: ... def getDiscountRate(self) -> float: ... def toString(self) -> java.lang.String: ... + class MonteCarloResult(java.io.Serializable): def getCoefficientOfVariation(self) -> float: ... def getIrrMean(self) -> float: ... @@ -380,6 +654,7 @@ class SensitivityAnalyzer(java.io.Serializable): def getNpvStdDev(self) -> float: ... def getProbabilityPositiveNpv(self) -> float: ... def toString(self) -> java.lang.String: ... + class ScenarioResult(java.io.Serializable): def getBaseIrr(self) -> float: ... def getBaseNpv(self) -> float: ... @@ -389,6 +664,7 @@ class SensitivityAnalyzer(java.io.Serializable): def getLowNpv(self) -> float: ... def getNpvRange(self) -> float: ... def toString(self) -> java.lang.String: ... + class TornadoItem(java.io.Serializable): def getBaseCaseNpv(self) -> float: ... def getHighNpv(self) -> float: ... @@ -396,19 +672,24 @@ class SensitivityAnalyzer(java.io.Serializable): def getLowNpv(self) -> float: ... def getParameterName(self) -> java.lang.String: ... def getSwing(self) -> float: ... + class TornadoResult(java.io.Serializable): def getBaseCaseNpv(self) -> float: ... - def getItems(self) -> java.util.List['SensitivityAnalyzer.TornadoItem']: ... - def getMostSensitiveParameter(self) -> 'SensitivityAnalyzer.TornadoItem': ... + def getItems(self) -> java.util.List["SensitivityAnalyzer.TornadoItem"]: ... + def getMostSensitiveParameter(self) -> "SensitivityAnalyzer.TornadoItem": ... def getVariationPercent(self) -> float: ... def toMarkdownTable(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... class TaxModel(java.io.Serializable): def calculateDepreciation(self, double: float, int: int) -> float: ... - def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateEffectiveTaxRate( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calculateRoyalty(self, double: float) -> float: ... - def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> 'TaxModel.TaxResult': ... + def calculateTax( + self, double: float, double2: float, double3: float, double4: float + ) -> "TaxModel.TaxResult": ... def calculateUplift(self, double: float, int: int) -> float: ... def getCountryCode(self) -> java.lang.String: ... def getCountryName(self) -> java.lang.String: ... @@ -416,11 +697,37 @@ class TaxModel(java.io.Serializable): def getParameters(self) -> FiscalParameters: ... def getTotalMarginalTaxRate(self) -> float: ... def reset(self) -> None: ... + class TaxResult(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + ): ... def getAfterTaxIncome(self) -> float: ... def getCorporateTax(self) -> float: ... def getCorporateTaxBase(self) -> float: ... @@ -447,9 +754,13 @@ class TaxModelRegistry: @staticmethod def getAvailableCountries() -> java.util.List[java.lang.String]: ... @staticmethod - def getParameters(string: typing.Union[java.lang.String, str]) -> FiscalParameters: ... + def getParameters( + string: typing.Union[java.lang.String, str] + ) -> FiscalParameters: ... @staticmethod - def getParametersOrDefault(string: typing.Union[java.lang.String, str], fiscalParameters: FiscalParameters) -> FiscalParameters: ... + def getParametersOrDefault( + string: typing.Union[java.lang.String, str], fiscalParameters: FiscalParameters + ) -> FiscalParameters: ... @staticmethod def getRegisteredCount() -> int: ... @staticmethod @@ -466,14 +777,22 @@ class TaxModelRegistry: class GenericTaxModel(TaxModel): def __init__(self, fiscalParameters: FiscalParameters): ... def calculateDepreciation(self, double: float, int: int) -> float: ... - def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... - def calculateProfitSharing(self, double: float, double2: float) -> typing.MutableSequence[float]: ... + def calculateEffectiveTaxRate( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... + def calculateProfitSharing( + self, double: float, double2: float + ) -> typing.MutableSequence[float]: ... def calculateRoyalty(self, double: float) -> float: ... def calculateStateParticipation(self, double: float) -> float: ... - def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> TaxModel.TaxResult: ... + def calculateTax( + self, double: float, double2: float, double3: float, double4: float + ) -> TaxModel.TaxResult: ... def calculateUplift(self, double: float, int: int) -> float: ... @staticmethod - def forCountry(string: typing.Union[java.lang.String, str]) -> 'GenericTaxModel': ... + def forCountry( + string: typing.Union[java.lang.String, str] + ) -> "GenericTaxModel": ... def getCorporateTaxLossCarryForward(self) -> float: ... def getCountryCode(self) -> java.lang.String: ... def getCountryName(self) -> java.lang.String: ... @@ -499,10 +818,16 @@ class NorwegianTaxModel(TaxModel): @typing.overload def __init__(self, double: float, double2: float): ... def calculateDepreciation(self, double: float, int: int) -> float: ... - def calculateEffectiveTaxRate(self, double: float, double2: float, double3: float, double4: float) -> float: ... - def calculateGovernmentTake(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateEffectiveTaxRate( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... + def calculateGovernmentTake( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calculateRoyalty(self, double: float) -> float: ... - def calculateTax(self, double: float, double2: float, double3: float, double4: float) -> TaxModel.TaxResult: ... + def calculateTax( + self, double: float, double2: float, double3: float, double4: float + ) -> TaxModel.TaxResult: ... def calculateUplift(self, double: float, int: int) -> float: ... @staticmethod def createTaxModel() -> TaxModel: ... @@ -528,8 +853,21 @@ class NorwegianTaxModel(TaxModel): def setPetroleumTaxRate(self, double: float) -> None: ... def setUpliftRate(self, double: float) -> None: ... def setUpliftYears(self, int: int) -> None: ... + class TaxResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ): ... def getAfterTaxIncome(self) -> float: ... def getCorporateTax(self) -> float: ... def getCorporateTaxBase(self) -> float: ... @@ -543,7 +881,6 @@ class NorwegianTaxModel(TaxModel): def getUplift(self) -> float: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.economics")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi index 5b017a85..6fc4cade 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/evaluation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,119 +19,172 @@ import jneqsim.process.fielddevelopment.screening import jneqsim.process.processmodel import typing - - class BatchConceptRunner: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, conceptEvaluator: 'ConceptEvaluator'): ... - def addConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'BatchConceptRunner': ... - def addConcepts(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.FieldConcept]) -> 'BatchConceptRunner': ... - def clear(self) -> 'BatchConceptRunner': ... + def __init__(self, conceptEvaluator: "ConceptEvaluator"): ... + def addConcept( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "BatchConceptRunner": ... + def addConcepts( + self, + list: java.util.List[jneqsim.process.fielddevelopment.concept.FieldConcept], + ) -> "BatchConceptRunner": ... + def clear(self) -> "BatchConceptRunner": ... def getConceptCount(self) -> int: ... - def onProgress(self, progressListener: typing.Union['BatchConceptRunner.ProgressListener', typing.Callable]) -> 'BatchConceptRunner': ... - def parallelism(self, int: int) -> 'BatchConceptRunner': ... - def quickScreenAll(self) -> 'BatchConceptRunner.BatchResults': ... - def runAll(self) -> 'BatchConceptRunner.BatchResults': ... + def onProgress( + self, + progressListener: typing.Union[ + "BatchConceptRunner.ProgressListener", typing.Callable + ], + ) -> "BatchConceptRunner": ... + def parallelism(self, int: int) -> "BatchConceptRunner": ... + def quickScreenAll(self) -> "BatchConceptRunner.BatchResults": ... + def runAll(self) -> "BatchConceptRunner.BatchResults": ... + class BatchResults: - def getBestConcept(self) -> 'ConceptKPIs': ... - def getBestEconomicConcept(self) -> 'ConceptKPIs': ... - def getBestEnvironmentalConcept(self) -> 'ConceptKPIs': ... + def getBestConcept(self) -> "ConceptKPIs": ... + def getBestEconomicConcept(self) -> "ConceptKPIs": ... + def getBestEnvironmentalConcept(self) -> "ConceptKPIs": ... def getComparisonSummary(self) -> java.lang.String: ... def getErrors(self) -> java.util.List[java.lang.String]: ... def getFailureCount(self) -> int: ... - def getLowestCapexConcept(self) -> 'ConceptKPIs': ... - def getLowestEmissionsConcept(self) -> 'ConceptKPIs': ... - def getRankedResults(self) -> java.util.List['ConceptKPIs']: ... - def getResults(self) -> java.util.List['ConceptKPIs']: ... + def getLowestCapexConcept(self) -> "ConceptKPIs": ... + def getLowestEmissionsConcept(self) -> "ConceptKPIs": ... + def getRankedResults(self) -> java.util.List["ConceptKPIs"]: ... + def getResults(self) -> java.util.List["ConceptKPIs"]: ... def getSuccessCount(self) -> int: ... - def getViableConcepts(self) -> java.util.List['ConceptKPIs']: ... + def getViableConcepts(self) -> java.util.List["ConceptKPIs"]: ... def toString(self) -> java.lang.String: ... + class ProgressListener: def onProgress(self, int: int, int2: int) -> None: ... class BottleneckAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def evaluateDebottleneckOptions(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.List['BottleneckAnalyzer.DebottleneckOption']: ... + def evaluateDebottleneckOptions( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.util.List["BottleneckAnalyzer.DebottleneckOption"]: ... def generateReport(self) -> java.lang.String: ... - def getActiveBottlenecks(self) -> java.util.List['BottleneckAnalyzer.BottleneckResult']: ... - def getPrimaryBottleneck(self) -> 'BottleneckAnalyzer.BottleneckResult': ... - def identifyBottlenecks(self) -> java.util.List['BottleneckAnalyzer.BottleneckResult']: ... - def setUtilizationThreshold(self, double: float) -> 'BottleneckAnalyzer': ... + def getActiveBottlenecks( + self, + ) -> java.util.List["BottleneckAnalyzer.BottleneckResult"]: ... + def getPrimaryBottleneck(self) -> "BottleneckAnalyzer.BottleneckResult": ... + def identifyBottlenecks( + self, + ) -> java.util.List["BottleneckAnalyzer.BottleneckResult"]: ... + def setUtilizationThreshold(self, double: float) -> "BottleneckAnalyzer": ... + class BottleneckResult(java.io.Serializable): def __init__(self): ... def getConstraintDescription(self) -> java.lang.String: ... - def getConstraintType(self) -> 'BottleneckAnalyzer.ConstraintType': ... + def getConstraintType(self) -> "BottleneckAnalyzer.ConstraintType": ... def getCurrentValue(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... - def getEquipmentType(self) -> 'BottleneckAnalyzer.EquipmentType': ... + def getEquipmentType(self) -> "BottleneckAnalyzer.EquipmentType": ... def getMaxValue(self) -> float: ... def getRemainingCapacity(self) -> float: ... def getUnit(self) -> java.lang.String: ... def getUtilization(self) -> float: ... def toString(self) -> java.lang.String: ... - class ConstraintType(java.lang.Enum['BottleneckAnalyzer.ConstraintType']): - GAS_VELOCITY: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - LIQUID_RETENTION: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - POWER: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - SURGE: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - STONEWALL: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - HEAD: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - NPSH: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - THERMAL: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - VALVE_CV: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - PRESSURE_DROP: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - VELOCITY: typing.ClassVar['BottleneckAnalyzer.ConstraintType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConstraintType(java.lang.Enum["BottleneckAnalyzer.ConstraintType"]): + GAS_VELOCITY: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + LIQUID_RETENTION: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + POWER: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + SURGE: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + STONEWALL: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + HEAD: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + NPSH: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + THERMAL: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + VALVE_CV: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + PRESSURE_DROP: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + VELOCITY: typing.ClassVar["BottleneckAnalyzer.ConstraintType"] = ... + _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: ... + 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]) -> 'BottleneckAnalyzer.ConstraintType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BottleneckAnalyzer.ConstraintType": ... @staticmethod - def values() -> typing.MutableSequence['BottleneckAnalyzer.ConstraintType']: ... + def values() -> typing.MutableSequence["BottleneckAnalyzer.ConstraintType"]: ... + class DebottleneckOption(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def getCapacityIncrease(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getEstimatedCostMUSD(self) -> float: ... def getImplementationMonths(self) -> int: ... def getName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class EquipmentType(java.lang.Enum['BottleneckAnalyzer.EquipmentType']): - SEPARATOR: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - COMPRESSOR: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - PUMP: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - HEAT_EXCHANGER: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - VALVE: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - PIPELINE: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - OTHER: typing.ClassVar['BottleneckAnalyzer.EquipmentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EquipmentType(java.lang.Enum["BottleneckAnalyzer.EquipmentType"]): + SEPARATOR: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + COMPRESSOR: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + PUMP: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + HEAT_EXCHANGER: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + VALVE: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + PIPELINE: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + OTHER: typing.ClassVar["BottleneckAnalyzer.EquipmentType"] = ... + _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: ... + 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]) -> 'BottleneckAnalyzer.EquipmentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BottleneckAnalyzer.EquipmentType": ... @staticmethod - def values() -> typing.MutableSequence['BottleneckAnalyzer.EquipmentType']: ... + def values() -> typing.MutableSequence["BottleneckAnalyzer.EquipmentType"]: ... class ConceptEvaluator: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, flowAssuranceScreener: jneqsim.process.fielddevelopment.screening.FlowAssuranceScreener, safetyScreener: jneqsim.process.fielddevelopment.screening.SafetyScreener, emissionsTracker: jneqsim.process.fielddevelopment.screening.EmissionsTracker, economicsEstimator: jneqsim.process.fielddevelopment.screening.EconomicsEstimator): ... + def __init__( + self, + flowAssuranceScreener: jneqsim.process.fielddevelopment.screening.FlowAssuranceScreener, + safetyScreener: jneqsim.process.fielddevelopment.screening.SafetyScreener, + emissionsTracker: jneqsim.process.fielddevelopment.screening.EmissionsTracker, + economicsEstimator: jneqsim.process.fielddevelopment.screening.EconomicsEstimator, + ): ... @typing.overload - def evaluate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'ConceptKPIs': ... + def evaluate( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "ConceptKPIs": ... @typing.overload - def evaluate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'ConceptKPIs': ... - def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'ConceptKPIs': ... + def evaluate( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "ConceptKPIs": ... + def quickScreen( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "ConceptKPIs": ... class ConceptKPIs(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "ConceptKPIs.Builder": ... def getAnnualEmissionsTonnes(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getBlowdownTimeMinutes(self) -> float: ... @@ -139,15 +192,27 @@ class ConceptKPIs(java.io.Serializable): def getCo2IntensityKgPerBoe(self) -> float: ... def getConceptName(self) -> java.lang.String: ... def getEconomicScore(self) -> float: ... - def getEconomicsReport(self) -> jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport: ... + def getEconomicsReport( + self, + ) -> ( + jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport + ): ... def getEmissionsClass(self) -> java.lang.String: ... - def getEmissionsReport(self) -> jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport: ... + def getEmissionsReport( + self, + ) -> ( + jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport + ): ... def getEnvironmentalScore(self) -> float: ... def getEstimatedRecoveryPercent(self) -> float: ... def getEvaluationTime(self) -> java.time.LocalDateTime: ... def getFieldLifeYears(self) -> float: ... - def getFlowAssuranceOverall(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... - def getFlowAssuranceReport(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceReport: ... + def getFlowAssuranceOverall( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getFlowAssuranceReport( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceReport: ... def getHydrateMarginC(self) -> float: ... def getMinMetalTempC(self) -> float: ... def getNotes(self) -> java.util.Map[java.lang.String, java.lang.String]: ... @@ -155,8 +220,12 @@ class ConceptKPIs(java.io.Serializable): def getOneLiner(self) -> java.lang.String: ... def getOverallScore(self) -> float: ... def getPlateauRateMsm3d(self) -> float: ... - def getSafetyLevel(self) -> jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel: ... - def getSafetyReport(self) -> jneqsim.process.fielddevelopment.screening.SafetyReport: ... + def getSafetyLevel( + self, + ) -> jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel: ... + def getSafetyReport( + self, + ) -> jneqsim.process.fielddevelopment.screening.SafetyReport: ... def getSummary(self) -> java.lang.String: ... def getTechnicalScore(self) -> float: ... def getTotalCapexMUSD(self) -> float: ... @@ -164,171 +233,271 @@ class ConceptKPIs(java.io.Serializable): def getWaxMarginC(self) -> float: ... def hasBlockingIssues(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addNote(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... - def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... - def annualEmissions(self, double: float) -> 'ConceptKPIs.Builder': ... - def annualOpex(self, double: float) -> 'ConceptKPIs.Builder': ... - def blowdownTime(self, double: float) -> 'ConceptKPIs.Builder': ... - def breakEvenPrice(self, double: float) -> 'ConceptKPIs.Builder': ... - def build(self) -> 'ConceptKPIs': ... - def co2Intensity(self, double: float) -> 'ConceptKPIs.Builder': ... - def economicScore(self, double: float) -> 'ConceptKPIs.Builder': ... - def economicsReport(self, economicsReport: jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport) -> 'ConceptKPIs.Builder': ... - def emissionsClass(self, string: typing.Union[java.lang.String, str]) -> 'ConceptKPIs.Builder': ... - def emissionsReport(self, emissionsReport: jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport) -> 'ConceptKPIs.Builder': ... - def environmentalScore(self, double: float) -> 'ConceptKPIs.Builder': ... - def estimatedRecovery(self, double: float) -> 'ConceptKPIs.Builder': ... - def evaluationTime(self, localDateTime: java.time.LocalDateTime) -> 'ConceptKPIs.Builder': ... - def fieldLife(self, double: float) -> 'ConceptKPIs.Builder': ... - def flowAssuranceOverall(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> 'ConceptKPIs.Builder': ... - def flowAssuranceReport(self, flowAssuranceReport: jneqsim.process.fielddevelopment.screening.FlowAssuranceReport) -> 'ConceptKPIs.Builder': ... - def hydrateMargin(self, double: float) -> 'ConceptKPIs.Builder': ... - def minMetalTemp(self, double: float) -> 'ConceptKPIs.Builder': ... - def npv10(self, double: float) -> 'ConceptKPIs.Builder': ... - def overallScore(self, double: float) -> 'ConceptKPIs.Builder': ... - def plateauRate(self, double: float) -> 'ConceptKPIs.Builder': ... - def safetyLevel(self, safetyLevel: jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel) -> 'ConceptKPIs.Builder': ... - def safetyReport(self, safetyReport: jneqsim.process.fielddevelopment.screening.SafetyReport) -> 'ConceptKPIs.Builder': ... - def technicalScore(self, double: float) -> 'ConceptKPIs.Builder': ... - def totalCapex(self, double: float) -> 'ConceptKPIs.Builder': ... - def waxMargin(self, double: float) -> 'ConceptKPIs.Builder': ... + def addNote( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ConceptKPIs.Builder": ... + def addWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ConceptKPIs.Builder": ... + def annualEmissions(self, double: float) -> "ConceptKPIs.Builder": ... + def annualOpex(self, double: float) -> "ConceptKPIs.Builder": ... + def blowdownTime(self, double: float) -> "ConceptKPIs.Builder": ... + def breakEvenPrice(self, double: float) -> "ConceptKPIs.Builder": ... + def build(self) -> "ConceptKPIs": ... + def co2Intensity(self, double: float) -> "ConceptKPIs.Builder": ... + def economicScore(self, double: float) -> "ConceptKPIs.Builder": ... + def economicsReport( + self, + economicsReport: jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport, + ) -> "ConceptKPIs.Builder": ... + def emissionsClass( + self, string: typing.Union[java.lang.String, str] + ) -> "ConceptKPIs.Builder": ... + def emissionsReport( + self, + emissionsReport: jneqsim.process.fielddevelopment.screening.EmissionsTracker.EmissionsReport, + ) -> "ConceptKPIs.Builder": ... + def environmentalScore(self, double: float) -> "ConceptKPIs.Builder": ... + def estimatedRecovery(self, double: float) -> "ConceptKPIs.Builder": ... + def evaluationTime( + self, localDateTime: java.time.LocalDateTime + ) -> "ConceptKPIs.Builder": ... + def fieldLife(self, double: float) -> "ConceptKPIs.Builder": ... + def flowAssuranceOverall( + self, + flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult, + ) -> "ConceptKPIs.Builder": ... + def flowAssuranceReport( + self, + flowAssuranceReport: jneqsim.process.fielddevelopment.screening.FlowAssuranceReport, + ) -> "ConceptKPIs.Builder": ... + def hydrateMargin(self, double: float) -> "ConceptKPIs.Builder": ... + def minMetalTemp(self, double: float) -> "ConceptKPIs.Builder": ... + def npv10(self, double: float) -> "ConceptKPIs.Builder": ... + def overallScore(self, double: float) -> "ConceptKPIs.Builder": ... + def plateauRate(self, double: float) -> "ConceptKPIs.Builder": ... + def safetyLevel( + self, + safetyLevel: jneqsim.process.fielddevelopment.screening.SafetyReport.SafetyLevel, + ) -> "ConceptKPIs.Builder": ... + def safetyReport( + self, safetyReport: jneqsim.process.fielddevelopment.screening.SafetyReport + ) -> "ConceptKPIs.Builder": ... + def technicalScore(self, double: float) -> "ConceptKPIs.Builder": ... + def totalCapex(self, double: float) -> "ConceptKPIs.Builder": ... + def waxMargin(self, double: float) -> "ConceptKPIs.Builder": ... class DecommissioningEstimator(java.io.Serializable): def __init__(self): ... def generateReport(self) -> java.lang.String: ... - def getCostBreakdown(self) -> java.util.List['DecommissioningEstimator.CostItem']: ... + def getCostBreakdown( + self, + ) -> java.util.List["DecommissioningEstimator.CostItem"]: ... def getEstimatedDurationMonths(self) -> int: ... @typing.overload def getPipelineDecomCostMUSD(self) -> float: ... @typing.overload - def getPipelineDecomCostMUSD(self, pipelineStrategy: 'DecommissioningEstimator.PipelineStrategy') -> float: ... + def getPipelineDecomCostMUSD( + self, pipelineStrategy: "DecommissioningEstimator.PipelineStrategy" + ) -> float: ... def getSiteRemediationCostMUSD(self) -> float: ... def getSubstructureRemovalCostMUSD(self) -> float: ... def getTopsideRemovalCostMUSD(self) -> float: ... @typing.overload def getTotalCostMUSD(self) -> float: ... @typing.overload - def getTotalCostMUSD(self, pipelineStrategy: 'DecommissioningEstimator.PipelineStrategy') -> float: ... + def getTotalCostMUSD( + self, pipelineStrategy: "DecommissioningEstimator.PipelineStrategy" + ) -> float: ... def getWellPACostMUSD(self) -> float: ... - def setAverageWellDepth(self, double: float) -> 'DecommissioningEstimator': ... - def setFacilityType(self, facilityType: 'DecommissioningEstimator.FacilityType') -> 'DecommissioningEstimator': ... - def setNumberOfRisers(self, int: int) -> 'DecommissioningEstimator': ... - def setNumberOfSubseaStructures(self, int: int) -> 'DecommissioningEstimator': ... - def setNumberOfWells(self, int: int) -> 'DecommissioningEstimator': ... - def setPipelineDiameter(self, double: float) -> 'DecommissioningEstimator': ... - def setPipelineLength(self, double: float) -> 'DecommissioningEstimator': ... - def setSubstructureWeight(self, double: float) -> 'DecommissioningEstimator': ... - def setTopsideWeight(self, double: float) -> 'DecommissioningEstimator': ... - def setWaterDepth(self, double: float) -> 'DecommissioningEstimator': ... + def setAverageWellDepth(self, double: float) -> "DecommissioningEstimator": ... + def setFacilityType( + self, facilityType: "DecommissioningEstimator.FacilityType" + ) -> "DecommissioningEstimator": ... + def setNumberOfRisers(self, int: int) -> "DecommissioningEstimator": ... + def setNumberOfSubseaStructures(self, int: int) -> "DecommissioningEstimator": ... + def setNumberOfWells(self, int: int) -> "DecommissioningEstimator": ... + def setPipelineDiameter(self, double: float) -> "DecommissioningEstimator": ... + def setPipelineLength(self, double: float) -> "DecommissioningEstimator": ... + def setSubstructureWeight(self, double: float) -> "DecommissioningEstimator": ... + def setTopsideWeight(self, double: float) -> "DecommissioningEstimator": ... + def setWaterDepth(self, double: float) -> "DecommissioningEstimator": ... + class CostItem(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getCostMUSD(self) -> float: ... def getNotes(self) -> java.lang.String: ... - class FacilityType(java.lang.Enum['DecommissioningEstimator.FacilityType']): - FIXED_JACKET: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - GRAVITY_BASED: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - FPSO: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - SEMI_SUBMERSIBLE: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - TLP: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - SPAR: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - SUBSEA_TIEBACK: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - WELLHEAD_PLATFORM: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... - COMPLIANT_TOWER: typing.ClassVar['DecommissioningEstimator.FacilityType'] = ... + + class FacilityType(java.lang.Enum["DecommissioningEstimator.FacilityType"]): + FIXED_JACKET: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + GRAVITY_BASED: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + FPSO: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + SEMI_SUBMERSIBLE: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + TLP: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + SPAR: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + SUBSEA_TIEBACK: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... + WELLHEAD_PLATFORM: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ( + ... + ) + COMPLIANT_TOWER: typing.ClassVar["DecommissioningEstimator.FacilityType"] = ... def getCostFactor(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DecommissioningEstimator.FacilityType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DecommissioningEstimator.FacilityType": ... @staticmethod - def values() -> typing.MutableSequence['DecommissioningEstimator.FacilityType']: ... - class PipelineStrategy(java.lang.Enum['DecommissioningEstimator.PipelineStrategy']): - LEAVE_IN_PLACE: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... - TRENCH_BURY: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... - FULL_REMOVAL: typing.ClassVar['DecommissioningEstimator.PipelineStrategy'] = ... + def values() -> ( + typing.MutableSequence["DecommissioningEstimator.FacilityType"] + ): ... + + class PipelineStrategy(java.lang.Enum["DecommissioningEstimator.PipelineStrategy"]): + LEAVE_IN_PLACE: typing.ClassVar["DecommissioningEstimator.PipelineStrategy"] = ( + ... + ) + TRENCH_BURY: typing.ClassVar["DecommissioningEstimator.PipelineStrategy"] = ... + FULL_REMOVAL: typing.ClassVar["DecommissioningEstimator.PipelineStrategy"] = ... def getCostFactor(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DecommissioningEstimator.PipelineStrategy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DecommissioningEstimator.PipelineStrategy": ... @staticmethod - def values() -> typing.MutableSequence['DecommissioningEstimator.PipelineStrategy']: ... + def values() -> ( + typing.MutableSequence["DecommissioningEstimator.PipelineStrategy"] + ): ... class DevelopmentOptionRanker(java.io.Serializable): def __init__(self): ... @typing.overload - def addOption(self, string: typing.Union[java.lang.String, str]) -> 'DevelopmentOptionRanker.DevelopmentOption': ... + def addOption( + self, string: typing.Union[java.lang.String, str] + ) -> "DevelopmentOptionRanker.DevelopmentOption": ... @typing.overload - def addOption(self, developmentOption: 'DevelopmentOptionRanker.DevelopmentOption') -> None: ... + def addOption( + self, developmentOption: "DevelopmentOptionRanker.DevelopmentOption" + ) -> None: ... def clearOptions(self) -> None: ... - def getOptions(self) -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... - def getWeight(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... + def getOptions( + self, + ) -> java.util.List["DevelopmentOptionRanker.DevelopmentOption"]: ... + def getWeight(self, criterion: "DevelopmentOptionRanker.Criterion") -> float: ... def normalizeWeights(self) -> None: ... - def rank(self) -> 'DevelopmentOptionRanker.RankingResult': ... - def rankByCriterion(self, criterion: 'DevelopmentOptionRanker.Criterion') -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... - def setWeight(self, criterion: 'DevelopmentOptionRanker.Criterion', double: float) -> None: ... + def rank(self) -> "DevelopmentOptionRanker.RankingResult": ... + def rankByCriterion( + self, criterion: "DevelopmentOptionRanker.Criterion" + ) -> java.util.List["DevelopmentOptionRanker.DevelopmentOption"]: ... + def setWeight( + self, criterion: "DevelopmentOptionRanker.Criterion", double: float + ) -> None: ... def setWeightProfile(self, string: typing.Union[java.lang.String, str]) -> None: ... - class Criterion(java.lang.Enum['DevelopmentOptionRanker.Criterion']): - NPV: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - IRR: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - PAYBACK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - CAPITAL_EFFICIENCY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - BREAKEVEN_PRICE: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - TECHNICAL_COMPLEXITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - TECHNICAL_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - RESERVOIR_UNCERTAINTY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - RECOVERY_FACTOR: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - CO2_INTENSITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - TOTAL_EMISSIONS: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - ENVIRONMENTAL_IMPACT: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - STRATEGIC_FIT: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - INFRASTRUCTURE_SYNERGY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - OPTIONALITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - SCHEDULE_FLEXIBILITY: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - HSE_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - EXECUTION_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - COMMERCIAL_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... - REGULATORY_RISK: typing.ClassVar['DevelopmentOptionRanker.Criterion'] = ... + + class Criterion(java.lang.Enum["DevelopmentOptionRanker.Criterion"]): + NPV: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + IRR: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + PAYBACK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + CAPITAL_EFFICIENCY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + BREAKEVEN_PRICE: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + TECHNICAL_COMPLEXITY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + TECHNICAL_RISK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + RESERVOIR_UNCERTAINTY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ( + ... + ) + RECOVERY_FACTOR: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + CO2_INTENSITY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + TOTAL_EMISSIONS: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + ENVIRONMENTAL_IMPACT: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + STRATEGIC_FIT: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + INFRASTRUCTURE_SYNERGY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ( + ... + ) + OPTIONALITY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + SCHEDULE_FLEXIBILITY: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + HSE_RISK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + EXECUTION_RISK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + COMMERCIAL_RISK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... + REGULATORY_RISK: typing.ClassVar["DevelopmentOptionRanker.Criterion"] = ... def getDisplayName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def isHigherBetter(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DevelopmentOptionRanker.Criterion': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DevelopmentOptionRanker.Criterion": ... @staticmethod - def values() -> typing.MutableSequence['DevelopmentOptionRanker.Criterion']: ... + def values() -> typing.MutableSequence["DevelopmentOptionRanker.Criterion"]: ... + class DevelopmentOption(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... - def getNormalizedScore(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... + def getNormalizedScore( + self, criterion: "DevelopmentOptionRanker.Criterion" + ) -> float: ... def getRank(self) -> int: ... - def getScore(self, criterion: 'DevelopmentOptionRanker.Criterion') -> float: ... - def getScores(self) -> java.util.Map['DevelopmentOptionRanker.Criterion', float]: ... + def getScore(self, criterion: "DevelopmentOptionRanker.Criterion") -> float: ... + def getScores( + self, + ) -> java.util.Map["DevelopmentOptionRanker.Criterion", float]: ... def getWeightedScore(self) -> float: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setScore(self, criterion: 'DevelopmentOptionRanker.Criterion', double: float) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setScore( + self, criterion: "DevelopmentOptionRanker.Criterion", double: float + ) -> None: ... + class RankingResult(java.io.Serializable): def __init__(self): ... def generateReport(self) -> java.lang.String: ... - def getBestOption(self) -> 'DevelopmentOptionRanker.DevelopmentOption': ... - def getRankedOptions(self) -> java.util.List['DevelopmentOptionRanker.DevelopmentOption']: ... - def getWeights(self) -> java.util.Map['DevelopmentOptionRanker.Criterion', float]: ... - def sensitivityAnalysis(self, criterion: 'DevelopmentOptionRanker.Criterion') -> java.util.Map[float, java.lang.String]: ... + def getBestOption(self) -> "DevelopmentOptionRanker.DevelopmentOption": ... + def getRankedOptions( + self, + ) -> java.util.List["DevelopmentOptionRanker.DevelopmentOption"]: ... + def getWeights( + self, + ) -> java.util.Map["DevelopmentOptionRanker.Criterion", float]: ... + def sensitivityAnalysis( + self, criterion: "DevelopmentOptionRanker.Criterion" + ) -> java.util.Map[float, java.lang.String]: ... class EnvironmentalReporter(java.io.Serializable): CO2_GAS_TURBINE: typing.ClassVar[float] = ... @@ -341,22 +510,40 @@ class EnvironmentalReporter(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, powerSupplyType: 'EnvironmentalReporter.PowerSupplyType'): ... + def __init__(self, powerSupplyType: "EnvironmentalReporter.PowerSupplyType"): ... @typing.overload - def generateReport(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'EnvironmentalReporter.EnvironmentalReport': ... + def generateReport( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "EnvironmentalReporter.EnvironmentalReport": ... @typing.overload - def generateReport(self, processSystem: jneqsim.process.processmodel.ProcessSystem, producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain) -> 'EnvironmentalReporter.EnvironmentalReport': ... - def getCO2FromFlaring(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def generateReport( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain, + ) -> "EnvironmentalReporter.EnvironmentalReport": ... + def getCO2FromFlaring( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... def getCO2FromPower(self, double: float) -> float: ... def getCO2Intensity(self, double: float) -> float: ... - def getOilDischarge(self, producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain) -> float: ... - def getTotalPowerConsumption(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def setOperatingHours(self, double: float) -> 'EnvironmentalReporter': ... - def setPowerSupplyType(self, powerSupplyType: 'EnvironmentalReporter.PowerSupplyType') -> 'EnvironmentalReporter': ... - def setProduction(self, double: float, double2: float, double3: float) -> 'EnvironmentalReporter': ... + def getOilDischarge( + self, + producedWaterTreatmentTrain: jneqsim.process.equipment.watertreatment.ProducedWaterTreatmentTrain, + ) -> float: ... + def getTotalPowerConsumption( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def setOperatingHours(self, double: float) -> "EnvironmentalReporter": ... + def setPowerSupplyType( + self, powerSupplyType: "EnvironmentalReporter.PowerSupplyType" + ) -> "EnvironmentalReporter": ... + def setProduction( + self, double: float, double2: float, double3: float + ) -> "EnvironmentalReporter": ... + class EnvironmentalReport(java.io.Serializable): totalPowerKW: float = ... - powerSupplyType: 'EnvironmentalReporter.PowerSupplyType' = ... + powerSupplyType: "EnvironmentalReporter.PowerSupplyType" = ... co2FromPowerTonnesYear: float = ... co2FromFlaringTonnesYear: float = ... totalCO2TonnesYear: float = ... @@ -372,32 +559,65 @@ class EnvironmentalReporter(java.io.Serializable): def __init__(self): ... def toMarkdown(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class PowerSupplyType(java.lang.Enum['EnvironmentalReporter.PowerSupplyType']): - GAS_TURBINE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... - DIESEL: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... - COMBINED_CYCLE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... - POWER_FROM_SHORE: typing.ClassVar['EnvironmentalReporter.PowerSupplyType'] = ... + + class PowerSupplyType(java.lang.Enum["EnvironmentalReporter.PowerSupplyType"]): + GAS_TURBINE: typing.ClassVar["EnvironmentalReporter.PowerSupplyType"] = ... + DIESEL: typing.ClassVar["EnvironmentalReporter.PowerSupplyType"] = ... + COMBINED_CYCLE: typing.ClassVar["EnvironmentalReporter.PowerSupplyType"] = ... + POWER_FROM_SHORE: typing.ClassVar["EnvironmentalReporter.PowerSupplyType"] = ... def getEmissionFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EnvironmentalReporter.PowerSupplyType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EnvironmentalReporter.PowerSupplyType": ... @staticmethod - def values() -> typing.MutableSequence['EnvironmentalReporter.PowerSupplyType']: ... + def values() -> ( + typing.MutableSequence["EnvironmentalReporter.PowerSupplyType"] + ): ... class MonteCarloRunner(java.io.Serializable): @typing.overload - def __init__(self, cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine): ... + def __init__( + self, cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine + ): ... @typing.overload - def __init__(self, cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine, long: int): ... - def addLognormal(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def addNormal(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def addTriangular(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addUniform(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def addVariable(self, string: typing.Union[java.lang.String, str], distributionType: 'MonteCarloRunner.DistributionType', double: float, double2: float, double3: float) -> None: ... + def __init__( + self, + cashFlowEngine: jneqsim.process.fielddevelopment.economics.CashFlowEngine, + long: int, + ): ... + def addLognormal( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def addNormal( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def addTriangular( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addUniform( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def addVariable( + self, + string: typing.Union[java.lang.String, str], + distributionType: "MonteCarloRunner.DistributionType", + double: float, + double2: float, + double3: float, + ) -> None: ... def generateReport(self) -> java.lang.String: ... def getConvergedCount(self) -> int: ... def getDiscountRate(self) -> float: ... @@ -406,30 +626,39 @@ class MonteCarloRunner(java.io.Serializable): def getP10(self, string: typing.Union[java.lang.String, str]) -> float: ... def getP50(self, string: typing.Union[java.lang.String, str]) -> float: ... def getP90(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPercentile(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getPercentile( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... def getProbabilityNpvExceeds(self, double: float) -> float: ... def getProbabilityPositiveNpv(self) -> float: ... - def getResults(self) -> java.util.List['MonteCarloRunner.IterationResult']: ... + def getResults(self) -> java.util.List["MonteCarloRunner.IterationResult"]: ... def getStdDev(self, string: typing.Union[java.lang.String, str]) -> float: ... def run(self) -> bool: ... def setDiscountRate(self, double: float) -> None: ... def setIterations(self, int: int) -> None: ... def setSeed(self, long: int) -> None: ... - class DistributionType(java.lang.Enum['MonteCarloRunner.DistributionType']): - TRIANGULAR: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... - NORMAL: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... - LOGNORMAL: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... - UNIFORM: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... - FIXED: typing.ClassVar['MonteCarloRunner.DistributionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DistributionType(java.lang.Enum["MonteCarloRunner.DistributionType"]): + TRIANGULAR: typing.ClassVar["MonteCarloRunner.DistributionType"] = ... + NORMAL: typing.ClassVar["MonteCarloRunner.DistributionType"] = ... + LOGNORMAL: typing.ClassVar["MonteCarloRunner.DistributionType"] = ... + UNIFORM: typing.ClassVar["MonteCarloRunner.DistributionType"] = ... + FIXED: typing.ClassVar["MonteCarloRunner.DistributionType"] = ... + _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: ... + 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]) -> 'MonteCarloRunner.DistributionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MonteCarloRunner.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['MonteCarloRunner.DistributionType']: ... + def values() -> typing.MutableSequence["MonteCarloRunner.DistributionType"]: ... + class IterationResult(java.io.Serializable): def __init__(self): ... def getInputs(self) -> java.util.Map[java.lang.String, float]: ... @@ -439,14 +668,24 @@ class MonteCarloRunner(java.io.Serializable): def getProfitabilityIndex(self) -> float: ... def isConverged(self) -> bool: ... def setConverged(self, boolean: bool) -> None: ... - def setInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setInput( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setIrr(self, double: float) -> None: ... def setNpv(self, double: float) -> None: ... def setPaybackYears(self, double: float) -> None: ... def setProfitabilityIndex(self, double: float) -> None: ... + class UncertainVariable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], distributionType: 'MonteCarloRunner.DistributionType', double: float, double2: float, double3: float): ... - def getDistribution(self) -> 'MonteCarloRunner.DistributionType': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + distributionType: "MonteCarloRunner.DistributionType", + double: float, + double2: float, + double3: float, + ): ... + def getDistribution(self) -> "MonteCarloRunner.DistributionType": ... def getName(self) -> java.lang.String: ... def getParam1(self) -> float: ... def getParam2(self) -> float: ... @@ -455,79 +694,139 @@ class MonteCarloRunner(java.io.Serializable): class ProductionAllocator(java.io.Serializable): def __init__(self): ... @typing.overload - def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProductionAllocator': ... + def addSource( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ProductionAllocator": ... @typing.overload - def addSource(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, meteringType: 'ProductionAllocator.MeteringType') -> 'ProductionAllocator': ... + def addSource( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + meteringType: "ProductionAllocator.MeteringType", + ) -> "ProductionAllocator": ... def allocateByEnergy(self) -> java.util.Map[java.lang.String, float]: ... def allocateByGas(self) -> java.util.Map[java.lang.String, float]: ... def allocateByMass(self) -> java.util.Map[java.lang.String, float]: ... def allocateByOil(self) -> java.util.Map[java.lang.String, float]: ... def generateReport(self) -> java.lang.String: ... - def getAllocatedGasVolumes(self, double: float) -> java.util.Map[java.lang.String, float]: ... - def getAllocatedOilVolumes(self, double: float) -> java.util.Map[java.lang.String, float]: ... - def getAllocatedWithUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> typing.MutableSequence[float]: ... + def getAllocatedGasVolumes( + self, double: float + ) -> java.util.Map[java.lang.String, float]: ... + def getAllocatedOilVolumes( + self, double: float + ) -> java.util.Map[java.lang.String, float]: ... + def getAllocatedWithUncertainty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> typing.MutableSequence[float]: ... def getMassImbalance(self) -> float: ... def getOverallUncertainty(self) -> float: ... - def getSourceUncertainty(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSourceUncertainty( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isBalanceAcceptable(self, double: float) -> bool: ... - def setExportMeter(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, meteringType: 'ProductionAllocator.MeteringType') -> 'ProductionAllocator': ... - class MeteringType(java.lang.Enum['ProductionAllocator.MeteringType']): - ULTRASONIC: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - CORIOLIS: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - DIFFERENTIAL_PRESSURE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - VORTEX: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - TURBINE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - MULTIPHASE: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - TEST_SEPARATOR: typing.ClassVar['ProductionAllocator.MeteringType'] = ... - ESTIMATED: typing.ClassVar['ProductionAllocator.MeteringType'] = ... + def setExportMeter( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + meteringType: "ProductionAllocator.MeteringType", + ) -> "ProductionAllocator": ... + + class MeteringType(java.lang.Enum["ProductionAllocator.MeteringType"]): + ULTRASONIC: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + CORIOLIS: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + DIFFERENTIAL_PRESSURE: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + VORTEX: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + TURBINE: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + MULTIPHASE: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + TEST_SEPARATOR: typing.ClassVar["ProductionAllocator.MeteringType"] = ... + ESTIMATED: typing.ClassVar["ProductionAllocator.MeteringType"] = ... def getDisplayName(self) -> java.lang.String: ... def getUncertainty(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ProductionAllocator.MeteringType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionAllocator.MeteringType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionAllocator.MeteringType']: ... + def values() -> typing.MutableSequence["ProductionAllocator.MeteringType"]: ... class ReservesClassification(java.io.Serializable): def __init__(self): ... @typing.overload - def classify(self, string: typing.Union[java.lang.String, str]) -> 'ReservesClassification.Result': ... + def classify( + self, string: typing.Union[java.lang.String, str] + ) -> "ReservesClassification.Result": ... @typing.overload - def classify(self, string: typing.Union[java.lang.String, str], boolean: bool) -> 'ReservesClassification.Result': ... - class ResourceCategory(java.lang.Enum['ReservesClassification.ResourceCategory']): - RESERVES: typing.ClassVar['ReservesClassification.ResourceCategory'] = ... - CONTINGENT_RESOURCES: typing.ClassVar['ReservesClassification.ResourceCategory'] = ... - PROSPECTIVE_RESOURCES: typing.ClassVar['ReservesClassification.ResourceCategory'] = ... - UNRECOVERABLE: typing.ClassVar['ReservesClassification.ResourceCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def classify( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> "ReservesClassification.Result": ... + + class ResourceCategory(java.lang.Enum["ReservesClassification.ResourceCategory"]): + RESERVES: typing.ClassVar["ReservesClassification.ResourceCategory"] = ... + CONTINGENT_RESOURCES: typing.ClassVar[ + "ReservesClassification.ResourceCategory" + ] = ... + PROSPECTIVE_RESOURCES: typing.ClassVar[ + "ReservesClassification.ResourceCategory" + ] = ... + UNRECOVERABLE: typing.ClassVar["ReservesClassification.ResourceCategory"] = ... + _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: ... + 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]) -> 'ReservesClassification.ResourceCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservesClassification.ResourceCategory": ... @staticmethod - def values() -> typing.MutableSequence['ReservesClassification.ResourceCategory']: ... + def values() -> ( + typing.MutableSequence["ReservesClassification.ResourceCategory"] + ): ... + class Result(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], resourceCategory: 'ReservesClassification.ResourceCategory', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + resourceCategory: "ReservesClassification.ResourceCategory", + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getMaturityWarning(self) -> java.lang.String: ... def getPrmsClassRange(self) -> java.lang.String: ... - def getResourceCategory(self) -> 'ReservesClassification.ResourceCategory': ... + def getResourceCategory(self) -> "ReservesClassification.ResourceCategory": ... def getResourceClass(self) -> java.lang.String: ... class ScenarioAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addScenario(self, string: typing.Union[java.lang.String, str], scenarioParameters: 'ScenarioAnalyzer.ScenarioParameters') -> 'ScenarioAnalyzer': ... - def clearScenarios(self) -> 'ScenarioAnalyzer': ... + def addScenario( + self, + string: typing.Union[java.lang.String, str], + scenarioParameters: "ScenarioAnalyzer.ScenarioParameters", + ) -> "ScenarioAnalyzer": ... + def clearScenarios(self) -> "ScenarioAnalyzer": ... def generateReport(self) -> java.lang.String: ... - def getResult(self, string: typing.Union[java.lang.String, str]) -> 'ScenarioAnalyzer.ScenarioResult': ... - def getResults(self) -> java.util.List['ScenarioAnalyzer.ScenarioResult']: ... - def runAll(self) -> java.util.List['ScenarioAnalyzer.ScenarioResult']: ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ScenarioAnalyzer': ... + def getResult( + self, string: typing.Union[java.lang.String, str] + ) -> "ScenarioAnalyzer.ScenarioResult": ... + def getResults(self) -> java.util.List["ScenarioAnalyzer.ScenarioResult"]: ... + def runAll(self) -> java.util.List["ScenarioAnalyzer.ScenarioResult"]: ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "ScenarioAnalyzer": ... + class ScenarioParameters(java.io.Serializable): def __init__(self): ... def getGOR(self) -> float: ... @@ -538,13 +837,26 @@ class ScenarioAnalyzer(java.io.Serializable): def getTotalMassRate(self) -> float: ... def getWaterCut(self) -> float: ... def getWaterRate(self) -> float: ... - def setGOR(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setGasRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setOilRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setPressure(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setTemperature(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setWaterCut(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... - def setWaterRate(self, double: float) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def setGOR(self, double: float) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setGasRate( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setOilRate( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setPressure( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setTemperature( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setWaterCut( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + def setWaterRate( + self, double: float + ) -> "ScenarioAnalyzer.ScenarioParameters": ... + class ScenarioResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getCO2TonnesPerDay(self) -> float: ... @@ -552,46 +864,81 @@ class ScenarioAnalyzer(java.io.Serializable): def getErrorMessage(self) -> java.lang.String: ... def getHeatingDutyMW(self) -> float: ... def getName(self) -> java.lang.String: ... - def getParameters(self) -> 'ScenarioAnalyzer.ScenarioParameters': ... + def getParameters(self) -> "ScenarioAnalyzer.ScenarioParameters": ... def getPowerMW(self) -> float: ... def isConverged(self) -> bool: ... def setCO2TonnesPerDay(self, double: float) -> None: ... def setConverged(self, boolean: bool) -> None: ... def setCoolingDutyMW(self, double: float) -> None: ... - def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setErrorMessage( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeatingDutyMW(self, double: float) -> None: ... - def setParameters(self, scenarioParameters: 'ScenarioAnalyzer.ScenarioParameters') -> None: ... + def setParameters( + self, scenarioParameters: "ScenarioAnalyzer.ScenarioParameters" + ) -> None: ... def setPowerMW(self, double: float) -> None: ... class SeparatorSizingCalculator(java.io.Serializable): def __init__(self): ... - def createSeparator(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, separatorSizingResult: 'SeparatorSizingCalculator.SeparatorSizingResult') -> jneqsim.process.equipment.separator.Separator: ... - def gasBubbleRiseInLiquid(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def createSeparator( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + separatorSizingResult: "SeparatorSizingCalculator.SeparatorSizingResult", + ) -> jneqsim.process.equipment.separator.Separator: ... + def gasBubbleRiseInLiquid( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def getAPI12JRetentionTime(self, double: float) -> float: ... def getAPI12JRetentionTimeFromAPI(self, double: float) -> float: ... - def getRecommendedKFactor(self, separatorType: 'SeparatorSizingCalculator.SeparatorType', boolean: bool) -> float: ... - def oilDropletSettlingInGas(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def getRecommendedKFactor( + self, separatorType: "SeparatorSizingCalculator.SeparatorType", boolean: bool + ) -> float: ... + def oilDropletSettlingInGas( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def separationTime(self, double: float, double2: float) -> float: ... - def sizeSeparator(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, separatorType: 'SeparatorSizingCalculator.SeparatorType', designStandard: 'SeparatorSizingCalculator.DesignStandard') -> 'SeparatorSizingCalculator.SeparatorSizingResult': ... - def sizeUsingNeqSimDesign(self, separator: jneqsim.process.equipment.separator.Separator) -> 'SeparatorSizingCalculator.SeparatorSizingResult': ... - def soudersbrownGasVelocity(self, double: float, double2: float, double3: float) -> float: ... - def stokesSettlingVelocity(self, double: float, double2: float, double3: float, double4: float) -> float: ... - class DesignStandard(java.lang.Enum['SeparatorSizingCalculator.DesignStandard']): - API_12J: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... - GPSA: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... - SHELL_DEP: typing.ClassVar['SeparatorSizingCalculator.DesignStandard'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def sizeSeparator( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + separatorType: "SeparatorSizingCalculator.SeparatorType", + designStandard: "SeparatorSizingCalculator.DesignStandard", + ) -> "SeparatorSizingCalculator.SeparatorSizingResult": ... + def sizeUsingNeqSimDesign( + self, separator: jneqsim.process.equipment.separator.Separator + ) -> "SeparatorSizingCalculator.SeparatorSizingResult": ... + def soudersbrownGasVelocity( + self, double: float, double2: float, double3: float + ) -> float: ... + def stokesSettlingVelocity( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... + + class DesignStandard(java.lang.Enum["SeparatorSizingCalculator.DesignStandard"]): + API_12J: typing.ClassVar["SeparatorSizingCalculator.DesignStandard"] = ... + GPSA: typing.ClassVar["SeparatorSizingCalculator.DesignStandard"] = ... + SHELL_DEP: typing.ClassVar["SeparatorSizingCalculator.DesignStandard"] = ... + _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: ... + 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]) -> 'SeparatorSizingCalculator.DesignStandard': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SeparatorSizingCalculator.DesignStandard": ... @staticmethod - def values() -> typing.MutableSequence['SeparatorSizingCalculator.DesignStandard']: ... + def values() -> ( + typing.MutableSequence["SeparatorSizingCalculator.DesignStandard"] + ): ... + class SeparatorSizingResult(java.io.Serializable): - separatorType: 'SeparatorSizingCalculator.SeparatorType' = ... - designStandard: 'SeparatorSizingCalculator.DesignStandard' = ... + separatorType: "SeparatorSizingCalculator.SeparatorType" = ... + designStandard: "SeparatorSizingCalculator.DesignStandard" = ... internalDiameter: float = ... tanTanLength: float = ... slendernessRatio: float = ... @@ -607,20 +954,27 @@ class SeparatorSizingCalculator(java.io.Serializable): def getLiquidVolume(self) -> float: ... def getVolume(self) -> float: ... def toString(self) -> java.lang.String: ... - class SeparatorType(java.lang.Enum['SeparatorSizingCalculator.SeparatorType']): - HORIZONTAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... - VERTICAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... - SPHERICAL: typing.ClassVar['SeparatorSizingCalculator.SeparatorType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SeparatorType(java.lang.Enum["SeparatorSizingCalculator.SeparatorType"]): + HORIZONTAL: typing.ClassVar["SeparatorSizingCalculator.SeparatorType"] = ... + VERTICAL: typing.ClassVar["SeparatorSizingCalculator.SeparatorType"] = ... + SPHERICAL: typing.ClassVar["SeparatorSizingCalculator.SeparatorType"] = ... + _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: ... + 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]) -> 'SeparatorSizingCalculator.SeparatorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SeparatorSizingCalculator.SeparatorType": ... @staticmethod - def values() -> typing.MutableSequence['SeparatorSizingCalculator.SeparatorType']: ... - + def values() -> ( + typing.MutableSequence["SeparatorSizingCalculator.SeparatorType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.evaluation")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi index 2d4ce67b..3385625d 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/facility/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,142 +12,194 @@ import jneqsim.process.fielddevelopment.concept import jneqsim.process.processmodel import typing - - class BlockConfig(java.io.Serializable): @staticmethod - def co2Amine(double: float) -> 'BlockConfig': ... + def co2Amine(double: float) -> "BlockConfig": ... @staticmethod - def co2Membrane(double: float) -> 'BlockConfig': ... + def co2Membrane(double: float) -> "BlockConfig": ... @typing.overload @staticmethod - def compression(int: int) -> 'BlockConfig': ... + def compression(int: int) -> "BlockConfig": ... @typing.overload @staticmethod - def compression(int: int, double: float) -> 'BlockConfig': ... - def getDoubleParameter(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getIntParameter(self, string: typing.Union[java.lang.String, str], int: int) -> int: ... + def compression(int: int, double: float) -> "BlockConfig": ... + def getDoubleParameter( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getIntParameter( + self, string: typing.Union[java.lang.String, str], int: int + ) -> int: ... def getName(self) -> java.lang.String: ... - _getParameter__T = typing.TypeVar('_getParameter__T') # - def getParameter(self, string: typing.Union[java.lang.String, str], t: _getParameter__T) -> _getParameter__T: ... + _getParameter__T = typing.TypeVar("_getParameter__T") # + def getParameter( + self, string: typing.Union[java.lang.String, str], t: _getParameter__T + ) -> _getParameter__T: ... def getParameters(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getType(self) -> 'BlockType': ... + def getType(self) -> "BlockType": ... @staticmethod - def inletSeparation(double: float, double2: float) -> 'BlockConfig': ... + def inletSeparation(double: float, double2: float) -> "BlockConfig": ... @typing.overload @staticmethod - def of(blockType: 'BlockType') -> 'BlockConfig': ... + def of(blockType: "BlockType") -> "BlockConfig": ... @typing.overload @staticmethod - def of(blockType: 'BlockType', string: typing.Union[java.lang.String, str]) -> 'BlockConfig': ... + def of( + blockType: "BlockType", string: typing.Union[java.lang.String, str] + ) -> "BlockConfig": ... @typing.overload @staticmethod - def of(blockType: 'BlockType', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'BlockConfig': ... + def of( + blockType: "BlockType", + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "BlockConfig": ... @staticmethod - def oilStabilization(int: int, double: float) -> 'BlockConfig': ... + def oilStabilization(int: int, double: float) -> "BlockConfig": ... @staticmethod - def tegDehydration(double: float) -> 'BlockConfig': ... + def tegDehydration(double: float) -> "BlockConfig": ... def toString(self) -> java.lang.String: ... -class BlockType(java.lang.Enum['BlockType']): - INLET_SEPARATION: typing.ClassVar['BlockType'] = ... - TWO_PHASE_SEPARATOR: typing.ClassVar['BlockType'] = ... - THREE_PHASE_SEPARATOR: typing.ClassVar['BlockType'] = ... - COMPRESSION: typing.ClassVar['BlockType'] = ... - TEG_DEHYDRATION: typing.ClassVar['BlockType'] = ... - MEG_REGENERATION: typing.ClassVar['BlockType'] = ... - CO2_REMOVAL_MEMBRANE: typing.ClassVar['BlockType'] = ... - CO2_REMOVAL_AMINE: typing.ClassVar['BlockType'] = ... - H2S_REMOVAL: typing.ClassVar['BlockType'] = ... - NGL_RECOVERY: typing.ClassVar['BlockType'] = ... - DEW_POINT_CONTROL: typing.ClassVar['BlockType'] = ... - EXPORT_CONDITIONING: typing.ClassVar['BlockType'] = ... - OIL_STABILIZATION: typing.ClassVar['BlockType'] = ... - WATER_TREATMENT: typing.ClassVar['BlockType'] = ... - SUBSEA_BOOSTING: typing.ClassVar['BlockType'] = ... - GAS_COOLING: typing.ClassVar['BlockType'] = ... - HEAT_EXCHANGE: typing.ClassVar['BlockType'] = ... - FLARE_SYSTEM: typing.ClassVar['BlockType'] = ... - POWER_GENERATION: typing.ClassVar['BlockType'] = ... +class BlockType(java.lang.Enum["BlockType"]): + INLET_SEPARATION: typing.ClassVar["BlockType"] = ... + TWO_PHASE_SEPARATOR: typing.ClassVar["BlockType"] = ... + THREE_PHASE_SEPARATOR: typing.ClassVar["BlockType"] = ... + COMPRESSION: typing.ClassVar["BlockType"] = ... + TEG_DEHYDRATION: typing.ClassVar["BlockType"] = ... + MEG_REGENERATION: typing.ClassVar["BlockType"] = ... + CO2_REMOVAL_MEMBRANE: typing.ClassVar["BlockType"] = ... + CO2_REMOVAL_AMINE: typing.ClassVar["BlockType"] = ... + H2S_REMOVAL: typing.ClassVar["BlockType"] = ... + NGL_RECOVERY: typing.ClassVar["BlockType"] = ... + DEW_POINT_CONTROL: typing.ClassVar["BlockType"] = ... + EXPORT_CONDITIONING: typing.ClassVar["BlockType"] = ... + OIL_STABILIZATION: typing.ClassVar["BlockType"] = ... + WATER_TREATMENT: typing.ClassVar["BlockType"] = ... + SUBSEA_BOOSTING: typing.ClassVar["BlockType"] = ... + GAS_COOLING: typing.ClassVar["BlockType"] = ... + HEAT_EXCHANGE: typing.ClassVar["BlockType"] = ... + FLARE_SYSTEM: typing.ClassVar["BlockType"] = ... + POWER_GENERATION: typing.ClassVar["BlockType"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def isEmissionSource(self) -> bool: ... def isHighCapex(self) -> bool: ... def isPowerConsumer(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'BlockType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "BlockType": ... @staticmethod - def values() -> typing.MutableSequence['BlockType']: ... + def values() -> typing.MutableSequence["BlockType"]: ... class ConceptToProcessLinker(java.io.Serializable): def __init__(self): ... - def generateProcessSystem(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, fidelityLevel: 'ConceptToProcessLinker.FidelityLevel') -> jneqsim.process.processmodel.ProcessSystem: ... - def getTotalCoolingMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def getTotalHeatingMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def getTotalPowerMW(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def getUtilitySummary(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.lang.String: ... + def generateProcessSystem( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + fidelityLevel: "ConceptToProcessLinker.FidelityLevel", + ) -> jneqsim.process.processmodel.ProcessSystem: ... + def getTotalCoolingMW( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def getTotalHeatingMW( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def getTotalPowerMW( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def getUtilitySummary( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> java.lang.String: ... def setCompressionEfficiency(self, double: float) -> None: ... def setExportGasPressure(self, double: float) -> None: ... def setHpSeparatorPressure(self, double: float) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setLpSeparatorPressure(self, double: float) -> None: ... - class FidelityLevel(java.lang.Enum['ConceptToProcessLinker.FidelityLevel']): - SCREENING: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... - CONCEPT: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... - PRE_FEED: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... - FEED: typing.ClassVar['ConceptToProcessLinker.FidelityLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FidelityLevel(java.lang.Enum["ConceptToProcessLinker.FidelityLevel"]): + SCREENING: typing.ClassVar["ConceptToProcessLinker.FidelityLevel"] = ... + CONCEPT: typing.ClassVar["ConceptToProcessLinker.FidelityLevel"] = ... + PRE_FEED: typing.ClassVar["ConceptToProcessLinker.FidelityLevel"] = ... + FEED: typing.ClassVar["ConceptToProcessLinker.FidelityLevel"] = ... + _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: ... + 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]) -> 'ConceptToProcessLinker.FidelityLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConceptToProcessLinker.FidelityLevel": ... @staticmethod - def values() -> typing.MutableSequence['ConceptToProcessLinker.FidelityLevel']: ... - class ProcessTemplate(java.lang.Enum['ConceptToProcessLinker.ProcessTemplate']): - OIL_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... - GAS_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... - GAS_CONDENSATE: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... - HEAVY_OIL: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... - TIEBACK_PROCESSING: typing.ClassVar['ConceptToProcessLinker.ProcessTemplate'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ConceptToProcessLinker.FidelityLevel"] + ): ... + + class ProcessTemplate(java.lang.Enum["ConceptToProcessLinker.ProcessTemplate"]): + OIL_PROCESSING: typing.ClassVar["ConceptToProcessLinker.ProcessTemplate"] = ... + GAS_PROCESSING: typing.ClassVar["ConceptToProcessLinker.ProcessTemplate"] = ... + GAS_CONDENSATE: typing.ClassVar["ConceptToProcessLinker.ProcessTemplate"] = ... + HEAVY_OIL: typing.ClassVar["ConceptToProcessLinker.ProcessTemplate"] = ... + TIEBACK_PROCESSING: typing.ClassVar[ + "ConceptToProcessLinker.ProcessTemplate" + ] = ... + _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: ... + 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]) -> 'ConceptToProcessLinker.ProcessTemplate': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConceptToProcessLinker.ProcessTemplate": ... @staticmethod - def values() -> typing.MutableSequence['ConceptToProcessLinker.ProcessTemplate']: ... + def values() -> ( + typing.MutableSequence["ConceptToProcessLinker.ProcessTemplate"] + ): ... class FacilityBuilder(java.io.Serializable): @typing.overload - def addBlock(self, blockConfig: BlockConfig) -> 'FacilityBuilder': ... + def addBlock(self, blockConfig: BlockConfig) -> "FacilityBuilder": ... @typing.overload - def addBlock(self, blockType: BlockType) -> 'FacilityBuilder': ... - def addCo2Amine(self, double: float) -> 'FacilityBuilder': ... - def addCo2Membrane(self, double: float) -> 'FacilityBuilder': ... + def addBlock(self, blockType: BlockType) -> "FacilityBuilder": ... + def addCo2Amine(self, double: float) -> "FacilityBuilder": ... + def addCo2Membrane(self, double: float) -> "FacilityBuilder": ... @typing.overload - def addCompression(self, int: int) -> 'FacilityBuilder': ... + def addCompression(self, int: int) -> "FacilityBuilder": ... @typing.overload - def addCompression(self, int: int, double: float) -> 'FacilityBuilder': ... - def addTegDehydration(self, double: float) -> 'FacilityBuilder': ... + def addCompression(self, int: int, double: float) -> "FacilityBuilder": ... + def addTegDehydration(self, double: float) -> "FacilityBuilder": ... @staticmethod - def autoGenerate(fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FacilityBuilder': ... - def build(self) -> 'FacilityConfig': ... - def designMargin(self, double: float) -> 'FacilityBuilder': ... + def autoGenerate( + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + ) -> "FacilityBuilder": ... + def build(self) -> "FacilityConfig": ... + def designMargin(self, double: float) -> "FacilityBuilder": ... @staticmethod - def forConcept(fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FacilityBuilder': ... - def includeFlare(self, boolean: bool) -> 'FacilityBuilder': ... - def includePowerGeneration(self, boolean: bool) -> 'FacilityBuilder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'FacilityBuilder': ... - def withRedundancy(self, string: typing.Union[java.lang.String, str], int: int) -> 'FacilityBuilder': ... + def forConcept( + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + ) -> "FacilityBuilder": ... + def includeFlare(self, boolean: bool) -> "FacilityBuilder": ... + def includePowerGeneration(self, boolean: bool) -> "FacilityBuilder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "FacilityBuilder": ... + def withRedundancy( + self, string: typing.Union[java.lang.String, str], int: int + ) -> "FacilityBuilder": ... class FacilityConfig(java.io.Serializable): def getBlockCount(self) -> int: ... @@ -166,7 +218,6 @@ class FacilityConfig(java.io.Serializable): def isComplex(self) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.facility")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi index b4955bc1..8563944f 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/integrated/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,14 +13,29 @@ import jneqsim.process.equipment.pipeline import jneqsim.process.equipment.reservoir import typing - - class GasLiftNetworkOptimizer(java.io.Serializable): def __init__(self): ... - def addWell(self, string: typing.Union[java.lang.String, str], gasLiftPerformanceCurve: 'GasLiftPerformanceCurve') -> 'GasLiftNetworkOptimizer': ... - def allocate(self, double: float) -> 'GasLiftNetworkOptimizer.AllocationResult': ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + gasLiftPerformanceCurve: "GasLiftPerformanceCurve", + ) -> "GasLiftNetworkOptimizer": ... + def allocate(self, double: float) -> "GasLiftNetworkOptimizer.AllocationResult": ... + class AllocationResult(java.io.Serializable): - def __init__(self, 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]], double: float, double2: float): ... + def __init__( + self, + 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], + ], + double: float, + double2: float, + ): ... def getLiftRates(self) -> java.util.Map[java.lang.String, float]: ... def getOilRates(self) -> java.util.Map[java.lang.String, float]: ... def getTotalLift(self) -> float: ... @@ -28,9 +43,15 @@ class GasLiftNetworkOptimizer(java.io.Serializable): class GasLiftPerformanceCurve(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... def getBaseOilRate(self) -> float: ... def getMaxLiftRate(self) -> float: ... def incrementalSlope(self, double: float) -> float: ... @@ -41,27 +62,56 @@ class IntegratedProductionModel(java.io.Serializable): EXPORT_NODE: typing.ClassVar[java.lang.String] = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addWell(self, string: typing.Union[java.lang.String, str], reservoirDrive: 'ReservoirDrive', wellDeliverabilityCurve: 'WellDeliverabilityCurve') -> 'IntegratedProductionModel.WellUnit': ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + reservoirDrive: "ReservoirDrive", + wellDeliverabilityCurve: "WellDeliverabilityCurve", + ) -> "IntegratedProductionModel.WellUnit": ... @typing.overload - def addWell(self, string: typing.Union[java.lang.String, str], reservoirDrive: 'ReservoirDrive', wellDeliverabilityCurve: 'WellDeliverabilityCurve', flowlineBranch: 'FlowlineBranch') -> 'IntegratedProductionModel.WellUnit': ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + reservoirDrive: "ReservoirDrive", + wellDeliverabilityCurve: "WellDeliverabilityCurve", + flowlineBranch: "FlowlineBranch", + ) -> "IntegratedProductionModel.WellUnit": ... def getName(self) -> java.lang.String: ... - def getWells(self) -> java.util.List['IntegratedProductionModel.WellUnit']: ... - def runProfile(self, double: float, double2: float) -> 'ProductionProfile': ... - def setEmissionIntensity(self, double: float) -> 'IntegratedProductionModel': ... - def setEnergyIntensity(self, double: float) -> 'IntegratedProductionModel': ... - def setExportPressure(self, double: float) -> 'IntegratedProductionModel': ... - def setHydrocarbonPrice(self, double: float) -> 'IntegratedProductionModel': ... - def solve(self) -> 'IntegratedSolveResult': ... + def getWells(self) -> java.util.List["IntegratedProductionModel.WellUnit"]: ... + def runProfile(self, double: float, double2: float) -> "ProductionProfile": ... + def setEmissionIntensity(self, double: float) -> "IntegratedProductionModel": ... + def setEnergyIntensity(self, double: float) -> "IntegratedProductionModel": ... + def setExportPressure(self, double: float) -> "IntegratedProductionModel": ... + def setHydrocarbonPrice(self, double: float) -> "IntegratedProductionModel": ... + def solve(self) -> "IntegratedSolveResult": ... def toJson(self) -> java.lang.String: ... + class WellUnit(java.io.Serializable): - def getDrive(self) -> 'ReservoirDrive': ... - def getFlowlineBranch(self) -> 'FlowlineBranch': ... + def getDrive(self) -> "ReservoirDrive": ... + def getFlowlineBranch(self) -> "FlowlineBranch": ... def getLastRate(self) -> float: ... def getName(self) -> java.lang.String: ... - def getWellBranch(self) -> 'WellBranch': ... + def getWellBranch(self) -> "WellBranch": ... class IntegratedSolveResult(java.io.Serializable): - def __init__(self, boolean: bool, int: int, double: 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]], double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + boolean: bool, + int: int, + double: 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], + ], + double2: float, + double3: float, + double4: float, + string: typing.Union[java.lang.String, str], + ): ... def getEmissionsKgPerDay(self) -> float: ... def getEnergyKWhPerDay(self) -> float: ... def getFieldRate(self) -> float: ... @@ -80,16 +130,31 @@ class NetworkBranch(java.io.Serializable): class NetworkNewtonSolver(java.io.Serializable): def __init__(self): ... - def addBranch(self, networkBranch: NetworkBranch) -> 'NetworkNewtonSolver': ... - def addNode(self, networkNode: 'NetworkNode') -> 'NetworkNewtonSolver': ... + def addBranch(self, networkBranch: NetworkBranch) -> "NetworkNewtonSolver": ... + def addNode(self, networkNode: "NetworkNode") -> "NetworkNewtonSolver": ... def getBranches(self) -> java.util.List[NetworkBranch]: ... - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'NetworkNode': ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> "NetworkNode": ... def setMaxIterations(self, int: int) -> None: ... def setMinPressure(self, double: float) -> None: ... def setTolerance(self, double: float) -> None: ... - def solve(self) -> 'NetworkNewtonSolver.NetworkSolutionResult': ... + def solve(self) -> "NetworkNewtonSolver.NetworkSolutionResult": ... + class NetworkSolutionResult(java.io.Serializable): - def __init__(self, boolean: bool, int: int, double: 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]], string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + boolean: bool, + int: int, + double: 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], + ], + string: typing.Union[java.lang.String, str], + ): ... def getBranchFlows(self) -> java.util.Map[java.lang.String, float]: ... def getIterations(self) -> int: ... def getMaxResidual(self) -> float: ... @@ -98,48 +163,83 @@ class NetworkNewtonSolver(java.io.Serializable): def isConverged(self) -> bool: ... class NetworkNode(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], nodeType: 'NetworkNode.NodeType', double: float, boolean: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + nodeType: "NetworkNode.NodeType", + double: float, + boolean: bool, + ): ... def getExternalRate(self) -> float: ... def getName(self) -> java.lang.String: ... def getPressure(self) -> float: ... - def getType(self) -> 'NetworkNode.NodeType': ... + def getType(self) -> "NetworkNode.NodeType": ... def isPressureFixed(self) -> bool: ... @staticmethod - def manifold(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... + def manifold( + string: typing.Union[java.lang.String, str], double: float + ) -> "NetworkNode": ... @staticmethod - def reservoir(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... + def reservoir( + string: typing.Union[java.lang.String, str], double: float + ) -> "NetworkNode": ... def setExternalRate(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setPressureFixed(self, boolean: bool) -> None: ... @staticmethod - def sink(string: typing.Union[java.lang.String, str], double: float) -> 'NetworkNode': ... - class NodeType(java.lang.Enum['NetworkNode.NodeType']): - RESERVOIR: typing.ClassVar['NetworkNode.NodeType'] = ... - JUNCTION: typing.ClassVar['NetworkNode.NodeType'] = ... - MANIFOLD: typing.ClassVar['NetworkNode.NodeType'] = ... - SINK: typing.ClassVar['NetworkNode.NodeType'] = ... - SOURCE: typing.ClassVar['NetworkNode.NodeType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def sink( + string: typing.Union[java.lang.String, str], double: float + ) -> "NetworkNode": ... + + class NodeType(java.lang.Enum["NetworkNode.NodeType"]): + RESERVOIR: typing.ClassVar["NetworkNode.NodeType"] = ... + JUNCTION: typing.ClassVar["NetworkNode.NodeType"] = ... + MANIFOLD: typing.ClassVar["NetworkNode.NodeType"] = ... + SINK: typing.ClassVar["NetworkNode.NodeType"] = ... + SOURCE: typing.ClassVar["NetworkNode.NodeType"] = ... + _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: ... + 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]) -> 'NetworkNode.NodeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NetworkNode.NodeType": ... @staticmethod - def values() -> typing.MutableSequence['NetworkNode.NodeType']: ... + def values() -> typing.MutableSequence["NetworkNode.NodeType"]: ... class ProductionProfile(java.io.Serializable): def __init__(self): ... - def add(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def add( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... def getCumulativeProduction(self) -> float: ... def getCumulativeRevenue(self) -> float: ... def getPeakRate(self) -> float: ... - def getPoints(self) -> java.util.List['ProductionProfile.Point']: ... + def getPoints(self) -> java.util.List["ProductionProfile.Point"]: ... def setCumulativeProduction(self, double: float) -> None: ... def setCumulativeRevenue(self, double: float) -> None: ... + class Point(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getEmissionsKgPerDay(self) -> float: ... def getEnergyKWhPerDay(self) -> float: ... def getRateSm3PerDay(self) -> float: ... @@ -155,24 +255,50 @@ class ReservoirDrive(java.io.Serializable): class ReservoirToMarketOptimizer(java.io.Serializable): def __init__(self, integratedProductionModel: IntegratedProductionModel): ... - def optimize(self) -> 'ReservoirToMarketOptimizer.OptimizationResult': ... - def setFacilityCapacity(self, double: float) -> 'ReservoirToMarketOptimizer': ... - def setMaxIterations(self, int: int) -> 'ReservoirToMarketOptimizer': ... - def setObjective(self, objective: 'ReservoirToMarketOptimizer.Objective') -> 'ReservoirToMarketOptimizer': ... - class Objective(java.lang.Enum['ReservoirToMarketOptimizer.Objective']): - REVENUE: typing.ClassVar['ReservoirToMarketOptimizer.Objective'] = ... - RATE: typing.ClassVar['ReservoirToMarketOptimizer.Objective'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def optimize(self) -> "ReservoirToMarketOptimizer.OptimizationResult": ... + def setFacilityCapacity(self, double: float) -> "ReservoirToMarketOptimizer": ... + def setMaxIterations(self, int: int) -> "ReservoirToMarketOptimizer": ... + def setObjective( + self, objective: "ReservoirToMarketOptimizer.Objective" + ) -> "ReservoirToMarketOptimizer": ... + + class Objective(java.lang.Enum["ReservoirToMarketOptimizer.Objective"]): + REVENUE: typing.ClassVar["ReservoirToMarketOptimizer.Objective"] = ... + RATE: typing.ClassVar["ReservoirToMarketOptimizer.Objective"] = ... + _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: ... + 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]) -> 'ReservoirToMarketOptimizer.Objective': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirToMarketOptimizer.Objective": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirToMarketOptimizer.Objective']: ... + def values() -> ( + typing.MutableSequence["ReservoirToMarketOptimizer.Objective"] + ): ... + class OptimizationResult(java.io.Serializable): - def __init__(self, boolean: bool, double: float, double2: float, double3: 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]], int: int): ... + def __init__( + self, + boolean: bool, + double: float, + double2: float, + double3: 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], + ], + int: int, + ): ... def getChokeSettings(self) -> java.util.Map[java.lang.String, float]: ... def getEvaluations(self) -> int: ... def getFieldRate(self) -> float: ... @@ -183,13 +309,25 @@ class ReservoirToMarketOptimizer(java.io.Serializable): def toJson(self) -> java.lang.String: ... class WellDeliverabilityCurve(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + 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': ... + def fromArrays( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> "WellDeliverabilityCurve": ... @staticmethod - def fromVogel(double: float, double2: float) -> 'WellDeliverabilityCurve': ... + def fromVogel(double: float, double2: float) -> "WellDeliverabilityCurve": ... @staticmethod - def fromWellSystem(wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float, double2: float, int: int) -> 'WellDeliverabilityCurve': ... + def fromWellSystem( + wellSystem: jneqsim.process.equipment.reservoir.WellSystem, + double: float, + double2: float, + int: int, + ) -> "WellDeliverabilityCurve": ... def getAbsoluteOpenFlowPotential(self) -> float: ... def getShutInPressure(self) -> float: ... def rateAt(self, double: float) -> float: ... @@ -197,11 +335,19 @@ class WellDeliverabilityCurve(java.io.Serializable): class WellTestMatcher(java.io.Serializable): def __init__(self): ... - def addTestPoint(self, double: float, double2: float) -> 'WellTestMatcher': ... - def fitProductivityIndex(self) -> 'WellTestMatcher.MatchResult': ... - def fitVogel(self) -> 'WellTestMatcher.MatchResult': ... + def addTestPoint(self, double: float, double2: float) -> "WellTestMatcher": ... + def fitProductivityIndex(self) -> "WellTestMatcher.MatchResult": ... + def fitVogel(self) -> "WellTestMatcher.MatchResult": ... + class MatchResult(java.io.Serializable): - def __init__(self, wellDeliverabilityCurve: WellDeliverabilityCurve, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + wellDeliverabilityCurve: WellDeliverabilityCurve, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ): ... def getCurve(self) -> WellDeliverabilityCurve: ... def getDeliverabilityParameter(self) -> float: ... def getModel(self) -> java.lang.String: ... @@ -209,7 +355,14 @@ class WellTestMatcher(java.io.Serializable): def getRmsError(self) -> float: ... class AquiferDrive(ReservoirDrive): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getCumulativeInflux(self) -> float: ... def getCumulativeProduction(self) -> float: ... def getInPlaceVolume(self) -> float: ... @@ -217,12 +370,32 @@ class AquiferDrive(ReservoirDrive): def produce(self, double: float, double2: float) -> None: ... 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 __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: ... @staticmethod - def fromBeggsBrillSample(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills) -> 'FlowlineBranch': ... + def fromBeggsBrillSample( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ) -> "FlowlineBranch": ... @staticmethod - def fromReferencePoint(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) -> 'FlowlineBranch': ... + def fromReferencePoint( + 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, + ) -> "FlowlineBranch": ... def getFromNode(self) -> java.lang.String: ... def getLastRate(self) -> float: ... def getLinearCoeff(self) -> float: ... @@ -239,14 +412,23 @@ class MaterialBalanceGasDrive(ReservoirDrive): def produce(self, double: float, double2: float) -> None: ... class OilTankDrive(ReservoirDrive): - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def getCumulativeProduction(self) -> float: ... def getInPlaceVolume(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 __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: ... def getChokeFactor(self) -> float: ... def getCurve(self) -> WellDeliverabilityCurve: ... @@ -259,7 +441,6 @@ class WellBranch(NetworkBranch): def setLiftFactor(self, double: float) -> None: ... def setReferenceReservoirPressure(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.integrated")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/network/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/network/__init__.pyi index fef06dc5..d53c9ebd 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/network/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/network/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,12 +14,19 @@ import jneqsim.process.equipment.stream import jneqsim.thermo.system import typing - - class MultiphaseFlowIntegrator(java.io.Serializable): def __init__(self): ... - def calculateHydraulics(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> 'MultiphaseFlowIntegrator.PipelineResult': ... - def calculateHydraulicsCurve(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.List['MultiphaseFlowIntegrator.PipelineResult']: ... + def calculateHydraulics( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> "MultiphaseFlowIntegrator.PipelineResult": ... + def calculateHydraulicsCurve( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> java.util.List["MultiphaseFlowIntegrator.PipelineResult"]: ... def getPipelineDiameterM(self) -> float: ... def getPipelineLengthKm(self) -> float: ... def setElevationChange(self, double: float) -> None: ... @@ -31,23 +38,37 @@ class MultiphaseFlowIntegrator(java.io.Serializable): def setPipelineLength(self, double: float) -> None: ... def setPipelineRoughness(self, double: float) -> None: ... def setSeabedTemperature(self, double: float) -> None: ... - def sizePipeline(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float) -> float: ... - class FlowRegime(java.lang.Enum['MultiphaseFlowIntegrator.FlowRegime']): - STRATIFIED_SMOOTH: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - STRATIFIED_WAVY: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - INTERMITTENT: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - ANNULAR: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - DISPERSED_BUBBLE: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - UNKNOWN: typing.ClassVar['MultiphaseFlowIntegrator.FlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def sizePipeline( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + ) -> float: ... + + class FlowRegime(java.lang.Enum["MultiphaseFlowIntegrator.FlowRegime"]): + STRATIFIED_SMOOTH: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + STRATIFIED_WAVY: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + INTERMITTENT: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + ANNULAR: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + DISPERSED_BUBBLE: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + UNKNOWN: typing.ClassVar["MultiphaseFlowIntegrator.FlowRegime"] = ... + _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: ... + 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]) -> 'MultiphaseFlowIntegrator.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiphaseFlowIntegrator.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['MultiphaseFlowIntegrator.FlowRegime']: ... + def values() -> ( + typing.MutableSequence["MultiphaseFlowIntegrator.FlowRegime"] + ): ... + class PipelineResult(java.io.Serializable): def __init__(self): ... def generateReport(self) -> java.lang.String: ... @@ -55,7 +76,7 @@ class MultiphaseFlowIntegrator(java.io.Serializable): def getArrivalTemperatureC(self) -> float: ... def getErosionalVelocityMs(self) -> float: ... def getErosionalVelocityRatio(self) -> float: ... - def getFlowRegime(self) -> 'MultiphaseFlowIntegrator.FlowRegime': ... + def getFlowRegime(self) -> "MultiphaseFlowIntegrator.FlowRegime": ... def getGasVelocityMs(self) -> float: ... def getInfeasibilityReason(self) -> java.lang.String: ... def getInletPressureBar(self) -> float: ... @@ -71,9 +92,13 @@ class MultiphaseFlowIntegrator(java.io.Serializable): def setErosionalVelocityMs(self, double: float) -> None: ... def setErosionalVelocityRatio(self, double: float) -> None: ... def setFeasible(self, boolean: bool) -> None: ... - def setFlowRegime(self, flowRegime: 'MultiphaseFlowIntegrator.FlowRegime') -> None: ... + def setFlowRegime( + self, flowRegime: "MultiphaseFlowIntegrator.FlowRegime" + ) -> None: ... def setGasVelocityMs(self, double: float) -> None: ... - def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInfeasibilityReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletPressureBar(self, double: float) -> None: ... def setInletTemperatureC(self, double: float) -> None: ... def setLiquidHoldup(self, double: float) -> None: ... @@ -84,7 +109,7 @@ class MultiphaseFlowIntegrator(java.io.Serializable): class NetworkResult(java.io.Serializable): networkName: java.lang.String = ... - solutionMode: 'NetworkSolver.SolutionMode' = ... + solutionMode: "NetworkSolver.SolutionMode" = ... manifoldPressure: float = ... totalRate: float = ... wellRates: java.util.Map = ... @@ -95,53 +120,93 @@ class NetworkResult(java.io.Serializable): iterations: int = ... residual: float = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... - def getFlowlinePressureDrop(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFlowlinePressureDrop( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getProducingWellCount(self) -> int: ... def getSummaryTable(self) -> java.lang.String: ... def getTotalRate(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getWellRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getWellheadPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getWellRate( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getWellheadPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isWellEnabled(self, string: typing.Union[java.lang.String, str]) -> bool: ... def toString(self) -> java.lang.String: ... class NetworkSolver(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float) -> 'NetworkSolver': ... + def addWell( + self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float + ) -> "NetworkSolver": ... @typing.overload - def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem, double: float, double2: float) -> 'NetworkSolver': ... + def addWell( + self, + wellSystem: jneqsim.process.equipment.reservoir.WellSystem, + double: float, + double2: float, + ) -> "NetworkSolver": ... def getCombinedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getEnabledWellCount(self) -> int: ... def getName(self) -> java.lang.String: ... def getWellCount(self) -> int: ... def isSolved(self) -> bool: ... - def setChokeOpening(self, string: typing.Union[java.lang.String, str], double: float) -> 'NetworkSolver': ... - def setManifoldPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... - def setMaxTotalRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'NetworkSolver': ... - def setSolutionMode(self, solutionMode: 'NetworkSolver.SolutionMode') -> 'NetworkSolver': ... - def setSolverParameters(self, double: float, int: int, double2: float) -> 'NetworkSolver': ... - def setTargetTotalRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'NetworkSolver': ... - def setWellEnabled(self, string: typing.Union[java.lang.String, str], boolean: bool) -> 'NetworkSolver': ... + def setChokeOpening( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NetworkSolver": ... + def setManifoldPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "NetworkSolver": ... + def setMaxTotalRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "NetworkSolver": ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "NetworkSolver": ... + def setSolutionMode( + self, solutionMode: "NetworkSolver.SolutionMode" + ) -> "NetworkSolver": ... + def setSolverParameters( + self, double: float, int: int, double2: float + ) -> "NetworkSolver": ... + def setTargetTotalRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "NetworkSolver": ... + def setWellEnabled( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> "NetworkSolver": ... def solve(self) -> NetworkResult: ... - class SolutionMode(java.lang.Enum['NetworkSolver.SolutionMode']): - FIXED_MANIFOLD_PRESSURE: typing.ClassVar['NetworkSolver.SolutionMode'] = ... - FIXED_TOTAL_RATE: typing.ClassVar['NetworkSolver.SolutionMode'] = ... - OPTIMIZE_ALLOCATION: typing.ClassVar['NetworkSolver.SolutionMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SolutionMode(java.lang.Enum["NetworkSolver.SolutionMode"]): + FIXED_MANIFOLD_PRESSURE: typing.ClassVar["NetworkSolver.SolutionMode"] = ... + FIXED_TOTAL_RATE: typing.ClassVar["NetworkSolver.SolutionMode"] = ... + OPTIMIZE_ALLOCATION: typing.ClassVar["NetworkSolver.SolutionMode"] = ... + _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: ... + 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]) -> 'NetworkSolver.SolutionMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NetworkSolver.SolutionMode": ... @staticmethod - def values() -> typing.MutableSequence['NetworkSolver.SolutionMode']: ... + def values() -> typing.MutableSequence["NetworkSolver.SolutionMode"]: ... + class WellNode(java.io.Serializable): ... class TiebackRouteNetwork(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'TiebackRouteNetwork.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "TiebackRouteNetwork.Builder": ... def getBranchCount(self) -> int: ... def getEquivalentDiameterInches(self) -> float: ... def getEquivalentHeatTransferCoefficientWm2K(self) -> float: ... @@ -153,17 +218,56 @@ class TiebackRouteNetwork(java.io.Serializable): def getNetElevationChangeM(self) -> float: ... def getRiserCount(self) -> int: ... def getScreeningLengthKm(self) -> float: ... - def getSegments(self) -> java.util.List['TiebackRouteNetwork.RouteSegment']: ... + def getSegments(self) -> java.util.List["TiebackRouteNetwork.RouteSegment"]: ... def getSharedCorridorLengthKm(self) -> float: ... def getSummary(self) -> java.lang.String: ... + class Builder: - def addBranch(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... - def addFlowline(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... - def addRiser(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... - def addSegment(self, string: typing.Union[java.lang.String, str], segmentType: 'TiebackRouteNetwork.SegmentType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, boolean: bool) -> 'TiebackRouteNetwork.Builder': ... - def addSharedCorridor(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'TiebackRouteNetwork.Builder': ... - def build(self) -> 'TiebackRouteNetwork': ... - def hostHub(self, string: typing.Union[java.lang.String, str]) -> 'TiebackRouteNetwork.Builder': ... + def addBranch( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "TiebackRouteNetwork.Builder": ... + def addFlowline( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "TiebackRouteNetwork.Builder": ... + def addRiser( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "TiebackRouteNetwork.Builder": ... + def addSegment( + self, + string: typing.Union[java.lang.String, str], + segmentType: "TiebackRouteNetwork.SegmentType", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + boolean: bool, + ) -> "TiebackRouteNetwork.Builder": ... + def addSharedCorridor( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "TiebackRouteNetwork.Builder": ... + def build(self) -> "TiebackRouteNetwork": ... + def hostHub( + self, string: typing.Union[java.lang.String, str] + ) -> "TiebackRouteNetwork.Builder": ... + class RouteSegment(java.io.Serializable): def getDiameterInches(self) -> float: ... def getHeatTransferCoefficientWm2K(self) -> float: ... @@ -172,24 +276,29 @@ class TiebackRouteNetwork(java.io.Serializable): def getName(self) -> java.lang.String: ... def getOutletWaterDepthM(self) -> float: ... def getSeabedTemperatureC(self) -> float: ... - def getType(self) -> 'TiebackRouteNetwork.SegmentType': ... + def getType(self) -> "TiebackRouteNetwork.SegmentType": ... def isShared(self) -> bool: ... - class SegmentType(java.lang.Enum['TiebackRouteNetwork.SegmentType']): - FLOWLINE: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... - RISER: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... - SHARED_CORRIDOR: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... - BRANCH: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... - HUB_TIE_IN: typing.ClassVar['TiebackRouteNetwork.SegmentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SegmentType(java.lang.Enum["TiebackRouteNetwork.SegmentType"]): + FLOWLINE: typing.ClassVar["TiebackRouteNetwork.SegmentType"] = ... + RISER: typing.ClassVar["TiebackRouteNetwork.SegmentType"] = ... + SHARED_CORRIDOR: typing.ClassVar["TiebackRouteNetwork.SegmentType"] = ... + BRANCH: typing.ClassVar["TiebackRouteNetwork.SegmentType"] = ... + HUB_TIE_IN: typing.ClassVar["TiebackRouteNetwork.SegmentType"] = ... + _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: ... + 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]) -> 'TiebackRouteNetwork.SegmentType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TiebackRouteNetwork.SegmentType": ... @staticmethod - def values() -> typing.MutableSequence['TiebackRouteNetwork.SegmentType']: ... - + def values() -> typing.MutableSequence["TiebackRouteNetwork.SegmentType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.network")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/reporting/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/reporting/__init__.pyi index 8b5c3d26..74fefc29 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/reporting/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/reporting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,31 @@ import jneqsim.process.fielddevelopment.evaluation import jneqsim.process.fielddevelopment.tieback import typing - - class FieldDevelopmentReportExporter: def __init__(self): ... - def exportConceptKpisMarkdown(self, list: java.util.List[jneqsim.process.fielddevelopment.evaluation.ConceptKPIs]) -> java.lang.String: ... - def exportTemplateComparisonMarkdown(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate]) -> java.lang.String: ... - def exportTemplateNpvFigureData(self, list: java.util.List[jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate]) -> java.util.List[typing.MutableSequence[java.lang.String]]: ... - def exportTiebackOptionsMarkdown(self, tiebackReport: jneqsim.process.fielddevelopment.tieback.TiebackReport) -> java.lang.String: ... - def exportTornadoMarkdown(self, tornadoResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult) -> java.lang.String: ... - + def exportConceptKpisMarkdown( + self, + list: java.util.List[jneqsim.process.fielddevelopment.evaluation.ConceptKPIs], + ) -> java.lang.String: ... + def exportTemplateComparisonMarkdown( + self, + list: java.util.List[ + jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate + ], + ) -> java.lang.String: ... + def exportTemplateNpvFigureData( + self, + list: java.util.List[ + jneqsim.process.fielddevelopment.concept.DevelopmentCaseTemplate + ], + ) -> java.util.List[typing.MutableSequence[java.lang.String]]: ... + def exportTiebackOptionsMarkdown( + self, tiebackReport: jneqsim.process.fielddevelopment.tieback.TiebackReport + ) -> java.lang.String: ... + def exportTornadoMarkdown( + self, + tornadoResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult, + ) -> java.lang.String: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.reporting")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/reservoir/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/reservoir/__init__.pyi index 3ed97fb3..a746cf11 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/reservoir/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/reservoir/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,119 +14,199 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class InjectionStrategy(java.io.Serializable): - def __init__(self, strategyType: 'InjectionStrategy.StrategyType'): ... - def calculateInjection(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, double: float, double2: float, double3: float) -> 'InjectionStrategy.InjectionResult': ... + def __init__(self, strategyType: "InjectionStrategy.StrategyType"): ... + def calculateInjection( + self, + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + double: float, + double2: float, + double3: float, + ) -> "InjectionStrategy.InjectionResult": ... @staticmethod - def gasInjection(double: float) -> 'InjectionStrategy': ... - def getStrategyType(self) -> 'InjectionStrategy.StrategyType': ... + def gasInjection(double: float) -> "InjectionStrategy": ... + def getStrategyType(self) -> "InjectionStrategy.StrategyType": ... def getTargetVRR(self) -> float: ... @staticmethod - def pressureMaintenance(double: float) -> 'InjectionStrategy': ... - def setInjectionTemperature(self, double: float) -> 'InjectionStrategy': ... - def setMaxGasRate(self, double: float) -> 'InjectionStrategy': ... - def setMaxWaterRate(self, double: float) -> 'InjectionStrategy': ... - def setTargetVRR(self, double: float) -> 'InjectionStrategy': ... + def pressureMaintenance(double: float) -> "InjectionStrategy": ... + def setInjectionTemperature(self, double: float) -> "InjectionStrategy": ... + def setMaxGasRate(self, double: float) -> "InjectionStrategy": ... + def setMaxWaterRate(self, double: float) -> "InjectionStrategy": ... + def setTargetVRR(self, double: float) -> "InjectionStrategy": ... @staticmethod - def wag(double: float, double2: float) -> 'InjectionStrategy': ... + def wag(double: float, double2: float) -> "InjectionStrategy": ... @staticmethod - def waterInjection(double: float) -> 'InjectionStrategy': ... + def waterInjection(double: float) -> "InjectionStrategy": ... + class InjectionResult(java.io.Serializable): - strategyType: 'InjectionStrategy.StrategyType' = ... + strategyType: "InjectionStrategy.StrategyType" = ... waterInjectionRate: float = ... gasInjectionRate: float = ... productionVoidage: float = ... achievedVRR: float = ... def __init__(self): ... def toString(self) -> java.lang.String: ... - class StrategyType(java.lang.Enum['InjectionStrategy.StrategyType']): - NATURAL_DEPLETION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... - WATER_INJECTION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... - GAS_INJECTION: typing.ClassVar['InjectionStrategy.StrategyType'] = ... - WAG: typing.ClassVar['InjectionStrategy.StrategyType'] = ... - PRESSURE_MAINTENANCE: typing.ClassVar['InjectionStrategy.StrategyType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class StrategyType(java.lang.Enum["InjectionStrategy.StrategyType"]): + NATURAL_DEPLETION: typing.ClassVar["InjectionStrategy.StrategyType"] = ... + WATER_INJECTION: typing.ClassVar["InjectionStrategy.StrategyType"] = ... + GAS_INJECTION: typing.ClassVar["InjectionStrategy.StrategyType"] = ... + WAG: typing.ClassVar["InjectionStrategy.StrategyType"] = ... + PRESSURE_MAINTENANCE: typing.ClassVar["InjectionStrategy.StrategyType"] = ... + _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: ... + 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]) -> 'InjectionStrategy.StrategyType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InjectionStrategy.StrategyType": ... @staticmethod - def values() -> typing.MutableSequence['InjectionStrategy.StrategyType']: ... + def values() -> typing.MutableSequence["InjectionStrategy.StrategyType"]: ... class InjectionWellModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, injectionType: 'InjectionWellModel.InjectionType'): ... - def addZone(self, injectionZone: 'InjectionWellModel.InjectionZone') -> None: ... - def calculate(self, double: float) -> 'InjectionWellModel.InjectionWellResult': ... - def calculateMaximumRate(self) -> 'InjectionWellModel.InjectionWellResult': ... - def calculateMultiZone(self, double: float) -> 'InjectionWellModel.MultiZoneInjectionResult': ... - def calculateWithInterference(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'InjectionWellModel.InjectionWellResult': ... + def __init__(self, injectionType: "InjectionWellModel.InjectionType"): ... + def addZone(self, injectionZone: "InjectionWellModel.InjectionZone") -> None: ... + def calculate(self, double: float) -> "InjectionWellModel.InjectionWellResult": ... + def calculateMaximumRate(self) -> "InjectionWellModel.InjectionWellResult": ... + def calculateMultiZone( + self, double: float + ) -> "InjectionWellModel.MultiZoneInjectionResult": ... + def calculateWithInterference( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> "InjectionWellModel.InjectionWellResult": ... def getEffectiveFracturePressure(self) -> float: ... def getThermalStressReduction(self) -> float: ... - def getZoneResults(self) -> java.util.List['InjectionWellModel.InjectionZoneResult']: ... - def getZones(self) -> java.util.List['InjectionWellModel.InjectionZone']: ... + def getZoneResults( + self, + ) -> java.util.List["InjectionWellModel.InjectionZoneResult"]: ... + def getZones(self) -> java.util.List["InjectionWellModel.InjectionZone"]: ... def isThermalStressEnabled(self) -> bool: ... - def setDrainageRadius(self, double: float) -> 'InjectionWellModel': ... - def setFormationPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setFormationThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setFracturePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setMaxBHP(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... + def setDrainageRadius(self, double: float) -> "InjectionWellModel": ... + def setFormationPermeability( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setFormationThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setFracturePressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setMaxBHP( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... def setPoissonsRatio(self, double: float) -> None: ... - def setPumpEfficiency(self, double: float) -> 'InjectionWellModel': ... - def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setSkinFactor(self, double: float) -> 'InjectionWellModel': ... - def setSurfaceInjectionPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setThermalStressReduction(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setTubingID(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setWaterViscosity(self, double: float) -> 'InjectionWellModel': ... - def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'InjectionWellModel': ... - def setWellType(self, injectionType: 'InjectionWellModel.InjectionType') -> 'InjectionWellModel': ... - def setWellboreRadius(self, double: float) -> 'InjectionWellModel': ... + def setPumpEfficiency(self, double: float) -> "InjectionWellModel": ... + def setReservoirPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setReservoirTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setSkinFactor(self, double: float) -> "InjectionWellModel": ... + def setSurfaceInjectionPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setThermalStressReduction( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setTubingID( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setWaterViscosity(self, double: float) -> "InjectionWellModel": ... + def setWellDepth( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel": ... + def setWellType( + self, injectionType: "InjectionWellModel.InjectionType" + ) -> "InjectionWellModel": ... + def setWellboreRadius(self, double: float) -> "InjectionWellModel": ... + class InjectionPattern(java.io.Serializable): - def __init__(self, patternType: 'InjectionWellModel.InjectionPattern.PatternType'): ... + def __init__( + self, patternType: "InjectionWellModel.InjectionPattern.PatternType" + ): ... def getArealSweepEfficiency(self, double: float) -> float: ... def getWellSpacing(self) -> float: ... - def setWellSpacing(self, double: float) -> 'InjectionWellModel.InjectionPattern': ... - class PatternType(java.lang.Enum['InjectionWellModel.InjectionPattern.PatternType']): - FIVE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - INVERTED_FIVE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - LINE_DRIVE: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - STAGGERED_LINE_DRIVE: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - SEVEN_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - NINE_SPOT: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - PERIPHERAL: typing.ClassVar['InjectionWellModel.InjectionPattern.PatternType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setWellSpacing( + self, double: float + ) -> "InjectionWellModel.InjectionPattern": ... + + class PatternType( + java.lang.Enum["InjectionWellModel.InjectionPattern.PatternType"] + ): + FIVE_SPOT: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + INVERTED_FIVE_SPOT: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + LINE_DRIVE: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + STAGGERED_LINE_DRIVE: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + SEVEN_SPOT: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + NINE_SPOT: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + PERIPHERAL: typing.ClassVar[ + "InjectionWellModel.InjectionPattern.PatternType" + ] = ... + _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: ... + 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]) -> 'InjectionWellModel.InjectionPattern.PatternType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel.InjectionPattern.PatternType": ... @staticmethod - def values() -> typing.MutableSequence['InjectionWellModel.InjectionPattern.PatternType']: ... - class InjectionType(java.lang.Enum['InjectionWellModel.InjectionType']): - WATER_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... - GAS_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... - CO2_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... - WAG_INJECTOR: typing.ClassVar['InjectionWellModel.InjectionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence[ + "InjectionWellModel.InjectionPattern.PatternType" + ] + ): ... + + class InjectionType(java.lang.Enum["InjectionWellModel.InjectionType"]): + WATER_INJECTOR: typing.ClassVar["InjectionWellModel.InjectionType"] = ... + GAS_INJECTOR: typing.ClassVar["InjectionWellModel.InjectionType"] = ... + CO2_INJECTOR: typing.ClassVar["InjectionWellModel.InjectionType"] = ... + WAG_INJECTOR: typing.ClassVar["InjectionWellModel.InjectionType"] = ... + _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: ... + 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]) -> 'InjectionWellModel.InjectionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InjectionWellModel.InjectionType": ... @staticmethod - def values() -> typing.MutableSequence['InjectionWellModel.InjectionType']: ... + def values() -> typing.MutableSequence["InjectionWellModel.InjectionType"]: ... + class InjectionWellResult(java.io.Serializable): - injectionType: 'InjectionWellModel.InjectionType' = ... + injectionType: "InjectionWellModel.InjectionType" = ... targetRate: float = ... achievableRate: float = ... injectivityIndex: float = ... @@ -150,6 +230,7 @@ class InjectionWellModel(java.io.Serializable): def getPumpPower(self) -> float: ... def getWellheadPressure(self) -> float: ... def toString(self) -> java.lang.String: ... + class InjectionZone(java.io.Serializable): name: java.lang.String = ... depth: float = ... @@ -159,7 +240,16 @@ class InjectionWellModel(java.io.Serializable): skinFactor: float = ... fracturePressure: float = ... isTargetZone: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + class InjectionZoneResult(java.io.Serializable): zoneName: java.lang.String = ... rate: float = ... @@ -169,6 +259,7 @@ class InjectionWellModel(java.io.Serializable): isTargetZone: bool = ... hallSlope: float = ... def __init__(self): ... + class MultiZoneInjectionResult(java.io.Serializable): zoneResults: java.util.List = ... totalRate: float = ... @@ -186,45 +277,111 @@ class ReservoirCouplingExporter(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addGroupConstraint(self, date: java.util.Date, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addVfpReference(self, date: java.util.Date, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def addWellControl(self, date: java.util.Date, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def addGroupConstraint( + self, + date: java.util.Date, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addVfpReference( + self, + date: java.util.Date, + string: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def addWellControl( + self, + date: java.util.Date, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def clear(self) -> None: ... - def exportProductionForecastCsv(self, intArray: typing.Union[typing.List[int], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> java.lang.String: ... - def exportSeparatorEfficiency(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> java.lang.String: ... + def exportProductionForecastCsv( + self, + intArray: typing.Union[typing.List[int], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + ) -> java.lang.String: ... + def exportSeparatorEfficiency( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> java.lang.String: ... def exportToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def generateVfpInj(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> 'ReservoirCouplingExporter.VfpTable': ... - def generateVfpProd(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, int: int) -> 'ReservoirCouplingExporter.VfpTable': ... + def generateVfpInj( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + ) -> "ReservoirCouplingExporter.VfpTable": ... + def generateVfpProd( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + ) -> "ReservoirCouplingExporter.VfpTable": ... def getEclipseKeywords(self) -> java.lang.String: ... - def getVfpTables(self) -> java.util.List['ReservoirCouplingExporter.VfpTable']: ... + def getVfpTables(self) -> java.util.List["ReservoirCouplingExporter.VfpTable"]: ... def setDatumDepth(self, double: float) -> None: ... - def setFormat(self, exportFormat: 'ReservoirCouplingExporter.ExportFormat') -> None: ... + def setFormat( + self, exportFormat: "ReservoirCouplingExporter.ExportFormat" + ) -> None: ... def setGorRange(self, double: float, double2: float, int: int) -> None: ... def setPressureRange(self, double: float, double2: float, int: int) -> None: ... def setRateRange(self, double: float, double2: float, int: int) -> None: ... def setWctRange(self, double: float, double2: float, int: int) -> None: ... - class ExportFormat(java.lang.Enum['ReservoirCouplingExporter.ExportFormat']): - ECLIPSE_100: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... - E300_COMPOSITIONAL: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... - INTERSECT: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... - CSV: typing.ClassVar['ReservoirCouplingExporter.ExportFormat'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ExportFormat(java.lang.Enum["ReservoirCouplingExporter.ExportFormat"]): + ECLIPSE_100: typing.ClassVar["ReservoirCouplingExporter.ExportFormat"] = ... + E300_COMPOSITIONAL: typing.ClassVar[ + "ReservoirCouplingExporter.ExportFormat" + ] = ... + INTERSECT: typing.ClassVar["ReservoirCouplingExporter.ExportFormat"] = ... + CSV: typing.ClassVar["ReservoirCouplingExporter.ExportFormat"] = ... + _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: ... + 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]) -> 'ReservoirCouplingExporter.ExportFormat': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirCouplingExporter.ExportFormat": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirCouplingExporter.ExportFormat']: ... + def values() -> ( + typing.MutableSequence["ReservoirCouplingExporter.ExportFormat"] + ): ... + class ScheduleEntry(java.io.Serializable): - def __init__(self, date: java.util.Date, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + date: java.util.Date, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getContent(self) -> java.lang.String: ... def getDate(self) -> java.util.Date: ... def getKeyword(self) -> java.lang.String: ... + class VfpTable(java.io.Serializable): def __init__(self): ... - def getBhpValues(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getBhpValues( + self, + ) -> typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ] + ]: ... def getDatumDepth(self) -> float: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getGorValues(self) -> typing.MutableSequence[float]: ... @@ -238,42 +395,73 @@ class ReservoirCouplingExporter(java.io.Serializable): class TransientWellModel(java.io.Serializable): def __init__(self): ... - def addRateChange(self, double: float, double2: float) -> 'TransientWellModel': ... - def calculateBuildup(self, double: float) -> 'TransientWellModel.BuildupResult': ... - def calculateDrawdown(self, double: float, double2: float) -> 'TransientWellModel.DrawdownResult': ... + def addRateChange(self, double: float, double2: float) -> "TransientWellModel": ... + def calculateBuildup(self, double: float) -> "TransientWellModel.BuildupResult": ... + def calculateDrawdown( + self, double: float, double2: float + ) -> "TransientWellModel.DrawdownResult": ... def calculatePressureWithSuperposition(self, double: float) -> float: ... - def clearRateHistory(self) -> 'TransientWellModel': ... - def generateLogTimePoints(self, double: float, double2: float, int: int) -> typing.MutableSequence[float]: ... - def generatePressureProfile(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.List['TransientWellModel.PressurePoint']: ... + def clearRateHistory(self) -> "TransientWellModel": ... + def generateLogTimePoints( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[float]: ... + def generatePressureProfile( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> java.util.List["TransientWellModel.PressurePoint"]: ... def getHydraulicDiffusivity(self) -> float: ... def getInitialPressure(self) -> float: ... - def getRateHistory(self) -> java.util.List['TransientWellModel.RateChange']: ... + def getRateHistory(self) -> java.util.List["TransientWellModel.RateChange"]: ... def getTransmissibility(self) -> float: ... - def setBoundaryType(self, boundaryType: 'TransientWellModel.BoundaryType') -> 'TransientWellModel': ... - def setDrainageRadius(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setFluidViscosity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setFormationThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setFormationVolumeFactor(self, double: float) -> 'TransientWellModel': ... - def setPermeability(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setPorosity(self, double: float) -> 'TransientWellModel': ... - def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setSkinFactor(self, double: float) -> 'TransientWellModel': ... - def setTotalCompressibility(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - def setWellType(self, wellType: 'TransientWellModel.WellType') -> 'TransientWellModel': ... - def setWellboreRadius(self, double: float, string: typing.Union[java.lang.String, str]) -> 'TransientWellModel': ... - class BoundaryType(java.lang.Enum['TransientWellModel.BoundaryType']): - INFINITE: typing.ClassVar['TransientWellModel.BoundaryType'] = ... - NO_FLOW: typing.ClassVar['TransientWellModel.BoundaryType'] = ... - CONSTANT_PRESSURE: typing.ClassVar['TransientWellModel.BoundaryType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setBoundaryType( + self, boundaryType: "TransientWellModel.BoundaryType" + ) -> "TransientWellModel": ... + def setDrainageRadius( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setFluidViscosity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setFormationThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setFormationVolumeFactor(self, double: float) -> "TransientWellModel": ... + def setPermeability( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setPorosity(self, double: float) -> "TransientWellModel": ... + def setReservoirPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setSkinFactor(self, double: float) -> "TransientWellModel": ... + def setTotalCompressibility( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + def setWellType( + self, wellType: "TransientWellModel.WellType" + ) -> "TransientWellModel": ... + def setWellboreRadius( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel": ... + + class BoundaryType(java.lang.Enum["TransientWellModel.BoundaryType"]): + INFINITE: typing.ClassVar["TransientWellModel.BoundaryType"] = ... + NO_FLOW: typing.ClassVar["TransientWellModel.BoundaryType"] = ... + CONSTANT_PRESSURE: typing.ClassVar["TransientWellModel.BoundaryType"] = ... + _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: ... + 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]) -> 'TransientWellModel.BoundaryType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel.BoundaryType": ... @staticmethod - def values() -> typing.MutableSequence['TransientWellModel.BoundaryType']: ... + def values() -> typing.MutableSequence["TransientWellModel.BoundaryType"]: ... + class BuildupResult(java.io.Serializable): shutInTime: float = ... producingTime: float = ... @@ -287,6 +475,7 @@ class TransientWellModel(java.io.Serializable): hornerSlope: float = ... def __init__(self): ... def toString(self) -> java.lang.String: ... + class DrawdownResult(java.io.Serializable): time: float = ... flowRate: float = ... @@ -298,30 +487,37 @@ class TransientWellModel(java.io.Serializable): productivityIndex: float = ... def __init__(self): ... def toString(self) -> java.lang.String: ... + class PressurePoint(java.io.Serializable): time: float = ... pressure: float = ... rate: float = ... def __init__(self, double: float, double2: float, double3: float): ... + class RateChange(java.io.Serializable): time: float = ... rate: float = ... def __init__(self, double: float, double2: float): ... - class WellType(java.lang.Enum['TransientWellModel.WellType']): - OIL_PRODUCER: typing.ClassVar['TransientWellModel.WellType'] = ... - GAS_PRODUCER: typing.ClassVar['TransientWellModel.WellType'] = ... - WATER_INJECTOR: typing.ClassVar['TransientWellModel.WellType'] = ... - GAS_INJECTOR: typing.ClassVar['TransientWellModel.WellType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class WellType(java.lang.Enum["TransientWellModel.WellType"]): + OIL_PRODUCER: typing.ClassVar["TransientWellModel.WellType"] = ... + GAS_PRODUCER: typing.ClassVar["TransientWellModel.WellType"] = ... + WATER_INJECTOR: typing.ClassVar["TransientWellModel.WellType"] = ... + GAS_INJECTOR: typing.ClassVar["TransientWellModel.WellType"] = ... + _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: ... + 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]) -> 'TransientWellModel.WellType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TransientWellModel.WellType": ... @staticmethod - def values() -> typing.MutableSequence['TransientWellModel.WellType']: ... - + def values() -> typing.MutableSequence["TransientWellModel.WellType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.reservoir")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi index 10941356..8e433fb0 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/screening/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,48 +13,65 @@ import jneqsim.process.fielddevelopment.concept import jneqsim.process.fielddevelopment.facility import typing - - class ArtificialLiftScreener(java.io.Serializable): def __init__(self): ... - def screen(self) -> 'ArtificialLiftScreener.ScreeningResult': ... - def setBubblePointPressure(self, double: float) -> 'ArtificialLiftScreener': ... - def setElectricityAvailable(self, boolean: bool) -> 'ArtificialLiftScreener': ... - def setElectricityPower(self, double: float) -> 'ArtificialLiftScreener': ... - def setFormationGOR(self, double: float) -> 'ArtificialLiftScreener': ... - def setGasLiftAvailable(self, boolean: bool) -> 'ArtificialLiftScreener': ... - def setGasLiftPressure(self, double: float) -> 'ArtificialLiftScreener': ... - def setOilGravity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - def setOilPrice(self, double: float) -> 'ArtificialLiftScreener': ... - def setOilViscosity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - def setProductivityIndex(self, double: float) -> 'ArtificialLiftScreener': ... - def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - def setTubingID(self, double: float) -> 'ArtificialLiftScreener': ... - def setWaterCut(self, double: float) -> 'ArtificialLiftScreener': ... - def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ArtificialLiftScreener': ... - class LiftMethod(java.lang.Enum['ArtificialLiftScreener.LiftMethod']): - NATURAL_FLOW: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... - GAS_LIFT: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... - ESP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... - ROD_PUMP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... - PCP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... - JET_PUMP: typing.ClassVar['ArtificialLiftScreener.LiftMethod'] = ... + def screen(self) -> "ArtificialLiftScreener.ScreeningResult": ... + def setBubblePointPressure(self, double: float) -> "ArtificialLiftScreener": ... + def setElectricityAvailable(self, boolean: bool) -> "ArtificialLiftScreener": ... + def setElectricityPower(self, double: float) -> "ArtificialLiftScreener": ... + def setFormationGOR(self, double: float) -> "ArtificialLiftScreener": ... + def setGasLiftAvailable(self, boolean: bool) -> "ArtificialLiftScreener": ... + def setGasLiftPressure(self, double: float) -> "ArtificialLiftScreener": ... + def setOilGravity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + def setOilPrice(self, double: float) -> "ArtificialLiftScreener": ... + def setOilViscosity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + def setProductivityIndex(self, double: float) -> "ArtificialLiftScreener": ... + def setReservoirPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + def setReservoirTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + def setTubingID(self, double: float) -> "ArtificialLiftScreener": ... + def setWaterCut(self, double: float) -> "ArtificialLiftScreener": ... + def setWellDepth( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + def setWellheadPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener": ... + + class LiftMethod(java.lang.Enum["ArtificialLiftScreener.LiftMethod"]): + NATURAL_FLOW: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... + GAS_LIFT: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... + ESP: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... + ROD_PUMP: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... + PCP: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... + JET_PUMP: typing.ClassVar["ArtificialLiftScreener.LiftMethod"] = ... def getDisplayName(self) -> java.lang.String: ... def getTypicalCapex(self) -> float: ... def getTypicalOpex(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ArtificialLiftScreener.LiftMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ArtificialLiftScreener.LiftMethod": ... @staticmethod - def values() -> typing.MutableSequence['ArtificialLiftScreener.LiftMethod']: ... + def values() -> typing.MutableSequence["ArtificialLiftScreener.LiftMethod"]: ... + class MethodResult(java.io.Serializable): - method: 'ArtificialLiftScreener.LiftMethod' = ... + method: "ArtificialLiftScreener.LiftMethod" = ... feasible: bool = ... infeasibilityReason: java.lang.String = ... productionRate: float = ... @@ -65,10 +82,13 @@ class ArtificialLiftScreener(java.io.Serializable): npv: float = ... rank: int = ... additionalInfo: java.lang.String = ... - def __init__(self, liftMethod: 'ArtificialLiftScreener.LiftMethod'): ... - def calculateEconomics(self, double: float, double2: float, int: int) -> None: ... + def __init__(self, liftMethod: "ArtificialLiftScreener.LiftMethod"): ... + def calculateEconomics( + self, double: float, double2: float, int: int + ) -> None: ... def getMethodName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ScreeningResult(java.io.Serializable): wellDepth: float = ... reservoirPressure: float = ... @@ -77,46 +97,97 @@ class ArtificialLiftScreener(java.io.Serializable): waterCut: float = ... naturalFlowRate: float = ... def __init__(self): ... - def addMethod(self, methodResult: 'ArtificialLiftScreener.MethodResult') -> None: ... - def getAllMethods(self) -> java.util.List['ArtificialLiftScreener.MethodResult']: ... - def getFeasibleMethods(self) -> java.util.List['ArtificialLiftScreener.MethodResult']: ... - def getRecommendedMethod(self) -> 'ArtificialLiftScreener.LiftMethod': ... - def getRecommendedMethodResult(self) -> 'ArtificialLiftScreener.MethodResult': ... + def addMethod( + self, methodResult: "ArtificialLiftScreener.MethodResult" + ) -> None: ... + def getAllMethods( + self, + ) -> java.util.List["ArtificialLiftScreener.MethodResult"]: ... + def getFeasibleMethods( + self, + ) -> java.util.List["ArtificialLiftScreener.MethodResult"]: ... + def getRecommendedMethod(self) -> "ArtificialLiftScreener.LiftMethod": ... + def getRecommendedMethodResult( + self, + ) -> "ArtificialLiftScreener.MethodResult": ... def rankMethods(self) -> None: ... def toString(self) -> java.lang.String: ... class DetailedEmissionsCalculator(java.io.Serializable): def __init__(self): ... - def addCombinedCycleTurbine(self, string: typing.Union[java.lang.String, str], double: float) -> 'DetailedEmissionsCalculator': ... - def addDieselEngine(self, string: typing.Union[java.lang.String, str], double: float) -> 'DetailedEmissionsCalculator': ... - def addGasTurbine(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def addHeater(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def calculate(self) -> 'DetailedEmissionsCalculator.DetailedEmissionsReport': ... - def setColdVentingRate(self, double: float) -> 'DetailedEmissionsCalculator': ... - def setComponentCounts(self, int: int, int2: int, int3: int, int4: int) -> 'DetailedEmissionsCalculator': ... - def setFlareEfficiency(self, double: float) -> 'DetailedEmissionsCalculator': ... - def setFlaringRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def setFugitiveRate(self, double: float) -> 'DetailedEmissionsCalculator': ... - def setGasProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def setOilProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def setOperatingHours(self, double: float) -> 'DetailedEmissionsCalculator': ... - def setProducedCO2(self, double: float, boolean: bool) -> 'DetailedEmissionsCalculator': ... - def setPurchasedElectricity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DetailedEmissionsCalculator': ... - def setTankBreathingRate(self, double: float) -> 'DetailedEmissionsCalculator': ... - class CombustionType(java.lang.Enum['DetailedEmissionsCalculator.CombustionType']): - GAS_TURBINE_SIMPLE: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... - GAS_TURBINE_COMBINED: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... - FIRED_HEATER: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... - DIESEL_ENGINE: typing.ClassVar['DetailedEmissionsCalculator.CombustionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def addCombinedCycleTurbine( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "DetailedEmissionsCalculator": ... + def addDieselEngine( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "DetailedEmissionsCalculator": ... + def addGasTurbine( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "DetailedEmissionsCalculator": ... + def addHeater( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "DetailedEmissionsCalculator": ... + def calculate(self) -> "DetailedEmissionsCalculator.DetailedEmissionsReport": ... + def setColdVentingRate(self, double: float) -> "DetailedEmissionsCalculator": ... + def setComponentCounts( + self, int: int, int2: int, int3: int, int4: int + ) -> "DetailedEmissionsCalculator": ... + def setFlareEfficiency(self, double: float) -> "DetailedEmissionsCalculator": ... + def setFlaringRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DetailedEmissionsCalculator": ... + def setFugitiveRate(self, double: float) -> "DetailedEmissionsCalculator": ... + def setGasProduction( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DetailedEmissionsCalculator": ... + def setOilProduction( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DetailedEmissionsCalculator": ... + def setOperatingHours(self, double: float) -> "DetailedEmissionsCalculator": ... + def setProducedCO2( + self, double: float, boolean: bool + ) -> "DetailedEmissionsCalculator": ... + def setPurchasedElectricity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DetailedEmissionsCalculator": ... + def setTankBreathingRate(self, double: float) -> "DetailedEmissionsCalculator": ... + + class CombustionType(java.lang.Enum["DetailedEmissionsCalculator.CombustionType"]): + GAS_TURBINE_SIMPLE: typing.ClassVar[ + "DetailedEmissionsCalculator.CombustionType" + ] = ... + GAS_TURBINE_COMBINED: typing.ClassVar[ + "DetailedEmissionsCalculator.CombustionType" + ] = ... + FIRED_HEATER: typing.ClassVar["DetailedEmissionsCalculator.CombustionType"] = ( + ... + ) + DIESEL_ENGINE: typing.ClassVar["DetailedEmissionsCalculator.CombustionType"] = ( + ... + ) + _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: ... + 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]) -> 'DetailedEmissionsCalculator.CombustionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DetailedEmissionsCalculator.CombustionType": ... @staticmethod - def values() -> typing.MutableSequence['DetailedEmissionsCalculator.CombustionType']: ... + def values() -> ( + typing.MutableSequence["DetailedEmissionsCalculator.CombustionType"] + ): ... + class DetailedEmissionsReport(java.io.Serializable): totalProductionBoePerYear: float = ... oilProductionBblPerYear: float = ... @@ -142,17 +213,26 @@ class EconomicsEstimator: @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, regionalCostFactors: 'RegionalCostFactors'): ... - def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EconomicsEstimator.EconomicsReport': ... + def __init__(self, regionalCostFactors: "RegionalCostFactors"): ... + def estimate( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "EconomicsEstimator.EconomicsReport": ... def getRegionCode(self) -> java.lang.String: ... def getRegionName(self) -> java.lang.String: ... - def getRegionalFactors(self) -> 'RegionalCostFactors': ... - def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EconomicsEstimator.EconomicsReport': ... + def getRegionalFactors(self) -> "RegionalCostFactors": ... + def quickEstimate( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "EconomicsEstimator.EconomicsReport": ... def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRegionalFactors(self, regionalCostFactors: 'RegionalCostFactors') -> None: ... + def setRegionalFactors( + self, regionalCostFactors: "RegionalCostFactors" + ) -> None: ... + class EconomicsReport(java.io.Serializable): @staticmethod - def builder() -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def builder() -> "EconomicsEstimator.EconomicsReport.Builder": ... def getAccuracyRangePercent(self) -> float: ... def getAnnualOpexMUSD(self) -> float: ... def getCapexBreakdown(self) -> java.util.Map[java.lang.String, float]: ... @@ -168,29 +248,64 @@ class EconomicsEstimator: def getTotalCapexMUSD(self) -> float: ... def getWellCapexMUSD(self) -> float: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def accuracyRangePercent(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def addCapexItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def addOpexItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def annualOpexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def build(self) -> 'EconomicsEstimator.EconomicsReport': ... - def capexPerBoeUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def equipmentCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def facilityCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def infrastructureCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def opexPerBoeUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def totalCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... - def wellCapexMUSD(self, double: float) -> 'EconomicsEstimator.EconomicsReport.Builder': ... + def accuracyRangePercent( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def addCapexItem( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def addOpexItem( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def annualOpexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def build(self) -> "EconomicsEstimator.EconomicsReport": ... + def capexPerBoeUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def equipmentCapexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def facilityCapexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def infrastructureCapexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def opexPerBoeUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def totalCapexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... + def wellCapexMUSD( + self, double: float + ) -> "EconomicsEstimator.EconomicsReport.Builder": ... class EmissionsTracker: def __init__(self): ... - def estimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EmissionsTracker.EmissionsReport': ... - def estimateLifecycle(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]]) -> 'LifecycleEmissionsProfile': ... - def quickEstimate(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'EmissionsTracker.EmissionsReport': ... + def estimate( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "EmissionsTracker.EmissionsReport": ... + def estimateLifecycle( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + map: typing.Union[java.util.Map[int, float], typing.Mapping[int, float]], + ) -> "LifecycleEmissionsProfile": ... + def quickEstimate( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "EmissionsTracker.EmissionsReport": ... + class EmissionsReport(java.io.Serializable): @staticmethod - def builder() -> 'EmissionsTracker.EmissionsReport.Builder': ... + def builder() -> "EmissionsTracker.EmissionsReport.Builder": ... def getEmissionSources(self) -> java.util.Map[java.lang.String, float]: ... def getFlaringEmissionsTonnesPerYear(self) -> float: ... def getFugitiveEmissionsTonnesPerYear(self) -> float: ... @@ -203,51 +318,103 @@ class EmissionsTracker: def getTotalPowerMW(self) -> float: ... def getVentedCO2TonnesPerYear(self) -> float: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addEmissionSource(self, string: typing.Union[java.lang.String, str], double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def build(self) -> 'EmissionsTracker.EmissionsReport': ... - def flaringEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def fugitiveEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def intensityKgCO2PerBoe(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def powerEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def powerSource(self, string: typing.Union[java.lang.String, str]) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def totalEmissionsTonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def totalPowerMW(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... - def ventedCO2TonnesPerYear(self, double: float) -> 'EmissionsTracker.EmissionsReport.Builder': ... + def addEmissionSource( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def build(self) -> "EmissionsTracker.EmissionsReport": ... + def flaringEmissionsTonnesPerYear( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def fugitiveEmissionsTonnesPerYear( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def intensityKgCO2PerBoe( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def powerEmissionsTonnesPerYear( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def powerSource( + self, string: typing.Union[java.lang.String, str] + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def totalEmissionsTonnesPerYear( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def totalPowerMW( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... + def ventedCO2TonnesPerYear( + self, double: float + ) -> "EmissionsTracker.EmissionsReport.Builder": ... class EnergyEfficiencyCalculator(java.io.Serializable): def __init__(self): ... - def calculate(self) -> 'EnergyEfficiencyCalculator.EnergyReport': ... - def calculateFromConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'EnergyEfficiencyCalculator.EnergyReport': ... - def setCompressorEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... - def setCompressorPower(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - def setCoolingDuty(self, double: float) -> 'EnergyEfficiencyCalculator': ... - def setDriverType(self, driverType: 'EnergyEfficiencyCalculator.DriverType') -> 'EnergyEfficiencyCalculator': ... - def setElectricalLoad(self, double: float) -> 'EnergyEfficiencyCalculator': ... - def setFacilityType(self, facilityType: 'EnergyEfficiencyCalculator.FacilityType') -> 'EnergyEfficiencyCalculator': ... - def setFlaringRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - def setGasProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - def setHasWasteHeatRecovery(self, boolean: bool) -> 'EnergyEfficiencyCalculator': ... - def setHeaterEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... - def setHeatingDuty(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - def setOilProduction(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - def setPumpEfficiency(self, double: float) -> 'EnergyEfficiencyCalculator': ... - def setPumpPower(self, double: float, string: typing.Union[java.lang.String, str]) -> 'EnergyEfficiencyCalculator': ... - class DriverType(java.lang.Enum['EnergyEfficiencyCalculator.DriverType']): - GAS_TURBINE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... - COMBINED_CYCLE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... - POWER_FROM_SHORE: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... - DIESEL: typing.ClassVar['EnergyEfficiencyCalculator.DriverType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def calculate(self) -> "EnergyEfficiencyCalculator.EnergyReport": ... + def calculateFromConcept( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> "EnergyEfficiencyCalculator.EnergyReport": ... + def setCompressorEfficiency( + self, double: float + ) -> "EnergyEfficiencyCalculator": ... + def setCompressorPower( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + def setCoolingDuty(self, double: float) -> "EnergyEfficiencyCalculator": ... + def setDriverType( + self, driverType: "EnergyEfficiencyCalculator.DriverType" + ) -> "EnergyEfficiencyCalculator": ... + def setElectricalLoad(self, double: float) -> "EnergyEfficiencyCalculator": ... + def setFacilityType( + self, facilityType: "EnergyEfficiencyCalculator.FacilityType" + ) -> "EnergyEfficiencyCalculator": ... + def setFlaringRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + def setGasProduction( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + def setHasWasteHeatRecovery( + self, boolean: bool + ) -> "EnergyEfficiencyCalculator": ... + def setHeaterEfficiency(self, double: float) -> "EnergyEfficiencyCalculator": ... + def setHeatingDuty( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + def setOilProduction( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + def setPumpEfficiency(self, double: float) -> "EnergyEfficiencyCalculator": ... + def setPumpPower( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator": ... + + class DriverType(java.lang.Enum["EnergyEfficiencyCalculator.DriverType"]): + GAS_TURBINE: typing.ClassVar["EnergyEfficiencyCalculator.DriverType"] = ... + COMBINED_CYCLE: typing.ClassVar["EnergyEfficiencyCalculator.DriverType"] = ... + POWER_FROM_SHORE: typing.ClassVar["EnergyEfficiencyCalculator.DriverType"] = ... + DIESEL: typing.ClassVar["EnergyEfficiencyCalculator.DriverType"] = ... + _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: ... + 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]) -> 'EnergyEfficiencyCalculator.DriverType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator.DriverType": ... @staticmethod - def values() -> typing.MutableSequence['EnergyEfficiencyCalculator.DriverType']: ... + def values() -> ( + typing.MutableSequence["EnergyEfficiencyCalculator.DriverType"] + ): ... + class EnergyReport(java.io.Serializable): totalProductionBoePerDay: float = ... totalElectricPowerKW: float = ... @@ -274,20 +441,29 @@ class EnergyEfficiencyCalculator(java.io.Serializable): def getPotentialSavings(self) -> float: ... def getSpecificEnergyConsumption(self) -> float: ... def toString(self) -> java.lang.String: ... - class FacilityType(java.lang.Enum['EnergyEfficiencyCalculator.FacilityType']): - PLATFORM: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... - FPSO: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... - SUBSEA: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... - ONSHORE: typing.ClassVar['EnergyEfficiencyCalculator.FacilityType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FacilityType(java.lang.Enum["EnergyEfficiencyCalculator.FacilityType"]): + PLATFORM: typing.ClassVar["EnergyEfficiencyCalculator.FacilityType"] = ... + FPSO: typing.ClassVar["EnergyEfficiencyCalculator.FacilityType"] = ... + SUBSEA: typing.ClassVar["EnergyEfficiencyCalculator.FacilityType"] = ... + ONSHORE: typing.ClassVar["EnergyEfficiencyCalculator.FacilityType"] = ... + _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: ... + 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]) -> 'EnergyEfficiencyCalculator.FacilityType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EnergyEfficiencyCalculator.FacilityType": ... @staticmethod - def values() -> typing.MutableSequence['EnergyEfficiencyCalculator.FacilityType']: ... + def values() -> ( + typing.MutableSequence["EnergyEfficiencyCalculator.FacilityType"] + ): ... + class Recommendation(java.io.Serializable): category: java.lang.String = ... description: java.lang.String = ... @@ -300,80 +476,137 @@ class FlowAssuranceReport(java.io.Serializable): def allPass(self) -> bool: ... def anyFail(self) -> bool: ... @staticmethod - def builder() -> 'FlowAssuranceReport.Builder': ... - def getAsphalteneResult(self) -> 'FlowAssuranceResult': ... - def getCorrosionResult(self) -> 'FlowAssuranceResult': ... - def getErosionResult(self) -> 'FlowAssuranceResult': ... + def builder() -> "FlowAssuranceReport.Builder": ... + def getAsphalteneResult(self) -> "FlowAssuranceResult": ... + def getCorrosionResult(self) -> "FlowAssuranceResult": ... + def getErosionResult(self) -> "FlowAssuranceResult": ... def getHydrateFormationTempC(self) -> float: ... def getHydrateMarginC(self) -> float: ... - def getHydrateResult(self) -> 'FlowAssuranceResult': ... + def getHydrateResult(self) -> "FlowAssuranceResult": ... def getMinOperatingTempC(self) -> float: ... - def getMitigationOptions(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getOverallResult(self) -> 'FlowAssuranceResult': ... - def getRecommendations(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getScalingResult(self) -> 'FlowAssuranceResult': ... + def getMitigationOptions( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getOverallResult(self) -> "FlowAssuranceResult": ... + def getRecommendations( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getScalingResult(self) -> "FlowAssuranceResult": ... def getSummary(self) -> java.lang.String: ... def getWaxAppearanceTempC(self) -> float: ... def getWaxMarginC(self) -> float: ... - def getWaxResult(self) -> 'FlowAssuranceResult': ... + def getWaxResult(self) -> "FlowAssuranceResult": ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addMitigationOption(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'FlowAssuranceReport.Builder': ... - def addRecommendation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'FlowAssuranceReport.Builder': ... - def asphalteneResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - def build(self) -> 'FlowAssuranceReport': ... - def corrosionResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - def erosionResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - def hydrateFormationTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... - def hydrateMargin(self, double: float) -> 'FlowAssuranceReport.Builder': ... - def hydrateResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - def minOperatingTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... - def scalingResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - def waxAppearanceTemp(self, double: float) -> 'FlowAssuranceReport.Builder': ... - def waxMargin(self, double: float) -> 'FlowAssuranceReport.Builder': ... - def waxResult(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceReport.Builder': ... - -class FlowAssuranceResult(java.lang.Enum['FlowAssuranceResult']): - PASS: typing.ClassVar['FlowAssuranceResult'] = ... - MARGINAL: typing.ClassVar['FlowAssuranceResult'] = ... - FAIL: typing.ClassVar['FlowAssuranceResult'] = ... - def combine(self, flowAssuranceResult: 'FlowAssuranceResult') -> 'FlowAssuranceResult': ... + def addMitigationOption( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "FlowAssuranceReport.Builder": ... + def addRecommendation( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "FlowAssuranceReport.Builder": ... + def asphalteneResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + def build(self) -> "FlowAssuranceReport": ... + def corrosionResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + def erosionResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + def hydrateFormationTemp( + self, double: float + ) -> "FlowAssuranceReport.Builder": ... + def hydrateMargin(self, double: float) -> "FlowAssuranceReport.Builder": ... + def hydrateResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + def minOperatingTemp(self, double: float) -> "FlowAssuranceReport.Builder": ... + def scalingResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + def waxAppearanceTemp(self, double: float) -> "FlowAssuranceReport.Builder": ... + def waxMargin(self, double: float) -> "FlowAssuranceReport.Builder": ... + def waxResult( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceReport.Builder": ... + +class FlowAssuranceResult(java.lang.Enum["FlowAssuranceResult"]): + PASS: typing.ClassVar["FlowAssuranceResult"] = ... + MARGINAL: typing.ClassVar["FlowAssuranceResult"] = ... + FAIL: typing.ClassVar["FlowAssuranceResult"] = ... + def combine( + self, flowAssuranceResult: "FlowAssuranceResult" + ) -> "FlowAssuranceResult": ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def isBlocking(self) -> bool: ... def isSafe(self) -> bool: ... def needsAttention(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FlowAssuranceResult': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowAssuranceResult": ... @staticmethod - def values() -> typing.MutableSequence['FlowAssuranceResult']: ... + def values() -> typing.MutableSequence["FlowAssuranceResult"]: ... class FlowAssuranceScreener: def __init__(self): ... - def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> FlowAssuranceReport: ... - def screen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, double: float, double2: float) -> FlowAssuranceReport: ... + def quickScreen( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> FlowAssuranceReport: ... + def screen( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + double: float, + double2: float, + ) -> FlowAssuranceReport: ... class GasLiftCalculator(java.io.Serializable): def __init__(self): ... - def calculate(self) -> 'GasLiftCalculator.GasLiftResult': ... - def setBubblePointPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setCompressorEfficiency(self, double: float) -> 'GasLiftCalculator': ... - def setFormationGOR(self, double: float) -> 'GasLiftCalculator': ... - def setInjectionPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setOilGravity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setProductivityIndex(self, double: float) -> 'GasLiftCalculator': ... - def setReservoirPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setReservoirTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setTubingID(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setWaterCut(self, double: float) -> 'GasLiftCalculator': ... - def setWellDepth(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... - def setWellheadPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftCalculator': ... + def calculate(self) -> "GasLiftCalculator.GasLiftResult": ... + def setBubblePointPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setCompressorEfficiency(self, double: float) -> "GasLiftCalculator": ... + def setFormationGOR(self, double: float) -> "GasLiftCalculator": ... + def setInjectionPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setOilGravity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setProductivityIndex(self, double: float) -> "GasLiftCalculator": ... + def setReservoirPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setReservoirTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setTubingID( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setWaterCut(self, double: float) -> "GasLiftCalculator": ... + def setWellDepth( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + def setWellheadPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftCalculator": ... + class GasLiftResult(java.io.Serializable): naturalFlowRate: float = ... optimalGLR: float = ... @@ -391,12 +624,14 @@ class GasLiftCalculator(java.io.Serializable): def getOptimalGLR(self) -> float: ... def getValveCount(self) -> int: ... def toString(self) -> java.lang.String: ... + class PerformancePoint(java.io.Serializable): totalGLR: float = ... injectionGLR: float = ... productionRate: float = ... injectionRate: float = ... def __init__(self): ... + class ValvePosition(java.io.Serializable): valveNumber: int = ... depth: float = ... @@ -409,18 +644,41 @@ class GasLiftCalculator(java.io.Serializable): class GasLiftOptimizer(java.io.Serializable): def __init__(self): ... @typing.overload - def addWell(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'GasLiftOptimizer': ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "GasLiftOptimizer": ... @typing.overload - def addWell(self, string: typing.Union[java.lang.String, str], performanceCurve: 'GasLiftOptimizer.PerformanceCurve', double: float) -> 'GasLiftOptimizer': ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + performanceCurve: "GasLiftOptimizer.PerformanceCurve", + double: float, + ) -> "GasLiftOptimizer": ... def getWellCount(self) -> int: ... - def optimize(self) -> 'GasLiftOptimizer.AllocationResult': ... - def setAvailableGas(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasLiftOptimizer': ... - def setCompressionEfficiency(self, double: float) -> 'GasLiftOptimizer': ... - def setCompressionPressures(self, double: float, double2: float) -> 'GasLiftOptimizer': ... - def setMaxCompressionPower(self, double: float) -> 'GasLiftOptimizer': ... - def setOptimizationMethod(self, optimizationMethod: 'GasLiftOptimizer.OptimizationMethod') -> 'GasLiftOptimizer': ... - def setWellEnabled(self, string: typing.Union[java.lang.String, str], boolean: bool) -> 'GasLiftOptimizer': ... - def setWellPriority(self, string: typing.Union[java.lang.String, str], double: float) -> 'GasLiftOptimizer': ... + def optimize(self) -> "GasLiftOptimizer.AllocationResult": ... + def setAvailableGas( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasLiftOptimizer": ... + def setCompressionEfficiency(self, double: float) -> "GasLiftOptimizer": ... + def setCompressionPressures( + self, double: float, double2: float + ) -> "GasLiftOptimizer": ... + def setMaxCompressionPower(self, double: float) -> "GasLiftOptimizer": ... + def setOptimizationMethod( + self, optimizationMethod: "GasLiftOptimizer.OptimizationMethod" + ) -> "GasLiftOptimizer": ... + def setWellEnabled( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> "GasLiftOptimizer": ... + def setWellPriority( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "GasLiftOptimizer": ... + class AllocationResult(java.io.Serializable): allocations: java.util.List = ... totalOilRate: float = ... @@ -431,26 +689,37 @@ class GasLiftOptimizer(java.io.Serializable): gasUtilization: float = ... fieldGasEfficiency: float = ... compressionPower: float = ... - method: 'GasLiftOptimizer.OptimizationMethod' = ... + method: "GasLiftOptimizer.OptimizationMethod" = ... iterations: int = ... converged: bool = ... def __init__(self): ... - def getAllocation(self, string: typing.Union[java.lang.String, str]) -> 'GasLiftOptimizer.WellAllocation': ... + def getAllocation( + self, string: typing.Union[java.lang.String, str] + ) -> "GasLiftOptimizer.WellAllocation": ... def toString(self) -> java.lang.String: ... - class OptimizationMethod(java.lang.Enum['GasLiftOptimizer.OptimizationMethod']): - EQUAL_SLOPE: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... - PROPORTIONAL: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... - SEQUENTIAL: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... - GRADIENT: typing.ClassVar['GasLiftOptimizer.OptimizationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class OptimizationMethod(java.lang.Enum["GasLiftOptimizer.OptimizationMethod"]): + EQUAL_SLOPE: typing.ClassVar["GasLiftOptimizer.OptimizationMethod"] = ... + PROPORTIONAL: typing.ClassVar["GasLiftOptimizer.OptimizationMethod"] = ... + SEQUENTIAL: typing.ClassVar["GasLiftOptimizer.OptimizationMethod"] = ... + GRADIENT: typing.ClassVar["GasLiftOptimizer.OptimizationMethod"] = ... + _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: ... + 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]) -> 'GasLiftOptimizer.OptimizationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasLiftOptimizer.OptimizationMethod": ... @staticmethod - def values() -> typing.MutableSequence['GasLiftOptimizer.OptimizationMethod']: ... + def values() -> ( + typing.MutableSequence["GasLiftOptimizer.OptimizationMethod"] + ): ... + class PerformanceCurve(java.io.Serializable): gasRates: typing.MutableSequence[float] = ... oilRates: typing.MutableSequence[float] = ... @@ -459,9 +728,14 @@ class GasLiftOptimizer(java.io.Serializable): @typing.overload def __init__(self, double: float, double2: float, double3: float): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... def getMarginalResponse(self, double: float) -> float: ... def getOilRate(self, double: float) -> float: ... + class WellAllocation(java.io.Serializable): wellName: java.lang.String = ... gasRate: float = ... @@ -471,19 +745,37 @@ class GasLiftOptimizer(java.io.Serializable): marginalResponse: float = ... gasEfficiency: float = ... def __init__(self, string: typing.Union[java.lang.String, str]): ... + class WellData(java.io.Serializable): ... class LifecycleEmissionsProfile(java.io.Serializable): - def __init__(self, list: java.util.List['LifecycleEmissionsProfile.AnnualEmissions']): ... + def __init__( + self, list: java.util.List["LifecycleEmissionsProfile.AnnualEmissions"] + ): ... @staticmethod - def empty() -> 'LifecycleEmissionsProfile': ... - def getAnnualEmissions(self) -> java.util.List['LifecycleEmissionsProfile.AnnualEmissions']: ... + def empty() -> "LifecycleEmissionsProfile": ... + def getAnnualEmissions( + self, + ) -> java.util.List["LifecycleEmissionsProfile.AnnualEmissions"]: ... def getAverageIntensityKgCO2PerBoe(self) -> float: ... def getPeakAnnualEmissionsTonnes(self) -> float: ... def getTotalLifecycleEmissionsTonnes(self) -> float: ... def hasData(self) -> bool: ... + class AnnualEmissions(java.io.Serializable): - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + string: typing.Union[java.lang.String, str], + double5: float, + double6: float, + double7: float, + double8: float, + ): ... def getFlaringEmissionsTonnes(self) -> float: ... def getFugitiveEmissionsTonnes(self) -> float: ... def getIntensityKgCO2PerBoe(self) -> float: ... @@ -499,18 +791,36 @@ class LifecycleEmissionsProfile(java.io.Serializable): class RegionalCostFactors(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + string3: typing.Union[java.lang.String, str], + ): ... def adjustCapex(self, double: float) -> float: ... def adjustOpex(self, double: float) -> float: ... def adjustWellCost(self, double: float) -> float: ... @staticmethod - def forRegion(string: typing.Union[java.lang.String, str]) -> 'RegionalCostFactors': ... + def forRegion( + string: typing.Union[java.lang.String, str] + ) -> "RegionalCostFactors": ... @staticmethod - def forRegionOrDefault(string: typing.Union[java.lang.String, str]) -> 'RegionalCostFactors': ... + def forRegionOrDefault( + string: typing.Union[java.lang.String, str] + ) -> "RegionalCostFactors": ... @staticmethod - def getAllRegions() -> java.util.Map[java.lang.String, 'RegionalCostFactors']: ... + def getAllRegions() -> java.util.Map[java.lang.String, "RegionalCostFactors"]: ... def getCapexFactor(self) -> float: ... def getLaborFactor(self) -> float: ... def getNotes(self) -> java.lang.String: ... @@ -524,16 +834,16 @@ class RegionalCostFactors(java.io.Serializable): @staticmethod def isRegistered(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def register(regionalCostFactors: 'RegionalCostFactors') -> None: ... + def register(regionalCostFactors: "RegionalCostFactors") -> None: ... def toString(self) -> java.lang.String: ... class SafetyReport(java.io.Serializable): @staticmethod - def builder() -> 'SafetyReport.Builder': ... + def builder() -> "SafetyReport.Builder": ... def getEstimatedBlowdownTimeMinutes(self) -> float: ... def getInventoryTonnes(self) -> float: ... def getMinimumMetalTempC(self) -> float: ... - def getOverallLevel(self) -> 'SafetyReport.SafetyLevel': ... + def getOverallLevel(self) -> "SafetyReport.SafetyLevel": ... def getPsvRequiredCapacityKgPerHr(self) -> float: ... def getRequirements(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getScenarios(self) -> java.util.Map[java.lang.String, float]: ... @@ -543,40 +853,60 @@ class SafetyReport(java.io.Serializable): def isMannedFacility(self) -> bool: ... def meetsBlowdownTarget(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addRequirement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SafetyReport.Builder': ... - def addScenario(self, string: typing.Union[java.lang.String, str], double: float) -> 'SafetyReport.Builder': ... - def blowdownTime(self, double: float) -> 'SafetyReport.Builder': ... - def build(self) -> 'SafetyReport': ... - def h2sPresent(self, boolean: bool) -> 'SafetyReport.Builder': ... - def highPressure(self, boolean: bool) -> 'SafetyReport.Builder': ... - def inventory(self, double: float) -> 'SafetyReport.Builder': ... - def mannedFacility(self, boolean: bool) -> 'SafetyReport.Builder': ... - def minimumMetalTemp(self, double: float) -> 'SafetyReport.Builder': ... - def overallLevel(self, safetyLevel: 'SafetyReport.SafetyLevel') -> 'SafetyReport.Builder': ... - def psvCapacity(self, double: float) -> 'SafetyReport.Builder': ... - class SafetyLevel(java.lang.Enum['SafetyReport.SafetyLevel']): - STANDARD: typing.ClassVar['SafetyReport.SafetyLevel'] = ... - ENHANCED: typing.ClassVar['SafetyReport.SafetyLevel'] = ... - HIGH: typing.ClassVar['SafetyReport.SafetyLevel'] = ... + def addRequirement( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SafetyReport.Builder": ... + def addScenario( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "SafetyReport.Builder": ... + def blowdownTime(self, double: float) -> "SafetyReport.Builder": ... + def build(self) -> "SafetyReport": ... + def h2sPresent(self, boolean: bool) -> "SafetyReport.Builder": ... + def highPressure(self, boolean: bool) -> "SafetyReport.Builder": ... + def inventory(self, double: float) -> "SafetyReport.Builder": ... + def mannedFacility(self, boolean: bool) -> "SafetyReport.Builder": ... + def minimumMetalTemp(self, double: float) -> "SafetyReport.Builder": ... + def overallLevel( + self, safetyLevel: "SafetyReport.SafetyLevel" + ) -> "SafetyReport.Builder": ... + def psvCapacity(self, double: float) -> "SafetyReport.Builder": ... + + class SafetyLevel(java.lang.Enum["SafetyReport.SafetyLevel"]): + STANDARD: typing.ClassVar["SafetyReport.SafetyLevel"] = ... + ENHANCED: typing.ClassVar["SafetyReport.SafetyLevel"] = ... + HIGH: typing.ClassVar["SafetyReport.SafetyLevel"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SafetyReport.SafetyLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyReport.SafetyLevel": ... @staticmethod - def values() -> typing.MutableSequence['SafetyReport.SafetyLevel']: ... + def values() -> typing.MutableSequence["SafetyReport.SafetyLevel"]: ... class SafetyScreener: def __init__(self): ... - def quickScreen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> SafetyReport: ... - def screen(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> SafetyReport: ... - + def quickScreen( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> SafetyReport: ... + def screen( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig, + ) -> SafetyReport: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.screening")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi index cd4dc8ab..c1f41f52 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/subsea/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,82 +16,142 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class SubseaProductionSystem(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def build(self) -> 'SubseaProductionSystem': ... - def getArchitecture(self) -> 'SubseaProductionSystem.SubseaArchitecture': ... + def build(self) -> "SubseaProductionSystem": ... + 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 getManifolds(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaManifold]: ... + def getFlowlines( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.SimpleFlowLine]: ... + def getJumpers( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.SubseaJumper]: ... + 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]: ... def getPLETs(self) -> java.util.List[jneqsim.process.equipment.subsea.PLET]: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getResult(self) -> 'SubseaProductionSystem.SubseaSystemResult': ... - def getRisers(self) -> java.util.List[jneqsim.process.equipment.subsea.FlexiblePipe]: ... - def getSteelRisers(self) -> java.util.List[jneqsim.process.equipment.subsea.SimpleFlowLine]: ... + def getResult(self) -> "SubseaProductionSystem.SubseaSystemResult": ... + def getRisers( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.FlexiblePipe]: ... + def getSteelRisers( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.SimpleFlowLine]: ... def getTiebackDistanceKm(self) -> float: ... - def getTiebackOption(self) -> jneqsim.process.fielddevelopment.tieback.TiebackOption: ... - def getTrees(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaTree]: ... - def getUmbilicals(self) -> java.util.List[jneqsim.process.equipment.subsea.Umbilical]: ... + def getTiebackOption( + self, + ) -> jneqsim.process.fielddevelopment.tieback.TiebackOption: ... + def getTrees( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.SubseaTree]: ... + def getUmbilicals( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.Umbilical]: ... def getWaterDepthM(self) -> float: ... def getWellCount(self) -> int: ... - def getWellLocationType(self) -> jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType: ... - def getWells(self) -> java.util.List[jneqsim.process.equipment.subsea.SubseaWell]: ... + def getWellLocationType( + self, + ) -> jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType: ... + def getWells( + self, + ) -> java.util.List[jneqsim.process.equipment.subsea.SubseaWell]: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setArchitecture(self, subseaArchitecture: 'SubseaProductionSystem.SubseaArchitecture') -> 'SubseaProductionSystem': ... - def setCompletionType(self, completionType: jneqsim.process.equipment.subsea.SubseaWell.CompletionType) -> 'SubseaProductionSystem': ... - def setCostRegion(self, region: jneqsim.process.mechanicaldesign.subsea.SubseaCostEstimator.Region) -> 'SubseaProductionSystem': ... - def setDiscoveryLocation(self, double: float, double2: float) -> 'SubseaProductionSystem': ... - def setFlexibleRiser(self, boolean: bool) -> 'SubseaProductionSystem': ... - def setFlowlineDiameterInches(self, double: float) -> 'SubseaProductionSystem': ... - def setFlowlineMaterial(self, string: typing.Union[java.lang.String, str]) -> 'SubseaProductionSystem': ... - def setFlowlineWallThicknessMm(self, double: float) -> 'SubseaProductionSystem': ... - def setHostFacility(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility) -> 'SubseaProductionSystem': ... - def setIncludeRisers(self, boolean: bool) -> 'SubseaProductionSystem': ... - def setManifoldCount(self, int: int) -> 'SubseaProductionSystem': ... - def setProductionRiserCount(self, int: int) -> 'SubseaProductionSystem': ... - def setRatePerWell(self, double: float) -> 'SubseaProductionSystem': ... - def setReservoirConditions(self, double: float, double2: float) -> 'SubseaProductionSystem': ... - def setReservoirDevelopmentCostMusd(self, double: float) -> 'SubseaProductionSystem': ... - def setReservoirFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SubseaProductionSystem': ... - def setRigType(self, rigType: jneqsim.process.equipment.subsea.SubseaWell.RigType) -> 'SubseaProductionSystem': ... - def setSeabedTemperatureC(self, double: float) -> 'SubseaProductionSystem': ... - def setTiebackDistanceKm(self, double: float) -> 'SubseaProductionSystem': ... - def setTubingDiameterInches(self, double: float) -> 'SubseaProductionSystem': ... - def setUmbilicalLengthKm(self, double: float) -> 'SubseaProductionSystem': ... - def setWaterDepthM(self, double: float) -> 'SubseaProductionSystem': ... - def setWellCount(self, int: int) -> 'SubseaProductionSystem': ... - def setWellDepthM(self, double: float) -> 'SubseaProductionSystem': ... - def setWellLocationType(self, wellLocationType: jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType) -> 'SubseaProductionSystem': ... - def setWellheadConditions(self, double: float, double2: float) -> 'SubseaProductionSystem': ... - class SubseaArchitecture(java.lang.Enum['SubseaProductionSystem.SubseaArchitecture']): - DIRECT_TIEBACK: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... - MANIFOLD_CLUSTER: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... - DAISY_CHAIN: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... - TEMPLATE: typing.ClassVar['SubseaProductionSystem.SubseaArchitecture'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setArchitecture( + self, subseaArchitecture: "SubseaProductionSystem.SubseaArchitecture" + ) -> "SubseaProductionSystem": ... + def setCompletionType( + self, completionType: jneqsim.process.equipment.subsea.SubseaWell.CompletionType + ) -> "SubseaProductionSystem": ... + def setCostRegion( + self, region: jneqsim.process.mechanicaldesign.subsea.SubseaCostEstimator.Region + ) -> "SubseaProductionSystem": ... + def setDiscoveryLocation( + self, double: float, double2: float + ) -> "SubseaProductionSystem": ... + def setFlexibleRiser(self, boolean: bool) -> "SubseaProductionSystem": ... + def setFlowlineDiameterInches(self, double: float) -> "SubseaProductionSystem": ... + def setFlowlineMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "SubseaProductionSystem": ... + def setFlowlineWallThicknessMm(self, double: float) -> "SubseaProductionSystem": ... + def setHostFacility( + self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility + ) -> "SubseaProductionSystem": ... + def setIncludeRisers(self, boolean: bool) -> "SubseaProductionSystem": ... + def setManifoldCount(self, int: int) -> "SubseaProductionSystem": ... + def setProductionRiserCount(self, int: int) -> "SubseaProductionSystem": ... + def setRatePerWell(self, double: float) -> "SubseaProductionSystem": ... + def setReservoirConditions( + self, double: float, double2: float + ) -> "SubseaProductionSystem": ... + def setReservoirDevelopmentCostMusd( + self, double: float + ) -> "SubseaProductionSystem": ... + def setReservoirFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "SubseaProductionSystem": ... + def setRigType( + self, rigType: jneqsim.process.equipment.subsea.SubseaWell.RigType + ) -> "SubseaProductionSystem": ... + def setSeabedTemperatureC(self, double: float) -> "SubseaProductionSystem": ... + def setTiebackDistanceKm(self, double: float) -> "SubseaProductionSystem": ... + def setTubingDiameterInches(self, double: float) -> "SubseaProductionSystem": ... + def setUmbilicalLengthKm(self, double: float) -> "SubseaProductionSystem": ... + def setWaterDepthM(self, double: float) -> "SubseaProductionSystem": ... + def setWellCount(self, int: int) -> "SubseaProductionSystem": ... + def setWellDepthM(self, double: float) -> "SubseaProductionSystem": ... + def setWellLocationType( + self, + wellLocationType: jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType, + ) -> "SubseaProductionSystem": ... + def setWellheadConditions( + self, double: float, double2: float + ) -> "SubseaProductionSystem": ... + + class SubseaArchitecture( + java.lang.Enum["SubseaProductionSystem.SubseaArchitecture"] + ): + DIRECT_TIEBACK: typing.ClassVar["SubseaProductionSystem.SubseaArchitecture"] = ( + ... + ) + MANIFOLD_CLUSTER: typing.ClassVar[ + "SubseaProductionSystem.SubseaArchitecture" + ] = ... + DAISY_CHAIN: typing.ClassVar["SubseaProductionSystem.SubseaArchitecture"] = ... + TEMPLATE: typing.ClassVar["SubseaProductionSystem.SubseaArchitecture"] = ... + _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: ... + 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]) -> 'SubseaProductionSystem.SubseaArchitecture': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaProductionSystem.SubseaArchitecture": ... @staticmethod - def values() -> typing.MutableSequence['SubseaProductionSystem.SubseaArchitecture']: ... + def values() -> ( + typing.MutableSequence["SubseaProductionSystem.SubseaArchitecture"] + ): ... + class SubseaSystemResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getArrivalPressureBara(self) -> float: ... def getArrivalTemperatureC(self) -> float: ... - def getDetailedDevelopmentEstimateResult(self) -> jneqsim.process.costestimation.CostEstimateResult: ... + def getDetailedDevelopmentEstimateResult( + self, + ) -> jneqsim.process.costestimation.CostEstimateResult: ... def getJumperAndPletCostMusd(self) -> float: ... def getManifoldCostMusd(self) -> float: ... def getPipelineCostMusd(self) -> float: ... @@ -99,15 +159,20 @@ class SubseaProductionSystem(java.io.Serializable): def getRiserCostMusd(self) -> float: ... def getSubseaTreeCostMusd(self) -> float: ... def getSummary(self) -> java.lang.String: ... - def getSurfDetailedEstimateResult(self) -> jneqsim.process.costestimation.CostEstimateResult: ... + def getSurfDetailedEstimateResult( + self, + ) -> jneqsim.process.costestimation.CostEstimateResult: ... def getTotalDevelopmentCapexMusd(self) -> float: ... def getTotalPressureDropBara(self) -> float: ... def getTotalProductionSm3d(self) -> float: ... def getTotalSubseaCapexMusd(self) -> float: ... def getUmbilicalCostMusd(self) -> float: ... def getWellCostMusd(self) -> float: ... - def getWellLocationType(self) -> jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType: ... - + def getWellLocationType( + self, + ) -> ( + jneqsim.process.mechanicaldesign.subsea.WellCostEstimator.WellLocationType + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.subsea")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi index cb8eddc2..e0df86e0 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/tieback/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,13 +16,15 @@ import jneqsim.process.fielddevelopment.tieback.capacity import jneqsim.process.processmodel import typing - - class HostFacility(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def assessCapacity(self, double: float, double2: float, double3: float, double4: float) -> 'HostFacility.HostCapacityReport': ... + def assessCapacity( + self, double: float, double2: float, double3: float, double4: float + ) -> "HostFacility.HostCapacityReport": ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'HostFacility.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "HostFacility.Builder": ... def canAcceptGasRate(self, double: float) -> bool: ... def canAcceptOilRate(self, double: float) -> bool: ... def distanceToKm(self, double: float, double2: float) -> float: ... @@ -43,7 +45,7 @@ class HostFacility(java.io.Serializable): def getSpareLiquidCapacity(self) -> float: ... def getSpareOilCapacity(self) -> float: ... def getSpareWaterCapacity(self) -> float: ... - def getType(self) -> 'HostFacility.FacilityType': ... + def getType(self) -> "HostFacility.FacilityType": ... def getWaterCapacityM3d(self) -> float: ... def getWaterDepthM(self) -> float: ... def getWaterUtilization(self) -> float: ... @@ -60,45 +62,61 @@ class HostFacility(java.io.Serializable): def setOilCapacityBopd(self, double: float) -> None: ... def setOilUtilization(self, double: float) -> None: ... def setOperator(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - def setType(self, facilityType: 'HostFacility.FacilityType') -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... + def setType(self, facilityType: "HostFacility.FacilityType") -> None: ... def setWaterCapacityM3d(self, double: float) -> None: ... def setWaterDepthM(self, double: float) -> None: ... def setWaterUtilization(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'HostFacility': ... - def gasCapacity(self, double: float) -> 'HostFacility.Builder': ... - def gasUtilization(self, double: float) -> 'HostFacility.Builder': ... - def liquidCapacity(self, double: float) -> 'HostFacility.Builder': ... - def location(self, double: float, double2: float) -> 'HostFacility.Builder': ... - def maxTieInPressure(self, double: float) -> 'HostFacility.Builder': ... - def minTieInPressure(self, double: float) -> 'HostFacility.Builder': ... - def oilCapacity(self, double: float) -> 'HostFacility.Builder': ... - def oilUtilization(self, double: float) -> 'HostFacility.Builder': ... - def operator(self, string: typing.Union[java.lang.String, str]) -> 'HostFacility.Builder': ... - def processSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'HostFacility.Builder': ... - def spareGasCapacity(self, double: float) -> 'HostFacility.Builder': ... - def spareOilCapacity(self, double: float) -> 'HostFacility.Builder': ... - def type(self, facilityType: 'HostFacility.FacilityType') -> 'HostFacility.Builder': ... - def waterCapacity(self, double: float) -> 'HostFacility.Builder': ... - def waterDepth(self, double: float) -> 'HostFacility.Builder': ... - class FacilityType(java.lang.Enum['HostFacility.FacilityType']): - PLATFORM: typing.ClassVar['HostFacility.FacilityType'] = ... - FPSO: typing.ClassVar['HostFacility.FacilityType'] = ... - TLP: typing.ClassVar['HostFacility.FacilityType'] = ... - SEMI_SUB: typing.ClassVar['HostFacility.FacilityType'] = ... - ONSHORE_TERMINAL: typing.ClassVar['HostFacility.FacilityType'] = ... - SUBSEA_HUB: typing.ClassVar['HostFacility.FacilityType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build(self) -> "HostFacility": ... + def gasCapacity(self, double: float) -> "HostFacility.Builder": ... + def gasUtilization(self, double: float) -> "HostFacility.Builder": ... + def liquidCapacity(self, double: float) -> "HostFacility.Builder": ... + def location(self, double: float, double2: float) -> "HostFacility.Builder": ... + def maxTieInPressure(self, double: float) -> "HostFacility.Builder": ... + def minTieInPressure(self, double: float) -> "HostFacility.Builder": ... + def oilCapacity(self, double: float) -> "HostFacility.Builder": ... + def oilUtilization(self, double: float) -> "HostFacility.Builder": ... + def operator( + self, string: typing.Union[java.lang.String, str] + ) -> "HostFacility.Builder": ... + def processSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "HostFacility.Builder": ... + def spareGasCapacity(self, double: float) -> "HostFacility.Builder": ... + def spareOilCapacity(self, double: float) -> "HostFacility.Builder": ... + def type( + self, facilityType: "HostFacility.FacilityType" + ) -> "HostFacility.Builder": ... + def waterCapacity(self, double: float) -> "HostFacility.Builder": ... + def waterDepth(self, double: float) -> "HostFacility.Builder": ... + + class FacilityType(java.lang.Enum["HostFacility.FacilityType"]): + PLATFORM: typing.ClassVar["HostFacility.FacilityType"] = ... + FPSO: typing.ClassVar["HostFacility.FacilityType"] = ... + TLP: typing.ClassVar["HostFacility.FacilityType"] = ... + SEMI_SUB: typing.ClassVar["HostFacility.FacilityType"] = ... + ONSHORE_TERMINAL: typing.ClassVar["HostFacility.FacilityType"] = ... + SUBSEA_HUB: typing.ClassVar["HostFacility.FacilityType"] = ... + _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: ... + 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]) -> 'HostFacility.FacilityType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HostFacility.FacilityType": ... @staticmethod - def values() -> typing.MutableSequence['HostFacility.FacilityType']: ... + def values() -> typing.MutableSequence["HostFacility.FacilityType"]: ... + class HostCapacityReport(java.io.Serializable): def getActiveBottleneckCount(self) -> int: ... def getHostName(self) -> java.lang.String: ... @@ -124,31 +142,90 @@ class HostFacility(java.io.Serializable): class TiebackAnalyzer(java.io.Serializable): def __init__(self): ... @typing.overload - def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility]) -> 'TiebackReport': ... + def analyze( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + list: java.util.List[HostFacility], + ) -> "TiebackReport": ... @typing.overload - def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility], double: float, double2: float) -> 'TiebackReport': ... + def analyze( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + list: java.util.List[HostFacility], + double: float, + double2: float, + ) -> "TiebackReport": ... @typing.overload - def analyze(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, list: java.util.List[HostFacility], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.fielddevelopment.network.TiebackRouteNetwork], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.fielddevelopment.network.TiebackRouteNetwork]], double: float, double2: float) -> 'TiebackReport': ... + def analyze( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + list: java.util.List[HostFacility], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.fielddevelopment.network.TiebackRouteNetwork, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.fielddevelopment.network.TiebackRouteNetwork, + ], + ], + double: float, + double2: float, + ) -> "TiebackReport": ... @typing.overload - def evaluateSingleTieback(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, hostFacility: HostFacility, double: float, double2: float) -> 'TiebackOption': ... + def evaluateSingleTieback( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + hostFacility: HostFacility, + double: float, + double2: float, + ) -> "TiebackOption": ... @typing.overload - def evaluateSingleTieback(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, hostFacility: HostFacility, tiebackRouteNetwork: jneqsim.process.fielddevelopment.network.TiebackRouteNetwork, double: float, double2: float) -> 'TiebackOption': ... + def evaluateSingleTieback( + self, + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + hostFacility: HostFacility, + tiebackRouteNetwork: jneqsim.process.fielddevelopment.network.TiebackRouteNetwork, + double: float, + double2: float, + ) -> "TiebackOption": ... def getDiscountRate(self) -> float: ... def getGasPriceUsdPerSm3(self) -> float: ... def getMaxTiebackDistanceKm(self) -> float: ... def getOilPriceUsdPerBbl(self) -> float: ... def getPipelineCostPerKmMusd(self) -> float: ... def getSubseaTreeCostMusd(self) -> float: ... - def getTaxModel(self) -> jneqsim.process.fielddevelopment.economics.NorwegianTaxModel: ... - def quickScreen(self, double: float, double2: float, double3: float, double4: float, hostFacility: HostFacility) -> 'TiebackAnalyzer.TiebackScreeningResult': ... - def screenAllHosts(self, double: float, double2: float, double3: float, double4: float, list: java.util.List[HostFacility]) -> java.util.List['TiebackAnalyzer.TiebackScreeningResult']: ... + def getTaxModel( + self, + ) -> jneqsim.process.fielddevelopment.economics.NorwegianTaxModel: ... + def quickScreen( + self, + double: float, + double2: float, + double3: float, + double4: float, + hostFacility: HostFacility, + ) -> "TiebackAnalyzer.TiebackScreeningResult": ... + def screenAllHosts( + self, + double: float, + double2: float, + double3: float, + double4: float, + list: java.util.List[HostFacility], + ) -> java.util.List["TiebackAnalyzer.TiebackScreeningResult"]: ... def setDiscountRate(self, double: float) -> None: ... def setGasPriceUsdPerSm3(self, double: float) -> None: ... def setMaxTiebackDistanceKm(self, double: float) -> None: ... def setOilPriceUsdPerBbl(self, double: float) -> None: ... def setPipelineCostPerKmMusd(self, double: float) -> None: ... def setSubseaTreeCostMusd(self, double: float) -> None: ... - def setTaxModel(self, norwegianTaxModel: jneqsim.process.fielddevelopment.economics.NorwegianTaxModel) -> None: ... + def setTaxModel( + self, + norwegianTaxModel: jneqsim.process.fielddevelopment.economics.NorwegianTaxModel, + ) -> None: ... + class TiebackScreeningResult(java.io.Serializable): def __init__(self): ... def getDistanceKm(self) -> float: ... @@ -160,22 +237,30 @@ class TiebackAnalyzer(java.io.Serializable): def setDistanceKm(self, double: float) -> None: ... def setEstimatedCapexMusd(self, double: float) -> None: ... def setEstimatedNpvMusd(self, double: float) -> None: ... - def setFailureReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFailureReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHostName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPassed(self, boolean: bool) -> None: ... def toString(self) -> java.lang.String: ... -class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... +class TiebackOption(java.io.Serializable, java.lang.Comparable["TiebackOption"]): + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def calculateTotalCapex(self) -> float: ... - def compareTo(self, tiebackOption: 'TiebackOption') -> int: ... + def compareTo(self, tiebackOption: "TiebackOption") -> int: ... def estimatePipelineCapex(self, double: float) -> float: ... def getArrivalPressureBara(self) -> float: ... def getArrivalTemperatureC(self) -> float: ... def getBreakevenPrice(self) -> float: ... def getCapexPerKm(self) -> float: ... def getCapexPerReserveUnit(self) -> float: ... - def getCorrosionResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getCorrosionResult( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... def getDiscoveryName(self) -> java.lang.String: ... def getDistanceKm(self) -> float: ... def getDrillingCapexMusd(self) -> float: ... @@ -188,7 +273,9 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def getHostName(self) -> java.lang.String: ... def getHydrateFormationTemperatureC(self) -> float: ... def getHydrateMarginC(self) -> float: ... - def getHydrateResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getHydrateResult( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... def getHydraulicInfeasibilityReason(self) -> java.lang.String: ... def getInfeasibilityReason(self) -> java.lang.String: ... def getIrr(self) -> float: ... @@ -196,7 +283,9 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def getMaxWaterDepthM(self) -> float: ... def getNpvMusd(self) -> float: ... def getOptionId(self) -> java.lang.String: ... - def getOverallFlowAssuranceResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getOverallFlowAssuranceResult( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... def getPaybackYears(self) -> float: ... def getPipelineCapexMusd(self) -> float: ... def getPipelineDiameterInches(self) -> float: ... @@ -217,7 +306,9 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def getTotalCapexMusd(self) -> float: ... def getUmbilicalCapexMusd(self) -> float: ... def getWatMarginC(self) -> float: ... - def getWaxResult(self) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... + def getWaxResult( + self, + ) -> jneqsim.process.fielddevelopment.screening.FlowAssuranceResult: ... def getWellCount(self) -> int: ... def hasFlowAssuranceIssues(self) -> bool: ... def isFeasible(self) -> bool: ... @@ -225,22 +316,36 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def setArrivalPressureBara(self, double: float) -> None: ... def setArrivalTemperatureC(self, double: float) -> None: ... def setBreakevenPrice(self, double: float) -> None: ... - def setCorrosionResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setCorrosionResult( + self, + flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult, + ) -> None: ... def setDistanceKm(self, double: float) -> None: ... def setDrillingCapexMusd(self, double: float) -> None: ... def setErosionalVelocityRatio(self, double: float) -> None: ... def setFeasible(self, boolean: bool) -> None: ... def setFieldLifeYears(self, double: float) -> None: ... - def setFlowAssuranceNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowAssuranceNotes( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFlowRegime(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setHostCapacitySummary(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHostCapacitySummary( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHostModificationCapexMusd(self, double: float) -> None: ... def setHydrateFormationTemperatureC(self, double: float) -> None: ... def setHydrateMarginC(self, double: float) -> None: ... - def setHydrateResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setHydrateResult( + self, + flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult, + ) -> None: ... def setHydraulicFeasible(self, boolean: bool) -> None: ... - def setHydraulicInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHydraulicInfeasibilityReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInfeasibilityReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIrr(self, double: float) -> None: ... def setMaxProductionRate(self, double: float) -> None: ... def setMaxWaterDepthM(self, double: float) -> None: ... @@ -254,7 +359,9 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def setReservesUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setRouteBranchCount(self, int: int) -> None: ... def setRouteInstalledLengthKm(self, double: float) -> None: ... - def setRouteNetworkName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRouteNetworkName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRouteRiserCount(self, int: int) -> None: ... def setRouteSharedCorridorLengthKm(self, double: float) -> None: ... def setRouteSummary(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -264,13 +371,26 @@ class TiebackOption(java.io.Serializable, java.lang.Comparable['TiebackOption']) def setTotalCapexMusd(self, double: float) -> None: ... def setUmbilicalCapexMusd(self, double: float) -> None: ... def setWatMarginC(self, double: float) -> None: ... - def setWaxResult(self, flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult) -> None: ... + def setWaxResult( + self, + flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceResult, + ) -> None: ... def setWellCount(self, int: int) -> None: ... def toString(self) -> java.lang.String: ... class TiebackReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[TiebackOption], double: float, double2: float): ... - def compareOptions(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[TiebackOption], + double: float, + double2: float, + ): ... + def compareOptions( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... def getBestFeasibleOption(self) -> TiebackOption: ... def getBestOption(self) -> TiebackOption: ... def getCapexRange(self) -> typing.MutableSequence[float]: ... @@ -280,7 +400,9 @@ class TiebackReport(java.io.Serializable): def getFeasibleOptionCount(self) -> int: ... def getFeasibleOptions(self) -> java.util.List[TiebackOption]: ... def getNpvRange(self) -> typing.MutableSequence[float]: ... - def getOptionByHost(self, string: typing.Union[java.lang.String, str]) -> TiebackOption: ... + def getOptionByHost( + self, string: typing.Union[java.lang.String, str] + ) -> TiebackOption: ... def getOptionCount(self) -> int: ... def getOptions(self) -> java.util.List[TiebackOption]: ... def getProfitableOptionCount(self) -> int: ... @@ -294,7 +416,6 @@ class TiebackReport(java.io.Serializable): def toMarkdownTable(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi index 6ad52052..d8201c10 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/tieback/capacity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,26 +12,39 @@ import jpype import jneqsim.process.fielddevelopment.tieback import typing - - -class CapacityAllocationPolicy(java.lang.Enum['CapacityAllocationPolicy']): - BASE_FIRST: typing.ClassVar['CapacityAllocationPolicy'] = ... - SATELLITE_FIRST: typing.ClassVar['CapacityAllocationPolicy'] = ... - PRO_RATA: typing.ClassVar['CapacityAllocationPolicy'] = ... - VALUE_WEIGHTED: typing.ClassVar['CapacityAllocationPolicy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class CapacityAllocationPolicy(java.lang.Enum["CapacityAllocationPolicy"]): + BASE_FIRST: typing.ClassVar["CapacityAllocationPolicy"] = ... + SATELLITE_FIRST: typing.ClassVar["CapacityAllocationPolicy"] = ... + PRO_RATA: typing.ClassVar["CapacityAllocationPolicy"] = ... + VALUE_WEIGHTED: typing.ClassVar["CapacityAllocationPolicy"] = ... + _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: ... + 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]) -> 'CapacityAllocationPolicy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CapacityAllocationPolicy": ... @staticmethod - def values() -> typing.MutableSequence['CapacityAllocationPolicy']: ... + def values() -> typing.MutableSequence["CapacityAllocationPolicy"]: ... -class DebottleneckDecision(java.io.Serializable, java.lang.Comparable['DebottleneckDecision']): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, boolean: bool): ... - def compareTo(self, debottleneckDecision: 'DebottleneckDecision') -> int: ... +class DebottleneckDecision( + java.io.Serializable, java.lang.Comparable["DebottleneckDecision"] +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + boolean: bool, + ): ... + def compareTo(self, debottleneckDecision: "DebottleneckDecision") -> int: ... def getBottleneckName(self) -> java.lang.String: ... def getCapexMusd(self) -> float: ... def getDescription(self) -> java.lang.String: ... @@ -40,39 +53,68 @@ class DebottleneckDecision(java.io.Serializable, java.lang.Comparable['Debottlen def getRecoveredValueMusd(self) -> float: ... def isRecommended(self) -> bool: ... -class HoldbackPolicy(java.lang.Enum['HoldbackPolicy']): - CURTAIL: typing.ClassVar['HoldbackPolicy'] = ... - DEFER_TO_LATER_YEARS: typing.ClassVar['HoldbackPolicy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class HoldbackPolicy(java.lang.Enum["HoldbackPolicy"]): + CURTAIL: typing.ClassVar["HoldbackPolicy"] = ... + DEFER_TO_LATER_YEARS: typing.ClassVar["HoldbackPolicy"] = ... + _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: ... + 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]) -> 'HoldbackPolicy': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "HoldbackPolicy": ... @staticmethod - def values() -> typing.MutableSequence['HoldbackPolicy']: ... + def values() -> typing.MutableSequence["HoldbackPolicy"]: ... class HostTieInPoint(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getBaseProcessRate(self) -> float: ... def getProcessRateUnit(self) -> java.lang.String: ... def getProcessStreamReference(self) -> java.lang.String: ... - def setBaseProcessRate(self, double: float) -> 'HostTieInPoint': ... - def setGasToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... - def setLiquidToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... - def setOilToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... - def setWaterToProcessRateFactor(self, double: float) -> 'HostTieInPoint': ... - def toProcessRate(self, productionLoad: 'ProductionLoad') -> float: ... + def setBaseProcessRate(self, double: float) -> "HostTieInPoint": ... + def setGasToProcessRateFactor(self, double: float) -> "HostTieInPoint": ... + def setLiquidToProcessRateFactor(self, double: float) -> "HostTieInPoint": ... + def setOilToProcessRateFactor(self, double: float) -> "HostTieInPoint": ... + def setWaterToProcessRateFactor(self, double: float) -> "HostTieInPoint": ... + def toProcessRate(self, productionLoad: "ProductionLoad") -> float: ... class ProductionLoad(java.io.Serializable): BARREL_TO_M3: typing.ClassVar[float] = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, int: int, double: float, double2: float, double3: float, double4: float + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ): ... def getDailyValueUsd(self) -> float: ... def getGasRateMSm3d(self) -> float: ... def getGasValueUsdPerMSm3(self) -> float: ... @@ -92,55 +134,107 @@ class ProductionLoad(java.io.Serializable): def getWaterVolumeM3(self) -> float: ... def getYear(self) -> int: ... def isZero(self) -> bool: ... - def plus(self, productionLoad: 'ProductionLoad') -> 'ProductionLoad': ... - def scale(self, double: float) -> 'ProductionLoad': ... - def subtractNonNegative(self, productionLoad: 'ProductionLoad') -> 'ProductionLoad': ... + def plus(self, productionLoad: "ProductionLoad") -> "ProductionLoad": ... + def scale(self, double: float) -> "ProductionLoad": ... + def subtractNonNegative( + self, productionLoad: "ProductionLoad" + ) -> "ProductionLoad": ... def toString(self) -> java.lang.String: ... - def withCommodityValues(self, double: float, double2: float, double3: float, double4: float) -> 'ProductionLoad': ... - def withPeriod(self, string: typing.Union[java.lang.String, str], int: int) -> 'ProductionLoad': ... - def withPeriodLengthDays(self, double: float) -> 'ProductionLoad': ... + def withCommodityValues( + self, double: float, double2: float, double3: float, double4: float + ) -> "ProductionLoad": ... + def withPeriod( + self, string: typing.Union[java.lang.String, str], int: int + ) -> "ProductionLoad": ... + def withPeriodLengthDays(self, double: float) -> "ProductionLoad": ... @staticmethod - def zero(int: int, string: typing.Union[java.lang.String, str]) -> 'ProductionLoad': ... + def zero( + int: int, string: typing.Union[java.lang.String, str] + ) -> "ProductionLoad": ... class ProductionProfileSeries(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def add(self, productionLoad: ProductionLoad) -> 'ProductionProfileSeries': ... + def add(self, productionLoad: ProductionLoad) -> "ProductionProfileSeries": ... @typing.overload - def addPeriod(self, int: int, double: float, double2: float, double3: float, double4: float) -> 'ProductionProfileSeries': ... + def addPeriod( + self, int: int, double: float, double2: float, double3: float, double4: float + ) -> "ProductionProfileSeries": ... @typing.overload - def addPeriod(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float) -> 'ProductionProfileSeries': ... + def addPeriod( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + ) -> "ProductionProfileSeries": ... @staticmethod - def fromGasRates(string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionProfileSeries': ... + def fromGasRates( + string: typing.Union[java.lang.String, str], + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "ProductionProfileSeries": ... @staticmethod - def fromOilRates(string: typing.Union[java.lang.String, str], int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionProfileSeries': ... + def fromOilRates( + string: typing.Union[java.lang.String, str], + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "ProductionProfileSeries": ... def getLoad(self, int: int) -> ProductionLoad: ... def getLoadByYear(self, int: int) -> ProductionLoad: ... - def getLoadByYearOrIndex(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> ProductionLoad: ... + def getLoadByYearOrIndex( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> ProductionLoad: ... def getLoads(self) -> java.util.List[ProductionLoad]: ... def getName(self) -> java.lang.String: ... def isEmpty(self) -> bool: ... def size(self) -> int: ... class TieInCapacityPlanner(java.io.Serializable): - def __init__(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility): ... - def run(self) -> 'TieInCapacityResult': ... - def setAllocationPolicy(self, capacityAllocationPolicy: CapacityAllocationPolicy) -> 'TieInCapacityPlanner': ... - def setDefaultCommodityValues(self, double: float, double2: float, double3: float, double4: float) -> 'TieInCapacityPlanner': ... - def setDefaultDebottleneckCapexMusd(self, double: float) -> 'TieInCapacityPlanner': ... - def setDiscountRate(self, double: float) -> 'TieInCapacityPlanner': ... - def setHoldbackPolicy(self, holdbackPolicy: HoldbackPolicy) -> 'TieInCapacityPlanner': ... - def setHostProductionProfile(self, productionProfileSeries: ProductionProfileSeries) -> 'TieInCapacityPlanner': ... - def setProcessUtilizationLimit(self, double: float) -> 'TieInCapacityPlanner': ... - def setSatelliteProductionProfile(self, productionProfileSeries: ProductionProfileSeries) -> 'TieInCapacityPlanner': ... - def setTieInPoint(self, hostTieInPoint: HostTieInPoint) -> 'TieInCapacityPlanner': ... + def __init__( + self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility + ): ... + def run(self) -> "TieInCapacityResult": ... + def setAllocationPolicy( + self, capacityAllocationPolicy: CapacityAllocationPolicy + ) -> "TieInCapacityPlanner": ... + def setDefaultCommodityValues( + self, double: float, double2: float, double3: float, double4: float + ) -> "TieInCapacityPlanner": ... + def setDefaultDebottleneckCapexMusd( + self, double: float + ) -> "TieInCapacityPlanner": ... + def setDiscountRate(self, double: float) -> "TieInCapacityPlanner": ... + def setHoldbackPolicy( + self, holdbackPolicy: HoldbackPolicy + ) -> "TieInCapacityPlanner": ... + def setHostProductionProfile( + self, productionProfileSeries: ProductionProfileSeries + ) -> "TieInCapacityPlanner": ... + def setProcessUtilizationLimit(self, double: float) -> "TieInCapacityPlanner": ... + def setSatelliteProductionProfile( + self, productionProfileSeries: ProductionProfileSeries + ) -> "TieInCapacityPlanner": ... + def setTieInPoint( + self, hostTieInPoint: HostTieInPoint + ) -> "TieInCapacityPlanner": ... class TieInCapacityResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], capacityAllocationPolicy: CapacityAllocationPolicy, holdbackPolicy: HoldbackPolicy, list: java.util.List['TieInPeriodResult'], list2: java.util.List[DebottleneckDecision], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + capacityAllocationPolicy: CapacityAllocationPolicy, + holdbackPolicy: HoldbackPolicy, + list: java.util.List["TieInPeriodResult"], + list2: java.util.List[DebottleneckDecision], + string2: typing.Union[java.lang.String, str], + ): ... def getAllocationPolicy(self) -> CapacityAllocationPolicy: ... def getDebottleneckDecisions(self) -> java.util.List[DebottleneckDecision]: ... def getHoldbackPolicy(self) -> HoldbackPolicy: ... def getHostName(self) -> java.lang.String: ... - def getPeriodResults(self) -> java.util.List['TieInPeriodResult']: ... + def getPeriodResults(self) -> java.util.List["TieInPeriodResult"]: ... def getPrimaryBottleneck(self) -> java.lang.String: ... def getSummary(self) -> java.lang.String: ... def getTotalAcceptedGasMSm3(self) -> float: ... @@ -156,7 +250,32 @@ class TieInCapacityResult(java.io.Serializable): def toMarkdownTable(self) -> java.lang.String: ... class TieInPeriodResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, productionLoad: ProductionLoad, productionLoad2: ProductionLoad, productionLoad3: ProductionLoad, productionLoad4: ProductionLoad, productionLoad5: ProductionLoad, productionLoad6: ProductionLoad, productionLoad7: ProductionLoad, productionLoad8: ProductionLoad, double: float, string2: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool, string3: typing.Union[java.lang.String, str], double2: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double3: float, double4: float, string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + productionLoad: ProductionLoad, + productionLoad2: ProductionLoad, + productionLoad3: ProductionLoad, + productionLoad4: ProductionLoad, + productionLoad5: ProductionLoad, + productionLoad6: ProductionLoad, + productionLoad7: ProductionLoad, + productionLoad8: ProductionLoad, + double: float, + string2: typing.Union[java.lang.String, str], + boolean: bool, + boolean2: bool, + string3: typing.Union[java.lang.String, str], + double2: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double3: float, + double4: float, + string4: typing.Union[java.lang.String, str], + ): ... def getAcceptedBase(self) -> ProductionLoad: ... def getAcceptedSatellite(self) -> ProductionLoad: ... def getBaseRequest(self) -> ProductionLoad: ... @@ -170,7 +289,9 @@ class TieInPeriodResult(java.io.Serializable): def getPrimaryBottleneck(self) -> java.lang.String: ... def getProcessBottleneck(self) -> java.lang.String: ... def getProcessBottleneckUtilization(self) -> float: ... - def getProcessUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getProcessUtilizationSummary( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getSatelliteAllocationScale(self) -> float: ... def getSatelliteRequest(self) -> ProductionLoad: ... def getScheduledSatellite(self) -> ProductionLoad: ... @@ -179,7 +300,6 @@ class TieInPeriodResult(java.io.Serializable): def isProcessCapacityAvailable(self) -> bool: ... def isProcessModelUsed(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.tieback.capacity")``. diff --git a/src/jneqsim-stubs/process/fielddevelopment/workflow/__init__.pyi b/src/jneqsim-stubs/process/fielddevelopment/workflow/__init__.pyi index 906d5552..a075b98b 100644 --- a/src/jneqsim-stubs/process/fielddevelopment/workflow/__init__.pyi +++ b/src/jneqsim-stubs/process/fielddevelopment/workflow/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,88 +21,163 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class FieldDevelopmentWorkflow(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept): ... - def addHostFacility(self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility) -> 'FieldDevelopmentWorkflow': ... - def addWell(self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem) -> 'FieldDevelopmentWorkflow': ... - def configureSubseaFromConcept(self) -> 'FieldDevelopmentWorkflow': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept, + ): ... + def addHostFacility( + self, hostFacility: jneqsim.process.fielddevelopment.tieback.HostFacility + ) -> "FieldDevelopmentWorkflow": ... + def addWell( + self, wellSystem: jneqsim.process.equipment.reservoir.WellSystem + ) -> "FieldDevelopmentWorkflow": ... + def configureSubseaFromConcept(self) -> "FieldDevelopmentWorkflow": ... @staticmethod - def generateComparisonReport(list: java.util.List['FieldDevelopmentWorkflow']) -> java.lang.String: ... - def getFidelityLevel(self) -> 'FieldDevelopmentWorkflow.FidelityLevel': ... - def getLastResult(self) -> 'WorkflowResult': ... + def generateComparisonReport( + list: java.util.List["FieldDevelopmentWorkflow"], + ) -> java.lang.String: ... + def getFidelityLevel(self) -> "FieldDevelopmentWorkflow.FidelityLevel": ... + def getLastResult(self) -> "WorkflowResult": ... def getProjectName(self) -> java.lang.String: ... - def getStudyPhase(self) -> 'FieldDevelopmentWorkflow.StudyPhase': ... + def getStudyPhase(self) -> "FieldDevelopmentWorkflow.StudyPhase": ... @staticmethod - def quickGasTieback(string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, double3: float, string2: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... + def quickGasTieback( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + double3: float, + string2: typing.Union[java.lang.String, str], + ) -> "FieldDevelopmentWorkflow": ... @staticmethod - def quickOilDevelopment(string: typing.Union[java.lang.String, str], double: float, int: int, double2: float, string2: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... - def run(self) -> 'WorkflowResult': ... - def setCalculateEmissions(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... - def setConcept(self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept) -> 'FieldDevelopmentWorkflow': ... - def setCountryCode(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... - def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... - def setDiscountRate(self, double: float) -> 'FieldDevelopmentWorkflow': ... - def setFacilityConfig(self, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig) -> 'FieldDevelopmentWorkflow': ... - def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentWorkflow.FidelityLevel') -> 'FieldDevelopmentWorkflow': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FieldDevelopmentWorkflow': ... - def setGridEmissionFactor(self, double: float) -> 'FieldDevelopmentWorkflow': ... - def setMonteCarloIterations(self, int: int) -> 'FieldDevelopmentWorkflow': ... - def setPowerSupplyType(self, string: typing.Union[java.lang.String, str]) -> 'FieldDevelopmentWorkflow': ... - def setPrices(self, double: float, double2: float, double3: float) -> 'FieldDevelopmentWorkflow': ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'FieldDevelopmentWorkflow': ... - def setProductionTiming(self, int: int, int2: int, double: float, double2: float) -> 'FieldDevelopmentWorkflow': ... - def setReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir) -> 'FieldDevelopmentWorkflow': ... - def setRunMechanicalDesign(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... - def setRunSubseaAnalysis(self, boolean: bool) -> 'FieldDevelopmentWorkflow': ... - def setStudyPhase(self, studyPhase: 'FieldDevelopmentWorkflow.StudyPhase') -> 'FieldDevelopmentWorkflow': ... - def setSubseaArchitecture(self, subseaArchitecture: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaArchitecture) -> 'FieldDevelopmentWorkflow': ... - def setSubseaSystem(self, subseaProductionSystem: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem) -> 'FieldDevelopmentWorkflow': ... - def setTiebackAnalyzer(self, tiebackAnalyzer: jneqsim.process.fielddevelopment.tieback.TiebackAnalyzer) -> 'FieldDevelopmentWorkflow': ... - def setTiebackDistanceKm(self, double: float) -> 'FieldDevelopmentWorkflow': ... - def setWaterDepthM(self, double: float) -> 'FieldDevelopmentWorkflow': ... - class FidelityLevel(java.lang.Enum['FieldDevelopmentWorkflow.FidelityLevel']): - SCREENING: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... - CONCEPTUAL: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... - DETAILED: typing.ClassVar['FieldDevelopmentWorkflow.FidelityLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def quickOilDevelopment( + string: typing.Union[java.lang.String, str], + double: float, + int: int, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "FieldDevelopmentWorkflow": ... + def run(self) -> "WorkflowResult": ... + def setCalculateEmissions(self, boolean: bool) -> "FieldDevelopmentWorkflow": ... + def setConcept( + self, fieldConcept: jneqsim.process.fielddevelopment.concept.FieldConcept + ) -> "FieldDevelopmentWorkflow": ... + def setCountryCode( + self, string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentWorkflow": ... + def setDesignStandard( + self, string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentWorkflow": ... + def setDiscountRate(self, double: float) -> "FieldDevelopmentWorkflow": ... + def setFacilityConfig( + self, facilityConfig: jneqsim.process.fielddevelopment.facility.FacilityConfig + ) -> "FieldDevelopmentWorkflow": ... + def setFidelityLevel( + self, fidelityLevel: "FieldDevelopmentWorkflow.FidelityLevel" + ) -> "FieldDevelopmentWorkflow": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "FieldDevelopmentWorkflow": ... + def setGridEmissionFactor(self, double: float) -> "FieldDevelopmentWorkflow": ... + def setMonteCarloIterations(self, int: int) -> "FieldDevelopmentWorkflow": ... + def setPowerSupplyType( + self, string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentWorkflow": ... + def setPrices( + self, double: float, double2: float, double3: float + ) -> "FieldDevelopmentWorkflow": ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "FieldDevelopmentWorkflow": ... + def setProductionTiming( + self, int: int, int2: int, double: float, double2: float + ) -> "FieldDevelopmentWorkflow": ... + def setReservoir( + self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir + ) -> "FieldDevelopmentWorkflow": ... + def setRunMechanicalDesign(self, boolean: bool) -> "FieldDevelopmentWorkflow": ... + def setRunSubseaAnalysis(self, boolean: bool) -> "FieldDevelopmentWorkflow": ... + def setStudyPhase( + self, studyPhase: "FieldDevelopmentWorkflow.StudyPhase" + ) -> "FieldDevelopmentWorkflow": ... + def setSubseaArchitecture( + self, + subseaArchitecture: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaArchitecture, + ) -> "FieldDevelopmentWorkflow": ... + def setSubseaSystem( + self, + subseaProductionSystem: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem, + ) -> "FieldDevelopmentWorkflow": ... + def setTiebackAnalyzer( + self, tiebackAnalyzer: jneqsim.process.fielddevelopment.tieback.TiebackAnalyzer + ) -> "FieldDevelopmentWorkflow": ... + def setTiebackDistanceKm(self, double: float) -> "FieldDevelopmentWorkflow": ... + def setWaterDepthM(self, double: float) -> "FieldDevelopmentWorkflow": ... + + class FidelityLevel(java.lang.Enum["FieldDevelopmentWorkflow.FidelityLevel"]): + SCREENING: typing.ClassVar["FieldDevelopmentWorkflow.FidelityLevel"] = ... + CONCEPTUAL: typing.ClassVar["FieldDevelopmentWorkflow.FidelityLevel"] = ... + DETAILED: typing.ClassVar["FieldDevelopmentWorkflow.FidelityLevel"] = ... + _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: ... + 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]) -> 'FieldDevelopmentWorkflow.FidelityLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentWorkflow.FidelityLevel": ... @staticmethod - def values() -> typing.MutableSequence['FieldDevelopmentWorkflow.FidelityLevel']: ... - class StudyPhase(java.lang.Enum['FieldDevelopmentWorkflow.StudyPhase']): - DISCOVERY: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... - FEASIBILITY: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... - CONCEPT_SELECT: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... - FEED: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... - OPERATIONS: typing.ClassVar['FieldDevelopmentWorkflow.StudyPhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["FieldDevelopmentWorkflow.FidelityLevel"] + ): ... + + class StudyPhase(java.lang.Enum["FieldDevelopmentWorkflow.StudyPhase"]): + DISCOVERY: typing.ClassVar["FieldDevelopmentWorkflow.StudyPhase"] = ... + FEASIBILITY: typing.ClassVar["FieldDevelopmentWorkflow.StudyPhase"] = ... + CONCEPT_SELECT: typing.ClassVar["FieldDevelopmentWorkflow.StudyPhase"] = ... + FEED: typing.ClassVar["FieldDevelopmentWorkflow.StudyPhase"] = ... + OPERATIONS: typing.ClassVar["FieldDevelopmentWorkflow.StudyPhase"] = ... + _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: ... + 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]) -> 'FieldDevelopmentWorkflow.StudyPhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentWorkflow.StudyPhase": ... @staticmethod - def values() -> typing.MutableSequence['FieldDevelopmentWorkflow.StudyPhase']: ... + def values() -> ( + typing.MutableSequence["FieldDevelopmentWorkflow.StudyPhase"] + ): ... class WorkflowResult(java.io.Serializable): projectName: java.lang.String = ... fidelityLevel: FieldDevelopmentWorkflow.FidelityLevel = ... - flowAssuranceResult: jneqsim.process.fielddevelopment.screening.FlowAssuranceReport = ... - economicsReport: jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport = ... + flowAssuranceResult: ( + jneqsim.process.fielddevelopment.screening.FlowAssuranceReport + ) = ... + economicsReport: ( + jneqsim.process.fielddevelopment.screening.EconomicsEstimator.EconomicsReport + ) = ... gasProfile: java.util.Map = ... oilProfile: java.util.Map = ... waterProfile: java.util.Map = ... - cashFlowResult: jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult = ... + cashFlowResult: ( + jneqsim.process.fielddevelopment.economics.CashFlowEngine.CashFlowResult + ) = ... npv: float = ... npvP10: float = ... npvP50: float = ... @@ -111,8 +186,12 @@ class WorkflowResult(java.io.Serializable): paybackYears: float = ... breakevenGasPrice: float = ... breakevenOilPrice: float = ... - monteCarloResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.MonteCarloResult = ... - tornadoResult: jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult = ... + monteCarloResult: ( + jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.MonteCarloResult + ) = ... + tornadoResult: ( + jneqsim.process.fielddevelopment.economics.SensitivityAnalyzer.TornadoResult + ) = ... conceptKPIs: jneqsim.process.fielddevelopment.evaluation.ConceptKPIs = ... mechanicalDesign: jneqsim.process.mechanicaldesign.SystemMechanicalDesign = ... totalEquipmentWeightTonnes: float = ... @@ -124,14 +203,20 @@ class WorkflowResult(java.io.Serializable): emissionBreakdown: java.util.Map = ... powerSupplyType: java.lang.String = ... gridEmissionFactor: float = ... - subseaSystemResult: jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaSystemResult = ... + subseaSystemResult: ( + jneqsim.process.fielddevelopment.subsea.SubseaProductionSystem.SubseaSystemResult + ) = ... tiebackReport: jneqsim.process.fielddevelopment.tieback.TiebackReport = ... selectedTiebackOption: jneqsim.process.fielddevelopment.tieback.TiebackOption = ... subseaCapexMusd: float = ... arrivalPressureBara: float = ... arrivalTemperatureC: float = ... subseaSimulationError: java.lang.String = ... - def __init__(self, string: typing.Union[java.lang.String, str], fidelityLevel: FieldDevelopmentWorkflow.FidelityLevel): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + fidelityLevel: FieldDevelopmentWorkflow.FidelityLevel, + ): ... def getCashFlowTable(self) -> java.lang.String: ... def getProductionTable(self) -> java.lang.String: ... def getSummary(self) -> java.lang.String: ... @@ -139,7 +224,6 @@ class WorkflowResult(java.io.Serializable): def isViableWithConfidence(self, double: float) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.fielddevelopment.workflow")``. diff --git a/src/jneqsim-stubs/process/hydrogen/__init__.pyi b/src/jneqsim-stubs/process/hydrogen/__init__.pyi index a838b6cc..83bce3d0 100644 --- a/src/jneqsim-stubs/process/hydrogen/__init__.pyi +++ b/src/jneqsim-stubs/process/hydrogen/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,18 +16,18 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class ATRHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): def __init__(self): ... def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def setFeedTemperature(self, double: float) -> 'ATRHydrogenPlantBuilder': ... - def setIncludePsa(self, boolean: bool) -> 'ATRHydrogenPlantBuilder': ... - def setMethaneFeedMolePerSec(self, double: float) -> 'ATRHydrogenPlantBuilder': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'ATRHydrogenPlantBuilder': ... - def setOxygenToCarbonRatio(self, double: float) -> 'ATRHydrogenPlantBuilder': ... - def setPressure(self, double: float) -> 'ATRHydrogenPlantBuilder': ... - def setSteamToCarbonRatio(self, double: float) -> 'ATRHydrogenPlantBuilder': ... + def setFeedTemperature(self, double: float) -> "ATRHydrogenPlantBuilder": ... + def setIncludePsa(self, boolean: bool) -> "ATRHydrogenPlantBuilder": ... + def setMethaneFeedMolePerSec(self, double: float) -> "ATRHydrogenPlantBuilder": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "ATRHydrogenPlantBuilder": ... + def setOxygenToCarbonRatio(self, double: float) -> "ATRHydrogenPlantBuilder": ... + def setPressure(self, double: float) -> "ATRHydrogenPlantBuilder": ... + def setSteamToCarbonRatio(self, double: float) -> "ATRHydrogenPlantBuilder": ... class BlueHydrogenPlantBuilder(jneqsim.process.hydrogen.SMRHydrogenPlantBuilder): def __init__(self): ... @@ -36,66 +36,107 @@ class BlueHydrogenPlantBuilder(jneqsim.process.hydrogen.SMRHydrogenPlantBuilder) def getCapturedCo2MassFlowKgPerHour(self) -> float: ... def getCarbonIntensityKgCO2PerKgH2(self) -> float: ... def getCo2CaptureFraction(self) -> float: ... - def getCo2CaptureUnit(self) -> jneqsim.process.equipment.splitter.ComponentCaptureUnit: ... - def getCo2ExportCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... - def getCo2ExportStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getCo2CaptureUnit( + self, + ) -> jneqsim.process.equipment.splitter.ComponentCaptureUnit: ... + def getCo2ExportCompressor( + self, + ) -> jneqsim.process.equipment.compressor.Compressor: ... + def getCo2ExportStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getGrossCarbonIntensityKgCO2PerKgH2(self) -> float: ... def getGrossCo2EquivalentKgPerHour(self) -> float: ... def getH2Dryer(self) -> jneqsim.process.equipment.splitter.ComponentCaptureUnit: ... - def getH2ExportCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... - def getH2ProductStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getHighTemperatureShiftReactor(self) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... + def getH2ExportCompressor( + self, + ) -> jneqsim.process.equipment.compressor.Compressor: ... + def getH2ProductStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHighTemperatureShiftReactor( + self, + ) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... def getHydrogenProductMassFlowKgPerHour(self) -> float: ... - def getLowTemperatureShiftReactor(self) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... + def getLowTemperatureShiftReactor( + self, + ) -> jneqsim.process.equipment.reactor.WaterGasShiftReactor: ... def getPsaCascade(self) -> jneqsim.process.equipment.adsorber.PSACascade: ... - def getReformerFurnace(self) -> jneqsim.process.equipment.reactor.ReformerFurnace: ... + def getReformerFurnace( + self, + ) -> jneqsim.process.equipment.reactor.ReformerFurnace: ... def getResidualCo2EquivalentKgPerHour(self) -> float: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def setCo2CaptureFraction(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setCo2ExportPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setFeedTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setFuelToFeedMethaneRatio(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setH2DryerWaterRemovalFraction(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setH2ExportPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setHighTemperatureShiftTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setIncludePsa(self, boolean: bool) -> 'BlueHydrogenPlantBuilder': ... - def setLowTemperatureShiftTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setMethaneFeedMolePerSec(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'BlueHydrogenPlantBuilder': ... - def setPressure(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setPsaConfiguration(self, cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration) -> 'BlueHydrogenPlantBuilder': ... - def setPsaPerBedRecoveryTarget(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setReformingTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setShiftedGasCoolerOutletTemperature(self, double: float) -> 'BlueHydrogenPlantBuilder': ... - def setSteamToCarbonRatio(self, double: float) -> 'BlueHydrogenPlantBuilder': ... + def setCo2CaptureFraction(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setCo2ExportPressure(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setFeedTemperature(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setFuelToFeedMethaneRatio( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setH2DryerWaterRemovalFraction( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setH2ExportPressure(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setHighTemperatureShiftTemperature( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setIncludePsa(self, boolean: bool) -> "BlueHydrogenPlantBuilder": ... + def setLowTemperatureShiftTemperature( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setMethaneFeedMolePerSec(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "BlueHydrogenPlantBuilder": ... + def setPressure(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setPsaConfiguration( + self, + cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration, + ) -> "BlueHydrogenPlantBuilder": ... + def setPsaPerBedRecoveryTarget( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setReformingTemperature(self, double: float) -> "BlueHydrogenPlantBuilder": ... + def setShiftedGasCoolerOutletTemperature( + self, double: float + ) -> "BlueHydrogenPlantBuilder": ... + def setSteamToCarbonRatio(self, double: float) -> "BlueHydrogenPlantBuilder": ... def toJson(self) -> java.lang.String: ... class POXHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): def __init__(self): ... def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def setIncludePsa(self, boolean: bool) -> 'POXHydrogenPlantBuilder': ... - def setMethaneFeedMolePerSec(self, double: float) -> 'POXHydrogenPlantBuilder': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'POXHydrogenPlantBuilder': ... - def setOxygenToCarbonRatio(self, double: float) -> 'POXHydrogenPlantBuilder': ... - def setSteamToCarbonRatio(self, double: float) -> 'POXHydrogenPlantBuilder': ... + def setIncludePsa(self, boolean: bool) -> "POXHydrogenPlantBuilder": ... + def setMethaneFeedMolePerSec(self, double: float) -> "POXHydrogenPlantBuilder": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "POXHydrogenPlantBuilder": ... + def setOxygenToCarbonRatio(self, double: float) -> "POXHydrogenPlantBuilder": ... + def setSteamToCarbonRatio(self, double: float) -> "POXHydrogenPlantBuilder": ... class SMRHydrogenPlantBuilder(jneqsim.process.hydrogen.HydrogenPlantBuilderBase): def __init__(self): ... def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def setFeedTemperature(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setFuelToFeedMethaneRatio(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setIncludePsa(self, boolean: bool) -> 'SMRHydrogenPlantBuilder': ... - def setMethaneFeedMolePerSec(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'SMRHydrogenPlantBuilder': ... - def setPressure(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setPsaConfiguration(self, cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration) -> 'SMRHydrogenPlantBuilder': ... - def setPsaPerBedRecoveryTarget(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setReformingTemperature(self, double: float) -> 'SMRHydrogenPlantBuilder': ... - def setSteamToCarbonRatio(self, double: float) -> 'SMRHydrogenPlantBuilder': ... + def setFeedTemperature(self, double: float) -> "SMRHydrogenPlantBuilder": ... + def setFuelToFeedMethaneRatio(self, double: float) -> "SMRHydrogenPlantBuilder": ... + def setIncludePsa(self, boolean: bool) -> "SMRHydrogenPlantBuilder": ... + def setMethaneFeedMolePerSec(self, double: float) -> "SMRHydrogenPlantBuilder": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "SMRHydrogenPlantBuilder": ... + def setPressure(self, double: float) -> "SMRHydrogenPlantBuilder": ... + def setPsaConfiguration( + self, + cascadeConfiguration: jneqsim.process.equipment.adsorber.PSACascade.CascadeConfiguration, + ) -> "SMRHydrogenPlantBuilder": ... + def setPsaPerBedRecoveryTarget( + self, double: float + ) -> "SMRHydrogenPlantBuilder": ... + def setReformingTemperature(self, double: float) -> "SMRHydrogenPlantBuilder": ... + def setSteamToCarbonRatio(self, double: float) -> "SMRHydrogenPlantBuilder": ... class HydrogenPlantBuilderBase: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.hydrogen")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/__init__.pyi index 1b48539e..2637e391 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,26 +17,35 @@ import jneqsim.process.instrumentdesign.system import jneqsim.process.instrumentdesign.valve import typing - - class InstrumentDesign(java.io.Serializable): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getDefaultSilLevel(self) -> int: ... def getEstimatedCostUSD(self) -> float: ... def getHazardousAreaZone(self) -> java.lang.String: ... - def getInstrumentList(self) -> 'InstrumentList': ... + def getInstrumentList(self) -> "InstrumentList": ... def getInstrumentStandard(self) -> java.lang.String: ... - def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProcessEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getProtectionConcept(self) -> java.lang.String: ... def getTotalIOCount(self) -> int: ... def isIncludeSafetyInstruments(self) -> bool: ... def readDesignSpecifications(self) -> None: ... def setDefaultSilLevel(self, int: int) -> None: ... - def setHazardousAreaZone(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHazardousAreaZone( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIncludeSafetyInstruments(self, boolean: bool) -> None: ... - def setInstrumentStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setProtectionConcept(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstrumentStandard( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setProtectionConcept( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toJson(self) -> java.lang.String: ... class InstrumentDesignResponse(java.io.Serializable): @@ -49,8 +58,8 @@ class InstrumentDesignResponse(java.io.Serializable): class InstrumentList(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def add(self, instrumentSpecification: 'InstrumentSpecification') -> None: ... - def getAll(self) -> java.util.List['InstrumentSpecification']: ... + def add(self, instrumentSpecification: "InstrumentSpecification") -> None: ... + def getAll(self) -> java.util.List["InstrumentSpecification"]: ... def getAnalogInputCount(self) -> int: ... def getAnalogOutputCount(self) -> int: ... def getDigitalInputCount(self) -> int: ... @@ -64,9 +73,23 @@ class InstrumentList(java.io.Serializable): class InstrumentSpecification(java.io.Serializable): @typing.overload - def __init__(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], string4: typing.Union[java.lang.String, str]): ... + def __init__( + 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], + string4: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + int: int, + ): ... def getConnectionSize(self) -> java.lang.String: ... def getDeviceClassName(self) -> java.lang.String: ... def getEstimatedCostUSD(self) -> float: ... @@ -86,12 +109,20 @@ class InstrumentSpecification(java.io.Serializable): def isAnalog(self) -> bool: ... def isDigital(self) -> bool: ... def isSafetyRelated(self) -> bool: ... - def setConnectionSize(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDeviceClassName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConnectionSize( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDeviceClassName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEstimatedCostUSD(self, double: float) -> None: ... def setExProtection(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setHazardousAreaZone(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInstrumentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHazardousAreaZone( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setInstrumentType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setIoType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setIsaSymbol(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -104,7 +135,6 @@ class InstrumentSpecification(java.io.Serializable): def setSilRating(self, int: int) -> None: ... def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/compressor/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/compressor/__init__.pyi index 2acbcd00..f2db7d07 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,17 @@ import jneqsim.process.equipment import jneqsim.process.instrumentdesign import typing - - class CompressorInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getNumberOfBearings(self) -> int: ... def isIncludeAntiSurge(self) -> bool: ... def setIncludeAntiSurge(self, boolean: bool) -> None: ... def setNumberOfBearings(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.compressor")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/heatexchanger/__init__.pyi index b1c76a1a..fe31f3cf 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,27 +10,47 @@ import jneqsim.process.equipment import jneqsim.process.instrumentdesign import typing - - class HeatExchangerInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def getHeatExchangerType(self) -> 'HeatExchangerInstrumentDesign.HeatExchangerType': ... - def setHeatExchangerType(self, heatExchangerType: 'HeatExchangerInstrumentDesign.HeatExchangerType') -> None: ... - class HeatExchangerType(java.lang.Enum['HeatExchangerInstrumentDesign.HeatExchangerType']): - SHELL_AND_TUBE: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... - AIR_COOLER: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... - ELECTRIC_HEATER: typing.ClassVar['HeatExchangerInstrumentDesign.HeatExchangerType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getHeatExchangerType( + self, + ) -> "HeatExchangerInstrumentDesign.HeatExchangerType": ... + def setHeatExchangerType( + self, heatExchangerType: "HeatExchangerInstrumentDesign.HeatExchangerType" + ) -> None: ... + + class HeatExchangerType( + java.lang.Enum["HeatExchangerInstrumentDesign.HeatExchangerType"] + ): + SHELL_AND_TUBE: typing.ClassVar[ + "HeatExchangerInstrumentDesign.HeatExchangerType" + ] = ... + AIR_COOLER: typing.ClassVar[ + "HeatExchangerInstrumentDesign.HeatExchangerType" + ] = ... + ELECTRIC_HEATER: typing.ClassVar[ + "HeatExchangerInstrumentDesign.HeatExchangerType" + ] = ... + _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: ... + 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]) -> 'HeatExchangerInstrumentDesign.HeatExchangerType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerInstrumentDesign.HeatExchangerType": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerInstrumentDesign.HeatExchangerType']: ... - + def values() -> ( + typing.MutableSequence["HeatExchangerInstrumentDesign.HeatExchangerType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.heatexchanger")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/pipeline/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/pipeline/__init__.pyi index 6b3fee10..4dc8b1d9 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,17 +9,17 @@ import jneqsim.process.equipment import jneqsim.process.instrumentdesign import typing - - class PipelineInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def isIncludeLeakDetection(self) -> bool: ... def isIncludePigDetection(self) -> bool: ... def setIncludeLeakDetection(self, boolean: bool) -> None: ... def setIncludePigDetection(self, boolean: bool) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.pipeline")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/separator/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/separator/__init__.pyi index b6dfed65..a386720f 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,15 @@ import jneqsim.process.equipment import jneqsim.process.instrumentdesign import typing - - class SeparatorInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def isThreePhase(self) -> bool: ... def setThreePhase(self, boolean: bool) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.separator")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/system/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/system/__init__.pyi index 0552ca69..ed54ae2d 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/system/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,14 @@ import java.util import jneqsim.process.processmodel import typing - - class SystemInstrumentDesign(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def calcDesign(self) -> None: ... def getDcsCabinets(self) -> int: ... def getDcsCostUSD(self) -> float: ... - def getEquipmentSummaries(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getEquipmentSummaries( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getMarshallingCabinets(self) -> int: ... def getSisCabinets(self) -> int: ... def getSisCostUSD(self) -> float: ... @@ -32,7 +32,6 @@ class SystemInstrumentDesign(java.io.Serializable): def getTotalSafetyIO(self) -> int: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.system")``. diff --git a/src/jneqsim-stubs/process/instrumentdesign/valve/__init__.pyi b/src/jneqsim-stubs/process/instrumentdesign/valve/__init__.pyi index b8abd995..ab4cbb69 100644 --- a/src/jneqsim-stubs/process/instrumentdesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/instrumentdesign/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,15 @@ import jneqsim.process.equipment import jneqsim.process.instrumentdesign import typing - - class ValveInstrumentDesign(jneqsim.process.instrumentdesign.InstrumentDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def isSafetyValve(self) -> bool: ... def setSafetyValve(self, boolean: bool) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.instrumentdesign.valve")``. diff --git a/src/jneqsim-stubs/process/integration/__init__.pyi b/src/jneqsim-stubs/process/integration/__init__.pyi index 84794a8a..4eedb390 100644 --- a/src/jneqsim-stubs/process/integration/__init__.pyi +++ b/src/jneqsim-stubs/process/integration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.process.integration.ml import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration")``. diff --git a/src/jneqsim-stubs/process/integration/ml/__init__.pyi b/src/jneqsim-stubs/process/integration/ml/__init__.pyi index 6a2b3479..9a067c81 100644 --- a/src/jneqsim-stubs/process/integration/ml/__init__.pyi +++ b/src/jneqsim-stubs/process/integration/ml/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,71 +11,142 @@ import jpype import jneqsim.process.equipment.stream import typing - - class FeatureExtractor: - STANDARD_STREAM_FEATURES: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... - MINIMAL_STREAM_FEATURES: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + STANDARD_STREAM_FEATURES: typing.ClassVar[ + typing.MutableSequence[java.lang.String] + ] = ... + MINIMAL_STREAM_FEATURES: typing.ClassVar[ + typing.MutableSequence[java.lang.String] + ] = ... @staticmethod - def extractFeature(streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str]) -> float: ... + def extractFeature( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def extractFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def extractFeatures( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def extractMinimalFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... + def extractMinimalFeatures( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> typing.MutableSequence[float]: ... @staticmethod - def extractStandardFeatures(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> typing.MutableSequence[float]: ... + def extractStandardFeatures( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> typing.MutableSequence[float]: ... @staticmethod - def normalizeMinMax(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def normalizeMinMax( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def normalizeZScore(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def normalizeZScore( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... class MLCorrectionInterface: - def correct(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def correctBatch(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[float]: ... - def getConfidence(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def correct( + self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def correctBatch( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> typing.MutableSequence[float]: ... + def getConfidence( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getFeatureCount(self) -> int: ... def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... def getModelVersion(self) -> java.lang.String: ... - def getUncertainty(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getUncertainty( + self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def isReady(self) -> bool: ... - def onModelUpdate(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> None: ... + def onModelUpdate( + self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes] + ) -> None: ... class HybridModelAdapter(MLCorrectionInterface, java.io.Serializable): - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], combinationStrategy: 'HybridModelAdapter.CombinationStrategy'): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + combinationStrategy: "HybridModelAdapter.CombinationStrategy", + ): ... @staticmethod - def additive(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'HybridModelAdapter': ... - def correct(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def additive( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> "HybridModelAdapter": ... + def correct( + self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getBias(self) -> float: ... - def getConfidence(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getConfidence( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getFeatureCount(self) -> int: ... def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... def getModelVersion(self) -> java.lang.String: ... - def getStrategy(self) -> 'HybridModelAdapter.CombinationStrategy': ... - def getUncertainty(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getStrategy(self) -> "HybridModelAdapter.CombinationStrategy": ... + def getUncertainty( + self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getWeights(self) -> typing.MutableSequence[float]: ... def isReady(self) -> bool: ... @staticmethod - def multiplicative(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'HybridModelAdapter': ... - def onModelUpdate(self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> None: ... + def multiplicative( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> "HybridModelAdapter": ... + def onModelUpdate( + self, byteArray: typing.Union[typing.List[int], jpype.JArray, bytes] + ) -> None: ... def setConfidenceThreshold(self, double: float) -> None: ... - def setLinearModel(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... - def setStrategy(self, combinationStrategy: 'HybridModelAdapter.CombinationStrategy') -> None: ... - def trainLinear(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - class CombinationStrategy(java.lang.Enum['HybridModelAdapter.CombinationStrategy']): - ADDITIVE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... - MULTIPLICATIVE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... - REPLACEMENT: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... - WEIGHTED_AVERAGE: typing.ClassVar['HybridModelAdapter.CombinationStrategy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setLinearModel( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> None: ... + def setStrategy( + self, combinationStrategy: "HybridModelAdapter.CombinationStrategy" + ) -> None: ... + def trainLinear( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + + class CombinationStrategy(java.lang.Enum["HybridModelAdapter.CombinationStrategy"]): + ADDITIVE: typing.ClassVar["HybridModelAdapter.CombinationStrategy"] = ... + MULTIPLICATIVE: typing.ClassVar["HybridModelAdapter.CombinationStrategy"] = ... + REPLACEMENT: typing.ClassVar["HybridModelAdapter.CombinationStrategy"] = ... + WEIGHTED_AVERAGE: typing.ClassVar["HybridModelAdapter.CombinationStrategy"] = ( + ... + ) + _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: ... + 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]) -> 'HybridModelAdapter.CombinationStrategy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HybridModelAdapter.CombinationStrategy": ... @staticmethod - def values() -> typing.MutableSequence['HybridModelAdapter.CombinationStrategy']: ... - + def values() -> ( + typing.MutableSequence["HybridModelAdapter.CombinationStrategy"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.integration.ml")``. diff --git a/src/jneqsim-stubs/process/logic/__init__.pyi b/src/jneqsim-stubs/process/logic/__init__.pyi index ef50fcff..ba175630 100644 --- a/src/jneqsim-stubs/process/logic/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -20,8 +20,6 @@ import jneqsim.process.logic.startup import jneqsim.process.logic.voting import typing - - class LogicAction: def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... @@ -33,24 +31,28 @@ class LogicCondition: def getCurrentValue(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getExpectedValue(self) -> java.lang.String: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... -class LogicState(java.lang.Enum['LogicState']): - IDLE: typing.ClassVar['LogicState'] = ... - RUNNING: typing.ClassVar['LogicState'] = ... - PAUSED: typing.ClassVar['LogicState'] = ... - COMPLETED: typing.ClassVar['LogicState'] = ... - FAILED: typing.ClassVar['LogicState'] = ... - WAITING_PERMISSIVES: typing.ClassVar['LogicState'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class LogicState(java.lang.Enum["LogicState"]): + IDLE: typing.ClassVar["LogicState"] = ... + RUNNING: typing.ClassVar["LogicState"] = ... + PAUSED: typing.ClassVar["LogicState"] = ... + COMPLETED: typing.ClassVar["LogicState"] = ... + FAILED: typing.ClassVar["LogicState"] = ... + WAITING_PERMISSIVES: typing.ClassVar["LogicState"] = ... + _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: ... + 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]) -> 'LogicState': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "LogicState": ... @staticmethod - def values() -> typing.MutableSequence['LogicState']: ... + def values() -> typing.MutableSequence["LogicState"]: ... class ProcessLogic(java.io.Serializable): def activate(self) -> None: ... @@ -59,12 +61,13 @@ class ProcessLogic(java.io.Serializable): def getName(self) -> java.lang.String: ... def getState(self) -> LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def reset(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic")``. diff --git a/src/jneqsim-stubs/process/logic/action/__init__.pyi b/src/jneqsim-stubs/process/logic/action/__init__.pyi index 7a84e6ab..ada8b6dd 100644 --- a/src/jneqsim-stubs/process/logic/action/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/action/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,17 +14,19 @@ import jneqsim.process.equipment.valve import jneqsim.process.logic import typing - - class ActivateBlowdownAction(jneqsim.process.logic.LogicAction): - def __init__(self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve): ... + def __init__( + self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... def isComplete(self) -> bool: ... class CloseValveAction(jneqsim.process.logic.LogicAction): - def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def __init__( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -32,9 +34,20 @@ class CloseValveAction(jneqsim.process.logic.LogicAction): class ConditionalAction(jneqsim.process.logic.LogicAction): @typing.overload - def __init__(self, logicCondition: jneqsim.process.logic.LogicCondition, logicAction: jneqsim.process.logic.LogicAction, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + logicCondition: jneqsim.process.logic.LogicCondition, + logicAction: jneqsim.process.logic.LogicAction, + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, logicCondition: jneqsim.process.logic.LogicCondition, logicAction: jneqsim.process.logic.LogicAction, logicAction2: jneqsim.process.logic.LogicAction, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + logicCondition: jneqsim.process.logic.LogicCondition, + logicAction: jneqsim.process.logic.LogicAction, + logicAction2: jneqsim.process.logic.LogicAction, + string: typing.Union[java.lang.String, str], + ): ... def execute(self) -> None: ... def getAlternativeAction(self) -> jneqsim.process.logic.LogicAction: ... def getCondition(self) -> jneqsim.process.logic.LogicCondition: ... @@ -50,14 +63,18 @@ class EnergizeESDValveAction(jneqsim.process.logic.LogicAction): @typing.overload def __init__(self, eSDValve: jneqsim.process.equipment.valve.ESDValve): ... @typing.overload - def __init__(self, eSDValve: jneqsim.process.equipment.valve.ESDValve, double: float): ... + def __init__( + self, eSDValve: jneqsim.process.equipment.valve.ESDValve, double: float + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... def isComplete(self) -> bool: ... class OpenValveAction(jneqsim.process.logic.LogicAction): - def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def __init__( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -77,7 +94,9 @@ class ParallelActionGroup(jneqsim.process.logic.LogicAction): def toString(self) -> java.lang.String: ... class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): - def __init__(self, separator: jneqsim.process.equipment.separator.Separator, boolean: bool): ... + def __init__( + self, separator: jneqsim.process.equipment.separator.Separator, boolean: bool + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -85,14 +104,22 @@ class SetSeparatorModeAction(jneqsim.process.logic.LogicAction): def isSteadyState(self) -> bool: ... class SetSplitterAction(jneqsim.process.logic.LogicAction): - def __init__(self, splitter: jneqsim.process.equipment.splitter.Splitter, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + splitter: jneqsim.process.equipment.splitter.Splitter, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... def isComplete(self) -> bool: ... class SetValveOpeningAction(jneqsim.process.logic.LogicAction): - def __init__(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, double: float): ... + def __init__( + self, + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + double: float, + ): ... def execute(self) -> None: ... def getDescription(self) -> java.lang.String: ... def getTargetName(self) -> java.lang.String: ... @@ -106,7 +133,6 @@ class TripValveAction(jneqsim.process.logic.LogicAction): def getTargetName(self) -> java.lang.String: ... def isComplete(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.action")``. diff --git a/src/jneqsim-stubs/process/logic/condition/__init__.pyi b/src/jneqsim-stubs/process/logic/condition/__init__.pyi index dca059fb..8104f6d8 100644 --- a/src/jneqsim-stubs/process/logic/condition/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/condition/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,29 +11,53 @@ import jneqsim.process.equipment.valve import jneqsim.process.logic import typing - - class PressureCondition(jneqsim.process.logic.LogicCondition): @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double: float, + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str], double2: float): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + ): ... def evaluate(self) -> bool: ... def getCurrentValue(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getExpectedValue(self) -> java.lang.String: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class TemperatureCondition(jneqsim.process.logic.LogicCondition): @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double: float, + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double: float, string: typing.Union[java.lang.String, str], double2: float): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + ): ... def evaluate(self) -> bool: ... def getCurrentValue(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getExpectedValue(self) -> java.lang.String: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class TimerCondition(jneqsim.process.logic.LogicCondition): def __init__(self, double: float): ... @@ -43,22 +67,36 @@ class TimerCondition(jneqsim.process.logic.LogicCondition): def getElapsed(self) -> float: ... def getExpectedValue(self) -> java.lang.String: ... def getRemaining(self) -> float: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def reset(self) -> None: ... def start(self) -> None: ... def update(self, double: float) -> None: ... class ValvePositionCondition(jneqsim.process.logic.LogicCondition): @typing.overload - def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + valveInterface: jneqsim.process.equipment.valve.ValveInterface, + string: typing.Union[java.lang.String, str], + double: float, + ): ... @typing.overload - def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + valveInterface: jneqsim.process.equipment.valve.ValveInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def evaluate(self) -> bool: ... def getCurrentValue(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getExpectedValue(self) -> java.lang.String: ... - def getTargetEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - + def getTargetEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.condition")``. diff --git a/src/jneqsim-stubs/process/logic/control/__init__.pyi b/src/jneqsim-stubs/process/logic/control/__init__.pyi index ae104c9f..6e537f2b 100644 --- a/src/jneqsim-stubs/process/logic/control/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/control/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,13 +13,22 @@ import jneqsim.process.logic import jneqsim.process.processmodel import typing - - class PressureControlLogic(jneqsim.process.logic.ProcessLogic): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], controlValve: jneqsim.process.equipment.valve.ControlValve, double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + controlValve: jneqsim.process.equipment.valve.ControlValve, + double: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], controlValve: jneqsim.process.equipment.valve.ControlValve, double: float, processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + controlValve: jneqsim.process.equipment.valve.ControlValve, + double: float, + processSystem: jneqsim.process.processmodel.ProcessSystem, + ): ... def activate(self) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... @@ -27,14 +36,15 @@ class PressureControlLogic(jneqsim.process.logic.ProcessLogic): def getName(self) -> java.lang.String: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getTargetOpening(self) -> float: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def reset(self) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.control")``. diff --git a/src/jneqsim-stubs/process/logic/esd/__init__.pyi b/src/jneqsim-stubs/process/logic/esd/__init__.pyi index 7fa79b3f..84e19821 100644 --- a/src/jneqsim-stubs/process/logic/esd/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/esd/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ import jneqsim.process.equipment import jneqsim.process.logic import typing - - class ESDLogic(jneqsim.process.logic.ProcessLogic): def __init__(self, string: typing.Union[java.lang.String, str]): ... def activate(self) -> None: ... - def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... + def addAction( + self, logicAction: jneqsim.process.logic.LogicAction, double: float + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -25,12 +25,13 @@ class ESDLogic(jneqsim.process.logic.ProcessLogic): def getName(self) -> java.lang.String: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def reset(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.esd")``. diff --git a/src/jneqsim-stubs/process/logic/hipps/__init__.pyi b/src/jneqsim-stubs/process/logic/hipps/__init__.pyi index d50527b0..fe604bcb 100644 --- a/src/jneqsim-stubs/process/logic/hipps/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/hipps/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,33 +13,42 @@ import jneqsim.process.logic import jneqsim.process.logic.sis import typing - - class HIPPSLogic(jneqsim.process.logic.ProcessLogic): - def __init__(self, string: typing.Union[java.lang.String, str], votingLogic: jneqsim.process.logic.sis.VotingLogic): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + votingLogic: jneqsim.process.logic.sis.VotingLogic, + ): ... def activate(self) -> None: ... - def addPressureSensor(self, detector: jneqsim.process.logic.sis.Detector) -> None: ... + def addPressureSensor( + self, detector: jneqsim.process.logic.sis.Detector + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getName(self) -> java.lang.String: ... def getPressureSensor(self, int: int) -> jneqsim.process.logic.sis.Detector: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getTimeSinceTrip(self) -> float: ... def hasEscalated(self) -> bool: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def isTripped(self) -> bool: ... - def linkToEscalationLogic(self, processLogic: jneqsim.process.logic.ProcessLogic, double: float) -> None: ... + def linkToEscalationLogic( + self, processLogic: jneqsim.process.logic.ProcessLogic, double: float + ) -> None: ... def reset(self) -> bool: ... - def setIsolationValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def setIsolationValve( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... def setOverride(self, boolean: bool) -> None: ... def setValveClosureTime(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... def update(self, *double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.hipps")``. diff --git a/src/jneqsim-stubs/process/logic/shutdown/__init__.pyi b/src/jneqsim-stubs/process/logic/shutdown/__init__.pyi index 94e4628f..f8683cc1 100644 --- a/src/jneqsim-stubs/process/logic/shutdown/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/shutdown/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,12 @@ import jneqsim.process.equipment import jneqsim.process.logic import typing - - class ShutdownLogic(jneqsim.process.logic.ProcessLogic): def __init__(self, string: typing.Union[java.lang.String, str]): ... def activate(self) -> None: ... - def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... + def addAction( + self, logicAction: jneqsim.process.logic.LogicAction, double: float + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getActionCount(self) -> int: ... @@ -28,7 +28,9 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): def getRampDownTime(self) -> float: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def isEmergencyMode(self) -> bool: ... @@ -37,7 +39,6 @@ class ShutdownLogic(jneqsim.process.logic.ProcessLogic): def setEmergencyShutdownTime(self, double: float) -> None: ... def setRampDownTime(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.shutdown")``. diff --git a/src/jneqsim-stubs/process/logic/sis/__init__.pyi b/src/jneqsim-stubs/process/logic/sis/__init__.pyi index a443ae77..1abe5720 100644 --- a/src/jneqsim-stubs/process/logic/sis/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/sis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,21 @@ import jneqsim.process.equipment import jneqsim.process.logic import typing - - class Detector: - def __init__(self, string: typing.Union[java.lang.String, str], detectorType: 'Detector.DetectorType', alarmLevel: 'Detector.AlarmLevel', double: float, string2: typing.Union[java.lang.String, str]): ... - def getAlarmLevel(self) -> 'Detector.AlarmLevel': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + detectorType: "Detector.DetectorType", + alarmLevel: "Detector.AlarmLevel", + double: float, + string2: typing.Union[java.lang.String, str], + ): ... + def getAlarmLevel(self) -> "Detector.AlarmLevel": ... def getMeasuredValue(self) -> float: ... def getName(self) -> java.lang.String: ... def getSetpoint(self) -> float: ... def getTripTime(self) -> int: ... - def getType(self) -> 'Detector.DetectorType': ... + def getType(self) -> "Detector.DetectorType": ... def isBypassed(self) -> bool: ... def isFaulty(self) -> bool: ... def isTripped(self) -> bool: ... @@ -31,41 +36,55 @@ class Detector: def toString(self) -> java.lang.String: ... def trip(self) -> None: ... def update(self, double: float) -> None: ... - class AlarmLevel(java.lang.Enum['Detector.AlarmLevel']): - LOW_LOW: typing.ClassVar['Detector.AlarmLevel'] = ... - LOW: typing.ClassVar['Detector.AlarmLevel'] = ... - HIGH: typing.ClassVar['Detector.AlarmLevel'] = ... - HIGH_HIGH: typing.ClassVar['Detector.AlarmLevel'] = ... + + class AlarmLevel(java.lang.Enum["Detector.AlarmLevel"]): + LOW_LOW: typing.ClassVar["Detector.AlarmLevel"] = ... + LOW: typing.ClassVar["Detector.AlarmLevel"] = ... + HIGH: typing.ClassVar["Detector.AlarmLevel"] = ... + HIGH_HIGH: typing.ClassVar["Detector.AlarmLevel"] = ... def getNotation(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Detector.AlarmLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Detector.AlarmLevel": ... @staticmethod - def values() -> typing.MutableSequence['Detector.AlarmLevel']: ... - class DetectorType(java.lang.Enum['Detector.DetectorType']): - FIRE: typing.ClassVar['Detector.DetectorType'] = ... - GAS: typing.ClassVar['Detector.DetectorType'] = ... - PRESSURE: typing.ClassVar['Detector.DetectorType'] = ... - TEMPERATURE: typing.ClassVar['Detector.DetectorType'] = ... - LEVEL: typing.ClassVar['Detector.DetectorType'] = ... - FLOW: typing.ClassVar['Detector.DetectorType'] = ... + def values() -> typing.MutableSequence["Detector.AlarmLevel"]: ... + + class DetectorType(java.lang.Enum["Detector.DetectorType"]): + FIRE: typing.ClassVar["Detector.DetectorType"] = ... + GAS: typing.ClassVar["Detector.DetectorType"] = ... + PRESSURE: typing.ClassVar["Detector.DetectorType"] = ... + TEMPERATURE: typing.ClassVar["Detector.DetectorType"] = ... + LEVEL: typing.ClassVar["Detector.DetectorType"] = ... + FLOW: typing.ClassVar["Detector.DetectorType"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Detector.DetectorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Detector.DetectorType": ... @staticmethod - def values() -> typing.MutableSequence['Detector.DetectorType']: ... + def values() -> typing.MutableSequence["Detector.DetectorType"]: ... class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): - def __init__(self, string: typing.Union[java.lang.String, str], votingLogic: 'VotingLogic'): ... + def __init__( + self, string: typing.Union[java.lang.String, str], votingLogic: "VotingLogic" + ): ... def activate(self) -> None: ... def addDetector(self, detector: Detector) -> None: ... def deactivate(self) -> None: ... @@ -75,8 +94,10 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): def getName(self) -> java.lang.String: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - def getVotingLogic(self) -> 'VotingLogic': ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getVotingLogic(self) -> "VotingLogic": ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def isOverridden(self) -> bool: ... @@ -88,28 +109,29 @@ class SafetyInstrumentedFunction(jneqsim.process.logic.ProcessLogic): def toString(self) -> java.lang.String: ... def update(self, *double: float) -> None: ... -class VotingLogic(java.lang.Enum['VotingLogic']): - ONE_OUT_OF_ONE: typing.ClassVar['VotingLogic'] = ... - ONE_OUT_OF_TWO: typing.ClassVar['VotingLogic'] = ... - TWO_OUT_OF_TWO: typing.ClassVar['VotingLogic'] = ... - TWO_OUT_OF_THREE: typing.ClassVar['VotingLogic'] = ... - TWO_OUT_OF_FOUR: typing.ClassVar['VotingLogic'] = ... - THREE_OUT_OF_FOUR: typing.ClassVar['VotingLogic'] = ... +class VotingLogic(java.lang.Enum["VotingLogic"]): + ONE_OUT_OF_ONE: typing.ClassVar["VotingLogic"] = ... + ONE_OUT_OF_TWO: typing.ClassVar["VotingLogic"] = ... + TWO_OUT_OF_TWO: typing.ClassVar["VotingLogic"] = ... + TWO_OUT_OF_THREE: typing.ClassVar["VotingLogic"] = ... + TWO_OUT_OF_FOUR: typing.ClassVar["VotingLogic"] = ... + THREE_OUT_OF_FOUR: typing.ClassVar["VotingLogic"] = ... def evaluate(self, int: int) -> bool: ... def getNotation(self) -> java.lang.String: ... def getRequiredTrips(self) -> int: ... def getTotalSensors(self) -> int: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'VotingLogic': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "VotingLogic": ... @staticmethod - def values() -> typing.MutableSequence['VotingLogic']: ... - + def values() -> typing.MutableSequence["VotingLogic"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.sis")``. diff --git a/src/jneqsim-stubs/process/logic/startup/__init__.pyi b/src/jneqsim-stubs/process/logic/startup/__init__.pyi index ecd33252..405f727a 100644 --- a/src/jneqsim-stubs/process/logic/startup/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/startup/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,30 +11,35 @@ import jneqsim.process.equipment import jneqsim.process.logic import typing - - class StartupLogic(jneqsim.process.logic.ProcessLogic): def __init__(self, string: typing.Union[java.lang.String, str]): ... def activate(self) -> None: ... - def addAction(self, logicAction: jneqsim.process.logic.LogicAction, double: float) -> None: ... - def addPermissive(self, logicCondition: jneqsim.process.logic.LogicCondition) -> None: ... + def addAction( + self, logicAction: jneqsim.process.logic.LogicAction, double: float + ) -> None: ... + def addPermissive( + self, logicCondition: jneqsim.process.logic.LogicCondition + ) -> None: ... def deactivate(self) -> None: ... def execute(self, double: float) -> None: ... def getAbortReason(self) -> java.lang.String: ... def getActionCount(self) -> int: ... def getName(self) -> java.lang.String: ... def getPermissiveWaitTime(self) -> float: ... - def getPermissives(self) -> java.util.List[jneqsim.process.logic.LogicCondition]: ... + def getPermissives( + self, + ) -> java.util.List[jneqsim.process.logic.LogicCondition]: ... def getState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... - def getTargetEquipment(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTargetEquipment( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def isAborted(self) -> bool: ... def isActive(self) -> bool: ... def isComplete(self) -> bool: ... def reset(self) -> bool: ... def setPermissiveTimeout(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.startup")``. diff --git a/src/jneqsim-stubs/process/logic/voting/__init__.pyi b/src/jneqsim-stubs/process/logic/voting/__init__.pyi index 507ad254..8b858f6f 100644 --- a/src/jneqsim-stubs/process/logic/voting/__init__.pyi +++ b/src/jneqsim-stubs/process/logic/voting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,11 +8,10 @@ else: import java.lang import typing +_VotingEvaluator__T = typing.TypeVar("_VotingEvaluator__T") # - -_VotingEvaluator__T = typing.TypeVar('_VotingEvaluator__T') # class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): - def __init__(self, votingPattern: 'VotingPattern'): ... + def __init__(self, votingPattern: "VotingPattern"): ... def addInput(self, t: _VotingEvaluator__T, boolean: bool) -> None: ... def clearInputs(self) -> None: ... def evaluateAverage(self) -> float: ... @@ -20,32 +19,33 @@ class VotingEvaluator(typing.Generic[_VotingEvaluator__T]): def evaluateMedian(self) -> float: ... def evaluateMidValue(self) -> float: ... def getFaultyInputCount(self) -> int: ... - def getPattern(self) -> 'VotingPattern': ... + def getPattern(self) -> "VotingPattern": ... def getTotalInputCount(self) -> int: ... def getValidInputCount(self) -> int: ... -class VotingPattern(java.lang.Enum['VotingPattern']): - ONE_OUT_OF_ONE: typing.ClassVar['VotingPattern'] = ... - ONE_OUT_OF_TWO: typing.ClassVar['VotingPattern'] = ... - TWO_OUT_OF_TWO: typing.ClassVar['VotingPattern'] = ... - TWO_OUT_OF_THREE: typing.ClassVar['VotingPattern'] = ... - TWO_OUT_OF_FOUR: typing.ClassVar['VotingPattern'] = ... - THREE_OUT_OF_FOUR: typing.ClassVar['VotingPattern'] = ... +class VotingPattern(java.lang.Enum["VotingPattern"]): + ONE_OUT_OF_ONE: typing.ClassVar["VotingPattern"] = ... + ONE_OUT_OF_TWO: typing.ClassVar["VotingPattern"] = ... + TWO_OUT_OF_TWO: typing.ClassVar["VotingPattern"] = ... + TWO_OUT_OF_THREE: typing.ClassVar["VotingPattern"] = ... + TWO_OUT_OF_FOUR: typing.ClassVar["VotingPattern"] = ... + THREE_OUT_OF_FOUR: typing.ClassVar["VotingPattern"] = ... def evaluate(self, int: int) -> bool: ... def getNotation(self) -> java.lang.String: ... def getRequiredTrue(self) -> int: ... def getTotalSensors(self) -> int: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'VotingPattern': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "VotingPattern": ... @staticmethod - def values() -> typing.MutableSequence['VotingPattern']: ... - + def values() -> typing.MutableSequence["VotingPattern"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.logic.voting")``. diff --git a/src/jneqsim-stubs/process/materials/__init__.pyi b/src/jneqsim-stubs/process/materials/__init__.pyi index 8795785b..3ddefd2a 100644 --- a/src/jneqsim-stubs/process/materials/__init__.pyi +++ b/src/jneqsim-stubs/process/materials/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,129 +12,241 @@ import java.util import jneqsim.process.processmodel import typing - - class DamageMechanismAssessment(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... - def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'DamageMechanismAssessment': ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + ): ... + def addDetail( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "DamageMechanismAssessment": ... @staticmethod - def fail(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], string5: typing.Union[java.lang.String, str]) -> 'DamageMechanismAssessment': ... + def fail( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "DamageMechanismAssessment": ... def getMechanism(self) -> java.lang.String: ... def getStandard(self) -> java.lang.String: ... def getStatus(self) -> java.lang.String: ... @staticmethod - def info(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]) -> 'DamageMechanismAssessment': ... + def info( + 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], + ) -> "DamageMechanismAssessment": ... def isFailing(self) -> bool: ... def isWarning(self) -> bool: ... @staticmethod - def pass_(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]) -> 'DamageMechanismAssessment': ... + def pass_( + 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], + ) -> "DamageMechanismAssessment": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @staticmethod - def warning(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], string5: typing.Union[java.lang.String, str]) -> 'DamageMechanismAssessment': ... + def warning( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "DamageMechanismAssessment": ... class IntegrityLifeAssessment(java.io.Serializable): def __init__(self): ... - def addNote(self, string: typing.Union[java.lang.String, str]) -> 'IntegrityLifeAssessment': ... + def addNote( + self, string: typing.Union[java.lang.String, str] + ) -> "IntegrityLifeAssessment": ... @staticmethod - def fromWallThickness(double: float, double2: float, double3: float, double4: float) -> 'IntegrityLifeAssessment': ... + def fromWallThickness( + double: float, double2: float, double3: float, double4: float + ) -> "IntegrityLifeAssessment": ... def getInspectionIntervalYears(self) -> int: ... def getRemainingLifeYears(self) -> float: ... def getVerdict(self) -> java.lang.String: ... - def setVerdict(self, string: typing.Union[java.lang.String, str]) -> 'IntegrityLifeAssessment': ... + def setVerdict( + self, string: typing.Union[java.lang.String, str] + ) -> "IntegrityLifeAssessment": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialRecommendation(java.io.Serializable): def __init__(self): ... - def addAction(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... - def addAlternativeMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... - def addStandard(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def addAction( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialRecommendation": ... + def addAlternativeMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialRecommendation": ... + def addStandard( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialRecommendation": ... def getRecommendedCorrosionAllowanceMm(self) -> float: ... def getRecommendedMaterial(self) -> java.lang.String: ... - def setRationale(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... - def setRecommendedCorrosionAllowanceMm(self, double: float) -> 'MaterialRecommendation': ... - def setRecommendedMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialRecommendation': ... + def setRationale( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialRecommendation": ... + def setRecommendedCorrosionAllowanceMm( + self, double: float + ) -> "MaterialRecommendation": ... + def setRecommendedMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialRecommendation": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialReviewItem(java.io.Serializable): def __init__(self): ... - def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + def addSourceReference( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialReviewItem": ... @staticmethod - def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'MaterialReviewItem': ... + def fromMap( + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ] + ) -> "MaterialReviewItem": ... def getEquipmentType(self) -> java.lang.String: ... def getExistingMaterial(self) -> java.lang.String: ... def getMetadata(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getServiceEnvelope(self) -> 'MaterialServiceEnvelope': ... + def getServiceEnvelope(self) -> "MaterialServiceEnvelope": ... def getSourceReferences(self) -> java.util.List[java.lang.String]: ... def getTag(self) -> java.lang.String: ... - def mergeFrom(self, materialReviewItem: 'MaterialReviewItem') -> None: ... - def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialReviewItem': ... - def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... - def setExistingMaterial(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... - def setServiceEnvelope(self, materialServiceEnvelope: 'MaterialServiceEnvelope') -> 'MaterialReviewItem': ... - def setTag(self, string: typing.Union[java.lang.String, str]) -> 'MaterialReviewItem': ... + def mergeFrom(self, materialReviewItem: "MaterialReviewItem") -> None: ... + def putMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "MaterialReviewItem": ... + def setEquipmentType( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialReviewItem": ... + def setExistingMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialReviewItem": ... + def setServiceEnvelope( + self, materialServiceEnvelope: "MaterialServiceEnvelope" + ) -> "MaterialReviewItem": ... + def setTag( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialReviewItem": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialReviewResult(java.io.Serializable): def __init__(self, materialReviewItem: MaterialReviewItem): ... - def addAssessment(self, damageMechanismAssessment: DamageMechanismAssessment) -> 'MaterialReviewResult': ... + def addAssessment( + self, damageMechanismAssessment: DamageMechanismAssessment + ) -> "MaterialReviewResult": ... def finalizeVerdict(self) -> None: ... def getRecommendation(self) -> MaterialRecommendation: ... def getStandardsApplied(self) -> java.util.Set[java.lang.String]: ... def getVerdict(self) -> java.lang.String: ... - def setConfidence(self, double: float) -> 'MaterialReviewResult': ... - def setIntegrityLifeAssessment(self, integrityLifeAssessment: IntegrityLifeAssessment) -> 'MaterialReviewResult': ... - def setRecommendation(self, materialRecommendation: MaterialRecommendation) -> 'MaterialReviewResult': ... + def setConfidence(self, double: float) -> "MaterialReviewResult": ... + def setIntegrityLifeAssessment( + self, integrityLifeAssessment: IntegrityLifeAssessment + ) -> "MaterialReviewResult": ... + def setRecommendation( + self, materialRecommendation: MaterialRecommendation + ) -> "MaterialReviewResult": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialServiceEnvelope(java.io.Serializable): def __init__(self): ... @staticmethod - def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'MaterialServiceEnvelope': ... + def fromMap( + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ] + ) -> "MaterialServiceEnvelope": ... def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... - def getBoolean(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... - def getDouble(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getString(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getStringList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getBoolean( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> bool: ... + def getDouble( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getString( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def getStringList( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def set(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialServiceEnvelope': ... + def set( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "MaterialServiceEnvelope": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialsReviewDataSource: - def read(self) -> 'MaterialsReviewInput': ... + def read(self) -> "MaterialsReviewInput": ... class MaterialsReviewEngine: def __init__(self): ... @typing.overload - def evaluate(self, materialsReviewInput: 'MaterialsReviewInput') -> 'MaterialsReviewReport': ... + def evaluate( + self, materialsReviewInput: "MaterialsReviewInput" + ) -> "MaterialsReviewReport": ... @typing.overload - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem, materialsReviewInput: 'MaterialsReviewInput') -> 'MaterialsReviewReport': ... + def evaluate( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + materialsReviewInput: "MaterialsReviewInput", + ) -> "MaterialsReviewReport": ... class MaterialsReviewInput(java.io.Serializable): def __init__(self): ... - def addItem(self, materialReviewItem: MaterialReviewItem) -> 'MaterialsReviewInput': ... + def addItem( + self, materialReviewItem: MaterialReviewItem + ) -> "MaterialsReviewInput": ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewInput': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "MaterialsReviewInput": ... @staticmethod - def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'MaterialsReviewInput': ... + def fromJsonObject( + jsonObject: com.google.gson.JsonObject, + ) -> "MaterialsReviewInput": ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'MaterialsReviewInput': ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "MaterialsReviewInput": ... def getDesignLifeYears(self) -> float: ... def getItems(self) -> java.util.List[MaterialReviewItem]: ... def getProjectName(self) -> java.lang.String: ... - def mergeFrom(self, materialsReviewInput: 'MaterialsReviewInput') -> None: ... - def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'MaterialsReviewInput': ... - def setDesignLifeYears(self, double: float) -> 'MaterialsReviewInput': ... - def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewInput': ... + def mergeFrom(self, materialsReviewInput: "MaterialsReviewInput") -> None: ... + def putMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "MaterialsReviewInput": ... + def setDesignLifeYears(self, double: float) -> "MaterialsReviewInput": ... + def setProjectName( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialsReviewInput": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MaterialsReviewReport(java.io.Serializable): def __init__(self): ... - def addLimitation(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewReport': ... - def addResult(self, materialReviewResult: MaterialReviewResult) -> 'MaterialsReviewReport': ... + def addLimitation( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialsReviewReport": ... + def addResult( + self, materialReviewResult: MaterialReviewResult + ) -> "MaterialsReviewReport": ... def finalizeVerdict(self) -> None: ... def getOverallVerdict(self) -> java.lang.String: ... - def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'MaterialsReviewReport': ... + def setProjectName( + self, string: typing.Union[java.lang.String, str] + ) -> "MaterialsReviewReport": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -144,10 +256,11 @@ class StidMaterialsDataSource(MaterialsReviewDataSource): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod - def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'StidMaterialsDataSource': ... + def fromJsonObject( + jsonObject: com.google.gson.JsonObject, + ) -> "StidMaterialsDataSource": ... def read(self) -> MaterialsReviewInput: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.materials")``. diff --git a/src/jneqsim-stubs/process/measurementdevice/__init__.pyi b/src/jneqsim-stubs/process/measurementdevice/__init__.pyi index 9962dd9b..28a9e6c7 100644 --- a/src/jneqsim-stubs/process/measurementdevice/__init__.pyi +++ b/src/jneqsim-stubs/process/measurementdevice/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,28 +21,30 @@ import jneqsim.process.measurementdevice.vfm import jneqsim.util import typing - - -class InstrumentTagRole(java.lang.Enum['InstrumentTagRole']): - INPUT: typing.ClassVar['InstrumentTagRole'] = ... - BENCHMARK: typing.ClassVar['InstrumentTagRole'] = ... - VIRTUAL: typing.ClassVar['InstrumentTagRole'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class InstrumentTagRole(java.lang.Enum["InstrumentTagRole"]): + INPUT: typing.ClassVar["InstrumentTagRole"] = ... + BENCHMARK: typing.ClassVar["InstrumentTagRole"] = ... + VIRTUAL: typing.ClassVar["InstrumentTagRole"] = ... + _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: ... + 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]) -> 'InstrumentTagRole': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "InstrumentTagRole": ... @staticmethod - def values() -> typing.MutableSequence['InstrumentTagRole']: ... + def values() -> typing.MutableSequence["InstrumentTagRole"]: ... class MeasurementDeviceInterface(jneqsim.process.ProcessElementInterface): def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... def applyFieldValue(self) -> None: ... def displayResult(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def evaluateAlarm(self, double: float, double2: float, double3: float) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + def evaluateAlarm( + self, double: float, double2: float, double3: float + ) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... def getAlarmConfig(self) -> jneqsim.process.alarm.AlarmConfig: ... def getAlarmState(self) -> jneqsim.process.alarm.AlarmState: ... def getDeviation(self) -> float: ... @@ -50,11 +52,15 @@ class MeasurementDeviceInterface(jneqsim.process.ProcessElementInterface): def getMaximumValue(self) -> float: ... def getMeasuredPercentValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... def getMinimumValue(self) -> float: ... - def getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... + def getOnlineSignal( + self, + ) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getOnlineValue(self) -> float: ... def getRelativeDeviation(self) -> float: ... def getTag(self) -> java.lang.String: ... @@ -64,7 +70,9 @@ class MeasurementDeviceInterface(jneqsim.process.ProcessElementInterface): def hashCode(self) -> int: ... def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... - def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... + def setAlarmConfig( + self, alarmConfig: jneqsim.process.alarm.AlarmConfig + ) -> None: ... def setFieldValue(self, double: float) -> None: ... def setLogging(self, boolean: bool) -> None: ... def setMaximumValue(self, double: float) -> None: ... @@ -73,30 +81,40 @@ class MeasurementDeviceInterface(jneqsim.process.ProcessElementInterface): def setTagRole(self, instrumentTagRole: InstrumentTagRole) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... -class SensorFaultType(java.lang.Enum['SensorFaultType']): - NONE: typing.ClassVar['SensorFaultType'] = ... - STUCK_AT_VALUE: typing.ClassVar['SensorFaultType'] = ... - LINEAR_DRIFT: typing.ClassVar['SensorFaultType'] = ... - BIAS: typing.ClassVar['SensorFaultType'] = ... - NOISE_BURST: typing.ClassVar['SensorFaultType'] = ... - SATURATION: typing.ClassVar['SensorFaultType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class SensorFaultType(java.lang.Enum["SensorFaultType"]): + NONE: typing.ClassVar["SensorFaultType"] = ... + STUCK_AT_VALUE: typing.ClassVar["SensorFaultType"] = ... + LINEAR_DRIFT: typing.ClassVar["SensorFaultType"] = ... + BIAS: typing.ClassVar["SensorFaultType"] = ... + NOISE_BURST: typing.ClassVar["SensorFaultType"] = ... + SATURATION: typing.ClassVar["SensorFaultType"] = ... + _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: ... + 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]) -> 'SensorFaultType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "SensorFaultType": ... @staticmethod - def values() -> typing.MutableSequence['SensorFaultType']: ... - -class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceInterface): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def values() -> typing.MutableSequence["SensorFaultType"]: ... + +class MeasurementDeviceBaseClass( + jneqsim.util.NamedBaseClass, MeasurementDeviceInterface +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def acknowledgeAlarm(self, double: float) -> jneqsim.process.alarm.AlarmEvent: ... def clearFault(self) -> None: ... def displayResult(self) -> None: ... def doConditionAnalysis(self) -> bool: ... - def evaluateAlarm(self, double: float, double2: float, double3: float) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... + def evaluateAlarm( + self, double: float, double2: float, double3: float + ) -> java.util.List[jneqsim.process.alarm.AlarmEvent]: ... def getAlarmConfig(self) -> jneqsim.process.alarm.AlarmConfig: ... def getAlarmState(self) -> jneqsim.process.alarm.AlarmState: ... def getConditionAnalysisMaxDeviation(self) -> float: ... @@ -111,11 +129,15 @@ class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceI @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMinimumValue(self) -> float: ... def getNoiseStdDev(self) -> float: ... def getOnlineMeasurementValue(self) -> float: ... - def getOnlineSignal(self) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... + def getOnlineSignal( + self, + ) -> jneqsim.process.measurementdevice.online.OnlineSignal: ... def getTag(self) -> java.lang.String: ... def getTagRole(self) -> InstrumentTagRole: ... def getUnit(self) -> java.lang.String: ... @@ -124,21 +146,34 @@ class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceI def isLogging(self) -> bool: ... def isOnlineSignal(self) -> bool: ... def runConditionAnalysis(self) -> None: ... - def setAlarmConfig(self, alarmConfig: jneqsim.process.alarm.AlarmConfig) -> None: ... + def setAlarmConfig( + self, alarmConfig: jneqsim.process.alarm.AlarmConfig + ) -> None: ... def setConditionAnalysis(self, boolean: bool) -> None: ... def setConditionAnalysisMaxDeviation(self, double: float) -> None: ... def setDelaySteps(self, int: int) -> None: ... def setFault(self, sensorFaultType: SensorFaultType, double: float) -> None: ... def setFieldValue(self, double: float) -> None: ... def setFirstOrderTimeConstant(self, double: float) -> None: ... - def setIsOnlineSignal(self, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setIsOnlineSignal( + self, + boolean: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setLogging(self, boolean: bool) -> None: ... def setMaximumValue(self, double: float) -> None: ... def setMinimumValue(self, double: float) -> None: ... def setNoiseStdDev(self, double: float) -> None: ... - def setOnlineMeasurementValue(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setOnlineSignal(self, onlineSignal: jneqsim.process.measurementdevice.online.OnlineSignal) -> None: ... - def setQualityCheckMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOnlineMeasurementValue( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOnlineSignal( + self, onlineSignal: jneqsim.process.measurementdevice.online.OnlineSignal + ) -> None: ... + def setQualityCheckMessage( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRandomSeed(self, long: int) -> None: ... def setTag(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTagRole(self, instrumentTagRole: InstrumentTagRole) -> None: ... @@ -146,38 +181,65 @@ class MeasurementDeviceBaseClass(jneqsim.util.NamedBaseClass, MeasurementDeviceI @typing.overload def shelveAlarm(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def shelveAlarm(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def shelveAlarm( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def unshelveAlarm(self) -> None: ... class CompressorMonitor(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + compressor: jneqsim.process.equipment.compressor.Compressor, + ): ... @typing.overload def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class DifferentialPressureTransmitter(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... - @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... + @typing.overload + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... - def getHighPressureStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getLowPressureStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getHighPressureStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLowPressureStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class FireDetector(MeasurementDeviceBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def detectFire(self) -> None: ... def displayResult(self) -> None: ... def getDetectionDelay(self) -> float: ... @@ -186,7 +248,9 @@ class FireDetector(MeasurementDeviceBaseClass): @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSignalLevel(self) -> float: ... def isFireDetected(self) -> bool: ... def reset(self) -> None: ... @@ -197,71 +261,117 @@ class FireDetector(MeasurementDeviceBaseClass): def toString(self) -> java.lang.String: ... class FlowInducedVibrationAnalyser(MeasurementDeviceBaseClass): - VALID_SUPPORT_ARRANGEMENTS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... - @typing.overload - def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + VALID_SUPPORT_ARRANGEMENTS: typing.ClassVar[ + typing.MutableSequence[java.lang.String] + ] = ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills, + ): ... + @typing.overload + def __init__( + self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMethod(self) -> java.lang.String: ... def getSupportArrangement(self) -> java.lang.String: ... def getSupportDistance(self) -> float: ... def setFRMSConstant(self, double: float) -> None: ... def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSegment(self, int: int) -> None: ... - def setSupportArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSupportArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSupportDistance(self, double: float) -> None: ... class FlowRatioMeter(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, flowBasis: 'FlowRatioMeter.FlowBasis'): ... - @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, flowBasis: 'FlowRatioMeter.FlowBasis'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + flowBasis: "FlowRatioMeter.FlowBasis", + ): ... + @typing.overload + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + flowBasis: "FlowRatioMeter.FlowBasis", + ): ... def displayResult(self) -> None: ... - def getDenominatorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getFlowBasis(self) -> 'FlowRatioMeter.FlowBasis': ... + def getDenominatorStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getFlowBasis(self) -> "FlowRatioMeter.FlowBasis": ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getNumeratorStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - class FlowBasis(java.lang.Enum['FlowRatioMeter.FlowBasis']): - MASS: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... - MOLE: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... - VOLUME: typing.ClassVar['FlowRatioMeter.FlowBasis'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getNumeratorStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + + class FlowBasis(java.lang.Enum["FlowRatioMeter.FlowBasis"]): + MASS: typing.ClassVar["FlowRatioMeter.FlowBasis"] = ... + MOLE: typing.ClassVar["FlowRatioMeter.FlowBasis"] = ... + VOLUME: typing.ClassVar["FlowRatioMeter.FlowBasis"] = ... + _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: ... + 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]) -> 'FlowRatioMeter.FlowBasis': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRatioMeter.FlowBasis": ... @staticmethod - def values() -> typing.MutableSequence['FlowRatioMeter.FlowBasis']: ... + def values() -> typing.MutableSequence["FlowRatioMeter.FlowBasis"]: ... class GasDetector(MeasurementDeviceBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], gasType: 'GasDetector.GasType'): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], gasType: 'GasDetector.GasType', string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + gasType: "GasDetector.GasType", + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + gasType: "GasDetector.GasType", + string2: typing.Union[java.lang.String, str], + ): ... def convertPercentLELToPpm(self, double: float) -> float: ... def convertPpmToPercentLEL(self, double: float) -> float: ... def displayResult(self) -> None: ... def getGasConcentration(self) -> float: ... def getGasSpecies(self) -> java.lang.String: ... - def getGasType(self) -> 'GasDetector.GasType': ... + def getGasType(self) -> "GasDetector.GasType": ... def getLocation(self) -> java.lang.String: ... def getLowerExplosiveLimit(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getResponseTime(self) -> float: ... def isGasDetected(self, double: float) -> bool: ... def isHighAlarm(self, double: float) -> bool: ... @@ -272,60 +382,91 @@ class GasDetector(MeasurementDeviceBaseClass): def setLowerExplosiveLimit(self, double: float) -> None: ... def setResponseTime(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class GasType(java.lang.Enum['GasDetector.GasType']): - COMBUSTIBLE: typing.ClassVar['GasDetector.GasType'] = ... - TOXIC: typing.ClassVar['GasDetector.GasType'] = ... - OXYGEN: typing.ClassVar['GasDetector.GasType'] = ... + + class GasType(java.lang.Enum["GasDetector.GasType"]): + COMBUSTIBLE: typing.ClassVar["GasDetector.GasType"] = ... + TOXIC: typing.ClassVar["GasDetector.GasType"] = ... + OXYGEN: typing.ClassVar["GasDetector.GasType"] = ... def getDefaultUnit(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'GasDetector.GasType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasDetector.GasType": ... @staticmethod - def values() -> typing.MutableSequence['GasDetector.GasType']: ... + def values() -> typing.MutableSequence["GasDetector.GasType"]: ... class LevelTransmitter(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + ): ... @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... class OilLevelTransmitter(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOilThickness(self) -> float: ... class PushButton(MeasurementDeviceBaseClass): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], blowdownValve: jneqsim.process.equipment.valve.BlowdownValve): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + blowdownValve: jneqsim.process.equipment.valve.BlowdownValve, + ): ... def displayResult(self) -> None: ... - def getLinkedBlowdownValve(self) -> jneqsim.process.equipment.valve.BlowdownValve: ... + def getLinkedBlowdownValve( + self, + ) -> jneqsim.process.equipment.valve.BlowdownValve: ... def getLinkedLogics(self) -> java.util.List[jneqsim.process.logic.ProcessLogic]: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def isAutoActivateValve(self) -> bool: ... def isPushed(self) -> bool: ... - def linkToBlowdownValve(self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve) -> None: ... + def linkToBlowdownValve( + self, blowdownValve: jneqsim.process.equipment.valve.BlowdownValve + ) -> None: ... def linkToLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... def push(self) -> None: ... def reset(self) -> None: ... @@ -333,92 +474,168 @@ class PushButton(MeasurementDeviceBaseClass): def toString(self) -> java.lang.String: ... class StreamMeasurementDeviceBaseClass(MeasurementDeviceBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def setStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class WaterLevelTransmitter(MeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class CombustionEmissionsCalculator(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @staticmethod - def calculateCO2Emissions(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]]) -> float: ... + def calculateCO2Emissions( + 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], + ], + ) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def setComponents(self) -> None: ... class CompositionAnalyzer(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, string2: typing.Union[java.lang.String, str], analyzerPhase: 'CompositionAnalyzer.AnalyzerPhase'): ... - @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], analyzerPhase: 'CompositionAnalyzer.AnalyzerPhase'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string2: typing.Union[java.lang.String, str], + analyzerPhase: "CompositionAnalyzer.AnalyzerPhase", + ): ... + @typing.overload + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + analyzerPhase: "CompositionAnalyzer.AnalyzerPhase", + ): ... def displayResult(self) -> None: ... - def getAnalyzerPhase(self) -> 'CompositionAnalyzer.AnalyzerPhase': ... + def getAnalyzerPhase(self) -> "CompositionAnalyzer.AnalyzerPhase": ... def getComponentName(self) -> java.lang.String: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - class AnalyzerPhase(java.lang.Enum['CompositionAnalyzer.AnalyzerPhase']): - OVERALL: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... - GAS: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... - LIQUID: typing.ClassVar['CompositionAnalyzer.AnalyzerPhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + + class AnalyzerPhase(java.lang.Enum["CompositionAnalyzer.AnalyzerPhase"]): + OVERALL: typing.ClassVar["CompositionAnalyzer.AnalyzerPhase"] = ... + GAS: typing.ClassVar["CompositionAnalyzer.AnalyzerPhase"] = ... + LIQUID: typing.ClassVar["CompositionAnalyzer.AnalyzerPhase"] = ... + _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: ... + 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]) -> 'CompositionAnalyzer.AnalyzerPhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompositionAnalyzer.AnalyzerPhase": ... @staticmethod - def values() -> typing.MutableSequence['CompositionAnalyzer.AnalyzerPhase']: ... + def values() -> typing.MutableSequence["CompositionAnalyzer.AnalyzerPhase"]: ... class CricondenbarAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMeasuredValue2(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getMeasuredValue2( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... class HydrateEquilibriumTemperatureAnalyser(StreamMeasurementDeviceBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getReferencePressure(self) -> float: ... def setReferencePressure(self, double: float) -> None: ... class HydrocarbonDewPointAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMethod(self) -> java.lang.String: ... def getReferencePressure(self) -> float: ... def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -426,125 +643,223 @@ class HydrocarbonDewPointAnalyser(StreamMeasurementDeviceBaseClass): class ImpurityMonitor(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @typing.overload - def addTrackedComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addTrackedComponent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def addTrackedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addTrackedComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def displayResult(self) -> None: ... - def getBulkMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEnrichmentFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getFullReport(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getBulkMoleFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEnrichmentFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getFullReport( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... def getGasPhaseFraction(self) -> float: ... - def getGasPhaseMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getLiquidPhaseMoleFraction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getGasPhaseMoleFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getLiquidPhaseMoleFraction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfPhases(self) -> int: ... def isAlarmExceeded(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def setPrimaryComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPrimaryComponent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class MolarMassAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class MultiPhaseMeter(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getPressure(self) -> float: ... def getTemperature(self) -> float: ... - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class NMVOCAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getnmVOCFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getnmVOCFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class PressureTransmitter(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def applyFieldValue(self) -> None: ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class TemperatureTransmitter(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def applyFieldValue(self) -> None: ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class VolumeFlowTransmitter(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def applyFieldValue(self) -> None: ... def displayResult(self) -> None: ... def getMeasuredPhaseNumber(self) -> int: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def setMeasuredPhaseNumber(self, int: int) -> None: ... class WaterContentAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... class WaterDewPointAnalyser(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def displayResult(self) -> None: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMethod(self) -> java.lang.String: ... def getReferencePressure(self) -> float: ... def setMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -552,32 +867,55 @@ class WaterDewPointAnalyser(StreamMeasurementDeviceBaseClass): class WellAllocator(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def setExportGasStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... - def setExportOilStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + @typing.overload + def getMeasuredValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def setExportGasStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... + def setExportOilStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... class pHProbe(StreamMeasurementDeviceBaseClass): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... def getAlkalinity(self) -> float: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def run(self) -> None: ... def setAlkalinity(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice")``. @@ -590,7 +928,9 @@ class __module_protocol__(Protocol): FlowInducedVibrationAnalyser: typing.Type[FlowInducedVibrationAnalyser] FlowRatioMeter: typing.Type[FlowRatioMeter] GasDetector: typing.Type[GasDetector] - HydrateEquilibriumTemperatureAnalyser: typing.Type[HydrateEquilibriumTemperatureAnalyser] + HydrateEquilibriumTemperatureAnalyser: typing.Type[ + HydrateEquilibriumTemperatureAnalyser + ] HydrocarbonDewPointAnalyser: typing.Type[HydrocarbonDewPointAnalyser] ImpurityMonitor: typing.Type[ImpurityMonitor] InstrumentTagRole: typing.Type[InstrumentTagRole] @@ -613,5 +953,7 @@ class __module_protocol__(Protocol): WellAllocator: typing.Type[WellAllocator] pHProbe: typing.Type[pHProbe] online: jneqsim.process.measurementdevice.online.__module_protocol__ - simpleflowregime: jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ + simpleflowregime: ( + jneqsim.process.measurementdevice.simpleflowregime.__module_protocol__ + ) vfm: jneqsim.process.measurementdevice.vfm.__module_protocol__ diff --git a/src/jneqsim-stubs/process/measurementdevice/online/__init__.pyi b/src/jneqsim-stubs/process/measurementdevice/online/__init__.pyi index 70182b12..c7277908 100644 --- a/src/jneqsim-stubs/process/measurementdevice/online/__init__.pyi +++ b/src/jneqsim-stubs/process/measurementdevice/online/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,18 @@ import java.lang import java.util import typing - - class OnlineSignal(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def connect(self) -> bool: ... def getTimeStamp(self) -> java.util.Date: ... def getUnit(self) -> java.lang.String: ... def getValue(self) -> float: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.online")``. diff --git a/src/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi b/src/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi index be5923a5..fa9c7832 100644 --- a/src/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi +++ b/src/jneqsim-stubs/process/measurementdevice/simpleflowregime/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.process.measurementdevice import jneqsim.thermo.system import typing - - class FluidSevereSlug: def getGasConstant(self) -> float: ... def getLiqDensity(self) -> float: ... @@ -40,49 +38,127 @@ class SevereSlugAnalyser(jneqsim.process.measurementdevice.MeasurementDeviceBase @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + int: int, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + stream: jneqsim.process.equipment.stream.Stream, + double: float, + double2: float, + double3: float, + double4: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + stream: jneqsim.process.equipment.stream.Stream, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + int: int, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], stream: jneqsim.process.equipment.stream.Stream, double: float, double2: float, double3: float, double4: float, double5: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + stream: jneqsim.process.equipment.stream.Stream, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + int: int, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, pipe: Pipe, double: float, double2: float, double3: float, int: int): ... - def checkFlowRegime(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> java.lang.String: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + pipe: Pipe, + double: float, + double2: float, + double3: float, + int: int, + ): ... + def checkFlowRegime( + self, + fluidSevereSlug: FluidSevereSlug, + pipe: Pipe, + severeSlugAnalyser: "SevereSlugAnalyser", + ) -> java.lang.String: ... def gasConst(self, fluidSevereSlug: FluidSevereSlug) -> float: ... def getFlowPattern(self) -> java.lang.String: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getMeasuredValue(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... + def getMeasuredValue( + self, + fluidSevereSlug: FluidSevereSlug, + pipe: Pipe, + severeSlugAnalyser: "SevereSlugAnalyser", + ) -> float: ... def getNumberOfTimeSteps(self) -> int: ... def getOutletPressure(self) -> float: ... @typing.overload def getPredictedFlowRegime(self) -> java.lang.String: ... @typing.overload - def getPredictedFlowRegime(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> java.lang.String: ... + def getPredictedFlowRegime( + self, + fluidSevereSlug: FluidSevereSlug, + pipe: Pipe, + severeSlugAnalyser: "SevereSlugAnalyser", + ) -> java.lang.String: ... def getSimulationTime(self) -> float: ... def getSlugValue(self) -> float: ... def getSuperficialGasVelocity(self) -> float: ... def getSuperficialLiquidVelocity(self) -> float: ... def getTemperature(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def runSevereSlug(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def runSevereSlug( + self, + fluidSevereSlug: FluidSevereSlug, + pipe: Pipe, + severeSlugAnalyser: "SevereSlugAnalyser", + ) -> None: ... def setNumberOfTimeSteps(self, int: int) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setSimulationTime(self, double: float) -> None: ... def setSuperficialGasVelocity(self, double: float) -> None: ... def setSuperficialLiquidVelocity(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... - def slugHoldUp(self, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... - def stratifiedHoldUp(self, fluidSevereSlug: FluidSevereSlug, pipe: Pipe, severeSlugAnalyser: 'SevereSlugAnalyser') -> float: ... - + def slugHoldUp( + self, pipe: Pipe, severeSlugAnalyser: "SevereSlugAnalyser" + ) -> float: ... + def stratifiedHoldUp( + self, + fluidSevereSlug: FluidSevereSlug, + pipe: Pipe, + severeSlugAnalyser: "SevereSlugAnalyser", + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.simpleflowregime")``. diff --git a/src/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi b/src/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi index 3d206d84..026709d1 100644 --- a/src/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi +++ b/src/jneqsim-stubs/process/measurementdevice/vfm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,54 +14,92 @@ import jneqsim.process.equipment.stream import jneqsim.process.measurementdevice import typing - - class SoftSensor(jneqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, propertyType: 'SoftSensor.PropertyType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + propertyType: "SoftSensor.PropertyType", + ): ... @typing.overload def estimate(self) -> float: ... @typing.overload - def estimate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def estimate( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... def getLastSensitivity(self) -> typing.MutableSequence[float]: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPropertyType(self) -> 'SoftSensor.PropertyType': ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getPropertyType(self) -> "SoftSensor.PropertyType": ... def getSensitivity(self) -> typing.MutableSequence[float]: ... - def getUncertaintyBounds(self, double: float, double2: float) -> 'UncertaintyBounds': ... - def setInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setInputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setPropertyType(self, propertyType: 'SoftSensor.PropertyType') -> None: ... - class PropertyType(java.lang.Enum['SoftSensor.PropertyType']): - GOR: typing.ClassVar['SoftSensor.PropertyType'] = ... - WATER_CUT: typing.ClassVar['SoftSensor.PropertyType'] = ... - DENSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... - OIL_VISCOSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... - GAS_VISCOSITY: typing.ClassVar['SoftSensor.PropertyType'] = ... - Z_FACTOR: typing.ClassVar['SoftSensor.PropertyType'] = ... - HEATING_VALUE: typing.ClassVar['SoftSensor.PropertyType'] = ... - BUBBLE_POINT: typing.ClassVar['SoftSensor.PropertyType'] = ... - DEW_POINT: typing.ClassVar['SoftSensor.PropertyType'] = ... - OIL_FVF: typing.ClassVar['SoftSensor.PropertyType'] = ... - GAS_FVF: typing.ClassVar['SoftSensor.PropertyType'] = ... - SOLUTION_GOR: typing.ClassVar['SoftSensor.PropertyType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getUncertaintyBounds( + self, double: float, double2: float + ) -> "UncertaintyBounds": ... + def setInput( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setInputs( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setPropertyType(self, propertyType: "SoftSensor.PropertyType") -> None: ... + + class PropertyType(java.lang.Enum["SoftSensor.PropertyType"]): + GOR: typing.ClassVar["SoftSensor.PropertyType"] = ... + WATER_CUT: typing.ClassVar["SoftSensor.PropertyType"] = ... + DENSITY: typing.ClassVar["SoftSensor.PropertyType"] = ... + OIL_VISCOSITY: typing.ClassVar["SoftSensor.PropertyType"] = ... + GAS_VISCOSITY: typing.ClassVar["SoftSensor.PropertyType"] = ... + Z_FACTOR: typing.ClassVar["SoftSensor.PropertyType"] = ... + HEATING_VALUE: typing.ClassVar["SoftSensor.PropertyType"] = ... + BUBBLE_POINT: typing.ClassVar["SoftSensor.PropertyType"] = ... + DEW_POINT: typing.ClassVar["SoftSensor.PropertyType"] = ... + OIL_FVF: typing.ClassVar["SoftSensor.PropertyType"] = ... + GAS_FVF: typing.ClassVar["SoftSensor.PropertyType"] = ... + SOLUTION_GOR: typing.ClassVar["SoftSensor.PropertyType"] = ... + _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: ... + 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]) -> 'SoftSensor.PropertyType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SoftSensor.PropertyType": ... @staticmethod - def values() -> typing.MutableSequence['SoftSensor.PropertyType']: ... + def values() -> typing.MutableSequence["SoftSensor.PropertyType"]: ... class UncertaintyBounds(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... - def add(self, uncertaintyBounds: 'UncertaintyBounds') -> 'UncertaintyBounds': ... + def __init__( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ): ... + def add(self, uncertaintyBounds: "UncertaintyBounds") -> "UncertaintyBounds": ... def getCoefficientOfVariation(self) -> float: ... def getLower95(self) -> float: ... def getLower99(self) -> float: ... @@ -73,12 +111,12 @@ class UncertaintyBounds(java.io.Serializable): def getUpper99(self) -> float: ... def isWithin95CI(self, double: float) -> bool: ... def isWithin99CI(self, double: float) -> bool: ... - def scale(self, double: float) -> 'UncertaintyBounds': ... + def scale(self, double: float) -> "UncertaintyBounds": ... def toString(self) -> java.lang.String: ... class VFMResult(java.io.Serializable): @staticmethod - def builder() -> 'VFMResult.Builder': ... + def builder() -> "VFMResult.Builder": ... def getAdditionalProperties(self) -> java.util.Map[java.lang.String, float]: ... def getGasFlowRate(self) -> float: ... def getGasOilRatio(self) -> float: ... @@ -86,7 +124,7 @@ class VFMResult(java.io.Serializable): def getOilFlowRate(self) -> float: ... def getOilUncertainty(self) -> UncertaintyBounds: ... def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getQuality(self) -> 'VFMResult.Quality': ... + def getQuality(self) -> "VFMResult.Quality": ... def getTimestamp(self) -> java.time.Instant: ... def getTotalLiquidFlowRate(self) -> float: ... def getWaterCut(self) -> float: ... @@ -94,54 +132,98 @@ class VFMResult(java.io.Serializable): def getWaterUncertainty(self) -> UncertaintyBounds: ... def isUsable(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addProperty(self, string: typing.Union[java.lang.String, str], double: float) -> 'VFMResult.Builder': ... - def build(self) -> 'VFMResult': ... + def addProperty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "VFMResult.Builder": ... + def build(self) -> "VFMResult": ... @typing.overload - def gasFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + def gasFlowRate( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ) -> "VFMResult.Builder": ... @typing.overload - def gasFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + def gasFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VFMResult.Builder": ... @typing.overload - def oilFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + def oilFlowRate( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ) -> "VFMResult.Builder": ... @typing.overload - def oilFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... - def quality(self, quality: 'VFMResult.Quality') -> 'VFMResult.Builder': ... - def timestamp(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> 'VFMResult.Builder': ... + def oilFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VFMResult.Builder": ... + def quality(self, quality: "VFMResult.Quality") -> "VFMResult.Builder": ... + def timestamp( + self, instant: typing.Union[java.time.Instant, datetime.datetime] + ) -> "VFMResult.Builder": ... @typing.overload - def waterFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... + def waterFlowRate( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ) -> "VFMResult.Builder": ... @typing.overload - def waterFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VFMResult.Builder': ... - class Quality(java.lang.Enum['VFMResult.Quality']): - HIGH: typing.ClassVar['VFMResult.Quality'] = ... - NORMAL: typing.ClassVar['VFMResult.Quality'] = ... - LOW: typing.ClassVar['VFMResult.Quality'] = ... - EXTRAPOLATED: typing.ClassVar['VFMResult.Quality'] = ... - INVALID: typing.ClassVar['VFMResult.Quality'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def waterFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VFMResult.Builder": ... + + class Quality(java.lang.Enum["VFMResult.Quality"]): + HIGH: typing.ClassVar["VFMResult.Quality"] = ... + NORMAL: typing.ClassVar["VFMResult.Quality"] = ... + LOW: typing.ClassVar["VFMResult.Quality"] = ... + EXTRAPOLATED: typing.ClassVar["VFMResult.Quality"] = ... + INVALID: typing.ClassVar["VFMResult.Quality"] = ... + _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: ... + 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]) -> 'VFMResult.Quality': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VFMResult.Quality": ... @staticmethod - def values() -> typing.MutableSequence['VFMResult.Quality']: ... + def values() -> typing.MutableSequence["VFMResult.Quality"]: ... -class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... +class VirtualFlowMeter( + jneqsim.process.measurementdevice.StreamMeasurementDeviceBaseClass +): + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def calculateFlowRates(self) -> VFMResult: ... @typing.overload - def calculateFlowRates(self, double: float, double2: float, double3: float) -> VFMResult: ... - def calibrate(self, list: java.util.List['VirtualFlowMeter.WellTestData']) -> None: ... + def calculateFlowRates( + self, double: float, double2: float, double3: float + ) -> VFMResult: ... + def calibrate( + self, list: java.util.List["VirtualFlowMeter.WellTestData"] + ) -> None: ... def getCalibrationFactor(self) -> float: ... def getLastCalibrationTime(self) -> java.time.Instant: ... def getLastResult(self) -> VFMResult: ... @typing.overload def getMeasuredValue(self) -> float: ... @typing.overload - def getMeasuredValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeasuredValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getUncertaintyBounds(self) -> UncertaintyBounds: ... def setChokeOpening(self, double: float) -> None: ... def setDownstreamPressure(self, double: float) -> None: ... @@ -149,8 +231,18 @@ class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDevice def setMeasurementUncertainties(self, double: float, double2: float) -> None: ... def setTemperature(self, double: float) -> None: ... def setUpstreamPressure(self, double: float) -> None: ... + class WellTestData: - def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + instant: typing.Union[java.time.Instant, datetime.datetime], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getChokeOpening(self) -> float: ... def getGasRate(self) -> float: ... def getOilRate(self) -> float: ... @@ -159,7 +251,6 @@ class VirtualFlowMeter(jneqsim.process.measurementdevice.StreamMeasurementDevice def getTimestamp(self) -> java.time.Instant: ... def getWaterRate(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.measurementdevice.vfm")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi index 99ecc0de..a598b228 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -47,67 +47,97 @@ import jneqsim.process.mechanicaldesign.well import jneqsim.process.processmodel import typing - - class AlarmTripScheduleGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def generate(self) -> None: ... - def getEntries(self) -> java.util.List['AlarmTripScheduleGenerator.AlarmTripEntry']: ... - def getEntriesForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['AlarmTripScheduleGenerator.AlarmTripEntry']: ... + def getEntries( + self, + ) -> java.util.List["AlarmTripScheduleGenerator.AlarmTripEntry"]: ... + def getEntriesForEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["AlarmTripScheduleGenerator.AlarmTripEntry"]: ... def getEntryCount(self) -> int: ... def toJson(self) -> java.lang.String: ... - class AlarmPriority(java.lang.Enum['AlarmTripScheduleGenerator.AlarmPriority']): - LOW: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... - MEDIUM: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... - HIGH: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... - EMERGENCY: typing.ClassVar['AlarmTripScheduleGenerator.AlarmPriority'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AlarmPriority(java.lang.Enum["AlarmTripScheduleGenerator.AlarmPriority"]): + LOW: typing.ClassVar["AlarmTripScheduleGenerator.AlarmPriority"] = ... + MEDIUM: typing.ClassVar["AlarmTripScheduleGenerator.AlarmPriority"] = ... + HIGH: typing.ClassVar["AlarmTripScheduleGenerator.AlarmPriority"] = ... + EMERGENCY: typing.ClassVar["AlarmTripScheduleGenerator.AlarmPriority"] = ... + _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: ... + 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]) -> 'AlarmTripScheduleGenerator.AlarmPriority': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AlarmTripScheduleGenerator.AlarmPriority": ... @staticmethod - def values() -> typing.MutableSequence['AlarmTripScheduleGenerator.AlarmPriority']: ... + def values() -> ( + typing.MutableSequence["AlarmTripScheduleGenerator.AlarmPriority"] + ): ... + class AlarmTripEntry(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], serviceType: 'AlarmTripScheduleGenerator.ServiceType', string3: typing.Union[java.lang.String, str], double: float, string4: typing.Union[java.lang.String, str], alarmPriority: 'AlarmTripScheduleGenerator.AlarmPriority', string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + serviceType: "AlarmTripScheduleGenerator.ServiceType", + string3: typing.Union[java.lang.String, str], + double: float, + string4: typing.Union[java.lang.String, str], + alarmPriority: "AlarmTripScheduleGenerator.AlarmPriority", + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + ): ... def getActionType(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getEquipmentTag(self) -> java.lang.String: ... def getInstrumentTag(self) -> java.lang.String: ... - def getPriority(self) -> 'AlarmTripScheduleGenerator.AlarmPriority': ... - def getServiceType(self) -> 'AlarmTripScheduleGenerator.ServiceType': ... + def getPriority(self) -> "AlarmTripScheduleGenerator.AlarmPriority": ... + def getServiceType(self) -> "AlarmTripScheduleGenerator.ServiceType": ... def getSetpointType(self) -> java.lang.String: ... def getSetpointValue(self) -> float: ... def getUnit(self) -> java.lang.String: ... - class ServiceType(java.lang.Enum['AlarmTripScheduleGenerator.ServiceType']): - PRESSURE: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... - TEMPERATURE: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... - LEVEL: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... - FLOW: typing.ClassVar['AlarmTripScheduleGenerator.ServiceType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ServiceType(java.lang.Enum["AlarmTripScheduleGenerator.ServiceType"]): + PRESSURE: typing.ClassVar["AlarmTripScheduleGenerator.ServiceType"] = ... + TEMPERATURE: typing.ClassVar["AlarmTripScheduleGenerator.ServiceType"] = ... + LEVEL: typing.ClassVar["AlarmTripScheduleGenerator.ServiceType"] = ... + FLOW: typing.ClassVar["AlarmTripScheduleGenerator.ServiceType"] = ... + _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: ... + 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]) -> 'AlarmTripScheduleGenerator.ServiceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AlarmTripScheduleGenerator.ServiceType": ... @staticmethod - def values() -> typing.MutableSequence['AlarmTripScheduleGenerator.ServiceType']: ... - -class DesignCase(java.lang.Enum['DesignCase']): - NORMAL: typing.ClassVar['DesignCase'] = ... - MAXIMUM: typing.ClassVar['DesignCase'] = ... - MINIMUM: typing.ClassVar['DesignCase'] = ... - STARTUP: typing.ClassVar['DesignCase'] = ... - SHUTDOWN: typing.ClassVar['DesignCase'] = ... - UPSET: typing.ClassVar['DesignCase'] = ... - EMERGENCY: typing.ClassVar['DesignCase'] = ... - WINTER: typing.ClassVar['DesignCase'] = ... - SUMMER: typing.ClassVar['DesignCase'] = ... - EARLY_LIFE: typing.ClassVar['DesignCase'] = ... - LATE_LIFE: typing.ClassVar['DesignCase'] = ... + def values() -> ( + typing.MutableSequence["AlarmTripScheduleGenerator.ServiceType"] + ): ... + +class DesignCase(java.lang.Enum["DesignCase"]): + NORMAL: typing.ClassVar["DesignCase"] = ... + MAXIMUM: typing.ClassVar["DesignCase"] = ... + MINIMUM: typing.ClassVar["DesignCase"] = ... + STARTUP: typing.ClassVar["DesignCase"] = ... + SHUTDOWN: typing.ClassVar["DesignCase"] = ... + UPSET: typing.ClassVar["DesignCase"] = ... + EMERGENCY: typing.ClassVar["DesignCase"] = ... + WINTER: typing.ClassVar["DesignCase"] = ... + SUMMER: typing.ClassVar["DesignCase"] = ... + EARLY_LIFE: typing.ClassVar["DesignCase"] = ... + LATE_LIFE: typing.ClassVar["DesignCase"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getTypicalLoadFactor(self) -> float: ... @@ -115,22 +145,24 @@ class DesignCase(java.lang.Enum['DesignCase']): def isTurndownCase(self) -> bool: ... def requiresReliefSizing(self) -> bool: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DesignCase': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "DesignCase": ... @staticmethod - def values() -> typing.MutableSequence['DesignCase']: ... + def values() -> typing.MutableSequence["DesignCase"]: ... class DesignConditions(java.io.Serializable): def __init__(self): ... def getConstructionMaterial(self) -> java.lang.String: ... def getCorrosionAllowance(self) -> float: ... def getDesignPressure(self) -> float: ... - def getFailureAction(self) -> 'DesignConditions.FailureAction': ... + def getFailureAction(self) -> "DesignConditions.FailureAction": ... def getMaxDesignTemperature(self) -> float: ... def getMinDesignTemperature(self) -> float: ... def getReliefSetPressure(self) -> float: ... @@ -142,34 +174,44 @@ class DesignConditions(java.io.Serializable): def isMaxDesignTemperatureSet(self) -> bool: ... def isMinDesignTemperatureSet(self) -> bool: ... def isReliefSetPressureSet(self) -> bool: ... - def setConstructionMaterial(self, string: typing.Union[java.lang.String, str]) -> 'DesignConditions': ... - def setCorrosionAllowance(self, double: float) -> 'DesignConditions': ... - def setDesignPressure(self, double: float) -> 'DesignConditions': ... - def setFailureAction(self, failureAction: 'DesignConditions.FailureAction') -> 'DesignConditions': ... - def setMaxDesignTemperature(self, double: float) -> 'DesignConditions': ... - def setMinDesignTemperature(self, double: float) -> 'DesignConditions': ... - def setReliefSetPressure(self, double: float) -> 'DesignConditions': ... + def setConstructionMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "DesignConditions": ... + def setCorrosionAllowance(self, double: float) -> "DesignConditions": ... + def setDesignPressure(self, double: float) -> "DesignConditions": ... + def setFailureAction( + self, failureAction: "DesignConditions.FailureAction" + ) -> "DesignConditions": ... + def setMaxDesignTemperature(self, double: float) -> "DesignConditions": ... + def setMinDesignTemperature(self, double: float) -> "DesignConditions": ... + def setReliefSetPressure(self, double: float) -> "DesignConditions": ... def toJson(self) -> java.lang.String: ... - class FailureAction(java.lang.Enum['DesignConditions.FailureAction']): - FAIL_CLOSED: typing.ClassVar['DesignConditions.FailureAction'] = ... - FAIL_OPEN: typing.ClassVar['DesignConditions.FailureAction'] = ... - FAIL_LAST: typing.ClassVar['DesignConditions.FailureAction'] = ... - FAIL_INDETERMINATE: typing.ClassVar['DesignConditions.FailureAction'] = ... - NOT_SPECIFIED: typing.ClassVar['DesignConditions.FailureAction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FailureAction(java.lang.Enum["DesignConditions.FailureAction"]): + FAIL_CLOSED: typing.ClassVar["DesignConditions.FailureAction"] = ... + FAIL_OPEN: typing.ClassVar["DesignConditions.FailureAction"] = ... + FAIL_LAST: typing.ClassVar["DesignConditions.FailureAction"] = ... + FAIL_INDETERMINATE: typing.ClassVar["DesignConditions.FailureAction"] = ... + NOT_SPECIFIED: typing.ClassVar["DesignConditions.FailureAction"] = ... + _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: ... + 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]) -> 'DesignConditions.FailureAction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DesignConditions.FailureAction": ... @staticmethod - def values() -> typing.MutableSequence['DesignConditions.FailureAction']: ... + def values() -> typing.MutableSequence["DesignConditions.FailureAction"]: ... class DesignLimitData(java.io.Serializable): - EMPTY: typing.ClassVar['DesignLimitData'] = ... + EMPTY: typing.ClassVar["DesignLimitData"] = ... @staticmethod - def builder() -> 'DesignLimitData.Builder': ... + def builder() -> "DesignLimitData.Builder": ... def equals(self, object: typing.Any) -> bool: ... def getCorrosionAllowance(self) -> float: ... def getJointEfficiency(self) -> float: ... @@ -179,22 +221,23 @@ class DesignLimitData(java.io.Serializable): def getMinTemperature(self) -> float: ... def hashCode(self) -> int: ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'DesignLimitData': ... - def corrosionAllowance(self, double: float) -> 'DesignLimitData.Builder': ... - def jointEfficiency(self, double: float) -> 'DesignLimitData.Builder': ... - def maxPressure(self, double: float) -> 'DesignLimitData.Builder': ... - def maxTemperature(self, double: float) -> 'DesignLimitData.Builder': ... - def minPressure(self, double: float) -> 'DesignLimitData.Builder': ... - def minTemperature(self, double: float) -> 'DesignLimitData.Builder': ... - -class DesignPhase(java.lang.Enum['DesignPhase']): - SCREENING: typing.ClassVar['DesignPhase'] = ... - CONCEPT_SELECT: typing.ClassVar['DesignPhase'] = ... - PRE_FEED: typing.ClassVar['DesignPhase'] = ... - FEED: typing.ClassVar['DesignPhase'] = ... - DETAIL_DESIGN: typing.ClassVar['DesignPhase'] = ... - AS_BUILT: typing.ClassVar['DesignPhase'] = ... + def build(self) -> "DesignLimitData": ... + def corrosionAllowance(self, double: float) -> "DesignLimitData.Builder": ... + def jointEfficiency(self, double: float) -> "DesignLimitData.Builder": ... + def maxPressure(self, double: float) -> "DesignLimitData.Builder": ... + def maxTemperature(self, double: float) -> "DesignLimitData.Builder": ... + def minPressure(self, double: float) -> "DesignLimitData.Builder": ... + def minTemperature(self, double: float) -> "DesignLimitData.Builder": ... + +class DesignPhase(java.lang.Enum["DesignPhase"]): + SCREENING: typing.ClassVar["DesignPhase"] = ... + CONCEPT_SELECT: typing.ClassVar["DesignPhase"] = ... + PRE_FEED: typing.ClassVar["DesignPhase"] = ... + FEED: typing.ClassVar["DesignPhase"] = ... + DETAIL_DESIGN: typing.ClassVar["DesignPhase"] = ... + AS_BUILT: typing.ClassVar["DesignPhase"] = ... def getAccuracyRange(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... @@ -203,103 +246,182 @@ class DesignPhase(java.lang.Enum['DesignPhase']): def requiresDetailedCompliance(self) -> bool: ... def requiresFullMechanicalDesign(self) -> bool: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DesignPhase': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "DesignPhase": ... @staticmethod - def values() -> typing.MutableSequence['DesignPhase']: ... + def values() -> typing.MutableSequence["DesignPhase"]: ... class DesignValidationResult(java.io.Serializable): def __init__(self): ... - def addCritical(self, 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]) -> 'DesignValidationResult': ... - def addError(self, 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]) -> 'DesignValidationResult': ... - def addInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DesignValidationResult': ... - def addMessage(self, severity: 'DesignValidationResult.Severity', 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]) -> 'DesignValidationResult': ... - def addMetric(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'DesignValidationResult': ... - def addWarning(self, 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]) -> 'DesignValidationResult': ... - def getCount(self, severity: 'DesignValidationResult.Severity') -> int: ... + def addCritical( + self, + 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], + ) -> "DesignValidationResult": ... + def addError( + self, + 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], + ) -> "DesignValidationResult": ... + def addInfo( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "DesignValidationResult": ... + def addMessage( + self, + severity: "DesignValidationResult.Severity", + 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], + ) -> "DesignValidationResult": ... + def addMetric( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "DesignValidationResult": ... + def addWarning( + self, + 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], + ) -> "DesignValidationResult": ... + def getCount(self, severity: "DesignValidationResult.Severity") -> int: ... @typing.overload - def getMessages(self) -> java.util.List['DesignValidationResult.ValidationMessage']: ... + def getMessages( + self, + ) -> java.util.List["DesignValidationResult.ValidationMessage"]: ... @typing.overload - def getMessages(self, severity: 'DesignValidationResult.Severity') -> java.util.List['DesignValidationResult.ValidationMessage']: ... + def getMessages( + self, severity: "DesignValidationResult.Severity" + ) -> java.util.List["DesignValidationResult.ValidationMessage"]: ... def getMetrics(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getSummary(self) -> java.lang.String: ... - def getSummaryCounts(self) -> java.util.Map['DesignValidationResult.Severity', int]: ... + def getSummaryCounts( + self, + ) -> java.util.Map["DesignValidationResult.Severity", int]: ... def hasErrors(self) -> bool: ... def hasRun(self) -> bool: ... def hasWarnings(self) -> bool: ... def isValid(self) -> bool: ... - def merge(self, designValidationResult: 'DesignValidationResult') -> 'DesignValidationResult': ... + def merge( + self, designValidationResult: "DesignValidationResult" + ) -> "DesignValidationResult": ... def toString(self) -> java.lang.String: ... - class Severity(java.lang.Enum['DesignValidationResult.Severity']): - INFO: typing.ClassVar['DesignValidationResult.Severity'] = ... - WARNING: typing.ClassVar['DesignValidationResult.Severity'] = ... - ERROR: typing.ClassVar['DesignValidationResult.Severity'] = ... - CRITICAL: typing.ClassVar['DesignValidationResult.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["DesignValidationResult.Severity"]): + INFO: typing.ClassVar["DesignValidationResult.Severity"] = ... + WARNING: typing.ClassVar["DesignValidationResult.Severity"] = ... + ERROR: typing.ClassVar["DesignValidationResult.Severity"] = ... + CRITICAL: typing.ClassVar["DesignValidationResult.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: ... + 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]) -> 'DesignValidationResult.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DesignValidationResult.Severity": ... @staticmethod - def values() -> typing.MutableSequence['DesignValidationResult.Severity']: ... + def values() -> typing.MutableSequence["DesignValidationResult.Severity"]: ... + class ValidationMessage(java.io.Serializable): - def __init__(self, severity: 'DesignValidationResult.Severity', 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]): ... + def __init__( + self, + severity: "DesignValidationResult.Severity", + 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], + ): ... def getCategory(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... - def getSeverity(self) -> 'DesignValidationResult.Severity': ... + def getSeverity(self) -> "DesignValidationResult.Severity": ... def toString(self) -> java.lang.String: ... class EngineeringDeliverablesPackage(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, studyClass: 'StudyClass'): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + studyClass: "StudyClass", + ): ... def generate(self) -> None: ... def getAlarmTripSchedule(self) -> AlarmTripScheduleGenerator: ... - def getFailedDeliverables(self) -> java.util.List['StudyClass.DeliverableType']: ... + def getFailedDeliverables(self) -> java.util.List["StudyClass.DeliverableType"]: ... def getFireScenarioJson(self) -> java.lang.String: ... - def getInstrumentSchedule(self) -> 'InstrumentScheduleGenerator': ... + def getInstrumentSchedule(self) -> "InstrumentScheduleGenerator": ... def getNoiseAssessmentJson(self) -> java.lang.String: ... def getPfdDot(self) -> java.lang.String: ... - def getReferenceDesignationGenerator(self) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - def getSparePartsInventory(self) -> 'SparePartsInventory': ... - def getStatusMap(self) -> java.util.Map['StudyClass.DeliverableType', 'EngineeringDeliverablesPackage.DeliverableStatus']: ... - def getStudyClass(self) -> 'StudyClass': ... + def getReferenceDesignationGenerator( + self, + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def getSparePartsInventory(self) -> "SparePartsInventory": ... + def getStatusMap( + self, + ) -> java.util.Map[ + "StudyClass.DeliverableType", "EngineeringDeliverablesPackage.DeliverableStatus" + ]: ... + def getStudyClass(self) -> "StudyClass": ... def getSuccessCount(self) -> int: ... - def getThermalUtilities(self) -> 'ThermalUtilitySummary': ... + def getThermalUtilities(self) -> "ThermalUtilitySummary": ... def isComplete(self) -> bool: ... def isGenerated(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class DeliverableStatus(java.io.Serializable): - def __init__(self, deliverableType: 'StudyClass.DeliverableType'): ... + def __init__(self, deliverableType: "StudyClass.DeliverableType"): ... def getDurationMs(self) -> int: ... def getMessage(self) -> java.lang.String: ... - def getType(self) -> 'StudyClass.DeliverableType': ... + def getType(self) -> "StudyClass.DeliverableType": ... def isSuccess(self) -> bool: ... class EquipmentDatasheetGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def generateAllDatasheets(self) -> java.lang.String: ... - def generateDatasheet(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int) -> com.google.gson.JsonObject: ... - def setDocumentPrefix(self, string: typing.Union[java.lang.String, str]) -> None: ... + def generateDatasheet( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + int: int, + ) -> com.google.gson.JsonObject: ... + def setDocumentPrefix( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setProjectName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setRevision(self, string: typing.Union[java.lang.String, str]) -> None: ... class EquipmentDesignReport(java.io.Serializable): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def generateReport(self) -> None: ... - def getElectricalDesign(self) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.ElectricalDesign: ... def getHazardousZone(self) -> int: ... def getIssues(self) -> java.util.List[java.lang.String]: ... - def getMechanicalDesign(self) -> 'MechanicalDesign': ... - def getMotorMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.motor.MotorMechanicalDesign: ... + def getMechanicalDesign(self) -> "MechanicalDesign": ... + def getMotorMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.motor.MotorMechanicalDesign: ... def getRatedVoltageV(self) -> float: ... def getVerdict(self) -> java.lang.String: ... def isReportGenerated(self) -> bool: ... @@ -319,31 +441,58 @@ class EquipmentDesignReport(java.io.Serializable): def toLoadListEntry(self) -> java.util.Map[java.lang.String, typing.Any]: ... class FieldDevelopmentDesignOrchestrator(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]): ... - def addDesignCase(self, designCase: DesignCase) -> 'FieldDevelopmentDesignOrchestrator': ... - def addTorgDataSource(self, torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource) -> 'FieldDevelopmentDesignOrchestrator': ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ): ... + def addDesignCase( + self, designCase: DesignCase + ) -> "FieldDevelopmentDesignOrchestrator": ... + def addTorgDataSource( + self, torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource + ) -> "FieldDevelopmentDesignOrchestrator": ... def generateDesignReport(self) -> java.lang.String: ... - def getActiveTorg(self) -> jneqsim.process.mechanicaldesign.torg.TechnicalRequirementsDocument: ... - def getCaseResults(self) -> java.util.Map[DesignCase, 'FieldDevelopmentDesignOrchestrator.DesignCaseResult']: ... + def getActiveTorg( + self, + ) -> jneqsim.process.mechanicaldesign.torg.TechnicalRequirementsDocument: ... + def getCaseResults( + self, + ) -> java.util.Map[ + DesignCase, "FieldDevelopmentDesignOrchestrator.DesignCaseResult" + ]: ... def getDesignCases(self) -> java.util.List[DesignCase]: ... def getDesignPhase(self) -> DesignPhase: ... def getEngineeringDeliverables(self) -> EngineeringDeliverablesPackage: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getProjectId(self) -> java.lang.String: ... def getRunId(self) -> java.util.UUID: ... - def getStudyClass(self) -> 'StudyClass': ... - def getSystemMechanicalDesign(self) -> 'SystemMechanicalDesign': ... + def getStudyClass(self) -> "StudyClass": ... + def getSystemMechanicalDesign(self) -> "SystemMechanicalDesign": ... def getTorgManager(self) -> jneqsim.process.mechanicaldesign.torg.TorgManager: ... def getValidationResult(self) -> DesignValidationResult: ... - def getWorkflowHistory(self) -> java.util.List['FieldDevelopmentDesignOrchestrator.WorkflowStep']: ... + def getWorkflowHistory( + self, + ) -> java.util.List["FieldDevelopmentDesignOrchestrator.WorkflowStep"]: ... @typing.overload def loadTorg(self, string: typing.Union[java.lang.String, str]) -> bool: ... @typing.overload - def loadTorg(self, string: typing.Union[java.lang.String, str], torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource) -> bool: ... + def loadTorg( + self, + string: typing.Union[java.lang.String, str], + torgDataSource: jneqsim.process.mechanicaldesign.torg.TorgDataSource, + ) -> bool: ... def runCompleteDesignWorkflow(self) -> bool: ... - def setDesignCases(self, list: java.util.List[DesignCase]) -> 'FieldDevelopmentDesignOrchestrator': ... - def setDesignPhase(self, designPhase: DesignPhase) -> 'FieldDevelopmentDesignOrchestrator': ... - def setStudyClass(self, studyClass: 'StudyClass') -> 'FieldDevelopmentDesignOrchestrator': ... + def setDesignCases( + self, list: java.util.List[DesignCase] + ) -> "FieldDevelopmentDesignOrchestrator": ... + def setDesignPhase( + self, designPhase: DesignPhase + ) -> "FieldDevelopmentDesignOrchestrator": ... + def setStudyClass( + self, studyClass: "StudyClass" + ) -> "FieldDevelopmentDesignOrchestrator": ... + class DesignCaseResult(java.io.Serializable): def __init__(self, designCase: DesignCase): ... def getDesignCase(self) -> DesignCase: ... @@ -354,10 +503,15 @@ class FieldDevelopmentDesignOrchestrator(java.io.Serializable): def setConverged(self, boolean: bool) -> None: ... def setTotalVolume(self, double: float) -> None: ... def setTotalWeight(self, double: float) -> None: ... - def setValidation(self, designValidationResult: DesignValidationResult) -> None: ... + def setValidation( + self, designValidationResult: DesignValidationResult + ) -> None: ... + class WorkflowStep(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def complete(self, boolean: bool, string: typing.Union[java.lang.String, str]) -> None: ... + def complete( + self, boolean: bool, string: typing.Union[java.lang.String, str] + ) -> None: ... def getDurationMs(self) -> int: ... def getMessage(self) -> java.lang.String: ... def getStepName(self) -> java.lang.String: ... @@ -366,66 +520,123 @@ class FieldDevelopmentDesignOrchestrator(java.io.Serializable): class InstrumentScheduleGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def generate(self) -> None: ... - def getCountByType(self, measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable') -> int: ... - def getCreatedDevices(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... - def getDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... - def getEntries(self) -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... - def getEntriesByType(self, measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable') -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... - def getEntriesForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['InstrumentScheduleGenerator.InstrumentEntry']: ... - def getISAToIEC81346Map(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getCountByType( + self, measuredVariable: "InstrumentScheduleGenerator.MeasuredVariable" + ) -> int: ... + def getCreatedDevices( + self, + ) -> java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ]: ... + def getDevice( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getEntries( + self, + ) -> java.util.List["InstrumentScheduleGenerator.InstrumentEntry"]: ... + def getEntriesByType( + self, measuredVariable: "InstrumentScheduleGenerator.MeasuredVariable" + ) -> java.util.List["InstrumentScheduleGenerator.InstrumentEntry"]: ... + def getEntriesForEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["InstrumentScheduleGenerator.InstrumentEntry"]: ... + def getISAToIEC81346Map( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getInstrumentCount(self) -> int: ... def isGenerated(self) -> bool: ... def isRegisterOnProcess(self) -> bool: ... def setRegisterOnProcess(self, boolean: bool) -> None: ... def toJson(self) -> java.lang.String: ... + class InstrumentEntry(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], measuredVariable: 'InstrumentScheduleGenerator.MeasuredVariable', string4: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, silRating: 'InstrumentScheduleGenerator.SilRating', measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + measuredVariable: "InstrumentScheduleGenerator.MeasuredVariable", + string4: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + silRating: "InstrumentScheduleGenerator.SilRating", + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ): ... def getAlarmHigh(self) -> float: ... def getAlarmLow(self) -> float: ... - def getDevice(self) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getDevice( + self, + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... def getEquipmentTag(self) -> java.lang.String: ... - def getMeasuredVariable(self) -> 'InstrumentScheduleGenerator.MeasuredVariable': ... + def getMeasuredVariable( + self, + ) -> "InstrumentScheduleGenerator.MeasuredVariable": ... def getNormalValue(self) -> float: ... def getRangeMax(self) -> float: ... def getRangeMin(self) -> float: ... def getServiceDescription(self) -> java.lang.String: ... - def getSilRating(self) -> 'InstrumentScheduleGenerator.SilRating': ... + def getSilRating(self) -> "InstrumentScheduleGenerator.SilRating": ... def getTagNumber(self) -> java.lang.String: ... def getTripHigh(self) -> float: ... def getTripLow(self) -> float: ... def getUnit(self) -> java.lang.String: ... - class MeasuredVariable(java.lang.Enum['InstrumentScheduleGenerator.MeasuredVariable']): - PRESSURE: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... - TEMPERATURE: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... - LEVEL: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... - FLOW: typing.ClassVar['InstrumentScheduleGenerator.MeasuredVariable'] = ... + + class MeasuredVariable( + java.lang.Enum["InstrumentScheduleGenerator.MeasuredVariable"] + ): + PRESSURE: typing.ClassVar["InstrumentScheduleGenerator.MeasuredVariable"] = ... + TEMPERATURE: typing.ClassVar["InstrumentScheduleGenerator.MeasuredVariable"] = ( + ... + ) + LEVEL: typing.ClassVar["InstrumentScheduleGenerator.MeasuredVariable"] = ... + FLOW: typing.ClassVar["InstrumentScheduleGenerator.MeasuredVariable"] = ... def getInstrumentType(self) -> java.lang.String: ... def getIoType(self) -> java.lang.String: ... def getTagPrefix(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InstrumentScheduleGenerator.MeasuredVariable': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InstrumentScheduleGenerator.MeasuredVariable": ... @staticmethod - def values() -> typing.MutableSequence['InstrumentScheduleGenerator.MeasuredVariable']: ... - class SilRating(java.lang.Enum['InstrumentScheduleGenerator.SilRating']): - NONE: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... - SIL_1: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... - SIL_2: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... - SIL_3: typing.ClassVar['InstrumentScheduleGenerator.SilRating'] = ... + def values() -> ( + typing.MutableSequence["InstrumentScheduleGenerator.MeasuredVariable"] + ): ... + + class SilRating(java.lang.Enum["InstrumentScheduleGenerator.SilRating"]): + NONE: typing.ClassVar["InstrumentScheduleGenerator.SilRating"] = ... + SIL_1: typing.ClassVar["InstrumentScheduleGenerator.SilRating"] = ... + SIL_2: typing.ClassVar["InstrumentScheduleGenerator.SilRating"] = ... + SIL_3: typing.ClassVar["InstrumentScheduleGenerator.SilRating"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InstrumentScheduleGenerator.SilRating': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InstrumentScheduleGenerator.SilRating": ... @staticmethod - def values() -> typing.MutableSequence['InstrumentScheduleGenerator.SilRating']: ... + def values() -> ( + typing.MutableSequence["InstrumentScheduleGenerator.SilRating"] + ): ... class MechanicalDesign(java.io.Serializable): maxDesignVolumeFlow: float = ... @@ -459,32 +670,60 @@ class MechanicalDesign(java.io.Serializable): moduleLength: float = ... designStandard: java.util.Hashtable = ... costEstimate: jneqsim.process.costestimation.UnitCostEstimateBaseClass = ... - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def addDesignDataSource(self, mechanicalDesignDataSource: typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]) -> None: ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... + def addDesignDataSource( + self, + mechanicalDesignDataSource: typing.Union[ + jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, + typing.Callable, + ], + ) -> None: ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... def costEstimateToJson(self) -> java.lang.String: ... def displayResults(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def getApplicableStandards(self) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getApplicableStandards( + self, + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ]: ... def getBareModuleCost(self) -> float: ... def getCompanySpecificDesignStandards(self) -> java.lang.String: ... def getConstrutionMaterial(self) -> java.lang.String: ... def getCorrosionAllowance(self) -> float: ... - def getCostEstimate(self) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getCostEstimate( + self, + ) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... def getDefaultLiquidDensity(self) -> float: ... def getDefaultLiquidViscosity(self) -> float: ... - def getDesignCapacityConstraints(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getDesignCapacityConstraints( + self, + ) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... def getDesignCorrosionAllowance(self) -> float: ... - def getDesignDataSources(self) -> java.util.List[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource]: ... + def getDesignDataSources( + self, + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource + ]: ... def getDesignJointEfficiency(self) -> float: ... def getDesignLimitData(self) -> DesignLimitData: ... def getDesignMaxPressureLimit(self) -> float: ... def getDesignMaxTemperatureLimit(self) -> float: ... def getDesignMinPressureLimit(self) -> float: ... def getDesignMinTemperatureLimit(self) -> float: ... - def getDesignStandard(self) -> java.util.Hashtable[java.lang.String, jneqsim.process.mechanicaldesign.designstandards.DesignStandard]: ... + def getDesignStandard( + self, + ) -> java.util.Hashtable[ + java.lang.String, + jneqsim.process.mechanicaldesign.designstandards.DesignStandard, + ]: ... def getDesignUtilization(self) -> java.util.Map[java.lang.String, float]: ... def getDuty(self) -> float: ... def getGrassRootsCost(self) -> float: ... @@ -492,9 +731,17 @@ class MechanicalDesign(java.io.Serializable): def getInnerDiameter(self) -> float: ... def getInstallationManHours(self) -> float: ... def getJointEfficiency(self) -> float: ... - def getLastMarginResult(self) -> 'MechanicalDesignMarginResult': ... - def getMaterialDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard: ... - def getMaterialPipeDesignStandard(self) -> jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard: ... + def getLastMarginResult(self) -> "MechanicalDesignMarginResult": ... + def getMaterialDesignStandard( + self, + ) -> ( + jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard + ): ... + def getMaterialPipeDesignStandard( + self, + ) -> ( + jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard + ): ... def getMaxAllowableStress(self) -> float: ... def getMaxDesignCv(self) -> float: ... def getMaxDesignGassVolumeFlow(self) -> float: ... @@ -520,10 +767,17 @@ class MechanicalDesign(java.io.Serializable): def getOuterDiameter(self) -> float: ... def getPower(self) -> float: ... def getPressureMarginFactor(self) -> float: ... - def getProcessEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getProcessEquipment( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getPurchasedEquipmentCost(self) -> float: ... - def getRecommendedStandards(self) -> java.util.Map[java.lang.String, java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]]: ... - def getResponse(self) -> 'MechanicalDesignResponse': ... + def getRecommendedStandards( + self, + ) -> java.util.Map[ + java.lang.String, + java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType], + ]: ... + def getResponse(self) -> "MechanicalDesignResponse": ... def getTantanLength(self) -> float: ... def getTensileStrength(self) -> float: ... def getTotalModuleCost(self) -> float: ... @@ -542,31 +796,79 @@ class MechanicalDesign(java.io.Serializable): def initMechanicalDesign(self) -> None: ... def isHasSetCompanySpecificDesignStandards(self) -> bool: ... def readDesignSpecifications(self) -> None: ... - def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setConstrutionMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompanySpecificDesignStandards( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setConstrutionMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCorrosionAllowance(self, double: float) -> None: ... def setCostEstimateCepci(self, double: float) -> None: ... def setCostEstimateLocationFactor(self, double: float) -> None: ... - def setCostEstimateMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCostEstimateMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDefaultLiquidDensity(self, double: float) -> None: ... def setDefaultLiquidViscosity(self, double: float) -> None: ... def setDesign(self) -> None: ... - def setDesignDataSource(self, mechanicalDesignDataSource: typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]) -> None: ... - def setDesignDataSources(self, list: java.util.List[typing.Union[jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, typing.Callable]]) -> None: ... + def setDesignDataSource( + self, + mechanicalDesignDataSource: typing.Union[ + jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, + typing.Callable, + ], + ) -> None: ... + def setDesignDataSources( + self, + list: java.util.List[ + typing.Union[ + jneqsim.process.mechanicaldesign.data.MechanicalDesignDataSource, + typing.Callable, + ] + ], + ) -> None: ... @typing.overload - def setDesignStandard(self, string: typing.Union[java.lang.String, str], designStandard: jneqsim.process.mechanicaldesign.designstandards.DesignStandard) -> None: ... + def setDesignStandard( + self, + string: typing.Union[java.lang.String, str], + designStandard: jneqsim.process.mechanicaldesign.designstandards.DesignStandard, + ) -> None: ... @typing.overload - def setDesignStandard(self, hashtable: java.util.Hashtable[typing.Union[java.lang.String, str], jneqsim.process.mechanicaldesign.designstandards.DesignStandard]) -> None: ... + def setDesignStandard( + self, + hashtable: java.util.Hashtable[ + typing.Union[java.lang.String, str], + jneqsim.process.mechanicaldesign.designstandards.DesignStandard, + ], + ) -> None: ... @typing.overload - def setDesignStandard(self, standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> None: ... + def setDesignStandard( + self, + standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, + ) -> None: ... @typing.overload - def setDesignStandard(self, standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, string: typing.Union[java.lang.String, str]) -> None: ... - def setDesignStandards(self, list: java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]) -> None: ... + def setDesignStandard( + self, + standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setDesignStandards( + self, + list: java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ], + ) -> None: ... def setHasSetCompanySpecificDesignStandards(self, boolean: bool) -> None: ... def setInnerDiameter(self, double: float) -> None: ... def setJointEfficiency(self, double: float) -> None: ... - def setMaterialDesignStandard(self, materialPlateDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard) -> None: ... - def setMaterialPipeDesignStandard(self, materialPipeDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard) -> None: ... + def setMaterialDesignStandard( + self, + materialPlateDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPlateDesignStandard, + ) -> None: ... + def setMaterialPipeDesignStandard( + self, + materialPipeDesignStandard: jneqsim.process.mechanicaldesign.designstandards.MaterialPipeDesignStandard, + ) -> None: ... def setMaxDesignCv(self, double: float) -> None: ... def setMaxDesignDuty(self, double: float) -> None: ... def setMaxDesignGassVolumeFlow(self, double: float) -> None: ... @@ -591,7 +893,10 @@ class MechanicalDesign(java.io.Serializable): def setModuleWidth(self, double: float) -> None: ... def setOuterDiameter(self, double: float) -> None: ... def setPressureMarginFactor(self, double: float) -> None: ... - def setProcessEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setProcessEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def setTantanLength(self, double: float) -> None: ... def setTensileStrength(self, double: float) -> None: ... def setVolumeTotal(self, double: float) -> None: ... @@ -607,13 +912,29 @@ class MechanicalDesign(java.io.Serializable): def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... @typing.overload - def validateOperatingEnvelope(self) -> 'MechanicalDesignMarginResult': ... + def validateOperatingEnvelope(self) -> "MechanicalDesignMarginResult": ... @typing.overload - def validateOperatingEnvelope(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'MechanicalDesignMarginResult': ... + def validateOperatingEnvelope( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> "MechanicalDesignMarginResult": ... class MechanicalDesignMarginResult(java.io.Serializable): - EMPTY: typing.ClassVar['MechanicalDesignMarginResult'] = ... - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + EMPTY: typing.ClassVar["MechanicalDesignMarginResult"] = ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def equals(self, object: typing.Any) -> bool: ... def getCorrosionAllowanceMargin(self) -> float: ... def getJointEfficiencyMargin(self) -> float: ... @@ -632,15 +953,21 @@ class MechanicalDesignReport(java.io.Serializable): def generateEquipmentListCSV(self) -> java.lang.String: ... def generatePipingLineListCSV(self) -> java.lang.String: ... def generateWeightReport(self) -> java.lang.String: ... - def getPipingDesign(self) -> 'ProcessInterconnectionDesign': ... - def getSystemDesign(self) -> 'SystemMechanicalDesign': ... + def getPipingDesign(self) -> "ProcessInterconnectionDesign": ... + def getSystemDesign(self) -> "SystemMechanicalDesign": ... def runDesignCalculations(self) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... - def writeEquipmentListCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeEquipmentListCSV( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def writeJsonReport(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writePipingLineListCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writeWeightReport(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writePipingLineListCSV( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def writeWeightReport( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class MechanicalDesignResponse(java.io.Serializable): @typing.overload @@ -648,10 +975,14 @@ class MechanicalDesignResponse(java.io.Serializable): @typing.overload def __init__(self, mechanicalDesign: MechanicalDesign): ... @typing.overload - def __init__(self, systemMechanicalDesign: 'SystemMechanicalDesign'): ... - def addSpecificParameter(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def __init__(self, systemMechanicalDesign: "SystemMechanicalDesign"): ... + def addSpecificParameter( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'MechanicalDesignResponse': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "MechanicalDesignResponse": ... def getCorrosionAllowance(self) -> float: ... def getCountByType(self) -> java.util.Map[java.lang.String, int]: ... def getDesignStandard(self) -> java.lang.String: ... @@ -659,7 +990,9 @@ class MechanicalDesignResponse(java.io.Serializable): def getEiWeight(self) -> float: ... def getEquipmentClass(self) -> java.lang.String: ... def getEquipmentCount(self) -> int: ... - def getEquipmentList(self) -> java.util.List['MechanicalDesignResponse.EquipmentSummary']: ... + def getEquipmentList( + self, + ) -> java.util.List["MechanicalDesignResponse.EquipmentSummary"]: ... def getEquipmentType(self) -> java.lang.String: ... def getFootprintLength(self) -> float: ... def getFootprintWidth(self) -> float: ... @@ -700,17 +1033,35 @@ class MechanicalDesignResponse(java.io.Serializable): def getWeightByDiscipline(self) -> java.util.Map[java.lang.String, float]: ... def getWeightByType(self) -> java.util.Map[java.lang.String, float]: ... def isSystemLevel(self) -> bool: ... - def mergeWithEquipmentJson(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def populateFromMechanicalDesign(self, mechanicalDesign: MechanicalDesign) -> None: ... - def populateFromSystemMechanicalDesign(self, systemMechanicalDesign: 'SystemMechanicalDesign') -> None: ... + def mergeWithEquipmentJson( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def populateFromMechanicalDesign( + self, mechanicalDesign: MechanicalDesign + ) -> None: ... + def populateFromSystemMechanicalDesign( + self, systemMechanicalDesign: "SystemMechanicalDesign" + ) -> None: ... def setCorrosionAllowance(self, double: float) -> None: ... - def setCountByType(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]]) -> None: ... - def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCountByType( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], int], + typing.Mapping[typing.Union[java.lang.String, str], int], + ], + ) -> None: ... + def setDesignStandard( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDuty(self, double: float) -> None: ... def setEiWeight(self, double: float) -> None: ... - def setEquipmentClass(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentClass( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEquipmentCount(self, int: int) -> None: ... - def setEquipmentList(self, list: java.util.List['MechanicalDesignResponse.EquipmentSummary']) -> None: ... + def setEquipmentList( + self, list: java.util.List["MechanicalDesignResponse.EquipmentSummary"] + ) -> None: ... def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFootprintLength(self, double: float) -> None: ... def setFootprintWidth(self, double: float) -> None: ... @@ -736,7 +1087,13 @@ class MechanicalDesignResponse(java.io.Serializable): def setPower(self, double: float) -> None: ... def setProcessName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setShellMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSpecificParameters(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> None: ... + def setSpecificParameters( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> None: ... def setStructuralWeight(self, double: float) -> None: ... def setSystemLevel(self, boolean: bool) -> None: ... def setTangentLength(self, double: float) -> None: ... @@ -749,12 +1106,29 @@ class MechanicalDesignResponse(java.io.Serializable): def setTotalWeight(self, double: float) -> None: ... def setVesselWeight(self, double: float) -> None: ... def setWallThickness(self, double: float) -> None: ... - def setWeightByDiscipline(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setWeightByType(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setWeightByDiscipline( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setWeightByType( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class EquipmentSummary(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDimensions(self) -> java.lang.String: ... @@ -765,7 +1139,9 @@ class MechanicalDesignResponse(java.io.Serializable): def getWeight(self) -> float: ... def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... - def setDimensions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDimensions( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDuty(self, double: float) -> None: ... def setPower(self, double: float) -> None: ... def setWeight(self, double: float) -> None: ... @@ -777,7 +1153,9 @@ class ProcessInterconnectionDesign(java.io.Serializable): def getFittingWeight(self) -> float: ... def getFlangeWeight(self) -> float: ... def getLengthBySize(self) -> java.util.Map[java.lang.String, float]: ... - def getPipeSegments(self) -> java.util.List['ProcessInterconnectionDesign.PipeSegment']: ... + def getPipeSegments( + self, + ) -> java.util.List["ProcessInterconnectionDesign.PipeSegment"]: ... def getTotalElbowCount(self) -> int: ... def getTotalFlangeCount(self) -> int: ... def getTotalPipingLength(self) -> float: ... @@ -786,6 +1164,7 @@ class ProcessInterconnectionDesign(java.io.Serializable): def getTotalValveCount(self) -> int: ... def getValveWeight(self) -> float: ... def getWeightBySize(self) -> java.util.Map[java.lang.String, float]: ... + class PipeSegment(java.io.Serializable): def __init__(self): ... def getDesignPressureBara(self) -> float: ... @@ -803,15 +1182,21 @@ class ProcessInterconnectionDesign(java.io.Serializable): def isGasService(self) -> bool: ... def setDesignPressureBara(self, double: float) -> None: ... def setDesignTemperatureC(self, double: float) -> None: ... - def setFromEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFromEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGasService(self, boolean: bool) -> None: ... def setLengthM(self, double: float) -> None: ... def setMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNominalSizeInch(self, double: float) -> None: ... def setOutsideDiameterMm(self, double: float) -> None: ... def setSchedule(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStreamName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setToEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setToEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setWallThicknessMm(self, double: float) -> None: ... def setWeightKg(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... @@ -819,11 +1204,22 @@ class ProcessInterconnectionDesign(java.io.Serializable): class SparePartsInventory(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def generateInventory(self) -> None: ... - def getEntries(self) -> java.util.List['SparePartsInventory.SparePartEntry']: ... - def getEntriesByCriticality(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SparePartsInventory.SparePartEntry']: ... + def getEntries(self) -> java.util.List["SparePartsInventory.SparePartEntry"]: ... + def getEntriesByCriticality( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SparePartsInventory.SparePartEntry"]: ... def toJson(self) -> java.lang.String: ... + class SparePartEntry(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], int: int, string4: typing.Union[java.lang.String, str], int2: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + int: int, + string4: typing.Union[java.lang.String, str], + int2: int, + ): ... def getCriticality(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... @@ -831,42 +1227,54 @@ class SparePartsInventory(java.io.Serializable): def getPartName(self) -> java.lang.String: ... def getQuantity(self) -> int: ... -class StudyClass(java.lang.Enum['StudyClass']): - CLASS_A: typing.ClassVar['StudyClass'] = ... - CLASS_B: typing.ClassVar['StudyClass'] = ... - CLASS_C: typing.ClassVar['StudyClass'] = ... +class StudyClass(java.lang.Enum["StudyClass"]): + CLASS_A: typing.ClassVar["StudyClass"] = ... + CLASS_B: typing.ClassVar["StudyClass"] = ... + CLASS_C: typing.ClassVar["StudyClass"] = ... def getDisplayName(self) -> java.lang.String: ... - def getRequiredDeliverables(self) -> java.util.Set['StudyClass.DeliverableType']: ... - def requires(self, deliverableType: 'StudyClass.DeliverableType') -> bool: ... + def getRequiredDeliverables( + self, + ) -> java.util.Set["StudyClass.DeliverableType"]: ... + def requires(self, deliverableType: "StudyClass.DeliverableType") -> bool: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'StudyClass': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "StudyClass": ... @staticmethod - def values() -> typing.MutableSequence['StudyClass']: ... - class DeliverableType(java.lang.Enum['StudyClass.DeliverableType']): - PFD: typing.ClassVar['StudyClass.DeliverableType'] = ... - THERMAL_UTILITIES: typing.ClassVar['StudyClass.DeliverableType'] = ... - ALARM_TRIP_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... - SPARE_PARTS: typing.ClassVar['StudyClass.DeliverableType'] = ... - FIRE_SCENARIOS: typing.ClassVar['StudyClass.DeliverableType'] = ... - NOISE_ASSESSMENT: typing.ClassVar['StudyClass.DeliverableType'] = ... - INSTRUMENT_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... - REFERENCE_DESIGNATION_SCHEDULE: typing.ClassVar['StudyClass.DeliverableType'] = ... + def values() -> typing.MutableSequence["StudyClass"]: ... + + class DeliverableType(java.lang.Enum["StudyClass.DeliverableType"]): + PFD: typing.ClassVar["StudyClass.DeliverableType"] = ... + THERMAL_UTILITIES: typing.ClassVar["StudyClass.DeliverableType"] = ... + ALARM_TRIP_SCHEDULE: typing.ClassVar["StudyClass.DeliverableType"] = ... + SPARE_PARTS: typing.ClassVar["StudyClass.DeliverableType"] = ... + FIRE_SCENARIOS: typing.ClassVar["StudyClass.DeliverableType"] = ... + NOISE_ASSESSMENT: typing.ClassVar["StudyClass.DeliverableType"] = ... + INSTRUMENT_SCHEDULE: typing.ClassVar["StudyClass.DeliverableType"] = ... + REFERENCE_DESIGNATION_SCHEDULE: typing.ClassVar[ + "StudyClass.DeliverableType" + ] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'StudyClass.DeliverableType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "StudyClass.DeliverableType": ... @staticmethod - def values() -> typing.MutableSequence['StudyClass.DeliverableType']: ... + def values() -> typing.MutableSequence["StudyClass.DeliverableType"]: ... class SystemMechanicalDesign(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @@ -875,9 +1283,13 @@ class SystemMechanicalDesign(java.io.Serializable): def generateSummaryReport(self) -> java.lang.String: ... def getCostEstimate(self) -> jneqsim.process.costestimation.ProcessCostEstimate: ... def getEquipmentCountByType(self) -> java.util.Map[java.lang.String, int]: ... - def getEquipmentList(self) -> java.util.List['SystemMechanicalDesign.EquipmentDesignSummary']: ... + def getEquipmentList( + self, + ) -> java.util.List["SystemMechanicalDesign.EquipmentDesignSummary"]: ... def getMaxEquipmentHeight(self) -> float: ... - def getMechanicalWeight(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMechanicalWeight( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNetPowerRequirement(self) -> float: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getResponse(self) -> MechanicalDesignResponse: ... @@ -895,13 +1307,20 @@ class SystemMechanicalDesign(java.io.Serializable): def getWeightByEquipmentType(self) -> java.util.Map[java.lang.String, float]: ... def hashCode(self) -> int: ... def runDesignCalculation(self) -> None: ... - def setCompanySpecificDesignStandards(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompanySpecificDesignStandards( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesign(self) -> None: ... def toCompactJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toJsonWithCosts(self) -> java.lang.String: ... + class EquipmentDesignSummary(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getDesignPressure(self) -> float: ... def getDesignTemperature(self) -> float: ... def getDimensions(self) -> java.lang.String: ... @@ -915,7 +1334,9 @@ class SystemMechanicalDesign(java.io.Serializable): def getWidth(self) -> float: ... def setDesignPressure(self, double: float) -> None: ... def setDesignTemperature(self, double: float) -> None: ... - def setDimensions(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDimensions( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDuty(self, double: float) -> None: ... def setHeight(self, double: float) -> None: ... def setLength(self, double: float) -> None: ... @@ -927,7 +1348,9 @@ class SystemMechanicalDesign(java.io.Serializable): class ThermalUtilitySummary(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def calcUtilities(self) -> None: ... - def getConsumers(self) -> java.util.List['ThermalUtilitySummary.UtilityConsumer']: ... + def getConsumers( + self, + ) -> java.util.List["ThermalUtilitySummary.UtilityConsumer"]: ... def getCoolingWaterFlowM3hr(self) -> float: ... def getHpSteamFlowKghr(self) -> float: ... def getInstrumentAirNm3hr(self) -> float: ... @@ -938,15 +1361,22 @@ class ThermalUtilitySummary(java.io.Serializable): def setCwReturnTempC(self, double: float) -> None: ... def setCwSupplyTempC(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class UtilityConsumer(java.io.Serializable): - def __init__(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]): ... + def __init__( + 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], + ): ... def getDutyKW(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getFlow(self) -> float: ... def getFlowUnit(self) -> java.lang.String: ... def getUtilityType(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign")``. @@ -974,7 +1404,9 @@ class __module_protocol__(Protocol): adsorber: jneqsim.process.mechanicaldesign.adsorber.__module_protocol__ compressor: jneqsim.process.mechanicaldesign.compressor.__module_protocol__ data: jneqsim.process.mechanicaldesign.data.__module_protocol__ - designstandards: jneqsim.process.mechanicaldesign.designstandards.__module_protocol__ + designstandards: ( + jneqsim.process.mechanicaldesign.designstandards.__module_protocol__ + ) distillation: jneqsim.process.mechanicaldesign.distillation.__module_protocol__ ejector: jneqsim.process.mechanicaldesign.ejector.__module_protocol__ electrolyzer: jneqsim.process.mechanicaldesign.electrolyzer.__module_protocol__ @@ -987,7 +1419,9 @@ class __module_protocol__(Protocol): mixer: jneqsim.process.mechanicaldesign.mixer.__module_protocol__ motor: jneqsim.process.mechanicaldesign.motor.__module_protocol__ pipeline: jneqsim.process.mechanicaldesign.pipeline.__module_protocol__ - powergeneration: jneqsim.process.mechanicaldesign.powergeneration.__module_protocol__ + powergeneration: ( + jneqsim.process.mechanicaldesign.powergeneration.__module_protocol__ + ) pump: jneqsim.process.mechanicaldesign.pump.__module_protocol__ reactor: jneqsim.process.mechanicaldesign.reactor.__module_protocol__ separator: jneqsim.process.mechanicaldesign.separator.__module_protocol__ diff --git a/src/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi index 79c9eb65..c55e67c9 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/absorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,13 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign.separator import typing - - -class AbsorberMechanicalDesign(jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... +class AbsorberMechanicalDesign( + jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign +): + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getOuterDiameter(self) -> float: ... def getWallThickness(self) -> float: ... @@ -21,7 +24,6 @@ class AbsorberMechanicalDesign(jneqsim.process.mechanicaldesign.separator.Separa def setOuterDiameter(self, double: float) -> None: ... def setWallThickness(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.absorber")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi index 5dd004c5..576581ea 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/adsorber/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,10 +12,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class AdsorberMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getOuterDiameter(self) -> float: ... def getWallThickness(self) -> float: ... @@ -25,10 +26,17 @@ class AdsorberMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def setWallThickness(self, double: float) -> None: ... class MercuryRemovalMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def getCostEstimate(self) -> jneqsim.process.costestimation.adsorber.MercuryRemovalCostEstimate: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getCostEstimate( + self, + ) -> jneqsim.process.costestimation.adsorber.MercuryRemovalCostEstimate: ... def getDesignStandardCode(self) -> java.lang.String: ... def getInternalsWeight(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... @@ -36,13 +44,14 @@ class MercuryRemovalMechanicalDesign(jneqsim.process.mechanicaldesign.Mechanical def getSorbentChargeWeight(self) -> float: ... def getWallThickness(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setOuterDiameter(self, double: float) -> None: ... def setWallThickness(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.adsorber")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi index 5cbee694..ff9d310d 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/compressor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ import jneqsim.process.equipment.compressor import jneqsim.process.mechanicaldesign import typing - - class CompressorCasingDesignCalculator(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... @@ -27,7 +25,7 @@ class CompressorCasingDesignCalculator(java.io.Serializable): def getCasingAxialGrowthMm(self) -> float: ... def getCasingInnerDiameterMm(self) -> float: ... def getCasingLengthMm(self) -> float: ... - def getCasingType(self) -> 'CompressorMechanicalDesign.CasingType': ... + def getCasingType(self) -> "CompressorMechanicalDesign.CasingType": ... def getCorrosionAllowanceMm(self) -> float: ... def getDesignIssues(self) -> java.util.List[java.lang.String]: ... def getDesignPressureMPa(self) -> float: ... @@ -75,7 +73,9 @@ class CompressorCasingDesignCalculator(java.io.Serializable): def setAmbientTemperatureC(self, double: float) -> None: ... def setCasingInnerDiameterMm(self, double: float) -> None: ... def setCasingLengthMm(self, double: float) -> None: ... - def setCasingType(self, casingType: 'CompressorMechanicalDesign.CasingType') -> None: ... + def setCasingType( + self, casingType: "CompressorMechanicalDesign.CasingType" + ) -> None: ... def setCorrosionAllowanceMm(self, double: float) -> None: ... def setDesignPressureBara(self, double: float) -> None: ... def setDesignPressureMPa(self, double: float) -> None: ... @@ -98,41 +98,84 @@ class CompressorDesignFeasibilityReport: def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... def applyChartToCompressor(self) -> None: ... def generateReport(self) -> None: ... - def getCostEstimate(self) -> jneqsim.process.costestimation.compressor.CompressorCostEstimate: ... - def getGeneratedChart(self) -> jneqsim.process.equipment.compressor.CompressorChartInterface: ... - def getIssues(self) -> java.util.List['CompressorDesignFeasibilityReport.FeasibilityIssue']: ... - def getMatchingSuppliers(self) -> java.util.List['CompressorDesignFeasibilityReport.SupplierMatch']: ... - def getMechanicalDesign(self) -> 'CompressorMechanicalDesign': ... + def getCostEstimate( + self, + ) -> jneqsim.process.costestimation.compressor.CompressorCostEstimate: ... + def getGeneratedChart( + self, + ) -> jneqsim.process.equipment.compressor.CompressorChartInterface: ... + def getIssues( + self, + ) -> java.util.List["CompressorDesignFeasibilityReport.FeasibilityIssue"]: ... + def getMatchingSuppliers( + self, + ) -> java.util.List["CompressorDesignFeasibilityReport.SupplierMatch"]: ... + def getMechanicalDesign(self) -> "CompressorMechanicalDesign": ... def getVerdict(self) -> java.lang.String: ... def isFeasible(self) -> bool: ... - def setAnnualOperatingHours(self, double: float) -> 'CompressorDesignFeasibilityReport': ... - def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... - def setCurveTemplate(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... - def setDriverType(self, string: typing.Union[java.lang.String, str]) -> 'CompressorDesignFeasibilityReport': ... - def setElectricityRate(self, double: float) -> 'CompressorDesignFeasibilityReport': ... - def setFuelRate(self, double: float) -> 'CompressorDesignFeasibilityReport': ... - def setGenerateCurves(self, boolean: bool) -> 'CompressorDesignFeasibilityReport': ... - def setNumberOfSpeedCurves(self, int: int) -> 'CompressorDesignFeasibilityReport': ... + def setAnnualOperatingHours( + self, double: float + ) -> "CompressorDesignFeasibilityReport": ... + def setCompressorType( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorDesignFeasibilityReport": ... + def setCurveTemplate( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorDesignFeasibilityReport": ... + def setDriverType( + self, string: typing.Union[java.lang.String, str] + ) -> "CompressorDesignFeasibilityReport": ... + def setElectricityRate( + self, double: float + ) -> "CompressorDesignFeasibilityReport": ... + def setFuelRate(self, double: float) -> "CompressorDesignFeasibilityReport": ... + def setGenerateCurves( + self, boolean: bool + ) -> "CompressorDesignFeasibilityReport": ... + def setNumberOfSpeedCurves( + self, int: int + ) -> "CompressorDesignFeasibilityReport": ... def toJson(self) -> java.lang.String: ... + class FeasibilityIssue: - def __init__(self, issueSeverity: 'CompressorDesignFeasibilityReport.IssueSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + issueSeverity: "CompressorDesignFeasibilityReport.IssueSeverity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'CompressorDesignFeasibilityReport.IssueSeverity': ... + def getSeverity(self) -> "CompressorDesignFeasibilityReport.IssueSeverity": ... def toString(self) -> java.lang.String: ... - class IssueSeverity(java.lang.Enum['CompressorDesignFeasibilityReport.IssueSeverity']): - INFO: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... - WARNING: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... - BLOCKER: typing.ClassVar['CompressorDesignFeasibilityReport.IssueSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class IssueSeverity( + java.lang.Enum["CompressorDesignFeasibilityReport.IssueSeverity"] + ): + INFO: typing.ClassVar["CompressorDesignFeasibilityReport.IssueSeverity"] = ... + WARNING: typing.ClassVar["CompressorDesignFeasibilityReport.IssueSeverity"] = ( + ... + ) + BLOCKER: typing.ClassVar["CompressorDesignFeasibilityReport.IssueSeverity"] = ( + ... + ) + _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: ... + 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]) -> 'CompressorDesignFeasibilityReport.IssueSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorDesignFeasibilityReport.IssueSeverity": ... @staticmethod - def values() -> typing.MutableSequence['CompressorDesignFeasibilityReport.IssueSeverity']: ... + def values() -> ( + typing.MutableSequence["CompressorDesignFeasibilityReport.IssueSeverity"] + ): ... + class SupplierMatch: def __init__(self): ... def getApplications(self) -> java.lang.String: ... @@ -152,9 +195,15 @@ class CompressorDesignFeasibilityReport: def getNotes(self) -> java.lang.String: ... def getTypicalEfficiencyPct(self) -> float: ... def getWebsite(self) -> java.lang.String: ... - def setApplications(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setManufacturer(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setApplications( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCompressorType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setManufacturer( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxDischargePressureBara(self, double: float) -> None: ... def setMaxFlowM3hr(self, double: float) -> None: ... def setMaxImpellerDiameterMM(self, double: float) -> None: ... @@ -172,7 +221,10 @@ class CompressorDesignFeasibilityReport: def toString(self) -> java.lang.String: ... class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateStonewallFlow(self, double: float) -> float: ... def calculateSurgeFlow(self, double: float) -> float: ... @@ -184,7 +236,7 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def getCasingCorrosionAllowanceMm(self) -> float: ... def getCasingDesignCalculator(self) -> CompressorCasingDesignCalculator: ... def getCasingMaterialGrade(self) -> java.lang.String: ... - def getCasingType(self) -> 'CompressorMechanicalDesign.CasingType': ... + def getCasingType(self) -> "CompressorMechanicalDesign.CasingType": ... def getCasingWeight(self) -> float: ... def getDesignFlowMargin(self) -> float: ... def getDesignPressure(self) -> float: ... @@ -205,7 +257,7 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def getMinSealGasDifferentialPressureBar(self) -> float: ... def getNumberOfStages(self) -> int: ... def getOuterDiameter(self) -> float: ... - def getResponse(self) -> 'CompressorMechanicalDesignResponse': ... + def getResponse(self) -> "CompressorMechanicalDesignResponse": ... def getRotorWeight(self) -> float: ... def getSealType(self) -> java.lang.String: ... def getShaftDiameter(self) -> float: ... @@ -221,8 +273,12 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def readDesignSpecifications(self) -> None: ... def setBearingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCasingCorrosionAllowanceMm(self, double: float) -> None: ... - def setCasingMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCasingType(self, casingType: 'CompressorMechanicalDesign.CasingType') -> None: ... + def setCasingMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setCasingType( + self, casingType: "CompressorMechanicalDesign.CasingType" + ) -> None: ... def setDesign(self) -> None: ... def setDesignFlowMargin(self, double: float) -> None: ... def setH2sPartialPressureKPa(self, double: float) -> None: ... @@ -245,25 +301,40 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def setTurndownPercent(self, double: float) -> None: ... def setWallThickness(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - def validateDesign(self) -> 'CompressorMechanicalDesign.CompressorValidationResult': ... + def validateDesign( + self, + ) -> "CompressorMechanicalDesign.CompressorValidationResult": ... def validateDischargeTemperature(self, double: float) -> bool: ... def validateEfficiency(self, double: float) -> bool: ... - def validateOperatingPoint(self, double: float, double2: float, double3: float) -> bool: ... + def validateOperatingPoint( + self, double: float, double2: float, double3: float + ) -> bool: ... def validatePressureRatioPerStage(self, double: float) -> bool: ... def validateVibration(self, double: float) -> bool: ... - class CasingType(java.lang.Enum['CompressorMechanicalDesign.CasingType']): - HORIZONTALLY_SPLIT: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... - VERTICALLY_SPLIT: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... - BARREL: typing.ClassVar['CompressorMechanicalDesign.CasingType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CasingType(java.lang.Enum["CompressorMechanicalDesign.CasingType"]): + HORIZONTALLY_SPLIT: typing.ClassVar["CompressorMechanicalDesign.CasingType"] = ( + ... + ) + VERTICALLY_SPLIT: typing.ClassVar["CompressorMechanicalDesign.CasingType"] = ... + BARREL: typing.ClassVar["CompressorMechanicalDesign.CasingType"] = ... + _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: ... + 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]) -> 'CompressorMechanicalDesign.CasingType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CompressorMechanicalDesign.CasingType": ... @staticmethod - def values() -> typing.MutableSequence['CompressorMechanicalDesign.CasingType']: ... + def values() -> ( + typing.MutableSequence["CompressorMechanicalDesign.CasingType"] + ): ... + class CompressorValidationResult: def __init__(self): ... def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -271,7 +342,9 @@ class CompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def isValid(self) -> bool: ... def setValid(self, boolean: bool) -> None: ... -class CompressorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): +class CompressorMechanicalDesignResponse( + jneqsim.process.mechanicaldesign.MechanicalDesignResponse +): @typing.overload def __init__(self): ... @typing.overload @@ -308,13 +381,17 @@ class CompressorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mechan def getTotalHead(self) -> float: ... def getTripSpeed(self) -> float: ... def isNaceCompliance(self) -> bool: ... - def populateFromCompressorDesign(self, compressorMechanicalDesign: CompressorMechanicalDesign) -> None: ... + def populateFromCompressorDesign( + self, compressorMechanicalDesign: CompressorMechanicalDesign + ) -> None: ... def setBearingSpan(self, double: float) -> None: ... def setBearingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setBundleWeight(self, double: float) -> None: ... def setCasingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCasingWeight(self, double: float) -> None: ... - def setCompressorType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDriverMargin(self, double: float) -> None: ... def setDriverPower(self, double: float) -> None: ... def setFirstCriticalSpeed(self, double: float) -> None: ... @@ -342,7 +419,6 @@ class CompressorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mechan def setTotalHead(self, double: float) -> None: ... def setTripSpeed(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.compressor")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi index 5fc75a40..59aa3ae7 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/data/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,34 +12,74 @@ import jpype.protocol import jneqsim.process.mechanicaldesign import typing - - class MechanicalDesignDataSource: - def getAvailableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getAvailableVersions(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... - def getDesignLimitsByStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def getAvailableStandards( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getAvailableVersions( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getDesignLimits( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def getDesignLimitsByStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... def hasStandard(self, string: typing.Union[java.lang.String, str]) -> bool: ... class CsvMechanicalDesignDataSource(MechanicalDesignDataSource): - def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... - def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def __init__( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ): ... + def getDesignLimits( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... class DatabaseMechanicalDesignDataSource(MechanicalDesignDataSource): def __init__(self): ... - def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def getDesignLimits( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... class StandardBasedCsvDataSource(MechanicalDesignDataSource): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... - def getAvailableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getAvailableVersions(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getDesignLimits(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... - def getDesignLimitsByStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... - def getSpecificationValues(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - + def __init__( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ): ... + def getAvailableStandards( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getAvailableVersions( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getDesignLimits( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def getDesignLimitsByStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Optional[jneqsim.process.mechanicaldesign.DesignLimitData]: ... + def getSpecificationValues( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.data")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi index 6450098f..2a555bec 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/designstandards/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,54 +12,78 @@ import jpype import jneqsim.process.mechanicaldesign import typing - - class CUIRiskAssessment(java.io.Serializable): def __init__(self): ... @staticmethod - def assessRisk(double: float, boolean: bool, insulationType: 'CUIRiskAssessment.InsulationType', double2: float, boolean2: bool) -> 'CUIRiskAssessment.CUIRisk': ... + def assessRisk( + double: float, + boolean: bool, + insulationType: "CUIRiskAssessment.InsulationType", + double2: float, + boolean2: bool, + ) -> "CUIRiskAssessment.CUIRisk": ... @staticmethod - def estimateRemainingLife(double: float, double2: float, double3: float) -> float: ... + def estimateRemainingLife( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def isInsulationSuitable(insulationType: 'CUIRiskAssessment.InsulationType', double: float) -> bool: ... + def isInsulationSuitable( + insulationType: "CUIRiskAssessment.InsulationType", double: float + ) -> bool: ... @staticmethod - def recommendedInspectionIntervalYears(cUIRisk: 'CUIRiskAssessment.CUIRisk') -> int: ... + def recommendedInspectionIntervalYears( + cUIRisk: "CUIRiskAssessment.CUIRisk", + ) -> int: ... @staticmethod - def recommendedInspectionMethods(cUIRisk: 'CUIRiskAssessment.CUIRisk') -> java.util.List[java.lang.String]: ... + def recommendedInspectionMethods( + cUIRisk: "CUIRiskAssessment.CUIRisk", + ) -> java.util.List[java.lang.String]: ... @staticmethod def temperatureRiskScore(double: float, boolean: bool) -> float: ... - class CUIRisk(java.lang.Enum['CUIRiskAssessment.CUIRisk']): - LOW: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... - MEDIUM: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... - HIGH: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... - VERY_HIGH: typing.ClassVar['CUIRiskAssessment.CUIRisk'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CUIRisk(java.lang.Enum["CUIRiskAssessment.CUIRisk"]): + LOW: typing.ClassVar["CUIRiskAssessment.CUIRisk"] = ... + MEDIUM: typing.ClassVar["CUIRiskAssessment.CUIRisk"] = ... + HIGH: typing.ClassVar["CUIRiskAssessment.CUIRisk"] = ... + VERY_HIGH: typing.ClassVar["CUIRiskAssessment.CUIRisk"] = ... + _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: ... + 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]) -> 'CUIRiskAssessment.CUIRisk': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CUIRiskAssessment.CUIRisk": ... @staticmethod - def values() -> typing.MutableSequence['CUIRiskAssessment.CUIRisk']: ... - class InsulationType(java.lang.Enum['CUIRiskAssessment.InsulationType']): - MINERAL_WOOL: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... - CALCIUM_SILICATE: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... - CELLULAR_GLASS: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... - PIR_FOAM: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... - PERLITE: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... - AEROGEL: typing.ClassVar['CUIRiskAssessment.InsulationType'] = ... + def values() -> typing.MutableSequence["CUIRiskAssessment.CUIRisk"]: ... + + class InsulationType(java.lang.Enum["CUIRiskAssessment.InsulationType"]): + MINERAL_WOOL: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... + CALCIUM_SILICATE: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... + CELLULAR_GLASS: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... + PIR_FOAM: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... + PERLITE: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... + AEROGEL: typing.ClassVar["CUIRiskAssessment.InsulationType"] = ... def absorbsMoisture(self) -> bool: ... def getCuiMultiplier(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CUIRiskAssessment.InsulationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CUIRiskAssessment.InsulationType": ... @staticmethod - def values() -> typing.MutableSequence['CUIRiskAssessment.InsulationType']: ... + def values() -> typing.MutableSequence["CUIRiskAssessment.InsulationType"]: ... class DesignStandard(java.io.Serializable): equipment: jneqsim.process.mechanicaldesign.MechanicalDesign = ... @@ -67,20 +91,39 @@ class DesignStandard(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... - def computeSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... + def computeSafetyMargins( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... def equals(self, object: typing.Any) -> bool: ... def getEquipment(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getStandardName(self) -> java.lang.String: ... def hashCode(self) -> int: ... - def setDesignStandardName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEquipment(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> None: ... + def setDesignStandardName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEquipment( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ) -> None: ... def setStandardName(self, string: typing.Union[java.lang.String, str]) -> None: ... class FireProtectionDesign(java.io.Serializable): def __init__(self): ... @staticmethod - def assessFireScenarios(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'FireProtectionDesign.FireScenarioResult': ... + def assessFireScenarios( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> "FireProtectionDesign.FireScenarioResult": ... @staticmethod def bleveFireballDiameter(double: float) -> float: ... @staticmethod @@ -88,25 +131,52 @@ class FireProtectionDesign(java.io.Serializable): @staticmethod def bleveOverpressure(double: float, double2: float, double3: float) -> float: ... @staticmethod - def blowdownTime(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def blowdownTime( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... @staticmethod - def fireScenarioReport(list: java.util.List['FireProtectionDesign.FireScenarioResult']) -> java.lang.String: ... + def fireScenarioReport( + list: java.util.List["FireProtectionDesign.FireScenarioResult"], + ) -> java.lang.String: ... @staticmethod - def firewaterDemand(double: float, double2: float, int: int, double3: float) -> float: ... + def firewaterDemand( + double: float, double2: float, int: int, double3: float + ) -> float: ... @staticmethod def jetFireFlameLength(double: float, double2: float) -> float: ... @staticmethod - def meetsBlowdownRequirement(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> bool: ... + def meetsBlowdownRequirement( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> bool: ... @staticmethod - def pfpThickness(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def pfpThickness( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def pointSourceRadiation(double: float, double2: float, double3: float) -> float: ... + def pointSourceRadiation( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def poolFireHeatRelease(double: float, double2: float, double3: float, double4: float) -> float: ... + def poolFireHeatRelease( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def safeDistance(double: float, double2: float, double3: float) -> float: ... @staticmethod - def vesselPfpThickness(double: float, double2: float, double3: float, double4: float) -> float: ... + def vesselPfpThickness( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + class FireScenarioResult(java.io.Serializable): equipmentName: java.lang.String = ... poolFireHeatReleaseKW: float = ... @@ -123,270 +193,441 @@ class InsulationDesign(java.io.Serializable): MAX_PERSONNEL_PROTECTION_TEMP_C: typing.ClassVar[float] = ... def __init__(self): ... @staticmethod - def flatSurfaceThickness(double: float, double2: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', insulationPurpose: 'InsulationDesign.InsulationPurpose', double3: float) -> float: ... - @staticmethod - def pipeHeatLossPerMeter(double: float, double2: float, double3: float, double4: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', double5: float) -> float: ... - @staticmethod - def pipeInsulationWeightPerMeter(double: float, double2: float, insulationMaterial: 'InsulationDesign.InsulationMaterial') -> float: ... - @staticmethod - def pipeThickness(double: float, double2: float, double3: float, insulationMaterial: 'InsulationDesign.InsulationMaterial', insulationPurpose: 'InsulationDesign.InsulationPurpose', double4: float) -> float: ... - @staticmethod - def selectMaterial(double: float, insulationPurpose: 'InsulationDesign.InsulationPurpose') -> 'InsulationDesign.InsulationMaterial': ... - class InsulationMaterial(java.lang.Enum['InsulationDesign.InsulationMaterial']): - MINERAL_WOOL: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... - CALCIUM_SILICATE: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... - PIR_FOAM: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... - AEROGEL: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... - CELLULAR_GLASS: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... - EXPANDED_PERLITE: typing.ClassVar['InsulationDesign.InsulationMaterial'] = ... + def flatSurfaceThickness( + double: float, + double2: float, + insulationMaterial: "InsulationDesign.InsulationMaterial", + insulationPurpose: "InsulationDesign.InsulationPurpose", + double3: float, + ) -> float: ... + @staticmethod + def pipeHeatLossPerMeter( + double: float, + double2: float, + double3: float, + double4: float, + insulationMaterial: "InsulationDesign.InsulationMaterial", + double5: float, + ) -> float: ... + @staticmethod + def pipeInsulationWeightPerMeter( + double: float, + double2: float, + insulationMaterial: "InsulationDesign.InsulationMaterial", + ) -> float: ... + @staticmethod + def pipeThickness( + double: float, + double2: float, + double3: float, + insulationMaterial: "InsulationDesign.InsulationMaterial", + insulationPurpose: "InsulationDesign.InsulationPurpose", + double4: float, + ) -> float: ... + @staticmethod + def selectMaterial( + double: float, insulationPurpose: "InsulationDesign.InsulationPurpose" + ) -> "InsulationDesign.InsulationMaterial": ... + + class InsulationMaterial(java.lang.Enum["InsulationDesign.InsulationMaterial"]): + MINERAL_WOOL: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... + CALCIUM_SILICATE: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... + PIR_FOAM: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... + AEROGEL: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... + CELLULAR_GLASS: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... + EXPANDED_PERLITE: typing.ClassVar["InsulationDesign.InsulationMaterial"] = ... def getConductivity(self, double: float) -> float: ... def getMaxTempC(self) -> float: ... def getTypicalDensityKgM3(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InsulationDesign.InsulationMaterial': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InsulationDesign.InsulationMaterial": ... @staticmethod - def values() -> typing.MutableSequence['InsulationDesign.InsulationMaterial']: ... - class InsulationPurpose(java.lang.Enum['InsulationDesign.InsulationPurpose']): - HEAT_CONSERVATION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... - PERSONNEL_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... - PROCESS_MAINTENANCE: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... - FROST_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... - FIRE_PROTECTION: typing.ClassVar['InsulationDesign.InsulationPurpose'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["InsulationDesign.InsulationMaterial"] + ): ... + + class InsulationPurpose(java.lang.Enum["InsulationDesign.InsulationPurpose"]): + HEAT_CONSERVATION: typing.ClassVar["InsulationDesign.InsulationPurpose"] = ... + PERSONNEL_PROTECTION: typing.ClassVar["InsulationDesign.InsulationPurpose"] = ( + ... + ) + PROCESS_MAINTENANCE: typing.ClassVar["InsulationDesign.InsulationPurpose"] = ... + FROST_PROTECTION: typing.ClassVar["InsulationDesign.InsulationPurpose"] = ... + FIRE_PROTECTION: typing.ClassVar["InsulationDesign.InsulationPurpose"] = ... + _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: ... + 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]) -> 'InsulationDesign.InsulationPurpose': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InsulationDesign.InsulationPurpose": ... @staticmethod - def values() -> typing.MutableSequence['InsulationDesign.InsulationPurpose']: ... + def values() -> ( + typing.MutableSequence["InsulationDesign.InsulationPurpose"] + ): ... class NoiseAssessment(java.io.Serializable): NORSOK_MAX_CONTINUOUS_DBA: typing.ClassVar[float] = ... NORSOK_MAX_EQUIPMENT_AREA_DBA: typing.ClassVar[float] = ... def __init__(self): ... @staticmethod - def aggregateNoise(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def aggregateNoise( + doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @staticmethod - def atmosphericAbsorption(double: float, double2: float, double3: float) -> float: ... + def atmosphericAbsorption( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def compressorNoise(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def compressorNoise( + double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod def exceedsNorsokLimit(double: float) -> bool: ... @staticmethod def flareNoise(double: float, double2: float, double3: float) -> float: ... @staticmethod - def pumpNoise(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def pumpNoise( + double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod def splAtDistance(double: float, double2: float) -> float: ... @staticmethod - def splAtDistanceOctaveBand(double: float, double2: float, double3: float, double4: float) -> float: ... - @staticmethod - def splAtDistanceWithAttenuation(double: float, double2: float, double3: float, double4: float) -> float: ... - @staticmethod - def valveNoise(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def splAtDistanceOctaveBand( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + @staticmethod + def splAtDistanceWithAttenuation( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + @staticmethod + def valveNoise( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... class PipingStressAnalysis(java.io.Serializable): def __init__(self): ... @staticmethod - def allowableExpansionStressRange(double: float, double2: float, double3: float) -> float: ... + def allowableExpansionStressRange( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def codeStressCheck(double: float, double2: float, double3: float, double4: float) -> bool: ... + def codeStressCheck( + double: float, double2: float, double3: float, double4: float + ) -> bool: ... @staticmethod def expansionLoopLength(double: float, double2: float, double3: float) -> float: ... @staticmethod - def maxSupportSpan(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def maxSupportSpan( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod def momentOfInertia(double: float, double2: float) -> float: ... @staticmethod def sectionModulus(double: float, double2: float) -> float: ... @staticmethod - def sustainedStress(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def sustainedStress( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload @staticmethod def thermalExpansion(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def thermalExpansion(double: float, double2: float, double3: float, double4: float) -> float: ... + def thermalExpansion( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class StandardRegistry: @staticmethod def clearVersionOverrides() -> None: ... @typing.overload @staticmethod - def createStandard(standardType: 'StandardType', string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> DesignStandard: ... + def createStandard( + standardType: "StandardType", + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ) -> DesignStandard: ... @typing.overload @staticmethod - def createStandard(standardType: 'StandardType', mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> DesignStandard: ... + def createStandard( + standardType: "StandardType", + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ) -> DesignStandard: ... @staticmethod - def findByCode(string: typing.Union[java.lang.String, str]) -> 'StandardType': ... + def findByCode(string: typing.Union[java.lang.String, str]) -> "StandardType": ... @staticmethod def getAllCategories() -> java.util.List[java.lang.String]: ... @staticmethod - def getAllStandards() -> typing.MutableSequence['StandardType']: ... + def getAllStandards() -> typing.MutableSequence["StandardType"]: ... @staticmethod - def getApplicableStandards(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getApplicableStandards( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["StandardType"]: ... @staticmethod - def getEffectiveVersion(standardType: 'StandardType') -> java.lang.String: ... + def getEffectiveVersion(standardType: "StandardType") -> java.lang.String: ... @staticmethod - def getRecommendedStandards(string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.List['StandardType']]: ... + def getRecommendedStandards( + string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, java.util.List["StandardType"]]: ... @staticmethod - def getStandardsByCategory(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getStandardsByCategory( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["StandardType"]: ... @staticmethod - def getStandardsByOrganization(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getStandardsByOrganization( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["StandardType"]: ... @staticmethod def getSummary() -> java.lang.String: ... @staticmethod - def isApplicable(standardType: 'StandardType', string: typing.Union[java.lang.String, str]) -> bool: ... - @staticmethod - def setVersionOverride(standardType: 'StandardType', string: typing.Union[java.lang.String, str]) -> None: ... - -class StandardType(java.lang.Enum['StandardType']): - NORSOK_L_001: typing.ClassVar['StandardType'] = ... - NORSOK_P_001: typing.ClassVar['StandardType'] = ... - NORSOK_P_002: typing.ClassVar['StandardType'] = ... - NORSOK_M_001: typing.ClassVar['StandardType'] = ... - NORSOK_M_630: typing.ClassVar['StandardType'] = ... - ASME_VIII_DIV1: typing.ClassVar['StandardType'] = ... - ASME_VIII_DIV2: typing.ClassVar['StandardType'] = ... - ASME_B31_3: typing.ClassVar['StandardType'] = ... - ASME_B31_4: typing.ClassVar['StandardType'] = ... - ASME_B31_8: typing.ClassVar['StandardType'] = ... - API_617: typing.ClassVar['StandardType'] = ... - API_610: typing.ClassVar['StandardType'] = ... - API_650: typing.ClassVar['StandardType'] = ... - API_620: typing.ClassVar['StandardType'] = ... - API_660: typing.ClassVar['StandardType'] = ... - API_661: typing.ClassVar['StandardType'] = ... - API_521: typing.ClassVar['StandardType'] = ... - API_526: typing.ClassVar['StandardType'] = ... - API_5L: typing.ClassVar['StandardType'] = ... - API_12J: typing.ClassVar['StandardType'] = ... - DNV_ST_F101: typing.ClassVar['StandardType'] = ... - DNV_OS_F101: typing.ClassVar['StandardType'] = ... - DNV_RP_F105: typing.ClassVar['StandardType'] = ... - ISO_13623: typing.ClassVar['StandardType'] = ... - ISO_15649: typing.ClassVar['StandardType'] = ... - ISO_16812: typing.ClassVar['StandardType'] = ... - ASTM_A106: typing.ClassVar['StandardType'] = ... - ASTM_A516: typing.ClassVar['StandardType'] = ... - ASTM_A333: typing.ClassVar['StandardType'] = ... - EN_13480: typing.ClassVar['StandardType'] = ... - EN_13445: typing.ClassVar['StandardType'] = ... - PD_5500: typing.ClassVar['StandardType'] = ... + def isApplicable( + standardType: "StandardType", string: typing.Union[java.lang.String, str] + ) -> bool: ... + @staticmethod + def setVersionOverride( + standardType: "StandardType", string: typing.Union[java.lang.String, str] + ) -> None: ... + +class StandardType(java.lang.Enum["StandardType"]): + NORSOK_L_001: typing.ClassVar["StandardType"] = ... + NORSOK_P_001: typing.ClassVar["StandardType"] = ... + NORSOK_P_002: typing.ClassVar["StandardType"] = ... + NORSOK_M_001: typing.ClassVar["StandardType"] = ... + NORSOK_M_630: typing.ClassVar["StandardType"] = ... + ASME_VIII_DIV1: typing.ClassVar["StandardType"] = ... + ASME_VIII_DIV2: typing.ClassVar["StandardType"] = ... + ASME_B31_3: typing.ClassVar["StandardType"] = ... + ASME_B31_4: typing.ClassVar["StandardType"] = ... + ASME_B31_8: typing.ClassVar["StandardType"] = ... + API_617: typing.ClassVar["StandardType"] = ... + API_610: typing.ClassVar["StandardType"] = ... + API_650: typing.ClassVar["StandardType"] = ... + API_620: typing.ClassVar["StandardType"] = ... + API_660: typing.ClassVar["StandardType"] = ... + API_661: typing.ClassVar["StandardType"] = ... + API_521: typing.ClassVar["StandardType"] = ... + API_526: typing.ClassVar["StandardType"] = ... + API_5L: typing.ClassVar["StandardType"] = ... + API_12J: typing.ClassVar["StandardType"] = ... + DNV_ST_F101: typing.ClassVar["StandardType"] = ... + DNV_OS_F101: typing.ClassVar["StandardType"] = ... + DNV_RP_F105: typing.ClassVar["StandardType"] = ... + ISO_13623: typing.ClassVar["StandardType"] = ... + ISO_15649: typing.ClassVar["StandardType"] = ... + ISO_16812: typing.ClassVar["StandardType"] = ... + ASTM_A106: typing.ClassVar["StandardType"] = ... + ASTM_A516: typing.ClassVar["StandardType"] = ... + ASTM_A333: typing.ClassVar["StandardType"] = ... + EN_13480: typing.ClassVar["StandardType"] = ... + EN_13445: typing.ClassVar["StandardType"] = ... + PD_5500: typing.ClassVar["StandardType"] = ... def appliesTo(self, string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def fromCode(string: typing.Union[java.lang.String, str]) -> 'StandardType': ... + def fromCode(string: typing.Union[java.lang.String, str]) -> "StandardType": ... @staticmethod def getAllCategories() -> java.util.List[java.lang.String]: ... @staticmethod - def getApiStandards() -> java.util.List['StandardType']: ... - def getApplicableEquipmentTypes(self) -> typing.MutableSequence[java.lang.String]: ... + def getApiStandards() -> java.util.List["StandardType"]: ... + def getApplicableEquipmentTypes( + self, + ) -> typing.MutableSequence[java.lang.String]: ... @staticmethod - def getApplicableStandards(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getApplicableStandards( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["StandardType"]: ... @staticmethod - def getAsmeStandards() -> java.util.List['StandardType']: ... + def getAsmeStandards() -> java.util.List["StandardType"]: ... @staticmethod - def getAstmStandards() -> java.util.List['StandardType']: ... + def getAstmStandards() -> java.util.List["StandardType"]: ... @staticmethod - def getByCategory(string: typing.Union[java.lang.String, str]) -> java.util.List['StandardType']: ... + def getByCategory( + string: typing.Union[java.lang.String, str] + ) -> java.util.List["StandardType"]: ... def getCode(self) -> java.lang.String: ... def getDefaultVersion(self) -> java.lang.String: ... def getDesignStandardCategory(self) -> java.lang.String: ... @staticmethod - def getDnvStandards() -> java.util.List['StandardType']: ... + def getDnvStandards() -> java.util.List["StandardType"]: ... @staticmethod - def getEnStandards() -> java.util.List['StandardType']: ... + def getEnStandards() -> java.util.List["StandardType"]: ... @staticmethod - def getIsoStandards() -> java.util.List['StandardType']: ... + def getIsoStandards() -> java.util.List["StandardType"]: ... def getName(self) -> java.lang.String: ... @staticmethod - def getNorsokStandards() -> java.util.List['StandardType']: ... + def getNorsokStandards() -> java.util.List["StandardType"]: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'StandardType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "StandardType": ... @staticmethod - def values() -> typing.MutableSequence['StandardType']: ... + def values() -> typing.MutableSequence["StandardType"]: ... class VibrationAssessment(java.io.Serializable): def __init__(self): ... @staticmethod - def acousticPowerLevel(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def acousticPowerLevel( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def aivScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> 'VibrationAssessment.VibrationRisk': ... + def aivScreening( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> "VibrationAssessment.VibrationRisk": ... @staticmethod def aivScreeningLimit(double: float, double2: float) -> float: ... @staticmethod - def fivHeatExchangerScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'VibrationAssessment.VibrationRisk': ... - @staticmethod - def reciprocatingPulsationScreening(double: float, double2: float, double3: float, double4: float) -> 'VibrationAssessment.VibrationRisk': ... - class VibrationRisk(java.lang.Enum['VibrationAssessment.VibrationRisk']): - LOW: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... - MEDIUM: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... - HIGH: typing.ClassVar['VibrationAssessment.VibrationRisk'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def fivHeatExchangerScreening( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> "VibrationAssessment.VibrationRisk": ... + @staticmethod + def reciprocatingPulsationScreening( + double: float, double2: float, double3: float, double4: float + ) -> "VibrationAssessment.VibrationRisk": ... + + class VibrationRisk(java.lang.Enum["VibrationAssessment.VibrationRisk"]): + LOW: typing.ClassVar["VibrationAssessment.VibrationRisk"] = ... + MEDIUM: typing.ClassVar["VibrationAssessment.VibrationRisk"] = ... + HIGH: typing.ClassVar["VibrationAssessment.VibrationRisk"] = ... + _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: ... + 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]) -> 'VibrationAssessment.VibrationRisk': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VibrationAssessment.VibrationRisk": ... @staticmethod - def values() -> typing.MutableSequence['VibrationAssessment.VibrationRisk']: ... + def values() -> typing.MutableSequence["VibrationAssessment.VibrationRisk"]: ... class AbsorptionColumnDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getMolecularSieveWaterCapacity(self) -> float: ... def setMolecularSieveWaterCapacity(self, double: float) -> None: ... class AdsorptionDehydrationDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getMolecularSieveWaterCapacity(self) -> float: ... def setMolecularSieveWaterCapacity(self, double: float) -> None: ... class CompressorDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getCompressorFactor(self) -> float: ... def setCompressorFactor(self, double: float) -> None: ... class GasScrubberDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getGasLoadFactor(self) -> float: ... def getVolumetricDesignFactor(self) -> float: ... class JointEfficiencyPipelineStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getJEFactor(self) -> float: ... - def readJointEfficiencyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def readJointEfficiencyStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setJEFactor(self, double: float) -> None: ... class JointEfficiencyPlateStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getJEFactor(self) -> float: ... - def readJointEfficiencyStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def readJointEfficiencyStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setJEFactor(self, double: float) -> None: ... class MaterialPipeDesignStandard(DesignStandard): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getDesignFactor(self) -> float: ... def getEfactor(self) -> float: ... def getMinimumYeildStrength(self) -> float: ... def getTemperatureDeratingFactor(self) -> float: ... - def readMaterialDesignStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def readMaterialDesignStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setDesignFactor(self, double: float) -> None: ... def setEfactor(self, double: float) -> None: ... def setMinimumYeildStrength(self, double: float) -> None: ... @@ -396,23 +637,49 @@ class MaterialPlateDesignStandard(DesignStandard): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getDivisionClass(self) -> float: ... - def readMaterialDesignStandard(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], int: int) -> None: ... + def readMaterialDesignStandard( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... def setDivisionClass(self, double: float) -> None: ... class PipelineDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def calcPipelineWallThickness(self) -> float: ... - def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + def getSafetyMargins( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... class PipingDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... class PressureVesselDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def calcWallThickness(self) -> float: ... - def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + def getSafetyMargins( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... class ProcessDesignStandard(DesignStandard): DEFAULT_DESIGN_PRESSURE_MARGIN: typing.ClassVar[float] = ... @@ -424,9 +691,15 @@ class ProcessDesignStandard(DesignStandard): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... @typing.overload - def __init__(self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign + ): ... def calculateDesignArea(self, double: float) -> float: ... def calculateDesignDuty(self, double: float) -> float: ... def calculateDesignFlowRate(self, double: float) -> float: ... @@ -439,7 +712,9 @@ class ProcessDesignStandard(DesignStandard): def getDutyMargin(self) -> float: ... def getEquipmentType(self) -> java.lang.String: ... def getFlowSafetyFactor(self) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getMinDesignTemperatureC(self) -> float: ... def getStandardName(self) -> java.lang.String: ... def setAreaMargin(self, double: float) -> None: ... @@ -451,26 +726,41 @@ class ProcessDesignStandard(DesignStandard): def setMinDesignTemperatureC(self, double: float) -> None: ... class SeparatorDesignStandard(DesignStandard): - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getFg(self) -> float: ... def getGasLoadFactor(self) -> float: ... - def getLiquidRetentionTime(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign) -> float: ... - def getSafetyMargins(self) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... + def getLiquidRetentionTime( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ) -> float: ... + def getSafetyMargins( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesignMarginResult: ... def getVolumetricDesignFactor(self) -> float: ... def setFg(self, double: float) -> None: ... def setVolumetricDesignFactor(self, double: float) -> None: ... class ValveDesignStandard(DesignStandard): valveCvMax: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + mechanicalDesign: jneqsim.process.mechanicaldesign.MechanicalDesign, + ): ... def getValveCvMax(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.designstandards")``. AbsorptionColumnDesignStandard: typing.Type[AbsorptionColumnDesignStandard] - AdsorptionDehydrationDesignStandard: typing.Type[AdsorptionDehydrationDesignStandard] + AdsorptionDehydrationDesignStandard: typing.Type[ + AdsorptionDehydrationDesignStandard + ] CUIRiskAssessment: typing.Type[CUIRiskAssessment] CompressorDesignStandard: typing.Type[CompressorDesignStandard] DesignStandard: typing.Type[DesignStandard] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi index d27557de..35c79517 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/distillation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,10 +12,13 @@ import jneqsim.process.equipment.distillation import jneqsim.process.mechanicaldesign import typing - - -class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... +class DistillationColumnMechanicalDesign( + jneqsim.process.mechanicaldesign.MechanicalDesign +): + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateColumnCost(self) -> float: ... def calculateCondenserCost(self) -> float: ... @@ -40,13 +43,37 @@ class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.Mechan def getTrayType(self) -> java.lang.String: ... def getWeirLoading(self) -> float: ... @typing.overload - def optimizeEconomicTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int) -> jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult: ... + def optimizeEconomicTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + ) -> ( + jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult + ): ... @typing.overload - def optimizeEconomicTrayConfiguration(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double4: float, double5: float, double6: float, double7: float) -> jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult: ... + def optimizeEconomicTrayConfiguration( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double4: float, + double5: float, + double6: float, + double7: float, + ) -> ( + jneqsim.process.equipment.distillation.DistillationColumn.EconomicTrayOptimizationResult + ): ... def readDesignSpecifications(self) -> None: ... def setColumnDiameter(self, double: float) -> None: ... def setColumnHeight(self, double: float) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMaxFloodingFactor(self, double: float) -> None: ... def setTrayEfficiency(self, double: float) -> None: ... @@ -54,7 +81,6 @@ class DistillationColumnMechanicalDesign(jneqsim.process.mechanicaldesign.Mechan def setTrayType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.distillation")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi index 19202819..f79de0eb 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/ejector/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,10 +9,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class EjectorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def getBodyVolume(self) -> float: ... def getConnectedPipingVolume(self) -> float: ... def getDiffuserOutletArea(self) -> float: ... @@ -37,8 +38,27 @@ class EjectorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign) def getSuctionInletVelocity(self) -> float: ... def getTotalVolume(self) -> float: ... def resetDesign(self) -> None: ... - def updateDesign(self, 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) -> None: ... - + def updateDesign( + self, + 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, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.ejector")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/electrolyzer/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/electrolyzer/__init__.pyi index 377b4153..f1087f0c 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/electrolyzer/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/electrolyzer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class ElectrolyzerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCellsPerStack(self) -> int: ... def getCurrentDensity(self) -> float: ... @@ -30,11 +31,12 @@ class ElectrolyzerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDe def getWaterConsumptionKgHr(self) -> float: ... def setCellActiveArea(self, double: float) -> None: ... def setCurrentDensity(self, double: float) -> None: ... - def setElectrolyzerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setElectrolyzerType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setH2ProductionRateKgHr(self, double: float) -> None: ... def setStackPressure(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.electrolyzer")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/expander/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/expander/__init__.pyi index 1501e058..a439e73b 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/expander/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/expander/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ import jneqsim.process.mechanicaldesign import jneqsim.thermo.system import typing - - class DesignEvaluationResult(java.io.Serializable): def __init__(self): ... def getAntiSurgeMargin(self) -> float: ... @@ -53,20 +51,25 @@ class DesignEvaluationResult(java.io.Serializable): def setSealGasDpMargin(self, double: float) -> None: ... def setShaftStressMargin(self, double: float) -> None: ... def setShearPinTorqueMargin(self, double: float) -> None: ... - def setThrustBalanceDetails(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def setThrustBalanceDetails( + self, double: float, double2: float, double3: float, boolean: bool + ) -> None: ... def setThrustBearingLoadMargin(self, double: float) -> None: ... class ExpanderMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def getBearingType(self) -> java.lang.String: ... def getCasingDesignPressure(self) -> float: ... def getCasingDesignTemperature(self) -> float: ... - def getExpanderType(self) -> 'ExpanderMechanicalDesign.ExpanderType': ... + def getExpanderType(self) -> "ExpanderMechanicalDesign.ExpanderType": ... def getFirstCriticalSpeed(self) -> float: ... def getIsentropicEfficiency(self) -> float: ... - def getLoadType(self) -> 'ExpanderMechanicalDesign.LoadType': ... + def getLoadType(self) -> "ExpanderMechanicalDesign.LoadType": ... def getNumberOfStages(self) -> int: ... def getRatedSpeed(self) -> float: ... def getRecoveredPower(self) -> float: ... @@ -74,41 +77,96 @@ class ExpanderMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def getShaftDiameter(self) -> float: ... def getTipSpeed(self) -> float: ... def getWheelDiameter(self) -> float: ... - class ExpanderType(java.lang.Enum['ExpanderMechanicalDesign.ExpanderType']): - RADIAL_INFLOW: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... - AXIAL: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... - MIXED_FLOW: typing.ClassVar['ExpanderMechanicalDesign.ExpanderType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ExpanderType(java.lang.Enum["ExpanderMechanicalDesign.ExpanderType"]): + RADIAL_INFLOW: typing.ClassVar["ExpanderMechanicalDesign.ExpanderType"] = ... + AXIAL: typing.ClassVar["ExpanderMechanicalDesign.ExpanderType"] = ... + MIXED_FLOW: typing.ClassVar["ExpanderMechanicalDesign.ExpanderType"] = ... + _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: ... + 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]) -> 'ExpanderMechanicalDesign.ExpanderType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ExpanderMechanicalDesign.ExpanderType": ... @staticmethod - def values() -> typing.MutableSequence['ExpanderMechanicalDesign.ExpanderType']: ... - class LoadType(java.lang.Enum['ExpanderMechanicalDesign.LoadType']): - GENERATOR: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... - COMPRESSOR: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... - BRAKE: typing.ClassVar['ExpanderMechanicalDesign.LoadType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ExpanderMechanicalDesign.ExpanderType"] + ): ... + + class LoadType(java.lang.Enum["ExpanderMechanicalDesign.LoadType"]): + GENERATOR: typing.ClassVar["ExpanderMechanicalDesign.LoadType"] = ... + COMPRESSOR: typing.ClassVar["ExpanderMechanicalDesign.LoadType"] = ... + BRAKE: typing.ClassVar["ExpanderMechanicalDesign.LoadType"] = ... + _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: ... + 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]) -> 'ExpanderMechanicalDesign.LoadType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ExpanderMechanicalDesign.LoadType": ... @staticmethod - def values() -> typing.MutableSequence['ExpanderMechanicalDesign.LoadType']: ... + def values() -> typing.MutableSequence["ExpanderMechanicalDesign.LoadType"]: ... -class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... +class TurboExpanderCompressorMechanicalDesign( + jneqsim.process.mechanicaldesign.MechanicalDesign +): + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... - def evaluateDesignAtConditions(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> DesignEvaluationResult: ... - def evaluateDesignWithFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, systemInterface2: jneqsim.thermo.system.SystemInterface, double2: float) -> DesignEvaluationResult: ... - def evaluateMultipleScenarios(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]]) -> java.util.List[DesignEvaluationResult]: ... - def evaluationReportToJson(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]]) -> java.lang.String: ... + def evaluateDesignAtConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ) -> DesignEvaluationResult: ... + def evaluateDesignWithFluid( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + systemInterface2: jneqsim.thermo.system.SystemInterface, + double2: float, + ) -> DesignEvaluationResult: ... + def evaluateMultipleScenarios( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ] + ], + ) -> java.util.List[DesignEvaluationResult]: ... + def evaluationReportToJson( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ] + ], + ) -> java.lang.String: ... def getBearingSpan(self) -> float: ... def getBearingType(self) -> java.lang.String: ... def getCompressorCasingDesignPressure(self) -> float: ... @@ -157,7 +215,9 @@ class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.M def getShearPinRadialPositionMm(self) -> float: ... def getShearPinShearStrengthMPa(self) -> float: ... def getTripSpeed(self) -> float: ... - def setAntiSurgeControllerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAntiSurgeControllerType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setAntiSurgeValveCv(self, double: float) -> None: ... def setAntiSurgeValveStrokeTimeS(self, double: float) -> None: ... def setBalancePistonDiameterMm(self, double: float) -> None: ... @@ -165,7 +225,9 @@ class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.M def setBearingType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCompressorCasingDesignPressure(self, double: float) -> None: ... def setCompressorCasingDesignTemperature(self, double: float) -> None: ... - def setCompressorCasingType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorCasingType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCompressorDesignDischargePressure(self, double: float) -> None: ... def setCompressorDesignDischargeTemperature(self, double: float) -> None: ... def setCompressorDesignSuctionPressure(self, double: float) -> None: ... @@ -174,7 +236,9 @@ class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.M def setCompressorImpellerDiameter(self, double: float) -> None: ... def setCompressorPolytropicHead(self, double: float) -> None: ... def setCompressorPowerKW(self, double: float) -> None: ... - def setCompressorSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCompressorSealType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCompressorStages(self, int: int) -> None: ... def setDesignCompressorVolumeFlowM3hr(self, double: float) -> None: ... def setDesignNetThrustN(self, double: float) -> None: ... @@ -189,21 +253,58 @@ class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.M def setExpanderEnthalpyDropKJkg(self, double: float) -> None: ... def setExpanderNozzleThroatArea(self, double: float) -> None: ... def setExpanderPowerKW(self, double: float) -> None: ... - def setExpanderSealType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setExpanderSealType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setExpanderStages(self, int: int) -> None: ... def setExpanderType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setExpanderWheelDiameter(self, double: float) -> None: ... def setFirstCriticalSpeed(self, double: float) -> None: ... - def setFromDatasheet(self, 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) -> None: ... + def setFromDatasheet( + self, + 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, + ) -> None: ... def setGearRatio(self, double: float) -> None: ... def setHotGasRecycle(self, boolean: bool) -> None: ... def setMaxContinuousSpeed(self, double: float) -> None: ... def setMinimumRecycleFlowM3hr(self, double: float) -> None: ... def setNumberOfShearPins(self, int: int) -> None: ... def setOperatingSpeed(self, double: float) -> None: ... - def setRatedConditions(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> None: ... - def setRatedPerformance(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - def setSealArrangement(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setRatedConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> None: ... + def setRatedPerformance( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + def setSealArrangement( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSealGasFilterDpAlarmBar(self, double: float) -> None: ... def setSealGasFlowRateNm3hr(self, double: float) -> None: ... def setSealGasRequiredDpBar(self, double: float) -> None: ... @@ -219,7 +320,9 @@ class TurboExpanderCompressorMechanicalDesign(jneqsim.process.mechanicaldesign.M def setShaftDiameter(self, double: float) -> None: ... def setShearPinBreakingTorqueNm(self, double: float) -> None: ... def setShearPinDiameterMm(self, double: float) -> None: ... - def setShearPinMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShearPinMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setShearPinRadialPositionMm(self, double: float) -> None: ... def setShearPinShearStrengthMPa(self, double: float) -> None: ... def setSurgeControlLineMarginFrac(self, double: float) -> None: ... @@ -231,7 +334,10 @@ class TurboExpanderSealGasEnvelope(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor): ... + def __init__( + self, + turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor, + ): ... def calcAxialThrust(self) -> float: ... def calcCriticalSpeedMargin(self) -> float: ... def calcSealGasHeaterDuty(self) -> float: ... @@ -245,7 +351,10 @@ class TurboExpanderSealGasEnvelope(java.io.Serializable): def isThrustAcceptable(self) -> bool: ... def setBalancePistonOffload(self, double: float) -> None: ... def setFirstCriticalSpeed(self, double: float) -> None: ... - def setMachine(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor) -> None: ... + def setMachine( + self, + turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor, + ) -> None: ... def setMaxContinuousSpeed(self, double: float) -> None: ... def setMinSeparationMargin(self, double: float) -> None: ... def setSealGasFlowPerSeal(self, double: float) -> None: ... @@ -258,11 +367,12 @@ class TurboExpanderSealGasEnvelope(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.expander")``. DesignEvaluationResult: typing.Type[DesignEvaluationResult] ExpanderMechanicalDesign: typing.Type[ExpanderMechanicalDesign] - TurboExpanderCompressorMechanicalDesign: typing.Type[TurboExpanderCompressorMechanicalDesign] + TurboExpanderCompressorMechanicalDesign: typing.Type[ + TurboExpanderCompressorMechanicalDesign + ] TurboExpanderSealGasEnvelope: typing.Type[TurboExpanderSealGasEnvelope] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/filter/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/filter/__init__.pyi index f0207e16..3bd91d08 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/filter/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/filter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,15 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class FilterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getAnnualMaintenanceCostUSD(self) -> float: ... def getDesignPressure(self) -> float: ... def getDesignTemperatureC(self) -> float: ... @@ -49,8 +52,10 @@ class FilterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def toJson(self) -> java.lang.String: ... class SulfurFilterMechanicalDesign(FilterMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.filter")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/flare/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/flare/__init__.pyi index 2ad370ad..7d91d8c3 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/flare/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/flare/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class FlareMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getDesignHeatReleaseMW(self) -> float: ... def getFlameLength(self) -> float: ... @@ -33,7 +34,6 @@ class FlareMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def setRadiantFraction(self, double: float) -> None: ... def setStackMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.flare")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi index 41cebb25..9d41fed4 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/heatexchanger/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,67 +14,175 @@ import jneqsim.process.equipment.heatexchanger import jneqsim.process.mechanicaldesign import typing - - class BellDelawareMethod: @staticmethod def calcBypassArea(double: float, double2: float, double3: float) -> float: ... @staticmethod - def calcCorrectedHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - @staticmethod - def calcCrossflowArea(double: float, double2: float, double3: float, double4: float) -> float: ... - @staticmethod - def calcIdealCrossflowDP(int: int, double: float, double2: float, double3: float, boolean: bool) -> float: ... - @staticmethod - def calcIdealCrossflowHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @staticmethod - def calcJb(double: float, double2: float, boolean: bool, int: int, int2: int) -> float: ... + def calcCorrectedHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + @staticmethod + def calcCrossflowArea( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + @staticmethod + def calcIdealCrossflowDP( + int: int, double: float, double2: float, double3: float, boolean: bool + ) -> float: ... + @staticmethod + def calcIdealCrossflowHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @staticmethod + def calcJb( + double: float, double2: float, boolean: bool, int: int, int2: int + ) -> float: ... @staticmethod def calcJc(double: float) -> float: ... @staticmethod - def calcJl(double: float, double2: float, double3: float, int: int, double4: float, double5: float) -> float: ... + def calcJl( + double: float, + double2: float, + double3: float, + int: int, + double4: float, + double5: float, + ) -> float: ... @staticmethod def calcJr(double: float, int: int) -> float: ... @staticmethod def calcJs(double: float, double2: float, double3: float, int: int) -> float: ... @staticmethod - def calcKernShellSideHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - @staticmethod - def calcKernShellSidePressureDrop(double: float, double2: float, double3: float, int: int, double4: float, double5: float, double6: float) -> float: ... - @staticmethod - def calcRb(double: float, double2: float, boolean: bool, int: int, int2: int) -> float: ... - @staticmethod - def calcRl(double: float, double2: float, double3: float, int: int, double4: float, double5: float) -> float: ... - @staticmethod - def calcShellEquivDiameter(double: float, double2: float, boolean: bool) -> float: ... - @staticmethod - def calcWindowDP(double: float, double2: float, double3: float, int: int) -> float: ... + def calcKernShellSideHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + @staticmethod + def calcKernShellSidePressureDrop( + double: float, + double2: float, + double3: float, + int: int, + double4: float, + double5: float, + double6: float, + ) -> float: ... + @staticmethod + def calcRb( + double: float, double2: float, boolean: bool, int: int, int2: int + ) -> float: ... + @staticmethod + def calcRl( + double: float, + double2: float, + double3: float, + int: int, + double4: float, + double5: float, + ) -> float: ... + @staticmethod + def calcShellEquivDiameter( + double: float, double2: float, boolean: bool + ) -> float: ... + @staticmethod + def calcWindowDP( + double: float, double2: float, double3: float, int: int + ) -> float: ... @staticmethod def estimateCrossflowFraction(double: float) -> float: ... @staticmethod - def estimateTubeRowsCrossflow(double: float, double2: float, double3: float, boolean: bool) -> int: ... + def estimateTubeRowsCrossflow( + double: float, double2: float, double3: float, boolean: bool + ) -> int: ... class BoilingHeatTransfer: @staticmethod - def calcAverageHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, int: int) -> float: ... + def calcAverageHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + int: int, + ) -> float: ... @staticmethod def calcChenEnhancementFactor(double: float) -> float: ... @staticmethod - def calcChenHTC(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) -> float: ... + def calcChenHTC( + 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, + ) -> float: ... @staticmethod def calcChenSuppressionFactor(double: float) -> float: ... @staticmethod - def calcGungorWintertonCorrectedHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... - @staticmethod - def calcGungorWintertonHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> float: ... - @staticmethod - def calcMartinelliParameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calcGungorWintertonCorrectedHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + ) -> float: ... + @staticmethod + def calcGungorWintertonHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ) -> float: ... + @staticmethod + def calcMartinelliParameter( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... class FoulingModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, foulingModelType: 'FoulingModel.FoulingModelType'): ... + def __init__(self, foulingModelType: "FoulingModel.FoulingModelType"): ... def advanceTime(self, double: float) -> None: ... def calcEbertPanchalFoulingRate(self, double: float) -> float: ... def calcEbertPanchalResistance(self, double: float) -> float: ... @@ -82,11 +190,11 @@ class FoulingModel(java.io.Serializable): def calcThresholdTemperature(self, double: float) -> float: ... def calcThresholdVelocity(self) -> float: ... @staticmethod - def createCoolingWaterModel(double: float, double2: float) -> 'FoulingModel': ... + def createCoolingWaterModel(double: float, double2: float) -> "FoulingModel": ... @staticmethod - def createCrudeOilModel() -> 'FoulingModel': ... + def createCrudeOilModel() -> "FoulingModel": ... @staticmethod - def createHeavyCrudeModel() -> 'FoulingModel': ... + def createHeavyCrudeModel() -> "FoulingModel": ... def getAsymptoticFoulingResistance(self) -> float: ... def getFixedFoulingResistance(self) -> float: ... def getFoulingRate(self) -> float: ... @@ -94,7 +202,7 @@ class FoulingModel(java.io.Serializable): def getFoulingResistance(self) -> float: ... @typing.overload def getFoulingResistance(self, double: float) -> float: ... - def getModelType(self) -> 'FoulingModel.FoulingModelType': ... + def getModelType(self) -> "FoulingModel.FoulingModelType": ... def getOperatingTimeHours(self) -> float: ... def predictTimeToFouling(self, double: float) -> float: ... def reset(self) -> None: ... @@ -103,63 +211,119 @@ class FoulingModel(java.io.Serializable): def setBeta(self, double: float) -> None: ... def setFixedFoulingResistance(self, double: float) -> None: ... def setGamma(self, double: float) -> None: ... - def setModelType(self, foulingModelType: 'FoulingModel.FoulingModelType') -> None: ... + def setModelType( + self, foulingModelType: "FoulingModel.FoulingModelType" + ) -> None: ... def setRfMax(self, double: float) -> None: ... def setTimeConstant(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def updateConditions(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... - class FoulingModelType(java.lang.Enum['FoulingModel.FoulingModelType']): - FIXED: typing.ClassVar['FoulingModel.FoulingModelType'] = ... - EBERT_PANCHAL: typing.ClassVar['FoulingModel.FoulingModelType'] = ... - KERN_SEATON: typing.ClassVar['FoulingModel.FoulingModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def updateConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... + + class FoulingModelType(java.lang.Enum["FoulingModel.FoulingModelType"]): + FIXED: typing.ClassVar["FoulingModel.FoulingModelType"] = ... + EBERT_PANCHAL: typing.ClassVar["FoulingModel.FoulingModelType"] = ... + KERN_SEATON: typing.ClassVar["FoulingModel.FoulingModelType"] = ... + _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: ... + 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]) -> 'FoulingModel.FoulingModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FoulingModel.FoulingModelType": ... @staticmethod - def values() -> typing.MutableSequence['FoulingModel.FoulingModelType']: ... + def values() -> typing.MutableSequence["FoulingModel.FoulingModelType"]: ... class HeatExchangerDesignFeasibilityReport: @typing.overload - def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... + def __init__( + self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger + ): ... @typing.overload - def __init__(self, lNGHeatExchanger: jneqsim.process.equipment.heatexchanger.LNGHeatExchanger): ... + def __init__( + self, lNGHeatExchanger: jneqsim.process.equipment.heatexchanger.LNGHeatExchanger + ): ... def generateReport(self) -> None: ... def getInstalledCostUSD(self) -> float: ... - def getIssues(self) -> java.util.List['HeatExchangerDesignFeasibilityReport.FeasibilityIssue']: ... - def getMatchingSuppliers(self) -> java.util.List['HeatExchangerDesignFeasibilityReport.SupplierMatch']: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getIssues( + self, + ) -> java.util.List["HeatExchangerDesignFeasibilityReport.FeasibilityIssue"]: ... + def getMatchingSuppliers( + self, + ) -> java.util.List["HeatExchangerDesignFeasibilityReport.SupplierMatch"]: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getNumberOfMatchingSuppliers(self) -> int: ... def getPurchasedEquipmentCostUSD(self) -> float: ... def getVerdict(self) -> java.lang.String: ... def isFeasible(self) -> bool: ... - def setAnnualOperatingHours(self, int: int) -> 'HeatExchangerDesignFeasibilityReport': ... - def setDesignStandard(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchangerDesignFeasibilityReport': ... - def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> 'HeatExchangerDesignFeasibilityReport': ... + def setAnnualOperatingHours( + self, int: int + ) -> "HeatExchangerDesignFeasibilityReport": ... + def setDesignStandard( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerDesignFeasibilityReport": ... + def setExchangerType( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerDesignFeasibilityReport": ... def toJson(self) -> java.lang.String: ... + class FeasibilityIssue: - def __init__(self, issueSeverity: 'HeatExchangerDesignFeasibilityReport.IssueSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + issueSeverity: "HeatExchangerDesignFeasibilityReport.IssueSeverity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'HeatExchangerDesignFeasibilityReport.IssueSeverity': ... + def getSeverity( + self, + ) -> "HeatExchangerDesignFeasibilityReport.IssueSeverity": ... def toString(self) -> java.lang.String: ... - class IssueSeverity(java.lang.Enum['HeatExchangerDesignFeasibilityReport.IssueSeverity']): - INFO: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... - WARNING: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... - BLOCKER: typing.ClassVar['HeatExchangerDesignFeasibilityReport.IssueSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class IssueSeverity( + java.lang.Enum["HeatExchangerDesignFeasibilityReport.IssueSeverity"] + ): + INFO: typing.ClassVar["HeatExchangerDesignFeasibilityReport.IssueSeverity"] = ( + ... + ) + WARNING: typing.ClassVar[ + "HeatExchangerDesignFeasibilityReport.IssueSeverity" + ] = ... + BLOCKER: typing.ClassVar[ + "HeatExchangerDesignFeasibilityReport.IssueSeverity" + ] = ... + _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: ... + 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]) -> 'HeatExchangerDesignFeasibilityReport.IssueSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerDesignFeasibilityReport.IssueSeverity": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerDesignFeasibilityReport.IssueSeverity']: ... + def values() -> ( + typing.MutableSequence["HeatExchangerDesignFeasibilityReport.IssueSeverity"] + ): ... + class SupplierMatch: def __init__(self): ... def getApplications(self) -> java.lang.String: ... @@ -177,9 +341,15 @@ class HeatExchangerDesignFeasibilityReport: def getNotes(self) -> java.lang.String: ... def getTemaTypes(self) -> java.lang.String: ... def getWebsite(self) -> java.lang.String: ... - def setApplications(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setManufacturer(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setApplications( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setExchangerType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setManufacturer( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaterials(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMaxAreaM2(self, double: float) -> None: ... def setMaxDutyKW(self, double: float) -> None: ... @@ -194,17 +364,26 @@ class HeatExchangerDesignFeasibilityReport: def setWebsite(self, string: typing.Union[java.lang.String, str]) -> None: ... class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def calculateCleanU(self, double: float, double2: float, double3: float, double4: float) -> float: ... - def calculateFouledU(self, double: float, boolean: bool, boolean2: bool) -> float: ... - def calculateTotalFoulingResistance(self, boolean: bool, boolean2: bool) -> float: ... + def calculateCleanU( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... + def calculateFouledU( + self, double: float, boolean: bool, boolean2: bool + ) -> float: ... + def calculateTotalFoulingResistance( + self, boolean: bool, boolean2: bool + ) -> float: ... def getApproachTemperature(self) -> float: ... def getAreaMarginFactor(self) -> float: ... def getBaffleCutPercent(self) -> float: ... def getBaffleSpacingRatio(self) -> float: ... def getCalculatedUA(self) -> float: ... - def getCandidateTypes(self) -> java.util.List['HeatExchangerType']: ... + def getCandidateTypes(self) -> java.util.List["HeatExchangerType"]: ... def getDesignPressureMargin(self) -> float: ... def getDesignTemperatureMarginC(self) -> float: ... def getDutyMargin(self) -> float: ... @@ -214,20 +393,22 @@ class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalD def getFoulingResistanceTubeWater(self) -> float: ... def getH2sPartialPressure(self) -> float: ... def getLogMeanTemperatureDifference(self) -> float: ... - def getManualSelection(self) -> 'HeatExchangerType': ... + def getManualSelection(self) -> "HeatExchangerType": ... def getMaxShellVelocity(self) -> float: ... def getMaxTubeLengthM(self) -> float: ... def getMaxTubeVelocity(self) -> float: ... def getMinApproachTemperatureC(self) -> float: ... def getMinTubeVelocity(self) -> float: ... - def getSelectedSizingResult(self) -> 'HeatExchangerSizingResult': ... - def getSelectedType(self) -> 'HeatExchangerType': ... - def getSelectionCriterion(self) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... - def getShellAndTubeCalculator(self) -> 'ShellAndTubeDesignCalculator': ... + def getSelectedSizingResult(self) -> "HeatExchangerSizingResult": ... + def getSelectedType(self) -> "HeatExchangerType": ... + def getSelectionCriterion( + self, + ) -> "HeatExchangerMechanicalDesign.SelectionCriterion": ... + def getShellAndTubeCalculator(self) -> "ShellAndTubeDesignCalculator": ... def getShellJointEfficiency(self) -> float: ... def getShellMaterialGrade(self) -> java.lang.String: ... def getShellPasses(self) -> int: ... - def getSizingResults(self) -> java.util.List['HeatExchangerSizingResult']: ... + def getSizingResults(self) -> java.util.List["HeatExchangerSizingResult"]: ... def getSizingSummary(self) -> java.lang.String: ... def getTemaClass(self) -> java.lang.String: ... def getTemaDesignation(self) -> java.lang.String: ... @@ -247,9 +428,9 @@ class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalD def setBaffleCutPercent(self, double: float) -> None: ... def setBaffleSpacingRatio(self, double: float) -> None: ... @typing.overload - def setCandidateTypes(self, list: java.util.List['HeatExchangerType']) -> None: ... + def setCandidateTypes(self, list: java.util.List["HeatExchangerType"]) -> None: ... @typing.overload - def setCandidateTypes(self, *heatExchangerType: 'HeatExchangerType') -> None: ... + def setCandidateTypes(self, *heatExchangerType: "HeatExchangerType") -> None: ... def setDesignPressureMargin(self, double: float) -> None: ... def setDesignTemperatureMarginC(self, double: float) -> None: ... def setDutyMargin(self, double: float) -> None: ... @@ -258,57 +439,92 @@ class HeatExchangerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalD def setFoulingResistanceTubeHC(self, double: float) -> None: ... def setFoulingResistanceTubeWater(self, double: float) -> None: ... def setH2sPartialPressure(self, double: float) -> None: ... - def setManualSelection(self, heatExchangerType: 'HeatExchangerType') -> None: ... + def setManualSelection(self, heatExchangerType: "HeatExchangerType") -> None: ... def setMaxShellVelocity(self, double: float) -> None: ... def setMaxTubeLengthM(self, double: float) -> None: ... def setMaxTubeVelocity(self, double: float) -> None: ... def setMinApproachTemperatureC(self, double: float) -> None: ... def setMinTubeVelocity(self, double: float) -> None: ... - def setSelectionCriterion(self, selectionCriterion: 'HeatExchangerMechanicalDesign.SelectionCriterion') -> None: ... + def setSelectionCriterion( + self, selectionCriterion: "HeatExchangerMechanicalDesign.SelectionCriterion" + ) -> None: ... def setShellJointEfficiency(self, double: float) -> None: ... - def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setShellPasses(self, int: int) -> None: ... def setSourServiceAssessment(self, boolean: bool) -> None: ... def setTemaClass(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemaFrontHeadType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemaRearHeadType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaFrontHeadType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTemaRearHeadType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTemaShellType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTubeLayoutPattern(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeLayoutPattern( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTubeMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubeOuterDiameterMm(self, double: float) -> None: ... def setTubePasses(self, int: int) -> None: ... def setTubePitchRatio(self, double: float) -> None: ... def setTubeWallThicknessMm(self, double: float) -> None: ... def validateApproachTemperature(self, double: float) -> bool: ... - def validateDesign(self) -> 'HeatExchangerMechanicalDesign.HeatExchangerValidationResult': ... + def validateDesign( + self, + ) -> "HeatExchangerMechanicalDesign.HeatExchangerValidationResult": ... def validateShellVelocity(self, double: float) -> bool: ... def validateTubeLength(self, double: float) -> bool: ... def validateTubeVelocity(self, double: float) -> bool: ... + class HeatExchangerValidationResult: def __init__(self): ... def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... def getIssues(self) -> java.util.List[java.lang.String]: ... def isValid(self) -> bool: ... def setValid(self, boolean: bool) -> None: ... - class SelectionCriterion(java.lang.Enum['HeatExchangerMechanicalDesign.SelectionCriterion']): - MIN_AREA: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... - MIN_WEIGHT: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... - MIN_PRESSURE_DROP: typing.ClassVar['HeatExchangerMechanicalDesign.SelectionCriterion'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SelectionCriterion( + java.lang.Enum["HeatExchangerMechanicalDesign.SelectionCriterion"] + ): + MIN_AREA: typing.ClassVar[ + "HeatExchangerMechanicalDesign.SelectionCriterion" + ] = ... + MIN_WEIGHT: typing.ClassVar[ + "HeatExchangerMechanicalDesign.SelectionCriterion" + ] = ... + MIN_PRESSURE_DROP: typing.ClassVar[ + "HeatExchangerMechanicalDesign.SelectionCriterion" + ] = ... + _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: ... + 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]) -> 'HeatExchangerMechanicalDesign.SelectionCriterion': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HeatExchangerMechanicalDesign.SelectionCriterion": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerMechanicalDesign.SelectionCriterion']: ... + def values() -> ( + typing.MutableSequence["HeatExchangerMechanicalDesign.SelectionCriterion"] + ): ... -class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): +class HeatExchangerMechanicalDesignResponse( + jneqsim.process.mechanicaldesign.MechanicalDesignResponse +): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign): ... + def __init__( + self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign + ): ... def getAreaMargin(self) -> float: ... def getBaffleCut(self) -> float: ... def getBaffleSpacing(self) -> float: ... @@ -365,7 +581,9 @@ class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mec def isSourServiceRequired(self) -> bool: ... def isTubeNACECompliant(self) -> bool: ... def isVibrationAnalysisRequired(self) -> bool: ... - def populateFromHeatExchangerDesign(self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign) -> None: ... + def populateFromHeatExchangerDesign( + self, heatExchangerMechanicalDesign: HeatExchangerMechanicalDesign + ) -> None: ... def setAreaMargin(self, double: float) -> None: ... def setBaffleCut(self, double: float) -> None: ... def setBaffleSpacing(self, double: float) -> None: ... @@ -378,7 +596,9 @@ class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mec def setDesignTubeFoulingResistance(self, double: float) -> None: ... def setFouledOverallHeatTransferCoeff(self, double: float) -> None: ... def setHeatDuty(self, double: float) -> None: ... - def setHeatExchangerType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeatExchangerType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeatTransferArea(self, double: float) -> None: ... def setHydroTestPressureShell(self, double: float) -> None: ... def setHydroTestPressureTube(self, double: float) -> None: ... @@ -402,7 +622,9 @@ class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mec def setShellFoulingResistance(self, double: float) -> None: ... def setShellInnerDiameter(self, double: float) -> None: ... def setShellMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setShellMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setShellNACECompliant(self, boolean: bool) -> None: ... def setShellPressureDrop(self, double: float) -> None: ... def setShellWallThickness(self, double: float) -> None: ... @@ -415,7 +637,9 @@ class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mec def setTubeLayoutAngle(self, int: int) -> None: ... def setTubeLength(self, double: float) -> None: ... def setTubeMaterial(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubeNACECompliant(self, boolean: bool) -> None: ... def setTubeOuterDiameter(self, double: float) -> None: ... def setTubePitch(self, double: float) -> None: ... @@ -425,14 +649,16 @@ class HeatExchangerMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mec class HeatExchangerSizingResult: @staticmethod - def builder() -> 'HeatExchangerSizingResult.Builder': ... + def builder() -> "HeatExchangerSizingResult.Builder": ... def getApproachTemperature(self) -> float: ... def getEstimatedLength(self) -> float: ... def getEstimatedPressureDrop(self) -> float: ... def getEstimatedWeight(self) -> float: ... def getFinSurfaceArea(self) -> float: ... def getInnerDiameter(self) -> float: ... - def getMetric(self, selectionCriterion: HeatExchangerMechanicalDesign.SelectionCriterion) -> float: ... + def getMetric( + self, selectionCriterion: HeatExchangerMechanicalDesign.SelectionCriterion + ) -> float: ... def getModuleHeight(self) -> float: ... def getModuleLength(self) -> float: ... def getModuleWidth(self) -> float: ... @@ -442,55 +668,92 @@ class HeatExchangerSizingResult: def getRequiredUA(self) -> float: ... def getTubeCount(self) -> int: ... def getTubePasses(self) -> int: ... - def getType(self) -> 'HeatExchangerType': ... + def getType(self) -> "HeatExchangerType": ... def getWallThickness(self) -> float: ... def toString(self) -> java.lang.String: ... + class Builder: - def approachTemperature(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def build(self) -> 'HeatExchangerSizingResult': ... - def estimatedLength(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def estimatedPressureDrop(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def estimatedWeight(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def finSurfaceArea(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def innerDiameter(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def moduleHeight(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def moduleLength(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def moduleWidth(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def outerDiameter(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def overallHeatTransferCoefficient(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def requiredArea(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def requiredUA(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... - def tubeCount(self, int: int) -> 'HeatExchangerSizingResult.Builder': ... - def tubePasses(self, int: int) -> 'HeatExchangerSizingResult.Builder': ... - def type(self, heatExchangerType: 'HeatExchangerType') -> 'HeatExchangerSizingResult.Builder': ... - def wallThickness(self, double: float) -> 'HeatExchangerSizingResult.Builder': ... + def approachTemperature( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def build(self) -> "HeatExchangerSizingResult": ... + def estimatedLength( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def estimatedPressureDrop( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def estimatedWeight( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def finSurfaceArea( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def innerDiameter( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def moduleHeight( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def moduleLength( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def moduleWidth(self, double: float) -> "HeatExchangerSizingResult.Builder": ... + def outerDiameter( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def overallHeatTransferCoefficient( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def requiredArea( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... + def requiredUA(self, double: float) -> "HeatExchangerSizingResult.Builder": ... + def tubeCount(self, int: int) -> "HeatExchangerSizingResult.Builder": ... + def tubePasses(self, int: int) -> "HeatExchangerSizingResult.Builder": ... + def type( + self, heatExchangerType: "HeatExchangerType" + ) -> "HeatExchangerSizingResult.Builder": ... + def wallThickness( + self, double: float + ) -> "HeatExchangerSizingResult.Builder": ... -class HeatExchangerType(java.lang.Enum['HeatExchangerType']): - SHELL_AND_TUBE: typing.ClassVar['HeatExchangerType'] = ... - PLATE_AND_FRAME: typing.ClassVar['HeatExchangerType'] = ... - AIR_COOLER: typing.ClassVar['HeatExchangerType'] = ... - DOUBLE_PIPE: typing.ClassVar['HeatExchangerType'] = ... - PLATE_FIN: typing.ClassVar['HeatExchangerType'] = ... - def createSizingResult(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger, double: float, double2: float, double3: float) -> HeatExchangerSizingResult: ... +class HeatExchangerType(java.lang.Enum["HeatExchangerType"]): + SHELL_AND_TUBE: typing.ClassVar["HeatExchangerType"] = ... + PLATE_AND_FRAME: typing.ClassVar["HeatExchangerType"] = ... + AIR_COOLER: typing.ClassVar["HeatExchangerType"] = ... + DOUBLE_PIPE: typing.ClassVar["HeatExchangerType"] = ... + PLATE_FIN: typing.ClassVar["HeatExchangerType"] = ... + def createSizingResult( + self, + heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger, + double: float, + double2: float, + double3: float, + ) -> HeatExchangerSizingResult: ... def getAllowableApproachTemperature(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... def getTypicalOverallHeatTransferCoefficient(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'HeatExchangerType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "HeatExchangerType": ... @staticmethod - def values() -> typing.MutableSequence['HeatExchangerType']: ... + def values() -> typing.MutableSequence["HeatExchangerType"]: ... class IncrementalZoneAnalysis(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def addZone(self, incrementalZone: 'IncrementalZoneAnalysis.IncrementalZone') -> None: ... + def addZone( + self, incrementalZone: "IncrementalZoneAnalysis.IncrementalZone" + ) -> None: ... def calculate(self) -> None: ... def clearZones(self) -> None: ... def getMinimumApproachTemperature(self) -> float: ... @@ -500,14 +763,21 @@ class IncrementalZoneAnalysis(java.io.Serializable): def getTotalShellSidePressureDrop(self) -> float: ... def getTotalTubeSidePressureDrop(self) -> float: ... def getWeightedAverageU(self) -> float: ... - def getZoneResults(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def getZones(self) -> java.util.List['IncrementalZoneAnalysis.IncrementalZone']: ... + def getZoneResults( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getZones(self) -> java.util.List["IncrementalZoneAnalysis.IncrementalZone"]: ... def setFouling(self, double: float, double2: float) -> None: ... - def setGeometry(self, double: float, double2: float, double3: float, int: int, int2: int) -> None: ... - def setShellGeometry(self, double: float, double2: float, double3: float, boolean: bool) -> None: ... + def setGeometry( + self, double: float, double2: float, double3: float, int: int, int2: int + ) -> None: ... + def setShellGeometry( + self, double: float, double2: float, double3: float, boolean: bool + ) -> None: ... def setTubeWallConductivity(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class IncrementalZone(java.io.Serializable): zoneName: java.lang.String = ... duty: float = ... @@ -515,7 +785,7 @@ class IncrementalZoneAnalysis(java.io.Serializable): hotOutletTemp: float = ... coldInletTemp: float = ... coldOutletTemp: float = ... - tubePhaseRegime: 'IncrementalZoneAnalysis.PhaseRegime' = ... + tubePhaseRegime: "IncrementalZoneAnalysis.PhaseRegime" = ... tubeDensity: float = ... tubeViscosity: float = ... tubeCp: float = ... @@ -532,7 +802,7 @@ class IncrementalZoneAnalysis(java.io.Serializable): tubeReducedPressure: float = ... tubeSurfaceTension: float = ... tubeHeatOfVaporization: float = ... - shellPhaseRegime: 'IncrementalZoneAnalysis.PhaseRegime' = ... + shellPhaseRegime: "IncrementalZoneAnalysis.PhaseRegime" = ... shellDensity: float = ... shellViscosity: float = ... shellCp: float = ... @@ -546,51 +816,106 @@ class IncrementalZoneAnalysis(java.io.Serializable): tubeSidePressureDrop: float = ... shellSidePressureDrop: float = ... def __init__(self): ... - def setShellSideProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, phaseRegime: 'IncrementalZoneAnalysis.PhaseRegime') -> None: ... - def setTemperatures(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setTubeSideProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, phaseRegime: 'IncrementalZoneAnalysis.PhaseRegime') -> None: ... - class PhaseRegime(java.lang.Enum['IncrementalZoneAnalysis.PhaseRegime']): - VAPOR: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... - LIQUID: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... - CONDENSING: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... - EVAPORATING: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... - TWO_PHASE: typing.ClassVar['IncrementalZoneAnalysis.PhaseRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setShellSideProperties( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + phaseRegime: "IncrementalZoneAnalysis.PhaseRegime", + ) -> None: ... + def setTemperatures( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setTubeSideProperties( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + phaseRegime: "IncrementalZoneAnalysis.PhaseRegime", + ) -> None: ... + + class PhaseRegime(java.lang.Enum["IncrementalZoneAnalysis.PhaseRegime"]): + VAPOR: typing.ClassVar["IncrementalZoneAnalysis.PhaseRegime"] = ... + LIQUID: typing.ClassVar["IncrementalZoneAnalysis.PhaseRegime"] = ... + CONDENSING: typing.ClassVar["IncrementalZoneAnalysis.PhaseRegime"] = ... + EVAPORATING: typing.ClassVar["IncrementalZoneAnalysis.PhaseRegime"] = ... + TWO_PHASE: typing.ClassVar["IncrementalZoneAnalysis.PhaseRegime"] = ... + _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: ... + 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]) -> 'IncrementalZoneAnalysis.PhaseRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "IncrementalZoneAnalysis.PhaseRegime": ... @staticmethod - def values() -> typing.MutableSequence['IncrementalZoneAnalysis.PhaseRegime']: ... + def values() -> ( + typing.MutableSequence["IncrementalZoneAnalysis.PhaseRegime"] + ): ... class LMTDcorrectionFactor: MIN_ACCEPTABLE_FT: typing.ClassVar[float] = ... @staticmethod - def calcFt(double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + def calcFt( + double: float, double2: float, double3: float, double4: float, int: int + ) -> float: ... @staticmethod - def calcFt1ShellPass(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcFt1ShellPass( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def calcFt2ShellPass(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcFt2ShellPass( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def calcFtFromRP(double: float, double2: float, int: int) -> float: ... @staticmethod - def calcP(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcP( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def calcR(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcR( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def requiredShellPasses(double: float, double2: float, double3: float, double4: float) -> int: ... + def requiredShellPasses( + double: float, double2: float, double3: float, double4: float + ) -> int: ... class ShahCondensation: @staticmethod - def calcAverageHTC(double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + def calcAverageHTC( + double: float, double2: float, double3: float, double4: float, int: int + ) -> float: ... @staticmethod - def calcLiquidOnlyHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def calcLiquidOnlyHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... @staticmethod def calcLocalHTC(double: float, double2: float, double3: float) -> float: ... @staticmethod - def calcVerticalTubeHTC(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calcVerticalTubeHTC( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod def isInValidRange(double: float, double2: float, double3: float) -> bool: ... @@ -598,7 +923,10 @@ class ShellAndTubeDesignCalculator: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calculate(self) -> None: ... def getActualArea(self) -> float: ... def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... @@ -618,16 +946,16 @@ class ShellAndTubeDesignCalculator: def getShellMaterialGrade(self) -> java.lang.String: ... def getShellOutsideDiameter(self) -> float: ... def getShellWallThickness(self) -> float: ... - def getTemaClass(self) -> 'TEMAStandard.TEMAClass': ... + def getTemaClass(self) -> "TEMAStandard.TEMAClass": ... def getTemaDesignation(self) -> java.lang.String: ... - def getThermalCalculator(self) -> 'ThermalDesignCalculator': ... + def getThermalCalculator(self) -> "ThermalDesignCalculator": ... def getTotalCost(self) -> float: ... def getTotalDryWeight(self) -> float: ... def getTubeCount(self) -> int: ... def getTubeMaterialGrade(self) -> java.lang.String: ... def getTubeThermalConductivity(self) -> float: ... def getTubesheetThicknessUHX(self) -> float: ... - def getVibrationResult(self) -> 'VibrationAnalysis.VibrationResult': ... + def getVibrationResult(self) -> "VibrationAnalysis.VibrationResult": ... def hasThermalData(self) -> bool: ... def isNozzleReinforcementAdequate(self) -> bool: ... def isShellNACECompliant(self) -> bool: ... @@ -642,191 +970,291 @@ class ShellAndTubeDesignCalculator: def setNozzleWallThickness(self, double: float) -> None: ... def setRequiredArea(self, double: float) -> None: ... def setShellJointEfficiency(self, double: float) -> None: ... - def setShellMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setShellSideFluidProperties(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... - def setShellSideMethod(self, shellSideMethod: 'ThermalDesignCalculator.ShellSideMethod') -> None: ... + def setShellMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setShellSideFluidProperties( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... + def setShellSideMethod( + self, shellSideMethod: "ThermalDesignCalculator.ShellSideMethod" + ) -> None: ... def setShellSidePressure(self, double: float) -> None: ... def setSourServiceAssessment(self, boolean: bool) -> None: ... - def setTemaClass(self, tEMAClass: 'TEMAStandard.TEMAClass') -> None: ... - def setTemaDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemaClass(self, tEMAClass: "TEMAStandard.TEMAClass") -> None: ... + def setTemaDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubeLength(self, double: float) -> None: ... - def setTubeMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubeMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTubePasses(self, int: int) -> None: ... - def setTubeSideFluidProperties(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + def setTubeSideFluidProperties( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + ) -> None: ... def setTubeSidePressure(self, double: float) -> None: ... - def setTubeSize(self, standardTubeSize: 'TEMAStandard.StandardTubeSize') -> None: ... + def setTubeSize( + self, standardTubeSize: "TEMAStandard.StandardTubeSize" + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class TEMAStandard: @staticmethod - def calculateMinTubePitch(double: float, tubePitchPattern: 'TEMAStandard.TubePitchPattern') -> float: ... + def calculateMinTubePitch( + double: float, tubePitchPattern: "TEMAStandard.TubePitchPattern" + ) -> float: ... @staticmethod - def createConfiguration(char: str, char2: str, char3: str) -> 'TEMAStandard.TEMAConfiguration': ... + def createConfiguration( + char: str, char2: str, char3: str + ) -> "TEMAStandard.TEMAConfiguration": ... @staticmethod - def estimateTubeCount(double: float, double2: float, double3: float, tubePitchPattern: 'TEMAStandard.TubePitchPattern', int: int) -> int: ... + def estimateTubeCount( + double: float, + double2: float, + double3: float, + tubePitchPattern: "TEMAStandard.TubePitchPattern", + int: int, + ) -> int: ... @staticmethod - def getCommonConfigurations() -> java.util.Map[java.lang.String, 'TEMAStandard.TEMAConfiguration']: ... + def getCommonConfigurations() -> ( + java.util.Map[java.lang.String, "TEMAStandard.TEMAConfiguration"] + ): ... @staticmethod - def getConfiguration(string: typing.Union[java.lang.String, str]) -> 'TEMAStandard.TEMAConfiguration': ... + def getConfiguration( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.TEMAConfiguration": ... @staticmethod def getMaxBaffleSpacing(double: float) -> float: ... @staticmethod - def getMaxUnsupportedSpan(double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getMaxUnsupportedSpan( + double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def getMinBaffleSpacing(double: float, tEMAClass: 'TEMAStandard.TEMAClass') -> float: ... + def getMinBaffleSpacing( + double: float, tEMAClass: "TEMAStandard.TEMAClass" + ) -> float: ... @staticmethod - def recommendConfiguration(boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool) -> java.lang.String: ... - class BaffleType(java.lang.Enum['TEMAStandard.BaffleType']): - SINGLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... - DOUBLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... - TRIPLE_SEGMENTAL: typing.ClassVar['TEMAStandard.BaffleType'] = ... - NO_TUBES_IN_WINDOW: typing.ClassVar['TEMAStandard.BaffleType'] = ... - DISC_AND_DOUGHNUT: typing.ClassVar['TEMAStandard.BaffleType'] = ... - ROD_BAFFLES: typing.ClassVar['TEMAStandard.BaffleType'] = ... + def recommendConfiguration( + boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool + ) -> java.lang.String: ... + + class BaffleType(java.lang.Enum["TEMAStandard.BaffleType"]): + SINGLE_SEGMENTAL: typing.ClassVar["TEMAStandard.BaffleType"] = ... + DOUBLE_SEGMENTAL: typing.ClassVar["TEMAStandard.BaffleType"] = ... + TRIPLE_SEGMENTAL: typing.ClassVar["TEMAStandard.BaffleType"] = ... + NO_TUBES_IN_WINDOW: typing.ClassVar["TEMAStandard.BaffleType"] = ... + DISC_AND_DOUGHNUT: typing.ClassVar["TEMAStandard.BaffleType"] = ... + ROD_BAFFLES: typing.ClassVar["TEMAStandard.BaffleType"] = ... def getDescription(self) -> java.lang.String: ... def getHeatTransferFactor(self) -> float: ... def getPressureDropFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.BaffleType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.BaffleType": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.BaffleType']: ... - class FrontHeadType(java.lang.Enum['TEMAStandard.FrontHeadType']): - A: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... - B: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... - C: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... - N: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... - D: typing.ClassVar['TEMAStandard.FrontHeadType'] = ... + def values() -> typing.MutableSequence["TEMAStandard.BaffleType"]: ... + + class FrontHeadType(java.lang.Enum["TEMAStandard.FrontHeadType"]): + A: typing.ClassVar["TEMAStandard.FrontHeadType"] = ... + B: typing.ClassVar["TEMAStandard.FrontHeadType"] = ... + C: typing.ClassVar["TEMAStandard.FrontHeadType"] = ... + N: typing.ClassVar["TEMAStandard.FrontHeadType"] = ... + D: typing.ClassVar["TEMAStandard.FrontHeadType"] = ... def getDescription(self) -> java.lang.String: ... def getNotes(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.FrontHeadType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.FrontHeadType": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.FrontHeadType']: ... - class RearHeadType(java.lang.Enum['TEMAStandard.RearHeadType']): - L: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - M: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - N: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - P: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - S: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - T: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - U: typing.ClassVar['TEMAStandard.RearHeadType'] = ... - W: typing.ClassVar['TEMAStandard.RearHeadType'] = ... + def values() -> typing.MutableSequence["TEMAStandard.FrontHeadType"]: ... + + class RearHeadType(java.lang.Enum["TEMAStandard.RearHeadType"]): + L: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + M: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + N: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + P: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + S: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + T: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + U: typing.ClassVar["TEMAStandard.RearHeadType"] = ... + W: typing.ClassVar["TEMAStandard.RearHeadType"] = ... def getDescription(self) -> java.lang.String: ... def getNotes(self) -> java.lang.String: ... def isFloating(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.RearHeadType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.RearHeadType": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.RearHeadType']: ... - class ShellType(java.lang.Enum['TEMAStandard.ShellType']): - E: typing.ClassVar['TEMAStandard.ShellType'] = ... - F: typing.ClassVar['TEMAStandard.ShellType'] = ... - G: typing.ClassVar['TEMAStandard.ShellType'] = ... - H: typing.ClassVar['TEMAStandard.ShellType'] = ... - J: typing.ClassVar['TEMAStandard.ShellType'] = ... - K: typing.ClassVar['TEMAStandard.ShellType'] = ... - X: typing.ClassVar['TEMAStandard.ShellType'] = ... + def values() -> typing.MutableSequence["TEMAStandard.RearHeadType"]: ... + + class ShellType(java.lang.Enum["TEMAStandard.ShellType"]): + E: typing.ClassVar["TEMAStandard.ShellType"] = ... + F: typing.ClassVar["TEMAStandard.ShellType"] = ... + G: typing.ClassVar["TEMAStandard.ShellType"] = ... + H: typing.ClassVar["TEMAStandard.ShellType"] = ... + J: typing.ClassVar["TEMAStandard.ShellType"] = ... + K: typing.ClassVar["TEMAStandard.ShellType"] = ... + X: typing.ClassVar["TEMAStandard.ShellType"] = ... def getDescription(self) -> java.lang.String: ... def getNotes(self) -> java.lang.String: ... def getPressureDropFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.ShellType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.ShellType": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.ShellType']: ... - class StandardTubeSize(java.lang.Enum['TEMAStandard.StandardTubeSize']): - TUBE_3_8_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... - TUBE_1_2_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... - TUBE_5_8_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... - TUBE_3_4_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... - TUBE_1_INCH: typing.ClassVar['TEMAStandard.StandardTubeSize'] = ... + def values() -> typing.MutableSequence["TEMAStandard.ShellType"]: ... + + class StandardTubeSize(java.lang.Enum["TEMAStandard.StandardTubeSize"]): + TUBE_3_8_INCH: typing.ClassVar["TEMAStandard.StandardTubeSize"] = ... + TUBE_1_2_INCH: typing.ClassVar["TEMAStandard.StandardTubeSize"] = ... + TUBE_5_8_INCH: typing.ClassVar["TEMAStandard.StandardTubeSize"] = ... + TUBE_3_4_INCH: typing.ClassVar["TEMAStandard.StandardTubeSize"] = ... + TUBE_1_INCH: typing.ClassVar["TEMAStandard.StandardTubeSize"] = ... def getAvailableWallThicknessesMm(self) -> typing.MutableSequence[float]: ... def getOuterDiameterInch(self) -> float: ... def getOuterDiameterMm(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.StandardTubeSize': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.StandardTubeSize": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.StandardTubeSize']: ... - class TEMAClass(java.lang.Enum['TEMAStandard.TEMAClass']): - R: typing.ClassVar['TEMAStandard.TEMAClass'] = ... - C: typing.ClassVar['TEMAStandard.TEMAClass'] = ... - B: typing.ClassVar['TEMAStandard.TEMAClass'] = ... + def values() -> typing.MutableSequence["TEMAStandard.StandardTubeSize"]: ... + + class TEMAClass(java.lang.Enum["TEMAStandard.TEMAClass"]): + R: typing.ClassVar["TEMAStandard.TEMAClass"] = ... + C: typing.ClassVar["TEMAStandard.TEMAClass"] = ... + B: typing.ClassVar["TEMAStandard.TEMAClass"] = ... def getCostFactor(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getMinCorrosionAllowanceMm(self) -> float: ... def getMinTubeWallMm(self) -> float: ... def getNotes(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.TEMAClass': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.TEMAClass": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.TEMAClass']: ... + def values() -> typing.MutableSequence["TEMAStandard.TEMAClass"]: ... + class TEMAConfiguration: - def __init__(self, frontHeadType: 'TEMAStandard.FrontHeadType', shellType: 'TEMAStandard.ShellType', rearHeadType: 'TEMAStandard.RearHeadType', string: typing.Union[java.lang.String, str], set: java.util.Set['TEMAStandard.TEMAClass']): ... - def getApplicableClasses(self) -> java.util.Set['TEMAStandard.TEMAClass']: ... + def __init__( + self, + frontHeadType: "TEMAStandard.FrontHeadType", + shellType: "TEMAStandard.ShellType", + rearHeadType: "TEMAStandard.RearHeadType", + string: typing.Union[java.lang.String, str], + set: java.util.Set["TEMAStandard.TEMAClass"], + ): ... + def getApplicableClasses(self) -> java.util.Set["TEMAStandard.TEMAClass"]: ... def getCostFactor(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getDesignation(self) -> java.lang.String: ... - def getFrontHead(self) -> 'TEMAStandard.FrontHeadType': ... - def getRearHead(self) -> 'TEMAStandard.RearHeadType': ... - def getShell(self) -> 'TEMAStandard.ShellType': ... + def getFrontHead(self) -> "TEMAStandard.FrontHeadType": ... + def getRearHead(self) -> "TEMAStandard.RearHeadType": ... + def getShell(self) -> "TEMAStandard.ShellType": ... def hasGoodThermalExpansion(self) -> bool: ... def isBundleRemovable(self) -> bool: ... - class TubePitchPattern(java.lang.Enum['TEMAStandard.TubePitchPattern']): - TRIANGULAR_30: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... - TRIANGULAR_60: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... - SQUARE_90: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... - SQUARE_45: typing.ClassVar['TEMAStandard.TubePitchPattern'] = ... + + class TubePitchPattern(java.lang.Enum["TEMAStandard.TubePitchPattern"]): + TRIANGULAR_30: typing.ClassVar["TEMAStandard.TubePitchPattern"] = ... + TRIANGULAR_60: typing.ClassVar["TEMAStandard.TubePitchPattern"] = ... + SQUARE_90: typing.ClassVar["TEMAStandard.TubePitchPattern"] = ... + SQUARE_45: typing.ClassVar["TEMAStandard.TubePitchPattern"] = ... def getDescription(self) -> java.lang.String: ... def getHeatTransferFactor(self) -> float: ... def getLayoutAngle(self) -> int: ... def getMinPitchRatio(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TEMAStandard.TubePitchPattern': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TEMAStandard.TubePitchPattern": ... @staticmethod - def values() -> typing.MutableSequence['TEMAStandard.TubePitchPattern']: ... + def values() -> typing.MutableSequence["TEMAStandard.TubePitchPattern"]: ... class ThermalDesignCalculator: def __init__(self): ... def calculate(self) -> None: ... - def calculateZones(self, zoneDefinitionArray: typing.Union[typing.List['ThermalDesignCalculator.ZoneDefinition'], jpype.JArray]) -> typing.MutableSequence['ThermalDesignCalculator.ZoneResult']: ... + def calculateZones( + self, + zoneDefinitionArray: typing.Union[ + typing.List["ThermalDesignCalculator.ZoneDefinition"], jpype.JArray + ], + ) -> typing.MutableSequence["ThermalDesignCalculator.ZoneResult"]: ... def getOverallU(self) -> float: ... def getShellSideHTC(self) -> float: ... - def getShellSideMethod(self) -> 'ThermalDesignCalculator.ShellSideMethod': ... + def getShellSideMethod(self) -> "ThermalDesignCalculator.ShellSideMethod": ... def getShellSidePressureDrop(self) -> float: ... def getShellSidePressureDropBar(self) -> float: ... def getShellSideRe(self) -> float: ... @@ -845,8 +1273,17 @@ class ThermalDesignCalculator: def setHasSealing(self, boolean: bool) -> None: ... def setSealingPairs(self, int: int) -> None: ... def setShellIDm(self, double: float) -> None: ... - def setShellSideFluid(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... - def setShellSideMethod(self, shellSideMethod: 'ThermalDesignCalculator.ShellSideMethod') -> None: ... + def setShellSideFluid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... + def setShellSideMethod( + self, shellSideMethod: "ThermalDesignCalculator.ShellSideMethod" + ) -> None: ... def setShellToBaffleClearance(self, double: float) -> None: ... def setShellViscosityWall(self, double: float) -> None: ... def setTriangularPitch(self, boolean: bool) -> None: ... @@ -856,23 +1293,40 @@ class ThermalDesignCalculator: def setTubeODm(self, double: float) -> None: ... def setTubePasses(self, int: int) -> None: ... def setTubePitchm(self, double: float) -> None: ... - def setTubeSideFluid(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + def setTubeSideFluid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + ) -> None: ... def setTubeToBaffleClearance(self, double: float) -> None: ... def setTubeWallConductivity(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ShellSideMethod(java.lang.Enum['ThermalDesignCalculator.ShellSideMethod']): - KERN: typing.ClassVar['ThermalDesignCalculator.ShellSideMethod'] = ... - BELL_DELAWARE: typing.ClassVar['ThermalDesignCalculator.ShellSideMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ShellSideMethod(java.lang.Enum["ThermalDesignCalculator.ShellSideMethod"]): + KERN: typing.ClassVar["ThermalDesignCalculator.ShellSideMethod"] = ... + BELL_DELAWARE: typing.ClassVar["ThermalDesignCalculator.ShellSideMethod"] = ... + _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: ... + 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]) -> 'ThermalDesignCalculator.ShellSideMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ThermalDesignCalculator.ShellSideMethod": ... @staticmethod - def values() -> typing.MutableSequence['ThermalDesignCalculator.ShellSideMethod']: ... + def values() -> ( + typing.MutableSequence["ThermalDesignCalculator.ShellSideMethod"] + ): ... + class ZoneDefinition: zoneName: java.lang.String = ... dutyFraction: float = ... @@ -887,6 +1341,7 @@ class ThermalDesignCalculator: shellCp: float = ... shellConductivity: float = ... def __init__(self): ... + class ZoneResult: zoneName: java.lang.String = ... dutyFraction: float = ... @@ -901,71 +1356,161 @@ class TubeInsertModel(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, insertType: 'TubeInsertModel.InsertType'): ... - def applyEnhancement(self, double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + def __init__(self, insertType: "TubeInsertModel.InsertType"): ... + def applyEnhancement( + self, double: float, double2: float, double3: float, double4: float + ) -> typing.MutableSequence[float]: ... @staticmethod - def createCoiledWire(double: float, double2: float) -> 'TubeInsertModel': ... + def createCoiledWire(double: float, double2: float) -> "TubeInsertModel": ... @staticmethod - def createTwistedTape(double: float) -> 'TubeInsertModel': ... + def createTwistedTape(double: float) -> "TubeInsertModel": ... @staticmethod - def createWireMatrix(double: float) -> 'TubeInsertModel': ... - def getHeatTransferEnhancementRatio(self, double: float, double2: float) -> float: ... - def getInsertType(self) -> 'TubeInsertModel.InsertType': ... + def createWireMatrix(double: float) -> "TubeInsertModel": ... + def getHeatTransferEnhancementRatio( + self, double: float, double2: float + ) -> float: ... + def getInsertType(self) -> "TubeInsertModel.InsertType": ... def getMatrixDensity(self) -> float: ... - def getPerformanceEvaluationCriteria(self, double: float, double2: float) -> float: ... + def getPerformanceEvaluationCriteria( + self, double: float, double2: float + ) -> float: ... def getPressureDropPenaltyRatio(self, double: float) -> float: ... def getTwistRatio(self) -> float: ... def setHelixAngle(self, double: float) -> None: ... - def setInsertType(self, insertType: 'TubeInsertModel.InsertType') -> None: ... + def setInsertType(self, insertType: "TubeInsertModel.InsertType") -> None: ... def setMatrixDensity(self, double: float) -> None: ... def setRoughnessRatio(self, double: float) -> None: ... def setTapeThickness(self, double: float) -> None: ... def setTwistRatio(self, double: float) -> None: ... def setWireDiameter(self, double: float) -> None: ... def toJson(self, double: float, double2: float) -> java.lang.String: ... - def toMap(self, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... - class InsertType(java.lang.Enum['TubeInsertModel.InsertType']): - NONE: typing.ClassVar['TubeInsertModel.InsertType'] = ... - TWISTED_TAPE: typing.ClassVar['TubeInsertModel.InsertType'] = ... - WIRE_MATRIX: typing.ClassVar['TubeInsertModel.InsertType'] = ... - COILED_WIRE: typing.ClassVar['TubeInsertModel.InsertType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toMap( + self, double: float, double2: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + + class InsertType(java.lang.Enum["TubeInsertModel.InsertType"]): + NONE: typing.ClassVar["TubeInsertModel.InsertType"] = ... + TWISTED_TAPE: typing.ClassVar["TubeInsertModel.InsertType"] = ... + WIRE_MATRIX: typing.ClassVar["TubeInsertModel.InsertType"] = ... + COILED_WIRE: typing.ClassVar["TubeInsertModel.InsertType"] = ... + _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: ... + 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]) -> 'TubeInsertModel.InsertType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TubeInsertModel.InsertType": ... @staticmethod - def values() -> typing.MutableSequence['TubeInsertModel.InsertType']: ... + def values() -> typing.MutableSequence["TubeInsertModel.InsertType"]: ... class TwoPhasePressureDrop: @staticmethod - def calcAccelerationPressureDrop(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - @staticmethod - def calcFriedelAveragePressureDrop(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, int: int) -> float: ... - @staticmethod - def calcFriedelGradient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> float: ... - @staticmethod - def calcFriedelPressureDrop(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... - @staticmethod - def calcGravitationalGradient(double: float, double2: float, double3: float) -> float: ... - @staticmethod - def calcMullerSteinhagenHeckGradient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calcAccelerationPressureDrop( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... + @staticmethod + def calcFriedelAveragePressureDrop( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + int: int, + ) -> float: ... + @staticmethod + def calcFriedelGradient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> float: ... + @staticmethod + def calcFriedelPressureDrop( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> float: ... + @staticmethod + def calcGravitationalGradient( + double: float, double2: float, double3: float + ) -> float: ... + @staticmethod + def calcMullerSteinhagenHeckGradient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... class VibrationAnalysis: @staticmethod def calcAcousticFrequency(double: float, double2: float, int: int) -> float: ... @staticmethod - def calcCriticalVelocityConnors(double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> float: ... + def calcCriticalVelocityConnors( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + ) -> float: ... @staticmethod def calcEffectiveAcousticVelocity(double: float, double2: float) -> float: ... @staticmethod - def calcNaturalFrequency(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, string: typing.Union[java.lang.String, str]) -> float: ... - @staticmethod - def calcVortexSheddingFrequency(double: float, double2: float, double3: float) -> float: ... - @staticmethod - def performScreening(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, boolean: bool) -> 'VibrationAnalysis.VibrationResult': ... + def calcNaturalFrequency( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + string: typing.Union[java.lang.String, str], + ) -> float: ... + @staticmethod + def calcVortexSheddingFrequency( + double: float, double2: float, double3: float + ) -> float: ... + @staticmethod + def performScreening( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + double12: float, + boolean: bool, + ) -> "VibrationAnalysis.VibrationResult": ... + class VibrationResult: naturalFrequencyHz: float = ... vortexSheddingFrequencyHz: float = ... @@ -982,7 +1527,10 @@ class VibrationAnalysis: def getSummary(self) -> java.lang.String: ... class BAHXMechanicalDesign(HeatExchangerMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCoreHeightM(self) -> float: ... def getCoreLengthM(self) -> float: ... @@ -1003,14 +1551,17 @@ class BAHXMechanicalDesign(HeatExchangerMechanicalDesign): def getRequiredNozzleThicknessMm(self) -> float: ... def getRequiredPartingSheetThicknessMm(self) -> float: ... def isFatiguePassed(self) -> bool: ... - def setCoreMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCoreMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignCycles(self, int: int) -> None: ... def setDesignLifeYears(self, int: int) -> None: ... - def setHeaderMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHeaderMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNozzleODMm(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.heatexchanger")``. @@ -1018,9 +1569,13 @@ class __module_protocol__(Protocol): BellDelawareMethod: typing.Type[BellDelawareMethod] BoilingHeatTransfer: typing.Type[BoilingHeatTransfer] FoulingModel: typing.Type[FoulingModel] - HeatExchangerDesignFeasibilityReport: typing.Type[HeatExchangerDesignFeasibilityReport] + HeatExchangerDesignFeasibilityReport: typing.Type[ + HeatExchangerDesignFeasibilityReport + ] HeatExchangerMechanicalDesign: typing.Type[HeatExchangerMechanicalDesign] - HeatExchangerMechanicalDesignResponse: typing.Type[HeatExchangerMechanicalDesignResponse] + HeatExchangerMechanicalDesignResponse: typing.Type[ + HeatExchangerMechanicalDesignResponse + ] HeatExchangerSizingResult: typing.Type[HeatExchangerSizingResult] HeatExchangerType: typing.Type[HeatExchangerType] IncrementalZoneAnalysis: typing.Type[IncrementalZoneAnalysis] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/manifold/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/manifold/__init__.pyi index 50c66f8d..2700d15f 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/manifold/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/manifold/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,27 +12,34 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class ManifoldMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getBranchDiameter(self) -> float: ... - def getCalculator(self) -> 'ManifoldMechanicalDesignCalculator': ... + def getCalculator(self) -> "ManifoldMechanicalDesignCalculator": ... def getDesignStandardCode(self) -> java.lang.String: ... def getHeaderDiameter(self) -> float: ... - def getLocation(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... - def getManifoldType(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + def getLocation(self) -> "ManifoldMechanicalDesignCalculator.ManifoldLocation": ... + def getManifoldType(self) -> "ManifoldMechanicalDesignCalculator.ManifoldType": ... def getMaterialGrade(self) -> java.lang.String: ... def getNumberOfInlets(self) -> int: ... def getNumberOfOutlets(self) -> int: ... def getWaterDepth(self) -> float: ... def readDesignSpecifications(self) -> None: ... def setBranchDiameter(self, double: float) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHeaderDiameter(self, double: float) -> None: ... - def setLocation(self, manifoldLocation: 'ManifoldMechanicalDesignCalculator.ManifoldLocation') -> None: ... - def setManifoldType(self, manifoldType: 'ManifoldMechanicalDesignCalculator.ManifoldType') -> None: ... + def setLocation( + self, manifoldLocation: "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ) -> None: ... + def setManifoldType( + self, manifoldType: "ManifoldMechanicalDesignCalculator.ManifoldType" + ) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNumberOfInlets(self, int: int) -> None: ... def setNumberOfOutlets(self, int: int) -> None: ... @@ -78,8 +85,8 @@ class ManifoldMechanicalDesignCalculator(java.io.Serializable): def getHeaderWallThickness(self) -> float: ... def getJointEfficiency(self) -> float: ... def getLiquidFraction(self) -> float: ... - def getLocation(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... - def getManifoldType(self) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + def getLocation(self) -> "ManifoldMechanicalDesignCalculator.ManifoldLocation": ... + def getManifoldType(self) -> "ManifoldMechanicalDesignCalculator.ManifoldType": ... def getMassFlowRate(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... def getMinBranchWallThickness(self) -> float: ... @@ -119,8 +126,12 @@ class ManifoldMechanicalDesignCalculator(java.io.Serializable): def setHeaderWallThickness(self, double: float) -> None: ... def setJointEfficiency(self, double: float) -> None: ... def setLiquidFraction(self, double: float) -> None: ... - def setLocation(self, manifoldLocation: 'ManifoldMechanicalDesignCalculator.ManifoldLocation') -> None: ... - def setManifoldType(self, manifoldType: 'ManifoldMechanicalDesignCalculator.ManifoldType') -> None: ... + def setLocation( + self, manifoldLocation: "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ) -> None: ... + def setManifoldType( + self, manifoldType: "ManifoldMechanicalDesignCalculator.ManifoldType" + ) -> None: ... def setMassFlowRate(self, double: float) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMixtureDensity(self, double: float) -> None: ... @@ -136,43 +147,102 @@ class ManifoldMechanicalDesignCalculator(java.io.Serializable): def setWaterDepth(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ManifoldLocation(java.lang.Enum['ManifoldMechanicalDesignCalculator.ManifoldLocation']): - TOPSIDE: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... - ONSHORE: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... - SUBSEA: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldLocation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ManifoldLocation( + java.lang.Enum["ManifoldMechanicalDesignCalculator.ManifoldLocation"] + ): + TOPSIDE: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ] = ... + ONSHORE: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ] = ... + SUBSEA: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ] = ... + _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: ... + 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]) -> 'ManifoldMechanicalDesignCalculator.ManifoldLocation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ManifoldMechanicalDesignCalculator.ManifoldLocation": ... @staticmethod - def values() -> typing.MutableSequence['ManifoldMechanicalDesignCalculator.ManifoldLocation']: ... - class ManifoldType(java.lang.Enum['ManifoldMechanicalDesignCalculator.ManifoldType']): - PRODUCTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... - INJECTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... - TEST: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... - PIGGING: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... - DISTRIBUTION: typing.ClassVar['ManifoldMechanicalDesignCalculator.ManifoldType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence[ + "ManifoldMechanicalDesignCalculator.ManifoldLocation" + ] + ): ... + + class ManifoldType( + java.lang.Enum["ManifoldMechanicalDesignCalculator.ManifoldType"] + ): + PRODUCTION: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldType" + ] = ... + INJECTION: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldType" + ] = ... + TEST: typing.ClassVar["ManifoldMechanicalDesignCalculator.ManifoldType"] = ... + PIGGING: typing.ClassVar["ManifoldMechanicalDesignCalculator.ManifoldType"] = ( + ... + ) + DISTRIBUTION: typing.ClassVar[ + "ManifoldMechanicalDesignCalculator.ManifoldType" + ] = ... + _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: ... + 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]) -> 'ManifoldMechanicalDesignCalculator.ManifoldType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ManifoldMechanicalDesignCalculator.ManifoldType": ... @staticmethod - def values() -> typing.MutableSequence['ManifoldMechanicalDesignCalculator.ManifoldType']: ... + def values() -> ( + typing.MutableSequence["ManifoldMechanicalDesignCalculator.ManifoldType"] + ): ... class ManifoldMechanicalDesignDataSource(java.io.Serializable): def __init__(self): ... - def loadASMEParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str]) -> None: ... - def loadCompanyRequirements(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def loadDNVParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str]) -> None: ... - def loadIntoCalculator(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def loadStandardsParameters(self, manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - + def loadASMEParameters( + self, + manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, + string: typing.Union[java.lang.String, str], + ) -> None: ... + def loadCompanyRequirements( + self, + manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def loadDNVParameters( + self, + manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, + string: typing.Union[java.lang.String, str], + ) -> None: ... + def loadIntoCalculator( + self, + manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def loadStandardsParameters( + self, + manifoldMechanicalDesignCalculator: ManifoldMechanicalDesignCalculator, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.manifold")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/membrane/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/membrane/__init__.pyi index a321769c..f067564f 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/membrane/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/membrane/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class MembraneMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getHousingWallThickness(self) -> float: ... def getMembraneLifeMonths(self) -> int: ... @@ -28,7 +29,6 @@ class MembraneMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def setMembraneLifeMonths(self, int: int) -> None: ... def setModuleType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.membrane")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/mixer/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/mixer/__init__.pyi index b60fdb6c..c1762179 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/mixer/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/mixer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class MixerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateMixerCost(self) -> float: ... def calculateWeights(self) -> None: ... @@ -31,7 +32,9 @@ class MixerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getTotalPressureDrop(self) -> float: ... def readDesignSpecifications(self) -> None: ... def setBranchDiameter(self, double: float) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignVelocity(self, double: float) -> None: ... def setHeaderDiameter(self, double: float) -> None: ... def setHeaderLength(self, double: float) -> None: ... @@ -40,7 +43,6 @@ class MixerMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def setMixerType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.mixer")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/motor/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/motor/__init__.pyi index 4c00e10f..e8f2eaa0 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/motor/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/motor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,15 @@ import java.util import jneqsim.process.electricaldesign import typing - - class MotorMechanicalDesign(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... @typing.overload - def __init__(self, electricalDesign: jneqsim.process.electricaldesign.ElectricalDesign): ... + def __init__( + self, electricalDesign: jneqsim.process.electricaldesign.ElectricalDesign + ): ... def calcDesign(self) -> None: ... def getAltitudeM(self) -> float: ... def getAmbientTemperatureC(self) -> float: ... @@ -63,7 +63,6 @@ class MotorMechanicalDesign(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.motor")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi index 1a432801..2727d041 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/pipeline/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,8 +16,6 @@ import jneqsim.process.equipment.stream import jneqsim.process.mechanicaldesign import typing - - class AviffScreeningCalculator(java.io.Serializable): def __init__(self): ... def calcScreening(self) -> None: ... @@ -27,26 +25,43 @@ class AviffScreeningCalculator(java.io.Serializable): def getKineticEnergy(self) -> float: ... def getLikelihoodBand(self) -> java.lang.String: ... def getLikelihoodOfFailure(self) -> float: ... - def setFlowConditions(self, double: float, double2: float, double3: float) -> None: ... + def setFlowConditions( + self, double: float, double2: float, double3: float + ) -> None: ... def setPipeInternalDiameter(self, double: float) -> None: ... - def setSupportArrangement(self, supportArrangement: 'AviffScreeningCalculator.SupportArrangement') -> None: ... + def setSupportArrangement( + self, supportArrangement: "AviffScreeningCalculator.SupportArrangement" + ) -> None: ... def toJson(self) -> java.lang.String: ... - class SupportArrangement(java.lang.Enum['AviffScreeningCalculator.SupportArrangement']): - STIFF: typing.ClassVar['AviffScreeningCalculator.SupportArrangement'] = ... - MEDIUM: typing.ClassVar['AviffScreeningCalculator.SupportArrangement'] = ... - FLEXIBLE: typing.ClassVar['AviffScreeningCalculator.SupportArrangement'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SupportArrangement( + java.lang.Enum["AviffScreeningCalculator.SupportArrangement"] + ): + STIFF: typing.ClassVar["AviffScreeningCalculator.SupportArrangement"] = ... + MEDIUM: typing.ClassVar["AviffScreeningCalculator.SupportArrangement"] = ... + FLEXIBLE: typing.ClassVar["AviffScreeningCalculator.SupportArrangement"] = ... + _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: ... + 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]) -> 'AviffScreeningCalculator.SupportArrangement': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AviffScreeningCalculator.SupportArrangement": ... @staticmethod - def values() -> typing.MutableSequence['AviffScreeningCalculator.SupportArrangement']: ... + def values() -> ( + typing.MutableSequence["AviffScreeningCalculator.SupportArrangement"] + ): ... class HydrogenPipelineDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getDesignFactor(self) -> float: ... def getDesignResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -71,7 +86,11 @@ class HydrogenPipelineDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): class LineSizingLofCalculator(java.io.Serializable): def __init__(self): ... def calcScreening(self) -> None: ... - def fromStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> None: ... + def fromStream( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> None: ... def getErosionUtilization(self) -> float: ... def getErosionalVelocity(self) -> float: ... def getKineticEnergy(self) -> float: ... @@ -85,36 +104,74 @@ class LineSizingLofCalculator(java.io.Serializable): class NorsokP002LineSizingValidator(java.io.Serializable): def __init__(self): ... - def setErosionalVelocityConstant(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def setMaximumErosionalVelocityFraction(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def setMaximumGasVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def setMaximumLiquidVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def setMaximumPressureGradientPaPerM(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def setMinimumLiquidVelocityMPerS(self, double: float) -> 'NorsokP002LineSizingValidator': ... - def validate(self, pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface) -> 'NorsokP002LineSizingValidator.LineSizingResult': ... + def setErosionalVelocityConstant( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def setMaximumErosionalVelocityFraction( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def setMaximumGasVelocityMPerS( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def setMaximumLiquidVelocityMPerS( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def setMaximumPressureGradientPaPerM( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def setMinimumLiquidVelocityMPerS( + self, double: float + ) -> "NorsokP002LineSizingValidator": ... + def validate( + self, pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface + ) -> "NorsokP002LineSizingValidator.LineSizingResult": ... + class LineSizingResult(java.io.Serializable): - def __init__(self, serviceType: 'NorsokP002LineSizingValidator.ServiceType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool): ... + def __init__( + self, + serviceType: "NorsokP002LineSizingValidator.ServiceType", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + boolean2: bool, + boolean3: bool, + boolean4: bool, + ): ... def getAllowedErosionalVelocityMPerS(self) -> float: ... def getPressureGradientPaPerM(self) -> float: ... - def getServiceType(self) -> 'NorsokP002LineSizingValidator.ServiceType': ... + def getServiceType(self) -> "NorsokP002LineSizingValidator.ServiceType": ... def getVelocityMPerS(self) -> float: ... def isAcceptable(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ServiceType(java.lang.Enum['NorsokP002LineSizingValidator.ServiceType']): - GAS: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... - LIQUID: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... - TWO_PHASE: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... - UNKNOWN: typing.ClassVar['NorsokP002LineSizingValidator.ServiceType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ServiceType(java.lang.Enum["NorsokP002LineSizingValidator.ServiceType"]): + GAS: typing.ClassVar["NorsokP002LineSizingValidator.ServiceType"] = ... + LIQUID: typing.ClassVar["NorsokP002LineSizingValidator.ServiceType"] = ... + TWO_PHASE: typing.ClassVar["NorsokP002LineSizingValidator.ServiceType"] = ... + UNKNOWN: typing.ClassVar["NorsokP002LineSizingValidator.ServiceType"] = ... + _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: ... + 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]) -> 'NorsokP002LineSizingValidator.ServiceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NorsokP002LineSizingValidator.ServiceType": ... @staticmethod - def values() -> typing.MutableSequence['NorsokP002LineSizingValidator.ServiceType']: ... + def values() -> ( + typing.MutableSequence["NorsokP002LineSizingValidator.ServiceType"] + ): ... class PipeDesign: NPS5: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -190,25 +247,50 @@ class PipeDesign: @staticmethod def erosionalVelocity(double: float, double2: float) -> float: ... @staticmethod - def gaugeFromThickness(double: float, boolean: bool, string: typing.Union[java.lang.String, str]) -> float: ... + def gaugeFromThickness( + double: float, boolean: bool, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod - def nearestPipe(double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def nearestPipe( + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... @staticmethod - def thicknessFromGauge(double: float, boolean: bool, string: typing.Union[java.lang.String, str]) -> float: ... + def thicknessFromGauge( + double: float, boolean: bool, string: typing.Union[java.lang.String, str] + ) -> float: ... + class ScheduleData: nps: typing.MutableSequence[float] = ... dis: typing.MutableSequence[float] = ... dos: typing.MutableSequence[float] = ... ts: typing.MutableSequence[float] = ... - def __init__(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... + class WireScheduleData: gaugeNumbers: typing.MutableSequence[float] = ... thicknessInch: typing.MutableSequence[float] = ... thicknessM: typing.MutableSequence[float] = ... something: bool = ... - def __init__(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], boolean: bool): ... + def __init__( + 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], + boolean: bool, + ): ... class PipeMechanicalDesignCalculator(java.io.Serializable): ASME_B31_3: typing.ClassVar[java.lang.String] = ... @@ -221,27 +303,39 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def calculateAllowableSpanLength(self, double: float) -> float: ... def calculateCollapsePressure(self) -> float: ... - def calculateExpansionLoopLength(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculateExpansionLoopLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def calculateExternalPressure(self) -> float: ... def calculateHoopStress(self, double: float) -> float: ... - def calculateInsulationThickness(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateInsulationThickness( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calculateJointsAndWelds(self) -> None: ... def calculateLaborManhours(self) -> float: ... - def calculateLongitudinalStress(self, double: float, double2: float, boolean: bool) -> float: ... + def calculateLongitudinalStress( + self, double: float, double2: float, boolean: bool + ) -> float: ... def calculateMAOP(self) -> float: ... def calculateMinimumBendRadius(self) -> float: ... def calculateMinimumWallThickness(self) -> float: ... def calculateProjectCost(self) -> float: ... def calculatePropagationBucklingPressure(self) -> float: ... - def calculateRequiredConcreteThickness(self, double: float, double2: float) -> float: ... + def calculateRequiredConcreteThickness( + self, double: float, double2: float + ) -> float: ... def calculateSafetyMargin(self) -> float: ... def calculateSubmergedWeight(self, double: float) -> float: ... def calculateSupportSpacing(self, double: float) -> float: ... def calculateTestPressure(self) -> float: ... - def calculateVonMisesStress(self, double: float, double2: float, boolean: bool) -> float: ... + def calculateVonMisesStress( + self, double: float, double2: float, boolean: bool + ) -> float: ... def calculateWeightsAndAreas(self) -> None: ... def estimateFatigueLife(self, double: float, double2: float) -> float: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def generateDesignReport(self) -> java.lang.String: ... def getAmbientTemperature(self) -> float: ... def getAnchorSpacing(self) -> float: ... @@ -303,9 +397,17 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def getWeldJointEfficiency(self) -> float: ... def getYoungsModulus(self) -> float: ... def isDesignSafe(self) -> 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: ... + 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: ... def selectFlangeClass(self) -> int: ... def selectStandardPipeSize(self) -> java.lang.String: ... def setAmbientTemperature(self, double: float) -> None: ... @@ -319,33 +421,45 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): @typing.overload def setCorrosionAllowance(self, double: float) -> None: ... @typing.overload - def setCorrosionAllowance(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCorrosionAllowance( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignCode(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDesignFactor(self, double: float) -> None: ... @typing.overload def setDesignPressure(self, double: float) -> None: ... @typing.overload - def setDesignPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignTemperature(self, double: float) -> None: ... def setFabricationTolerance(self, double: float) -> None: ... def setFieldWeldCost(self, double: float) -> None: ... def setFlangeClass(self, int: int) -> None: ... - def setInstallationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInstallationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInsulationThickness(self, double: float) -> None: ... - def setInsulationType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInsulationType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setJointFactor(self, double: float) -> None: ... def setLocationClass(self, int: int) -> None: ... def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def setNominalWallThickness(self, double: float) -> None: ... @typing.overload - def setNominalWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setNominalWallThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNumberOfFlangePairs(self, int: int) -> None: ... def setNumberOfValves(self, int: int) -> None: ... @typing.overload def setOuterDiameter(self, double: float) -> None: ... @typing.overload - def setOuterDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setOuterDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPipelineLength(self, double: float) -> None: ... def setPoissonsRatio(self, double: float) -> None: ... def setSmts(self, double: float) -> None: ... @@ -362,18 +476,25 @@ class PipeMechanicalDesignCalculator(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCalculator(self) -> PipeMechanicalDesignCalculator: ... - def getCorrosionModel(self) -> jneqsim.process.corrosion.NorsokM506CorrosionRate: ... + def getCorrosionModel( + self, + ) -> jneqsim.process.corrosion.NorsokM506CorrosionRate: ... def getCorrosionRate(self) -> float: ... - def getDataSource(self) -> 'PipelineMechanicalDesignDataSource': ... + def getDataSource(self) -> "PipelineMechanicalDesignDataSource": ... def getDesignLifeYears(self) -> float: ... def getDesignStandardCode(self) -> java.lang.String: ... def getLocationClass(self) -> int: ... def getMAOP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... - def getMaterialSelector(self) -> jneqsim.process.corrosion.NorsokM001MaterialSelection: ... + def getMaterialSelector( + self, + ) -> jneqsim.process.corrosion.NorsokM001MaterialSelection: ... def getPipelineLength(self) -> float: ... def getRecommendedCorrosionAllowanceMm(self) -> float: ... def getRecommendedMaterial(self) -> java.lang.String: ... @@ -381,13 +502,19 @@ class PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def isDesignSafe(self) -> bool: ... def loadDesignFactorsFromDatabase(self) -> None: ... def loadFromDatabase(self) -> None: ... - def loadMaterialFromDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadMaterialFromDatabase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def readDesignSpecifications(self) -> None: ... def runCorrosionAnalysis(self) -> None: ... def setDesignLifeYears(self, double: float) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setGlycolWeightFraction(self, double: float) -> None: ... def setInhibitorEfficiency(self, double: float) -> None: ... def setLocationClass(self, int: int) -> None: ... @@ -397,13 +524,35 @@ class PipelineMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign class PipelineMechanicalDesignDataSource: def __init__(self): ... - def loadDesignFactors(self, string: typing.Union[java.lang.String, str]) -> 'PipelineMechanicalDesignDataSource.PipeDesignFactors': ... - def loadFromStandardsTable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], pipeDesignFactors: 'PipelineMechanicalDesignDataSource.PipeDesignFactors') -> None: ... + def loadDesignFactors( + self, string: typing.Union[java.lang.String, str] + ) -> "PipelineMechanicalDesignDataSource.PipeDesignFactors": ... + def loadFromStandardsTable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + pipeDesignFactors: "PipelineMechanicalDesignDataSource.PipeDesignFactors", + ) -> None: ... @typing.overload - def loadIntoCalculator(self, 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], pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator) -> None: ... + def loadIntoCalculator( + self, + 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], + pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator, + ) -> None: ... @typing.overload - def loadIntoCalculator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator) -> None: ... - def loadMaterialProperties(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['PipelineMechanicalDesignDataSource.PipeMaterialData']: ... + def loadIntoCalculator( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + pipeMechanicalDesignCalculator: PipeMechanicalDesignCalculator, + ) -> None: ... + def loadMaterialProperties( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional["PipelineMechanicalDesignDataSource.PipeMaterialData"]: ... + class PipeDesignFactors: designFactor: float = ... jointFactor: float = ... @@ -413,6 +562,7 @@ class PipelineMechanicalDesignDataSource: designCode: java.lang.String = ... fabricationTolerance: float = ... def __init__(self): ... + class PipeMaterialData: grade: java.lang.String = ... specificationNumber: java.lang.String = ... @@ -421,16 +571,41 @@ class PipelineMechanicalDesignDataSource: designFactor: float = ... jointFactor: float = ... temperatureDerating: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... class RiserMechanicalDesignDataSource: def __init__(self): ... - def getAvailableStandards(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def loadDesignParameters(self, string: typing.Union[java.lang.String, str]) -> 'RiserMechanicalDesignDataSource.RiserDesignParameters': ... - def loadFatigueParameters(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator') -> None: ... - def loadFromStandard(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def loadIntoCalculator(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def loadVIVParameters(self, riserMechanicalDesignCalculator: 'RiserMechanicalDesignCalculator') -> None: ... + def getAvailableStandards( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def loadDesignParameters( + self, string: typing.Union[java.lang.String, str] + ) -> "RiserMechanicalDesignDataSource.RiserDesignParameters": ... + def loadFatigueParameters( + self, riserMechanicalDesignCalculator: "RiserMechanicalDesignCalculator" + ) -> None: ... + def loadFromStandard( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... + def loadIntoCalculator( + self, + riserMechanicalDesignCalculator: "RiserMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def loadVIVParameters( + self, riserMechanicalDesignCalculator: "RiserMechanicalDesignCalculator" + ) -> None: ... + class RiserDesignParameters: designFactor: float = ... usageFactor: float = ... @@ -454,20 +629,51 @@ class RiserMechanicalDesignDataSource: class TopsidePipingMechanicalDesignDataSource: def __init__(self): ... - def loadAllowableStress(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def loadDesignParameters(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def loadAllowableStress( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def loadDesignParameters( + self, + topsidePipingMechanicalDesignCalculator: "TopsidePipingMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def loadFlangeRating(self, int: int, double: float) -> float: ... - def loadFromStandard(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def loadIntoCalculator(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def loadPipeScheduleThickness(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def loadVelocityLimits(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def loadVibrationParameters(self, topsidePipingMechanicalDesignCalculator: 'TopsidePipingMechanicalDesignCalculator', string: typing.Union[java.lang.String, str]) -> None: ... + def loadFromStandard( + self, + topsidePipingMechanicalDesignCalculator: "TopsidePipingMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def loadIntoCalculator( + self, + topsidePipingMechanicalDesignCalculator: "TopsidePipingMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def loadPipeScheduleThickness( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def loadVelocityLimits( + self, + topsidePipingMechanicalDesignCalculator: "TopsidePipingMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def loadVibrationParameters( + self, + topsidePipingMechanicalDesignCalculator: "TopsidePipingMechanicalDesignCalculator", + string: typing.Union[java.lang.String, str], + ) -> None: ... class RiserMechanicalDesign(PipelineMechanicalDesign): def __init__(self, riser: jneqsim.process.equipment.pipeline.Riser): ... def calcDesign(self) -> None: ... def getDesignLifeYears(self) -> float: ... - def getRiserCalculator(self) -> 'RiserMechanicalDesignCalculator': ... + def getRiserCalculator(self) -> "RiserMechanicalDesignCalculator": ... def isDesignAcceptable(self) -> bool: ... def readDesignSpecifications(self) -> None: ... def toJson(self) -> java.lang.String: ... @@ -568,7 +774,10 @@ class RiserMechanicalDesignCalculator(PipeMechanicalDesignCalculator): def toRiserMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class TopsidePipingMechanicalDesign(PipelineMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCalculatedSupportSpacing(self) -> float: ... def getInstallationTemperature(self) -> float: ... @@ -579,7 +788,7 @@ class TopsidePipingMechanicalDesign(PipelineMechanicalDesign): def getNumberOfValves(self) -> int: ... def getPipeSchedule(self) -> java.lang.String: ... def getServiceType(self) -> java.lang.String: ... - def getTopsideCalculator(self) -> 'TopsidePipingMechanicalDesignCalculator': ... + def getTopsideCalculator(self) -> "TopsidePipingMechanicalDesignCalculator": ... def readDesignSpecifications(self) -> None: ... def setInstallationTemperature(self, double: float) -> None: ... def setMinOperationTemperature(self, double: float) -> None: ... @@ -592,8 +801,12 @@ class TopsidePipingMechanicalDesign(PipelineMechanicalDesign): class TopsidePipingMechanicalDesignCalculator(PipeMechanicalDesignCalculator): def __init__(self): ... - def calculateAIVLikelihoodOfFailure(self, double: float, double2: float) -> float: ... - def calculateAcousticPowerLevel(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateAIVLikelihoodOfFailure( + self, double: float, double2: float + ) -> float: ... + def calculateAcousticPowerLevel( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def calculateActualVelocity(self) -> float: ... def calculateAllowableStress(self) -> float: ... def calculateCombinedStress(self) -> float: ... @@ -658,7 +871,6 @@ class TopsidePipingMechanicalDesignCalculator(PipeMechanicalDesignCalculator): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pipeline")``. @@ -674,5 +886,9 @@ class __module_protocol__(Protocol): RiserMechanicalDesignCalculator: typing.Type[RiserMechanicalDesignCalculator] RiserMechanicalDesignDataSource: typing.Type[RiserMechanicalDesignDataSource] TopsidePipingMechanicalDesign: typing.Type[TopsidePipingMechanicalDesign] - TopsidePipingMechanicalDesignCalculator: typing.Type[TopsidePipingMechanicalDesignCalculator] - TopsidePipingMechanicalDesignDataSource: typing.Type[TopsidePipingMechanicalDesignDataSource] + TopsidePipingMechanicalDesignCalculator: typing.Type[ + TopsidePipingMechanicalDesignCalculator + ] + TopsidePipingMechanicalDesignDataSource: typing.Type[ + TopsidePipingMechanicalDesignDataSource + ] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/powergeneration/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/powergeneration/__init__.pyi index aefcbc07..60d749d5 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/powergeneration/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/powergeneration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,13 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - -class PowerGenerationMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... +class PowerGenerationMechanicalDesign( + jneqsim.process.mechanicaldesign.MechanicalDesign +): + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getCo2EmissionTonnesHr(self) -> float: ... def getExhaustMassFlowKgS(self) -> float: ... @@ -32,7 +35,6 @@ class PowerGenerationMechanicalDesign(jneqsim.process.mechanicaldesign.Mechanica def setNoxPpm(self, double: float) -> None: ... def setWhruOutletTemperatureC(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.powergeneration")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/pump/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/pump/__init__.pyi index f52b5070..f7307ec1 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/pump/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.process.equipment.pump import jneqsim.process.mechanicaldesign import typing - - class PumpHydraulicsNpshCalculator(java.io.Serializable): def __init__(self): ... def calcHydraulics(self) -> None: ... @@ -24,12 +22,25 @@ class PumpHydraulicsNpshCalculator(java.io.Serializable): def getNpshAvailable(self) -> float: ... def getNpshMargin(self) -> float: ... def isCavitationRisk(self) -> bool: ... - def setDutyPoint(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setSuctionConditions(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def setDutyPoint( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setSuctionConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... def toJson(self) -> java.lang.String: ... class PumpMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def getAorHighFraction(self) -> float: ... @@ -52,10 +63,10 @@ class PumpMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getNumberOfStages(self) -> int: ... def getPorHighFraction(self) -> float: ... def getPorLowFraction(self) -> float: ... - def getPumpType(self) -> 'PumpMechanicalDesign.PumpType': ... + def getPumpType(self) -> "PumpMechanicalDesign.PumpType": ... def getRatedSpeed(self) -> float: ... - def getResponse(self) -> 'PumpMechanicalDesignResponse': ... - def getSealType(self) -> 'PumpMechanicalDesign.SealType': ... + def getResponse(self) -> "PumpMechanicalDesignResponse": ... + def getSealType(self) -> "PumpMechanicalDesign.SealType": ... def getShaftDiameter(self) -> float: ... def getSpecificSpeed(self) -> float: ... def getSuctionNozzleSize(self) -> float: ... @@ -69,50 +80,65 @@ class PumpMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def setNpshMarginFactor(self, double: float) -> None: ... def setPorHighFraction(self, double: float) -> None: ... def setPorLowFraction(self, double: float) -> None: ... - def setPumpType(self, pumpType: 'PumpMechanicalDesign.PumpType') -> None: ... - def setSealType(self, sealType: 'PumpMechanicalDesign.SealType') -> None: ... + def setPumpType(self, pumpType: "PumpMechanicalDesign.PumpType") -> None: ... + def setSealType(self, sealType: "PumpMechanicalDesign.SealType") -> None: ... def toJson(self) -> java.lang.String: ... - def validateDesign(self) -> 'PumpMechanicalDesign.PumpValidationResult': ... + def validateDesign(self) -> "PumpMechanicalDesign.PumpValidationResult": ... def validateNpshMargin(self, double: float, double2: float) -> bool: ... def validateOperatingInAOR(self, double: float, double2: float) -> bool: ... def validateOperatingInPOR(self, double: float, double2: float) -> bool: ... def validateSuctionSpecificSpeed(self, double: float) -> bool: ... - class PumpType(java.lang.Enum['PumpMechanicalDesign.PumpType']): - OVERHUNG: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... - BETWEEN_BEARINGS: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... - VERTICALLY_SUSPENDED: typing.ClassVar['PumpMechanicalDesign.PumpType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class PumpType(java.lang.Enum["PumpMechanicalDesign.PumpType"]): + OVERHUNG: typing.ClassVar["PumpMechanicalDesign.PumpType"] = ... + BETWEEN_BEARINGS: typing.ClassVar["PumpMechanicalDesign.PumpType"] = ... + VERTICALLY_SUSPENDED: typing.ClassVar["PumpMechanicalDesign.PumpType"] = ... + _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: ... + 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]) -> 'PumpMechanicalDesign.PumpType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PumpMechanicalDesign.PumpType": ... @staticmethod - def values() -> typing.MutableSequence['PumpMechanicalDesign.PumpType']: ... + def values() -> typing.MutableSequence["PumpMechanicalDesign.PumpType"]: ... + class PumpValidationResult: def __init__(self): ... def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... def getIssues(self) -> java.util.List[java.lang.String]: ... def isValid(self) -> bool: ... def setValid(self, boolean: bool) -> None: ... - class SealType(java.lang.Enum['PumpMechanicalDesign.SealType']): - PACKED: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... - SINGLE_MECHANICAL: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... - DOUBLE_MECHANICAL: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... - MAGNETIC_DRIVE: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... - CANNED_MOTOR: typing.ClassVar['PumpMechanicalDesign.SealType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class SealType(java.lang.Enum["PumpMechanicalDesign.SealType"]): + PACKED: typing.ClassVar["PumpMechanicalDesign.SealType"] = ... + SINGLE_MECHANICAL: typing.ClassVar["PumpMechanicalDesign.SealType"] = ... + DOUBLE_MECHANICAL: typing.ClassVar["PumpMechanicalDesign.SealType"] = ... + MAGNETIC_DRIVE: typing.ClassVar["PumpMechanicalDesign.SealType"] = ... + CANNED_MOTOR: typing.ClassVar["PumpMechanicalDesign.SealType"] = ... + _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: ... + 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]) -> 'PumpMechanicalDesign.SealType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PumpMechanicalDesign.SealType": ... @staticmethod - def values() -> typing.MutableSequence['PumpMechanicalDesign.SealType']: ... + def values() -> typing.MutableSequence["PumpMechanicalDesign.SealType"]: ... -class PumpMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): +class PumpMechanicalDesignResponse( + jneqsim.process.mechanicaldesign.MechanicalDesignResponse +): @typing.overload def __init__(self): ... @typing.overload @@ -155,10 +181,14 @@ class PumpMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDe def getSuctionNozzleSize(self) -> float: ... def getSuctionPressure(self) -> float: ... def getSuctionSpecificSpeed(self) -> float: ... - def populateFromPumpDesign(self, pumpMechanicalDesign: PumpMechanicalDesign) -> None: ... + def populateFromPumpDesign( + self, pumpMechanicalDesign: PumpMechanicalDesign + ) -> None: ... def setAorHighFraction(self, double: float) -> None: ... def setAorLowFraction(self, double: float) -> None: ... - def setApi610TypeCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setApi610TypeCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBepFlow(self, double: float) -> None: ... def setBepHead(self, double: float) -> None: ... def setCasingWallThickness(self, double: float) -> None: ... @@ -195,7 +225,6 @@ class PumpMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDe def setSuctionPressure(self, double: float) -> None: ... def setSuctionSpecificSpeed(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.pump")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/reactor/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/reactor/__init__.pyi index c55fa71e..98b0174e 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/reactor/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/reactor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class ReactorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getBedPressureDrop(self) -> float: ... def getCatalystMass(self) -> float: ... @@ -36,7 +37,6 @@ class ReactorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign) def setNumberOfBeds(self, int: int) -> None: ... def setReactorType(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.reactor")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi index 85027478..1f92c60f 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,12 +17,20 @@ import jneqsim.process.mechanicaldesign.separator.primaryseparation import jneqsim.process.mechanicaldesign.separator.sectiontype import typing - - class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def addSeparatorSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def applyDemistingInternal(self, demistingInternal: jneqsim.process.mechanicaldesign.separator.internals.DemistingInternal) -> None: ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... + def addSeparatorSection( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def applyDemistingInternal( + self, + demistingInternal: jneqsim.process.mechanicaldesign.separator.internals.DemistingInternal, + ) -> None: ... def calcDesign(self) -> None: ... def calcGasOutletNozzleID(self) -> float: ... def calcInletNozzleID(self) -> float: ... @@ -38,7 +46,9 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def calculateFoamAdjustedVolume(self, double: float) -> float: ... def calculateMinDesignTemperature(self) -> float: ... def calculateSoudersBrownVelocity(self, double: float, double2: float) -> float: ... - def calculateStokesVelocity(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateStokesVelocity( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def displayResults(self) -> None: ... def getBootVolume(self) -> float: ... def getDemisterPressureDrop(self) -> float: ... @@ -98,13 +108,21 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def getOilOutletNozzleID(self) -> float: ... def getOverallGasLiquidEfficiency(self) -> float: ... def getPerforatedPlateToWeir(self) -> float: ... - def getResponse(self) -> 'SeparatorMechanicalDesignResponse': ... + def getResponse(self) -> "SeparatorMechanicalDesignResponse": ... def getRetentionTime(self) -> float: ... @typing.overload - def getSeparatorSection(self, int: int) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + def getSeparatorSection( + self, int: int + ) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... @typing.overload - def getSeparatorSection(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... - def getSeparatorSections(self) -> java.util.ArrayList[jneqsim.process.equipment.separator.sectiontype.SeparatorSection]: ... + def getSeparatorSection( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.separator.sectiontype.SeparatorSection: ... + def getSeparatorSections( + self, + ) -> java.util.ArrayList[ + jneqsim.process.equipment.separator.sectiontype.SeparatorSection + ]: ... def getVolumeSafetyFactor(self) -> float: ... def getWaterInGasFraction(self) -> float: ... def getWaterInOilFraction(self) -> float: ... @@ -118,7 +136,14 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def loadProcessDesignParameters(self) -> None: ... def performSizingCalculations(self) -> None: ... def readDesignSpecifications(self) -> None: ... - def setAllLiquidLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setAllLiquidLevelsFromHeights( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def setBootVolume(self, double: float) -> None: ... def setDemisterPressureDrop(self, double: float) -> None: ... def setDemisterThickness(self, double: float) -> None: ... @@ -134,11 +159,39 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def setEffectiveLengthLiquid(self, double: float) -> None: ... def setFg(self, double: float) -> None: ... def setFoamAllowanceFactor(self, double: float) -> None: ... - def setFromDesignSpec(self, 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) -> None: ... + def setFromDesignSpec( + self, + 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, + ) -> None: ... @typing.overload - def setFromExistingDesign(self, double: float, double2: float, double3: float) -> None: ... + def setFromExistingDesign( + self, double: float, double2: float, double3: float + ) -> None: ... @typing.overload - def setFromExistingDesign(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> None: ... + def setFromExistingDesign( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> None: ... def setGasLiquidSurfaceTension(self, double: float) -> None: ... def setGasLoadFactor(self, double: float) -> None: ... def setGasOutletNozzleID(self, double: float) -> None: ... @@ -146,16 +199,23 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def setHILFraction(self, double: float) -> None: ... def setHLLFraction(self, double: float) -> None: ... def setInletDeviceKFactor(self, double: float) -> None: ... - def setInletDeviceType(self, inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType) -> None: ... + def setInletDeviceType( + self, + inletDeviceType: jneqsim.process.equipment.separator.entrainment.InletDeviceModel.InletDeviceType, + ) -> None: ... def setInletNozzleID(self, double: float) -> None: ... def setInletPipeDiameter(self, double: float) -> None: ... def setInletToGasDemister(self, double: float) -> None: ... def setInletToPerforatedPlate(self, double: float) -> None: ... - def setInterfaceLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setInterfaceLevelsFromHeights( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setLILFraction(self, double: float) -> None: ... def setLLLFraction(self, double: float) -> None: ... def setLLLLFraction(self, double: float) -> None: ... - def setLiquidLevelsFromHeights(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setLiquidLevelsFromHeights( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setMaxGasVelocityLimit(self, double: float) -> None: ... def setMaxLiquidVelocity(self, double: float) -> None: ... def setMinDesignTemperatureC(self, double: float) -> None: ... @@ -175,11 +235,14 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def setWeirLength(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def validateDesign(self) -> bool: ... - def validateDesignComprehensive(self) -> 'SeparatorMechanicalDesign.SeparatorValidationResult': ... + def validateDesignComprehensive( + self, + ) -> "SeparatorMechanicalDesign.SeparatorValidationResult": ... def validateDropletDiameter(self, double: float, boolean: bool) -> bool: ... def validateGasVelocity(self, double: float) -> bool: ... def validateLiquidVelocity(self, double: float) -> bool: ... def validateRetentionTime(self, double: float, boolean: bool) -> bool: ... + class SeparatorValidationResult: def __init__(self): ... def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -187,7 +250,9 @@ class SeparatorMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def isValid(self) -> bool: ... def setValid(self, boolean: bool) -> None: ... -class SeparatorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): +class SeparatorMechanicalDesignResponse( + jneqsim.process.mechanicaldesign.MechanicalDesignResponse +): @typing.overload def __init__(self): ... @typing.overload @@ -251,7 +316,9 @@ class SeparatorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mechani def getWaterOutletNozzleDiameter(self) -> float: ... def isDetailedEntrainmentUsed(self) -> bool: ... def isMistEliminatorFlooded(self) -> bool: ... - def populateFromSeparatorDesign(self, separatorMechanicalDesign: SeparatorMechanicalDesign) -> None: ... + def populateFromSeparatorDesign( + self, separatorMechanicalDesign: SeparatorMechanicalDesign + ) -> None: ... def setActualGasVelocity(self, double: float) -> None: ... def setAllowableGasVelocity(self, double: float) -> None: ... def setDemisterEfficiency(self, double: float) -> None: ... @@ -298,9 +365,14 @@ class SeparatorMechanicalDesignResponse(jneqsim.process.mechanicaldesign.Mechani def setWaterOutletNozzleDiameter(self, double: float) -> None: ... class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def checkConformity(self) -> jneqsim.process.mechanicaldesign.separator.conformity.ConformityReport: ... + def checkConformity( + self, + ) -> jneqsim.process.mechanicaldesign.separator.conformity.ConformityReport: ... def getConformityStandard(self) -> java.lang.String: ... def getCycloneDeckElevationM(self) -> float: ... def getCycloneDpToDrainPct(self) -> float: ... @@ -329,7 +401,9 @@ class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): def hasMeshPad(self) -> bool: ... def hasVanePack(self) -> bool: ... def readDesignSpecifications(self) -> None: ... - def setConformityRules(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConformityRules( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCycloneDeckElevationM(self, double: float) -> None: ... def setCycloneDpToDrainPct(self, double: float) -> None: ... def setCycloneEulerNumber(self, double: float) -> None: ... @@ -337,7 +411,9 @@ class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): @typing.overload def setDemistingCyclones(self, int: int, double: float, double2: float) -> None: ... @typing.overload - def setDemistingCyclones(self, int: int, double: float, double2: float, double3: float) -> None: ... + def setDemistingCyclones( + self, int: int, double: float, double2: float, double3: float + ) -> None: ... def setDesign(self) -> None: ... def setDrainPipeDiameterM(self, double: float) -> None: ... def setHhllElevationM(self, double: float) -> None: ... @@ -355,14 +431,19 @@ class GasScrubberMechanicalDesign(SeparatorMechanicalDesign): def setVanePack(self, double: float) -> None: ... def toTextReport(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator")``. GasScrubberMechanicalDesign: typing.Type[GasScrubberMechanicalDesign] SeparatorMechanicalDesign: typing.Type[SeparatorMechanicalDesign] SeparatorMechanicalDesignResponse: typing.Type[SeparatorMechanicalDesignResponse] - conformity: jneqsim.process.mechanicaldesign.separator.conformity.__module_protocol__ + conformity: ( + jneqsim.process.mechanicaldesign.separator.conformity.__module_protocol__ + ) internals: jneqsim.process.mechanicaldesign.separator.internals.__module_protocol__ - primaryseparation: jneqsim.process.mechanicaldesign.separator.primaryseparation.__module_protocol__ - sectiontype: jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ + primaryseparation: ( + jneqsim.process.mechanicaldesign.separator.primaryseparation.__module_protocol__ + ) + sectiontype: ( + jneqsim.process.mechanicaldesign.separator.sectiontype.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/conformity/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/conformity/__init__.pyi index 34d10218..34d446bd 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/conformity/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/conformity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,17 @@ import java.util import jneqsim.process.mechanicaldesign.separator import typing - - class ConformityReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def addResult(self, conformityResult: 'ConformityResult') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def addResult(self, conformityResult: "ConformityResult") -> None: ... def getEquipmentName(self) -> java.lang.String: ... def getFailCount(self) -> int: ... def getPassCount(self) -> int: ... - def getResults(self) -> java.util.List['ConformityResult']: ... + def getResults(self) -> java.util.List["ConformityResult"]: ... def getStandard(self) -> java.lang.String: ... def getWarningCount(self) -> int: ... def isConforming(self) -> bool: ... @@ -27,55 +29,86 @@ class ConformityReport(java.io.Serializable): def toTextReport(self) -> java.lang.String: ... class ConformityResult(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], double: float, double2: float, string4: typing.Union[java.lang.String, str], limitDirection: 'ConformityResult.LimitDirection', string5: typing.Union[java.lang.String, str]): ... + 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, + string4: typing.Union[java.lang.String, str], + limitDirection: "ConformityResult.LimitDirection", + string5: typing.Union[java.lang.String, str], + ): ... def getActualValue(self) -> float: ... def getCheckName(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... - def getDirection(self) -> 'ConformityResult.LimitDirection': ... + def getDirection(self) -> "ConformityResult.LimitDirection": ... def getInternalType(self) -> java.lang.String: ... def getLimitValue(self) -> float: ... def getStandard(self) -> java.lang.String: ... - def getStatus(self) -> 'ConformityResult.Status': ... + def getStatus(self) -> "ConformityResult.Status": ... def getUnit(self) -> java.lang.String: ... def isPassed(self) -> bool: ... @staticmethod - def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ConformityResult': ... + def notApplicable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ConformityResult": ... def toString(self) -> java.lang.String: ... - class LimitDirection(java.lang.Enum['ConformityResult.LimitDirection']): - MAXIMUM: typing.ClassVar['ConformityResult.LimitDirection'] = ... - MINIMUM: typing.ClassVar['ConformityResult.LimitDirection'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class LimitDirection(java.lang.Enum["ConformityResult.LimitDirection"]): + MAXIMUM: typing.ClassVar["ConformityResult.LimitDirection"] = ... + MINIMUM: typing.ClassVar["ConformityResult.LimitDirection"] = ... + _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: ... + 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]) -> 'ConformityResult.LimitDirection': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConformityResult.LimitDirection": ... @staticmethod - def values() -> typing.MutableSequence['ConformityResult.LimitDirection']: ... - class Status(java.lang.Enum['ConformityResult.Status']): - PASS: typing.ClassVar['ConformityResult.Status'] = ... - WARNING: typing.ClassVar['ConformityResult.Status'] = ... - FAIL: typing.ClassVar['ConformityResult.Status'] = ... - NOT_APPLICABLE: typing.ClassVar['ConformityResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["ConformityResult.LimitDirection"]: ... + + class Status(java.lang.Enum["ConformityResult.Status"]): + PASS: typing.ClassVar["ConformityResult.Status"] = ... + WARNING: typing.ClassVar["ConformityResult.Status"] = ... + FAIL: typing.ClassVar["ConformityResult.Status"] = ... + NOT_APPLICABLE: typing.ClassVar["ConformityResult.Status"] = ... + _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: ... + 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]) -> 'ConformityResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConformityResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['ConformityResult.Status']: ... + def values() -> typing.MutableSequence["ConformityResult.Status"]: ... class ConformityRuleSet(java.io.Serializable): @staticmethod - def create(string: typing.Union[java.lang.String, str]) -> 'ConformityRuleSet': ... - def evaluate(self, gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign) -> ConformityReport: ... - def getConstraintNames(self, gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign) -> java.util.List[java.lang.String]: ... + def create(string: typing.Union[java.lang.String, str]) -> "ConformityRuleSet": ... + def evaluate( + self, + gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign, + ) -> ConformityReport: ... + def getConstraintNames( + self, + gasScrubberMechanicalDesign: jneqsim.process.mechanicaldesign.separator.GasScrubberMechanicalDesign, + ) -> java.util.List[java.lang.String]: ... def getName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.conformity")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/internals/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/internals/__init__.pyi index 5dc81220..c9dc08be 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/internals/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/internals/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,16 +9,20 @@ import java.io import java.lang import typing - - class DemistingInternal(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def calcGasVelocity(self, double: float, double2: float, double3: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def calcGasVelocity( + self, double: float, double2: float, double3: float + ) -> float: ... def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... def calcPressureDrop(self, double: float, double2: float) -> float: ... def getArea(self) -> float: ... @@ -44,12 +48,15 @@ class DemistingInternalWithDrainage(DemistingInternal): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def calcLiquidCarryOver(self, double: float, double2: float) -> float: ... def getDrainageEfficiency(self) -> float: ... def setDrainageEfficiency(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.internals")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/primaryseparation/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/primaryseparation/__init__.pyi index 8239c703..aec4e2f3 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/primaryseparation/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/primaryseparation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.io import java.lang import typing - - class PrimarySeparation(java.io.Serializable): @typing.overload def __init__(self): ... @@ -53,7 +51,6 @@ class InletVaneWithMeshpad(PrimarySeparation): def getMeshPadKFactor(self) -> float: ... def setMeshPadKFactor(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.primaryseparation")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi index e976dd2c..6be9fe19 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/separator/sectiontype/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,15 @@ import java.lang import jneqsim.process.equipment.separator.sectiontype import typing - - class SepDesignSection: totalWeight: float = ... totalHeight: float = ... ANSIclass: int = ... nominalSize: java.lang.String = ... - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... def getANSIclass(self) -> int: ... def getNominalSize(self) -> java.lang.String: ... @@ -28,26 +29,40 @@ class SepDesignSection: def setTotalWeight(self, double: float) -> None: ... class DistillationTraySection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... class MecMeshSection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... class MechManwaySection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... class MechNozzleSection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... class MechVaneSection(SepDesignSection): - def __init__(self, separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection): ... + def __init__( + self, + separatorSection: jneqsim.process.equipment.separator.sectiontype.SeparatorSection, + ): ... def calcDesign(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.separator.sectiontype")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/splitter/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/splitter/__init__.pyi index 0d40f32a..c392eced 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/splitter/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/splitter/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class SplitterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateSplitterCost(self) -> float: ... def calculateWeights(self) -> None: ... @@ -32,7 +33,9 @@ class SplitterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def getTotalPressureDrop(self) -> float: ... def readDesignSpecifications(self) -> None: ... def setBranchDiameter(self, double: float) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDesignVelocity(self, double: float) -> None: ... def setHeaderDiameter(self, double: float) -> None: ... def setHeaderLength(self, double: float) -> None: ... @@ -41,7 +44,6 @@ class SplitterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign def setSplitterType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.splitter")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi index 1f4012ed..c7113fc6 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/subsea/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,74 +15,95 @@ import jneqsim.process.equipment.subsea import jneqsim.process.mechanicaldesign import typing - - class BarrierElement(java.io.Serializable): @typing.overload - def __init__(self, elementType: 'BarrierElement.ElementType', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + elementType: "BarrierElement.ElementType", + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, elementType: 'BarrierElement.ElementType', string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + elementType: "BarrierElement.ElementType", + string: typing.Union[java.lang.String, str], + double: float, + ): ... def getDepthMD(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... - def getStatus(self) -> 'BarrierElement.Status': ... - def getType(self) -> 'BarrierElement.ElementType': ... + def getStatus(self) -> "BarrierElement.Status": ... + def getType(self) -> "BarrierElement.ElementType": ... def isFunctional(self) -> bool: ... def isVerified(self) -> bool: ... def setDepthMD(self, double: float) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStatus(self, status: 'BarrierElement.Status') -> None: ... + def setStatus(self, status: "BarrierElement.Status") -> None: ... def setVerified(self, boolean: bool) -> None: ... def toString(self) -> java.lang.String: ... - class ElementType(java.lang.Enum['BarrierElement.ElementType']): - CASING: typing.ClassVar['BarrierElement.ElementType'] = ... - TUBING: typing.ClassVar['BarrierElement.ElementType'] = ... - PACKER: typing.ClassVar['BarrierElement.ElementType'] = ... - DHSV: typing.ClassVar['BarrierElement.ElementType'] = ... - ISV: typing.ClassVar['BarrierElement.ElementType'] = ... - WELLHEAD: typing.ClassVar['BarrierElement.ElementType'] = ... - XMAS_TREE: typing.ClassVar['BarrierElement.ElementType'] = ... - ASV: typing.ClassVar['BarrierElement.ElementType'] = ... - CEMENT: typing.ClassVar['BarrierElement.ElementType'] = ... - CASING_CEMENT: typing.ClassVar['BarrierElement.ElementType'] = ... - FORMATION: typing.ClassVar['BarrierElement.ElementType'] = ... - PLUG: typing.ClassVar['BarrierElement.ElementType'] = ... - WING_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... - SWAB_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... - CHEMICAL_INJECTION_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... - KILL_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... - GAUGE: typing.ClassVar['BarrierElement.ElementType'] = ... - ANNULUS_ACCESS_VALVE: typing.ClassVar['BarrierElement.ElementType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ElementType(java.lang.Enum["BarrierElement.ElementType"]): + CASING: typing.ClassVar["BarrierElement.ElementType"] = ... + TUBING: typing.ClassVar["BarrierElement.ElementType"] = ... + PACKER: typing.ClassVar["BarrierElement.ElementType"] = ... + DHSV: typing.ClassVar["BarrierElement.ElementType"] = ... + ISV: typing.ClassVar["BarrierElement.ElementType"] = ... + WELLHEAD: typing.ClassVar["BarrierElement.ElementType"] = ... + XMAS_TREE: typing.ClassVar["BarrierElement.ElementType"] = ... + ASV: typing.ClassVar["BarrierElement.ElementType"] = ... + CEMENT: typing.ClassVar["BarrierElement.ElementType"] = ... + CASING_CEMENT: typing.ClassVar["BarrierElement.ElementType"] = ... + FORMATION: typing.ClassVar["BarrierElement.ElementType"] = ... + PLUG: typing.ClassVar["BarrierElement.ElementType"] = ... + WING_VALVE: typing.ClassVar["BarrierElement.ElementType"] = ... + SWAB_VALVE: typing.ClassVar["BarrierElement.ElementType"] = ... + CHEMICAL_INJECTION_VALVE: typing.ClassVar["BarrierElement.ElementType"] = ... + KILL_VALVE: typing.ClassVar["BarrierElement.ElementType"] = ... + GAUGE: typing.ClassVar["BarrierElement.ElementType"] = ... + ANNULUS_ACCESS_VALVE: typing.ClassVar["BarrierElement.ElementType"] = ... + _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: ... + 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]) -> 'BarrierElement.ElementType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BarrierElement.ElementType": ... @staticmethod - def values() -> typing.MutableSequence['BarrierElement.ElementType']: ... - class Status(java.lang.Enum['BarrierElement.Status']): - INTACT: typing.ClassVar['BarrierElement.Status'] = ... - DEGRADED: typing.ClassVar['BarrierElement.Status'] = ... - FAILED: typing.ClassVar['BarrierElement.Status'] = ... - UNKNOWN: typing.ClassVar['BarrierElement.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["BarrierElement.ElementType"]: ... + + class Status(java.lang.Enum["BarrierElement.Status"]): + INTACT: typing.ClassVar["BarrierElement.Status"] = ... + DEGRADED: typing.ClassVar["BarrierElement.Status"] = ... + FAILED: typing.ClassVar["BarrierElement.Status"] = ... + UNKNOWN: typing.ClassVar["BarrierElement.Status"] = ... + _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: ... + 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]) -> 'BarrierElement.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BarrierElement.Status": ... @staticmethod - def values() -> typing.MutableSequence['BarrierElement.Status']: ... + def values() -> typing.MutableSequence["BarrierElement.Status"]: ... class BarrierEnvelope(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def addElement(self, barrierElement: BarrierElement) -> None: ... def getElementCount(self) -> int: ... def getElements(self) -> java.util.List[BarrierElement]: ... - def getElementsByType(self, elementType: BarrierElement.ElementType) -> java.util.List[BarrierElement]: ... + def getElementsByType( + self, elementType: BarrierElement.ElementType + ) -> java.util.List[BarrierElement]: ... def getFailedElements(self) -> java.util.List[BarrierElement]: ... def getFunctionalElementCount(self) -> int: ... def getName(self) -> java.lang.String: ... @@ -93,10 +114,15 @@ class BarrierEnvelope(java.io.Serializable): def toString(self) -> java.lang.String: ... class FlexiblePipeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCalculatedMBR(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... @@ -108,16 +134,23 @@ class FlexiblePipeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDe def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setRegion(self, region: "SubseaCostEstimator.Region") -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class PLEMMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... def getEquipmentCostUSD(self) -> float: ... @@ -127,16 +160,23 @@ class PLEMMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setRegion(self, region: "SubseaCostEstimator.Region") -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class PLETMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... def getEquipmentCostUSD(self) -> float: ... @@ -149,8 +189,12 @@ class PLETMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStructureMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setStructureMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -158,16 +202,24 @@ class SURFCostEstimator: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, int: int, double: float, region: 'SubseaCostEstimator.Region'): ... + def __init__( + self, int: int, double: float, region: "SubseaCostEstimator.Region" + ): ... def calculate(self) -> float: ... 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 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]: ... - def getDetailedEstimateResult(self) -> jneqsim.process.costestimation.CostEstimateResult: ... + def getDetailedEstimateResult( + self, + ) -> jneqsim.process.costestimation.CostEstimateResult: ... def getEstimateBasis(self) -> jneqsim.process.costestimation.CostEstimateBasis: ... 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 getLineItems( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getRiserCostUSD(self) -> float: ... def getSubseaCostUSD(self) -> float: ... def getTotalCostInCurrency(self, double: float) -> float: ... @@ -176,8 +228,12 @@ class SURFCostEstimator: def setCoatingPricePerM2(self, double: float) -> None: ... def setContingencyPct(self, double: float) -> None: ... def setDualBoreTrees(self, boolean: bool) -> None: ... - def setEstimateBasis(self, costEstimateBasis: jneqsim.process.costestimation.CostEstimateBasis) -> None: ... - def setEstimateClass(self, estimateClass: jneqsim.process.costestimation.EstimateClass) -> None: ... + def setEstimateBasis( + self, costEstimateBasis: jneqsim.process.costestimation.CostEstimateBasis + ) -> None: ... + def setEstimateClass( + self, estimateClass: jneqsim.process.costestimation.EstimateClass + ) -> None: ... def setExportPipelineDiameterInches(self, double: float) -> None: ... def setExportPipelineLengthKm(self, double: float) -> None: ... def setFlexibleRiser(self, boolean: bool) -> None: ... @@ -197,14 +253,18 @@ class SURFCostEstimator: def setNumberOfProductionRisers(self, int: int) -> None: ... def setNumberOfWells(self, int: int) -> None: ... def setPipelineDesignPressureBar(self, double: float) -> None: ... - def setPipelineInstallMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPipelineMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPipelineInstallMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setPipelineMaterialGrade( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPipelineWallThicknessMm(self, double: float) -> None: ... def setPlemHeaderSizeInches(self, double: float) -> None: ... def setPlemWeightTonnes(self, double: float) -> None: ... def setPletHubSizeInches(self, double: float) -> None: ... def setPletWeightTonnes(self, double: float) -> None: ... - def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setRegion(self, region: "SubseaCostEstimator.Region") -> None: ... def setRigidJumpers(self, boolean: bool) -> None: ... def setRiserDiameterInches(self, double: float) -> None: ... def setRiserHasBuoyancy(self, boolean: bool) -> None: ... @@ -230,13 +290,18 @@ class StidWellBarrierDataSource: def __init__(self, string: typing.Union[java.lang.String, str]): ... def getInstallationCode(self) -> java.lang.String: ... def getWellId(self) -> java.lang.String: ... - def read(self) -> 'WellBarrierSchematic': ... + def read(self) -> "WellBarrierSchematic": ... class SubseaBoosterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getBearingLife(self) -> float: ... def getCalculatedHead(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -249,8 +314,10 @@ class SubseaBoosterMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalD def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setRegion(self, region: "SubseaCostEstimator.Region") -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -258,64 +325,125 @@ class SubseaCostEstimator: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, region: 'SubseaCostEstimator.Region'): ... - def calculateBoosterCost(self, double: float, boolean: bool, double2: float, boolean2: bool) -> None: ... - def calculateFlexiblePipeCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... - def calculateJumperCost(self, double: float, double2: float, boolean: bool, double3: float) -> None: ... - def calculateManifoldCost(self, int: int, double: float, double2: float, boolean: bool) -> None: ... - def calculatePLETCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... - def calculateTreeCost(self, double: float, double2: float, double3: float, boolean: bool, boolean2: bool) -> None: ... - def calculateUmbilicalCost(self, double: float, int: int, int2: int, int3: int, double2: float, boolean: bool) -> None: ... - def generateBOM(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def generateBillOfMaterials(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def __init__(self, region: "SubseaCostEstimator.Region"): ... + def calculateBoosterCost( + self, double: float, boolean: bool, double2: float, boolean2: bool + ) -> None: ... + def calculateFlexiblePipeCost( + self, + double: float, + double2: float, + double3: float, + boolean: bool, + boolean2: bool, + ) -> None: ... + def calculateJumperCost( + self, double: float, double2: float, boolean: bool, double3: float + ) -> None: ... + def calculateManifoldCost( + self, int: int, double: float, double2: float, boolean: bool + ) -> None: ... + def calculatePLETCost( + self, + double: float, + double2: float, + double3: float, + boolean: bool, + boolean2: bool, + ) -> None: ... + def calculateTreeCost( + self, + double: float, + double2: float, + double3: float, + boolean: bool, + boolean2: bool, + ) -> None: ... + def calculateUmbilicalCost( + self, + double: float, + int: int, + int2: int, + int3: int, + double2: float, + boolean: bool, + ) -> None: ... + def generateBOM( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getCurrency(self) -> 'SubseaCostEstimator.Currency': ... + def getCurrency(self) -> "SubseaCostEstimator.Currency": ... def getEquipmentCost(self) -> float: ... def getFabricationCost(self) -> float: ... def getInstallationCost(self) -> float: ... - def getRegion(self) -> 'SubseaCostEstimator.Region': ... + def getRegion(self) -> "SubseaCostEstimator.Region": ... def getTotalCost(self) -> float: ... def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def setContingencyPct(self, double: float) -> None: ... - def setCurrency(self, currency: 'SubseaCostEstimator.Currency') -> None: ... - def setRegion(self, region: 'SubseaCostEstimator.Region') -> None: ... + def setCurrency(self, currency: "SubseaCostEstimator.Currency") -> None: ... + def setRegion(self, region: "SubseaCostEstimator.Region") -> None: ... def toJson(self) -> java.lang.String: ... - class Currency(java.lang.Enum['SubseaCostEstimator.Currency']): - USD: typing.ClassVar['SubseaCostEstimator.Currency'] = ... - EUR: typing.ClassVar['SubseaCostEstimator.Currency'] = ... - GBP: typing.ClassVar['SubseaCostEstimator.Currency'] = ... - NOK: typing.ClassVar['SubseaCostEstimator.Currency'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Currency(java.lang.Enum["SubseaCostEstimator.Currency"]): + USD: typing.ClassVar["SubseaCostEstimator.Currency"] = ... + EUR: typing.ClassVar["SubseaCostEstimator.Currency"] = ... + GBP: typing.ClassVar["SubseaCostEstimator.Currency"] = ... + NOK: typing.ClassVar["SubseaCostEstimator.Currency"] = ... + _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: ... + 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]) -> 'SubseaCostEstimator.Currency': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaCostEstimator.Currency": ... @staticmethod - def values() -> typing.MutableSequence['SubseaCostEstimator.Currency']: ... - class Region(java.lang.Enum['SubseaCostEstimator.Region']): - NORWAY: typing.ClassVar['SubseaCostEstimator.Region'] = ... - UK: typing.ClassVar['SubseaCostEstimator.Region'] = ... - GOM: typing.ClassVar['SubseaCostEstimator.Region'] = ... - BRAZIL: typing.ClassVar['SubseaCostEstimator.Region'] = ... - WEST_AFRICA: typing.ClassVar['SubseaCostEstimator.Region'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["SubseaCostEstimator.Currency"]: ... + + class Region(java.lang.Enum["SubseaCostEstimator.Region"]): + NORWAY: typing.ClassVar["SubseaCostEstimator.Region"] = ... + UK: typing.ClassVar["SubseaCostEstimator.Region"] = ... + GOM: typing.ClassVar["SubseaCostEstimator.Region"] = ... + BRAZIL: typing.ClassVar["SubseaCostEstimator.Region"] = ... + WEST_AFRICA: typing.ClassVar["SubseaCostEstimator.Region"] = ... + _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: ... + 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]) -> 'SubseaCostEstimator.Region': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SubseaCostEstimator.Region": ... @staticmethod - def values() -> typing.MutableSequence['SubseaCostEstimator.Region']: ... + def values() -> typing.MutableSequence["SubseaCostEstimator.Region"]: ... class SubseaJumperMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... def getEquipmentCostUSD(self) -> float: ... @@ -328,16 +456,23 @@ class SubseaJumperMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDe def getVesselDays(self) -> float: ... def isBendRadiusOK(self) -> bool: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class SubseaManifoldMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... def getEquipmentCostUSD(self) -> float: ... @@ -348,16 +483,23 @@ class SubseaManifoldMechanicalDesign(jneqsim.process.mechanicaldesign.Mechanical def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class SubseaTreeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getBoreWallThickness(self) -> float: ... def getConnectorCapacity(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -369,16 +511,23 @@ class SubseaTreeMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesi def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class UmbilicalMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getChemicalTubeWallThickness(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDesignStandardCode(self) -> java.lang.String: ... @@ -391,7 +540,9 @@ class UmbilicalMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesig def getTotalManhours(self) -> float: ... def getVesselDays(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -421,10 +572,37 @@ class WellCostEstimator: @typing.overload def __init__(self, region: SubseaCostEstimator.Region): ... @typing.overload - def calculateWellCost(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, double4: float, double5: float, boolean: bool, int: int) -> None: ... + def calculateWellCost( + 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, + double4: float, + double5: float, + boolean: bool, + int: int, + ) -> None: ... @typing.overload - def calculateWellCost(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, double4: float, double5: float, boolean: bool, int: int, wellLocationType: 'WellCostEstimator.WellLocationType') -> None: ... - def generateBillOfMaterials(self, subseaWell: jneqsim.process.equipment.subsea.SubseaWell) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def calculateWellCost( + 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, + double4: float, + double5: float, + boolean: bool, + int: int, + wellLocationType: "WellCostEstimator.WellLocationType", + ) -> None: ... + def generateBillOfMaterials( + self, subseaWell: jneqsim.process.equipment.subsea.SubseaWell + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getBitsCost(self) -> float: ... def getCasingMaterialCost(self) -> float: ... def getCementCost(self) -> float: ... @@ -439,26 +617,36 @@ class WellCostEstimator: def getRegionFactor(self) -> float: ... def getSafetyValveCost(self) -> float: ... def getTotalCost(self) -> float: ... - def getWellLocationType(self) -> 'WellCostEstimator.WellLocationType': ... + def getWellLocationType(self) -> "WellCostEstimator.WellLocationType": ... def getWellTestCost(self) -> float: ... def getWellheadCost(self) -> float: ... def setContingencyPct(self, double: float) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def setRigDayRate(self, double: float) -> None: ... - def setWellLocationType(self, wellLocationType: 'WellCostEstimator.WellLocationType') -> None: ... + def setWellLocationType( + self, wellLocationType: "WellCostEstimator.WellLocationType" + ) -> None: ... def toJson(self) -> java.lang.String: ... - class WellLocationType(java.lang.Enum['WellCostEstimator.WellLocationType']): - SUBSEA_WET_TREE: typing.ClassVar['WellCostEstimator.WellLocationType'] = ... - PLATFORM_DRY_TREE: typing.ClassVar['WellCostEstimator.WellLocationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class WellLocationType(java.lang.Enum["WellCostEstimator.WellLocationType"]): + SUBSEA_WET_TREE: typing.ClassVar["WellCostEstimator.WellLocationType"] = ... + PLATFORM_DRY_TREE: typing.ClassVar["WellCostEstimator.WellLocationType"] = ... + _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: ... + 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]) -> 'WellCostEstimator.WellLocationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellCostEstimator.WellLocationType": ... @staticmethod - def values() -> typing.MutableSequence['WellCostEstimator.WellLocationType']: ... + def values() -> ( + typing.MutableSequence["WellCostEstimator.WellLocationType"] + ): ... class WellDesignCalculator(java.io.Serializable): def __init__(self): ... @@ -466,8 +654,12 @@ class WellDesignCalculator(java.io.Serializable): def calculateCementVolumes(self) -> None: ... def calculateTubingDesign(self) -> None: ... def calculateWeights(self) -> None: ... - def getCasingGradeSMTS(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCasingGradeSMYS(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getCasingGradeSMTS( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCasingGradeSMYS( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getIntermediateCasingWallThickness(self) -> float: ... def getMinBurstDesignFactor(self) -> float: ... def getMinCollapseDesignFactor(self) -> float: ... @@ -503,76 +695,131 @@ class WellDesignCalculator(java.io.Serializable): def setReservoirTemperature(self, double: float) -> None: ... def setSurfaceCasing(self, double: float, double2: float) -> None: ... def setTrueVerticalDepth(self, double: float) -> None: ... - def setTubing(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTubing( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setWaterDepth(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class WellIntegrityScreening(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAnnulus(self, annulusReading: 'WellIntegrityScreening.AnnulusReading') -> None: ... - def getAnnulusResults(self) -> java.util.Map[java.lang.String, 'WellIntegrityScreening.AnnulusClassification']: ... + def addAnnulus( + self, annulusReading: "WellIntegrityScreening.AnnulusReading" + ) -> None: ... + def getAnnulusResults( + self, + ) -> java.util.Map[ + java.lang.String, "WellIntegrityScreening.AnnulusClassification" + ]: ... def getAppliedStandards(self) -> java.util.List[java.lang.String]: ... - def getDisposition(self) -> 'WellIntegrityScreening.IntegrityDisposition': ... + def getDisposition(self) -> "WellIntegrityScreening.IntegrityDisposition": ... def getFindings(self) -> java.util.List[java.lang.String]: ... def getWellId(self) -> java.lang.String: ... def getWellType(self) -> java.lang.String: ... - def screen(self) -> 'WellIntegrityScreening.IntegrityDisposition': ... - def setBarrierSchematic(self, wellBarrierSchematic: WellBarrierSchematic) -> None: ... + def screen(self) -> "WellIntegrityScreening.IntegrityDisposition": ... + def setBarrierSchematic( + self, wellBarrierSchematic: WellBarrierSchematic + ) -> None: ... def setWellType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class AnnulusClassification(java.lang.Enum['WellIntegrityScreening.AnnulusClassification']): - NORMAL: typing.ClassVar['WellIntegrityScreening.AnnulusClassification'] = ... - ELEVATED: typing.ClassVar['WellIntegrityScreening.AnnulusClassification'] = ... - SUSTAINED_CASING_PRESSURE: typing.ClassVar['WellIntegrityScreening.AnnulusClassification'] = ... - EXCEEDS_MAASP: typing.ClassVar['WellIntegrityScreening.AnnulusClassification'] = ... - UNKNOWN: typing.ClassVar['WellIntegrityScreening.AnnulusClassification'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AnnulusClassification( + java.lang.Enum["WellIntegrityScreening.AnnulusClassification"] + ): + NORMAL: typing.ClassVar["WellIntegrityScreening.AnnulusClassification"] = ... + ELEVATED: typing.ClassVar["WellIntegrityScreening.AnnulusClassification"] = ... + SUSTAINED_CASING_PRESSURE: typing.ClassVar[ + "WellIntegrityScreening.AnnulusClassification" + ] = ... + EXCEEDS_MAASP: typing.ClassVar[ + "WellIntegrityScreening.AnnulusClassification" + ] = ... + UNKNOWN: typing.ClassVar["WellIntegrityScreening.AnnulusClassification"] = ... + _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: ... + 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]) -> 'WellIntegrityScreening.AnnulusClassification': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellIntegrityScreening.AnnulusClassification": ... @staticmethod - def values() -> typing.MutableSequence['WellIntegrityScreening.AnnulusClassification']: ... + def values() -> ( + typing.MutableSequence["WellIntegrityScreening.AnnulusClassification"] + ): ... + class AnnulusReading(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getId(self) -> java.lang.String: ... def getMaaspBara(self) -> float: ... def getMeasuredPressureBara(self) -> float: ... def isBleedsToZero(self) -> bool: ... def isRebuildsAfterBleed(self) -> bool: ... def isThermalEffectsExcluded(self) -> bool: ... - def setBleedsToZero(self, boolean: bool) -> 'WellIntegrityScreening.AnnulusReading': ... - def setRebuildsAfterBleed(self, boolean: bool) -> 'WellIntegrityScreening.AnnulusReading': ... - def setThermalEffectsExcluded(self, boolean: bool) -> 'WellIntegrityScreening.AnnulusReading': ... - class IntegrityDisposition(java.lang.Enum['WellIntegrityScreening.IntegrityDisposition']): - ACCEPTABLE: typing.ClassVar['WellIntegrityScreening.IntegrityDisposition'] = ... - MONITOR: typing.ClassVar['WellIntegrityScreening.IntegrityDisposition'] = ... - INTERVENTION_REQUIRED: typing.ClassVar['WellIntegrityScreening.IntegrityDisposition'] = ... - INSUFFICIENT_DATA: typing.ClassVar['WellIntegrityScreening.IntegrityDisposition'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setBleedsToZero( + self, boolean: bool + ) -> "WellIntegrityScreening.AnnulusReading": ... + def setRebuildsAfterBleed( + self, boolean: bool + ) -> "WellIntegrityScreening.AnnulusReading": ... + def setThermalEffectsExcluded( + self, boolean: bool + ) -> "WellIntegrityScreening.AnnulusReading": ... + + class IntegrityDisposition( + java.lang.Enum["WellIntegrityScreening.IntegrityDisposition"] + ): + ACCEPTABLE: typing.ClassVar["WellIntegrityScreening.IntegrityDisposition"] = ... + MONITOR: typing.ClassVar["WellIntegrityScreening.IntegrityDisposition"] = ... + INTERVENTION_REQUIRED: typing.ClassVar[ + "WellIntegrityScreening.IntegrityDisposition" + ] = ... + INSUFFICIENT_DATA: typing.ClassVar[ + "WellIntegrityScreening.IntegrityDisposition" + ] = ... + _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: ... + 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]) -> 'WellIntegrityScreening.IntegrityDisposition': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellIntegrityScreening.IntegrityDisposition": ... @staticmethod - def values() -> typing.MutableSequence['WellIntegrityScreening.IntegrityDisposition']: ... + def values() -> ( + typing.MutableSequence["WellIntegrityScreening.IntegrityDisposition"] + ): ... class WellMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calculateCostEstimate(self) -> None: ... - def generateBillOfMaterials(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateBillOfMaterials( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getBarrierNotes(self) -> java.util.List[java.lang.String]: ... def getBarrierSchematic(self) -> WellBarrierSchematic: ... def getCalculator(self) -> WellDesignCalculator: ... def getCompletionCostUSD(self) -> float: ... def getCostBreakdown(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getCostEstimator(self) -> WellCostEstimator: ... - def getDataSource(self) -> 'WellMechanicalDesignDataSource': ... + def getDataSource(self) -> "WellMechanicalDesignDataSource": ... def getDesignStandardCode(self) -> java.lang.String: ... def getDrillingCostUSD(self) -> float: ... def getLoggingCostUSD(self) -> float: ... @@ -590,7 +837,9 @@ class WellMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getWellheadCostUSD(self) -> float: ... def isBarrierVerificationPassed(self) -> bool: ... def readDesignSpecifications(self) -> None: ... - def setDesignStandardCode(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDesignStandardCode( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRegion(self, region: SubseaCostEstimator.Region) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -602,8 +851,9 @@ class WellMechanicalDesignDataSource(java.io.Serializable): def loadApiRp90Parameters(self) -> java.util.Map[java.lang.String, float]: ... def loadBarrierRequirements(self) -> java.util.Map[java.lang.String, float]: ... def loadIso16530Requirements(self) -> java.util.Map[java.lang.String, float]: ... - def loadNorskD010DesignFactors(self, wellDesignCalculator: WellDesignCalculator, boolean: bool) -> None: ... - + def loadNorskD010DesignFactors( + self, wellDesignCalculator: WellDesignCalculator, boolean: bool + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.subsea")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/tank/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/tank/__init__.pyi index 676cd870..384a793e 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/tank/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/tank/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,10 +10,11 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class TankMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def displayResults(self) -> None: ... def getBottomThickness(self) -> float: ... @@ -24,48 +25,59 @@ class TankMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getNominalCapacity(self) -> float: ... def getNumberOfCourses(self) -> int: ... def getRoofThickness(self) -> float: ... - def getRoofType(self) -> 'TankMechanicalDesign.RoofType': ... + def getRoofType(self) -> "TankMechanicalDesign.RoofType": ... def getRoofWeight(self) -> float: ... def getShellThicknesses(self) -> typing.MutableSequence[float]: ... def getShellWeight(self) -> float: ... def getTankDiameter(self) -> float: ... def getTankHeight(self) -> float: ... - def getTankType(self) -> 'TankMechanicalDesign.TankType': ... + def getTankType(self) -> "TankMechanicalDesign.TankType": ... def getWorkingCapacity(self) -> float: ... def hasFloatingRoof(self) -> bool: ... - def setTankType(self, tankType: 'TankMechanicalDesign.TankType') -> None: ... - class RoofType(java.lang.Enum['TankMechanicalDesign.RoofType']): - SELF_SUPPORTING_CONE: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... - SUPPORTED_CONE: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... - DOME: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... - GEODESIC_DOME: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... - FLOATING: typing.ClassVar['TankMechanicalDesign.RoofType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setTankType(self, tankType: "TankMechanicalDesign.TankType") -> None: ... + + class RoofType(java.lang.Enum["TankMechanicalDesign.RoofType"]): + SELF_SUPPORTING_CONE: typing.ClassVar["TankMechanicalDesign.RoofType"] = ... + SUPPORTED_CONE: typing.ClassVar["TankMechanicalDesign.RoofType"] = ... + DOME: typing.ClassVar["TankMechanicalDesign.RoofType"] = ... + GEODESIC_DOME: typing.ClassVar["TankMechanicalDesign.RoofType"] = ... + FLOATING: typing.ClassVar["TankMechanicalDesign.RoofType"] = ... + _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: ... + 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]) -> 'TankMechanicalDesign.RoofType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TankMechanicalDesign.RoofType": ... @staticmethod - def values() -> typing.MutableSequence['TankMechanicalDesign.RoofType']: ... - class TankType(java.lang.Enum['TankMechanicalDesign.TankType']): - FIXED_CONE_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - FIXED_DOME_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - EXTERNAL_FLOATING_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - INTERNAL_FLOATING_ROOF: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - SPHERICAL: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - HORIZONTAL_CYLINDRICAL: typing.ClassVar['TankMechanicalDesign.TankType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["TankMechanicalDesign.RoofType"]: ... + + class TankType(java.lang.Enum["TankMechanicalDesign.TankType"]): + FIXED_CONE_ROOF: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + FIXED_DOME_ROOF: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + EXTERNAL_FLOATING_ROOF: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + INTERNAL_FLOATING_ROOF: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + SPHERICAL: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + HORIZONTAL_CYLINDRICAL: typing.ClassVar["TankMechanicalDesign.TankType"] = ... + _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: ... + 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]) -> 'TankMechanicalDesign.TankType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TankMechanicalDesign.TankType": ... @staticmethod - def values() -> typing.MutableSequence['TankMechanicalDesign.TankType']: ... - + def values() -> typing.MutableSequence["TankMechanicalDesign.TankType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.tank")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/thermowell/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/thermowell/__init__.pyi index e0d9902f..810d46b5 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/thermowell/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/thermowell/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.io import java.lang import typing - - class ThermowellDesignCalculator(java.io.Serializable): def __init__(self): ... def calcAll(self) -> None: ... @@ -29,14 +27,26 @@ class ThermowellDesignCalculator(java.io.Serializable): def isFrequencyCheckPassed(self) -> bool: ... def isHydrostaticCheckPassed(self) -> bool: ... def isStaticStressCheckPassed(self) -> bool: ... - def setCorrectionFactors(self, double: float, double2: float, double3: float) -> None: ... + def setCorrectionFactors( + self, double: float, double2: float, double3: float + ) -> None: ... def setFrequencyRatioLimit(self, double: float) -> None: ... - def setGeometry(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... - def setMaterial(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setProcessConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setGeometry( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... + def setMaterial( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setProcessConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.thermowell")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/torg/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/torg/__init__.pyi index f28b0210..64d239c6 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/torg/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/torg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,50 +15,119 @@ import jneqsim.process.mechanicaldesign.designstandards import jneqsim.process.processmodel import typing - - class TechnicalRequirementsDocument(java.io.Serializable): @staticmethod - def builder() -> 'TechnicalRequirementsDocument.Builder': ... - def getAllApplicableStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def builder() -> "TechnicalRequirementsDocument.Builder": ... + def getAllApplicableStandards( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ]: ... def getCompanyIdentifier(self) -> java.lang.String: ... - _getCustomParameter_1__T = typing.TypeVar('_getCustomParameter_1__T') # + _getCustomParameter_1__T = typing.TypeVar("_getCustomParameter_1__T") # @typing.overload - def getCustomParameter(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getCustomParameter( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... @typing.overload - def getCustomParameter(self, string: typing.Union[java.lang.String, str], class_: typing.Type[_getCustomParameter_1__T]) -> _getCustomParameter_1__T: ... + def getCustomParameter( + self, + string: typing.Union[java.lang.String, str], + class_: typing.Type[_getCustomParameter_1__T], + ) -> _getCustomParameter_1__T: ... def getDefinedCategories(self) -> java.util.Set[java.lang.String]: ... - def getEnvironmentalConditions(self) -> 'TechnicalRequirementsDocument.EnvironmentalConditions': ... + def getEnvironmentalConditions( + self, + ) -> "TechnicalRequirementsDocument.EnvironmentalConditions": ... def getIssueDate(self) -> java.lang.String: ... - def getMaterialSpecifications(self) -> 'TechnicalRequirementsDocument.MaterialSpecifications': ... + def getMaterialSpecifications( + self, + ) -> "TechnicalRequirementsDocument.MaterialSpecifications": ... def getProjectId(self) -> java.lang.String: ... def getProjectName(self) -> java.lang.String: ... def getRevision(self) -> java.lang.String: ... - def getSafetyFactors(self) -> 'TechnicalRequirementsDocument.SafetyFactors': ... - def getStandardsForCategory(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... - def getStandardsForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... - def hasStandardsForCategory(self, string: typing.Union[java.lang.String, str]) -> bool: ... + def getSafetyFactors(self) -> "TechnicalRequirementsDocument.SafetyFactors": ... + def getStandardsForCategory( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ]: ... + def getStandardsForEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ]: ... + def hasStandardsForCategory( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addEquipmentStandard(self, string: typing.Union[java.lang.String, str], standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> 'TechnicalRequirementsDocument.Builder': ... - def addStandard(self, string: typing.Union[java.lang.String, str], standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType) -> 'TechnicalRequirementsDocument.Builder': ... - def build(self) -> 'TechnicalRequirementsDocument': ... - def companyIdentifier(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... - def customParameter(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'TechnicalRequirementsDocument.Builder': ... + def addEquipmentStandard( + self, + string: typing.Union[java.lang.String, str], + standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, + ) -> "TechnicalRequirementsDocument.Builder": ... + def addStandard( + self, + string: typing.Union[java.lang.String, str], + standardType: jneqsim.process.mechanicaldesign.designstandards.StandardType, + ) -> "TechnicalRequirementsDocument.Builder": ... + def build(self) -> "TechnicalRequirementsDocument": ... + def companyIdentifier( + self, string: typing.Union[java.lang.String, str] + ) -> "TechnicalRequirementsDocument.Builder": ... + def customParameter( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "TechnicalRequirementsDocument.Builder": ... @typing.overload - def environmentalConditions(self, double: float, double2: float) -> 'TechnicalRequirementsDocument.Builder': ... + def environmentalConditions( + self, double: float, double2: float + ) -> "TechnicalRequirementsDocument.Builder": ... @typing.overload - def environmentalConditions(self, environmentalConditions: 'TechnicalRequirementsDocument.EnvironmentalConditions') -> 'TechnicalRequirementsDocument.Builder': ... - def issueDate(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... - def materialSpecifications(self, materialSpecifications: 'TechnicalRequirementsDocument.MaterialSpecifications') -> 'TechnicalRequirementsDocument.Builder': ... - def projectId(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... - def projectName(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... - def revision(self, string: typing.Union[java.lang.String, str]) -> 'TechnicalRequirementsDocument.Builder': ... - def safetyFactors(self, safetyFactors: 'TechnicalRequirementsDocument.SafetyFactors') -> 'TechnicalRequirementsDocument.Builder': ... - def setStandards(self, string: typing.Union[java.lang.String, str], list: java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]) -> 'TechnicalRequirementsDocument.Builder': ... + def environmentalConditions( + self, + environmentalConditions: "TechnicalRequirementsDocument.EnvironmentalConditions", + ) -> "TechnicalRequirementsDocument.Builder": ... + def issueDate( + self, string: typing.Union[java.lang.String, str] + ) -> "TechnicalRequirementsDocument.Builder": ... + def materialSpecifications( + self, + materialSpecifications: "TechnicalRequirementsDocument.MaterialSpecifications", + ) -> "TechnicalRequirementsDocument.Builder": ... + def projectId( + self, string: typing.Union[java.lang.String, str] + ) -> "TechnicalRequirementsDocument.Builder": ... + def projectName( + self, string: typing.Union[java.lang.String, str] + ) -> "TechnicalRequirementsDocument.Builder": ... + def revision( + self, string: typing.Union[java.lang.String, str] + ) -> "TechnicalRequirementsDocument.Builder": ... + def safetyFactors( + self, safetyFactors: "TechnicalRequirementsDocument.SafetyFactors" + ) -> "TechnicalRequirementsDocument.Builder": ... + def setStandards( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ], + ) -> "TechnicalRequirementsDocument.Builder": ... + class EnvironmentalConditions(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float, double5: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + double4: float, + double5: float, + string2: typing.Union[java.lang.String, str], + ): ... def getDesignSeawaterTemperature(self) -> float: ... def getLocation(self) -> java.lang.String: ... def getMaxAmbientTemperature(self) -> float: ... @@ -66,16 +135,33 @@ class TechnicalRequirementsDocument(java.io.Serializable): def getSeismicZone(self) -> java.lang.String: ... def getWaveHeight(self) -> float: ... def getWindSpeed(self) -> float: ... + class MaterialSpecifications(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + string3: typing.Union[java.lang.String, str], + ): ... def getDefaultPipeMaterial(self) -> java.lang.String: ... def getDefaultPlateMaterial(self) -> java.lang.String: ... def getMaterialStandard(self) -> java.lang.String: ... def getMaxDesignTemperature(self) -> float: ... def getMinDesignTemperature(self) -> float: ... def isImpactTestingRequired(self) -> bool: ... + class SafetyFactors(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getCorrosionAllowance(self) -> float: ... def getLoadFactor(self) -> float: ... def getPressureSafetyFactor(self) -> float: ... @@ -87,40 +173,89 @@ class TorgDataSource: def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... def hasProject(self, string: typing.Union[java.lang.String, str]) -> bool: ... def isWritable(self) -> bool: ... - def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - def store(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> bool: ... - def update(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> bool: ... + def loadByCompanyAndProject( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def store( + self, technicalRequirementsDocument: TechnicalRequirementsDocument + ) -> bool: ... + def update( + self, technicalRequirementsDocument: TechnicalRequirementsDocument + ) -> bool: ... class TorgManager: @typing.overload def __init__(self): ... @typing.overload def __init__(self, torgDataSource: TorgDataSource): ... - def addDataSource(self, torgDataSource: TorgDataSource) -> 'TorgManager': ... - def apply(self, technicalRequirementsDocument: TechnicalRequirementsDocument, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - def applyToEquipment(self, technicalRequirementsDocument: TechnicalRequirementsDocument, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def addDataSource(self, torgDataSource: TorgDataSource) -> "TorgManager": ... + def apply( + self, + technicalRequirementsDocument: TechnicalRequirementsDocument, + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> None: ... + def applyToEquipment( + self, + technicalRequirementsDocument: TechnicalRequirementsDocument, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def generateSummary(self) -> java.lang.String: ... def getActiveTorg(self) -> TechnicalRequirementsDocument: ... - def getAllAppliedStandards(self) -> java.util.Map[java.lang.String, java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]]: ... - def getAppliedStandards(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType]: ... + def getAllAppliedStandards( + self, + ) -> java.util.Map[ + java.lang.String, + java.util.List[jneqsim.process.mechanicaldesign.designstandards.StandardType], + ]: ... + def getAppliedStandards( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[ + jneqsim.process.mechanicaldesign.designstandards.StandardType + ]: ... def getAvailableProjects(self) -> java.util.List[java.lang.String]: ... @typing.overload - def load(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def load( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... @typing.overload - def load(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - def loadAndApply(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def load( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadAndApply( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> bool: ... def reset(self) -> None: ... - def setActiveTorg(self, technicalRequirementsDocument: TechnicalRequirementsDocument) -> None: ... + def setActiveTorg( + self, technicalRequirementsDocument: TechnicalRequirementsDocument + ) -> None: ... class CsvTorgDataSource(TorgDataSource): - def __init__(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]): ... + def __init__( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ): ... @staticmethod - def fromResource(string: typing.Union[java.lang.String, str]) -> 'CsvTorgDataSource': ... + def fromResource( + string: typing.Union[java.lang.String, str] + ) -> "CsvTorgDataSource": ... def getAvailableCompanies(self) -> java.util.List[java.lang.String]: ... def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... - def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByCompanyAndProject( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... class DatabaseTorgDataSource(TorgDataSource): @typing.overload @@ -129,9 +264,14 @@ class DatabaseTorgDataSource(TorgDataSource): def __init__(self, boolean: bool): ... def getAvailableCompanies(self) -> java.util.List[java.lang.String]: ... def getAvailableProjectIds(self) -> java.util.List[java.lang.String]: ... - def loadByCompanyAndProject(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - def loadByProjectId(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional[TechnicalRequirementsDocument]: ... - + def loadByCompanyAndProject( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... + def loadByProjectId( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional[TechnicalRequirementsDocument]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.torg")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi index 777242b5..5c795366 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/valve/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,12 +15,12 @@ import jneqsim.process.mechanicaldesign import jneqsim.process.mechanicaldesign.valve.choke import typing - - class ControlValveGasSizing_IEC_60534_2_1(java.io.Serializable): def __init__(self): ... def calcSizing(self) -> None: ... - def fromValve(self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve) -> None: ... + def fromValve( + self, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve + ) -> None: ... def getChokedPressureDropRatio(self) -> float: ... def getExpansionFactor(self) -> float: ... def getPressureDropRatio(self) -> float: ... @@ -28,8 +28,12 @@ class ControlValveGasSizing_IEC_60534_2_1(java.io.Serializable): def getRequiredKv(self) -> float: ... def getSpecificHeatRatioFactor(self) -> float: ... def isChoked(self) -> bool: ... - def setFlowConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setValveCoefficients(self, double: float, double2: float, double3: float) -> None: ... + def setFlowConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setValveCoefficients( + self, double: float, double2: float, double3: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class ControlValveNoise_IEC_60534_8_3(java.io.Serializable): @@ -42,17 +46,43 @@ class ControlValveNoise_IEC_60534_8_3(java.io.Serializable): def getSoundPowerInternal(self) -> float: ... def getSoundPressureLevelDbA(self) -> float: ... def getTransmissionLoss(self) -> float: ... - def setAcousticProperties(self, double: float, double2: float, double3: float) -> None: ... - def setFlowConditions(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def setAcousticProperties( + self, double: float, double2: float, double3: float + ) -> None: ... + def setFlowConditions( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... def setGeometry(self, double: float, double2: float, double3: float) -> None: ... def setValveCoefficients(self, double: float, double2: float) -> None: ... def toJson(self) -> java.lang.String: ... class ControlValveSizingInterface: - def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calcValveSize( + self, double: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getxT(self) -> float: ... def isAllowChoked(self) -> bool: ... def setAllowChoked(self, boolean: bool) -> None: ... @@ -63,7 +93,10 @@ class ValveCharacteristic(java.io.Serializable): def getOpeningFactor(self, double: float) -> float: ... class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def calcValveSize(self) -> java.util.Map[java.lang.String, typing.Any]: ... def displayResults(self) -> None: ... @@ -82,7 +115,7 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getNominalSizeInches(self) -> float: ... def getOutletPressure(self) -> float: ... def getRequiredActuatorThrust(self) -> float: ... - def getResponse(self) -> 'ValveMechanicalDesignResponse': ... + def getResponse(self) -> "ValveMechanicalDesignResponse": ... def getStemDiameter(self) -> float: ... def getValveCharacterization(self) -> java.lang.String: ... def getValveCharacterizationMethod(self) -> ValveCharacteristic: ... @@ -92,14 +125,24 @@ class ValveMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): def getValveType(self) -> java.lang.String: ... def getxT(self) -> float: ... def readDesignSpecifications(self) -> None: ... - def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setChokeDischargeCoefficient(self, double: float) -> None: ... - def setValveCharacterization(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setValveCharacterizationMethod(self, valveCharacteristic: ValveCharacteristic) -> None: ... - def setValveSizingStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setValveCharacterization( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setValveCharacterizationMethod( + self, valveCharacteristic: ValveCharacteristic + ) -> None: ... + def setValveSizingStandard( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toJson(self) -> java.lang.String: ... -class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalDesignResponse): +class ValveMechanicalDesignResponse( + jneqsim.process.mechanicaldesign.MechanicalDesignResponse +): @typing.overload def __init__(self): ... @typing.overload @@ -131,7 +174,9 @@ class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalD def getVolumetricFlowRate(self) -> float: ... def getXtFactor(self) -> float: ... def isChoked(self) -> bool: ... - def populateFromValveDesign(self, valveMechanicalDesign: ValveMechanicalDesign) -> None: ... + def populateFromValveDesign( + self, valveMechanicalDesign: ValveMechanicalDesign + ) -> None: ... def setActuatorType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setActuatorWeight(self, double: float) -> None: ... def setAnsiPressureClass(self, int: int) -> None: ... @@ -154,7 +199,9 @@ class ValveMechanicalDesignResponse(jneqsim.process.mechanicaldesign.MechanicalD def setPressureDrop(self, double: float) -> None: ... def setRequiredActuatorThrust(self, double: float) -> None: ... def setStemDiameter(self, double: float) -> None: ... - def setValveCharacteristic(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setValveCharacteristic( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setValveOpening(self, double: float) -> None: ... def setValveType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setVolumetricFlowRate(self, double: float) -> None: ... @@ -166,30 +213,85 @@ class ControlValveSizing(ControlValveSizingInterface, java.io.Serializable): @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... def calcKv(self, double: float) -> float: ... - def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateMolarFlow(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateOutletPressure(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calcValveSize( + self, double: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateMolarFlow( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateOutletPressure( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getValveMechanicalDesign(self) -> ValveMechanicalDesign: ... def getxT(self) -> float: ... def isAllowChoked(self) -> bool: ... def setAllowChoked(self, boolean: bool) -> None: ... def setxT(self, double: float) -> None: ... -class ControlValveSizing_MultiphaseChoke(ControlValveSizingInterface, java.io.Serializable): +class ControlValveSizing_MultiphaseChoke( + ControlValveSizingInterface, java.io.Serializable +): @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... @typing.overload - def __init__(self, valveMechanicalDesign: ValveMechanicalDesign, string: typing.Union[java.lang.String, str]): ... - def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def __init__( + self, + valveMechanicalDesign: ValveMechanicalDesign, + string: typing.Union[java.lang.String, str], + ): ... + def calcValveSize( + self, double: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getChokeDiameter(self) -> float: ... - def getChokeModel(self) -> jneqsim.process.mechanicaldesign.valve.choke.MultiphaseChokeFlow: ... - def getChokeReport(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> java.lang.String: ... + def getChokeModel( + self, + ) -> jneqsim.process.mechanicaldesign.valve.choke.MultiphaseChokeFlow: ... + def getChokeReport( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> java.lang.String: ... def getDischargeCoefficient(self) -> float: ... def getModelType(self) -> java.lang.String: ... def getxT(self) -> float: ... @@ -197,7 +299,9 @@ class ControlValveSizing_MultiphaseChoke(ControlValveSizingInterface, java.io.Se def isAllowLaminar(self) -> bool: ... def setAllowChoked(self, boolean: bool) -> None: ... def setAllowLaminar(self, boolean: bool) -> None: ... - def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setChokeModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDischargeCoefficient(self, double: float) -> None: ... def setxT(self, double: float) -> None: ... @@ -233,29 +337,59 @@ class QuickOpeningCharacteristic(ValveCharacteristic): def getOpeningFactor(self, double: float) -> float: ... class SafetyValveMechanicalDesign(ValveMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... - def calcGasOrificeAreaAPI520(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + def calcGasOrificeAreaAPI520( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> float: ... def getControllingOrificeArea(self) -> float: ... def getControllingScenarioName(self) -> java.lang.String: ... def getOrificeArea(self) -> float: ... - def getScenarioReports(self) -> java.util.Map[java.lang.String, 'SafetyValveMechanicalDesign.SafetyValveScenarioReport']: ... - def getScenarioResults(self) -> java.util.Map[java.lang.String, 'SafetyValveMechanicalDesign.SafetyValveScenarioResult']: ... + def getScenarioReports( + self, + ) -> java.util.Map[ + java.lang.String, "SafetyValveMechanicalDesign.SafetyValveScenarioReport" + ]: ... + def getScenarioResults( + self, + ) -> java.util.Map[ + java.lang.String, "SafetyValveMechanicalDesign.SafetyValveScenarioResult" + ]: ... + class SafetyValveScenarioReport: def getBackPressureBar(self) -> float: ... - def getFluidService(self) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... + def getFluidService( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... def getOverpressureMarginBar(self) -> float: ... def getRelievingPressureBar(self) -> float: ... def getRequiredOrificeArea(self) -> float: ... def getScenarioName(self) -> java.lang.String: ... def getSetPressureBar(self) -> float: ... - def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def getSizingStandard( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... def isActiveScenario(self) -> bool: ... def isControllingScenario(self) -> bool: ... + class SafetyValveScenarioResult: def getBackPressureBar(self) -> float: ... def getBackPressurePa(self) -> float: ... - def getFluidService(self) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... + def getFluidService( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.FluidService: ... def getOverpressureMarginBar(self) -> float: ... def getOverpressureMarginPa(self) -> float: ... def getRelievingPressureBar(self) -> float: ... @@ -264,7 +398,9 @@ class SafetyValveMechanicalDesign(ValveMechanicalDesign): def getScenarioName(self) -> java.lang.String: ... def getSetPressureBar(self) -> float: ... def getSetPressurePa(self) -> float: ... - def getSizingStandard(self) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... + def getSizingStandard( + self, + ) -> jneqsim.process.equipment.valve.SafetyValve.SizingStandard: ... def isActiveScenario(self) -> bool: ... def isControllingScenario(self) -> bool: ... @@ -273,34 +409,147 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): def __init__(self): ... @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... - def calcValveSize(self, double: float) -> java.util.Map[java.lang.String, typing.Any]: ... - @typing.overload - def calculateFlowRateFromKvAndValveOpeningGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... - @typing.overload - def calculateFlowRateFromKvAndValveOpeningGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateFlowRateFromValveOpeningGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateFlowRateFromValveOpeningLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... - @typing.overload - def calculateFlowRateFromValveOpeningLiquid(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRateGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, boolean: bool) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRateGas(self, double: float, double2: float, double3: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRateLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRateLiquid(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def findOutletPressureForFixedKvGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... - @typing.overload - def findOutletPressureForFixedKvGas(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def findOutletPressureForFixedKvLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool, boolean2: bool) -> float: ... - @typing.overload - def findOutletPressureForFixedKvLiquid(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calcValveSize( + self, double: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... + @typing.overload + def calculateFlowRateFromKvAndValveOpeningGas( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + ) -> float: ... + @typing.overload + def calculateFlowRateFromKvAndValveOpeningGas( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateFlowRateFromValveOpeningGas( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpeningLiquid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpeningLiquid( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateGas( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + boolean: bool, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateGas( + self, + double: float, + double2: float, + double3: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateLiquid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRateLiquid( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKvGas( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKvGas( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKvLiquid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean: bool, + boolean2: bool, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKvLiquid( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getD(self) -> float: ... def getD1(self) -> float: ... def getD2(self) -> float: ... @@ -318,21 +567,69 @@ class ControlValveSizing_IEC_60534(ControlValveSizing): def setFL(self, double: float) -> None: ... def setFd(self, double: float) -> None: ... def setFullOutput(self, boolean: bool) -> None: ... - def sizeControlValve(self, fluidType: 'ControlValveSizing_IEC_60534.FluidType', 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, boolean: bool, boolean2: bool, boolean3: bool, double15: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def sizeControlValveGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def sizeControlValveLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> java.util.Map[java.lang.String, typing.Any]: ... - class FluidType(java.lang.Enum['ControlValveSizing_IEC_60534.FluidType']): - LIQUID: typing.ClassVar['ControlValveSizing_IEC_60534.FluidType'] = ... - GAS: typing.ClassVar['ControlValveSizing_IEC_60534.FluidType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def sizeControlValve( + self, + fluidType: "ControlValveSizing_IEC_60534.FluidType", + 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, + boolean: bool, + boolean2: bool, + boolean3: bool, + double15: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveGas( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveLiquid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + + class FluidType(java.lang.Enum["ControlValveSizing_IEC_60534.FluidType"]): + LIQUID: typing.ClassVar["ControlValveSizing_IEC_60534.FluidType"] = ... + GAS: typing.ClassVar["ControlValveSizing_IEC_60534.FluidType"] = ... + _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: ... + 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]) -> 'ControlValveSizing_IEC_60534.FluidType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControlValveSizing_IEC_60534.FluidType": ... @staticmethod - def values() -> typing.MutableSequence['ControlValveSizing_IEC_60534.FluidType']: ... + def values() -> ( + typing.MutableSequence["ControlValveSizing_IEC_60534.FluidType"] + ): ... class ControlValveSizing_simple(ControlValveSizing): @typing.overload @@ -341,19 +638,61 @@ class ControlValveSizing_simple(ControlValveSizing): def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... def calcKv(self, double: float) -> float: ... @typing.overload - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateFlowRateFromValveOpening(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateMolarFlow(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - def calculateOutletPressure(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, double3: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def findOutletPressureForFixedKv(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateFlowRateFromValveOpening( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateMolarFlow( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + def calculateOutletPressure( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + double3: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def findOutletPressureForFixedKv( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def getCd(self) -> float: ... def setCd(self, double: float) -> None: ... @@ -362,22 +701,64 @@ class ControlValveSizing_IEC_60534_full(ControlValveSizing_IEC_60534): def __init__(self): ... @typing.overload def __init__(self, valveMechanicalDesign: ValveMechanicalDesign): ... - def calculateFlowRateFromValveOpening(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface) -> float: ... - @typing.overload - def calculateValveOpeningFromFlowRate(self, double: float, double2: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, double3: float) -> float: ... - def findOutletPressureForFixedKv(self, double: float, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> float: ... + def calculateFlowRateFromValveOpening( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... + @typing.overload + def calculateValveOpeningFromFlowRate( + self, + double: float, + double2: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + double3: float, + ) -> float: ... + def findOutletPressureForFixedKv( + self, + double: float, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> float: ... def isFullTrim(self) -> bool: ... def setFullTrim(self, boolean: bool) -> None: ... - def sizeControlValveGas(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def sizeControlValveLiquid(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> java.util.Map[java.lang.String, typing.Any]: ... - + def sizeControlValveGas( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def sizeControlValveLiquid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.valve")``. - ControlValveGasSizing_IEC_60534_2_1: typing.Type[ControlValveGasSizing_IEC_60534_2_1] + ControlValveGasSizing_IEC_60534_2_1: typing.Type[ + ControlValveGasSizing_IEC_60534_2_1 + ] ControlValveNoise_IEC_60534_8_3: typing.Type[ControlValveNoise_IEC_60534_8_3] ControlValveSizing: typing.Type[ControlValveSizing] ControlValveSizingInterface: typing.Type[ControlValveSizingInterface] diff --git a/src/jneqsim-stubs/process/mechanicaldesign/valve/choke/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/valve/choke/__init__.pyi index 4ba40bb8..9b0f0b5d 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/valve/choke/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/valve/choke/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,20 +11,44 @@ import java.util import jneqsim.thermo.system import typing - - class MultiphaseChokeFlow(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... - def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateGLR(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... - def calculateGasQuality(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... - def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateSizingResults(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> java.util.Map[java.lang.String, typing.Any]: ... - def determineFlowRegime(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> 'MultiphaseChokeFlow.FlowRegime': ... + def calculateCriticalPressureRatio( + self, double: float, double2: float + ) -> float: ... + def calculateDownstreamPressure( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateGLR( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... + def calculateGasQuality( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... + def calculateMassFlowRate( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateSizingResults( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def determineFlowRegime( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> "MultiphaseChokeFlow.FlowRegime": ... def getChokeArea(self) -> float: ... def getChokeDiameter(self) -> float: ... def getDischargeCoefficient(self) -> float: ... @@ -34,53 +58,77 @@ class MultiphaseChokeFlow(java.io.Serializable): @typing.overload def setChokeDiameter(self, double: float) -> None: ... @typing.overload - def setChokeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setChokeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDischargeCoefficient(self, double: float) -> None: ... def setPolytropicExponent(self, double: float) -> None: ... def setUpstreamDiameter(self, double: float) -> None: ... - class FlowRegime(java.lang.Enum['MultiphaseChokeFlow.FlowRegime']): - CRITICAL: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... - SUBCRITICAL: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... - UNKNOWN: typing.ClassVar['MultiphaseChokeFlow.FlowRegime'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FlowRegime(java.lang.Enum["MultiphaseChokeFlow.FlowRegime"]): + CRITICAL: typing.ClassVar["MultiphaseChokeFlow.FlowRegime"] = ... + SUBCRITICAL: typing.ClassVar["MultiphaseChokeFlow.FlowRegime"] = ... + UNKNOWN: typing.ClassVar["MultiphaseChokeFlow.FlowRegime"] = ... + _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: ... + 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]) -> 'MultiphaseChokeFlow.FlowRegime': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiphaseChokeFlow.FlowRegime": ... @staticmethod - def values() -> typing.MutableSequence['MultiphaseChokeFlow.FlowRegime']: ... + def values() -> typing.MutableSequence["MultiphaseChokeFlow.FlowRegime"]: ... class MultiphaseChokeFlowFactory: @staticmethod def createDefaultModel() -> MultiphaseChokeFlow: ... @typing.overload @staticmethod - def createModel(string: typing.Union[java.lang.String, str]) -> MultiphaseChokeFlow: ... + def createModel( + string: typing.Union[java.lang.String, str] + ) -> MultiphaseChokeFlow: ... @typing.overload @staticmethod - def createModel(modelType: 'MultiphaseChokeFlowFactory.ModelType') -> MultiphaseChokeFlow: ... + def createModel( + modelType: "MultiphaseChokeFlowFactory.ModelType", + ) -> MultiphaseChokeFlow: ... @typing.overload @staticmethod - def createModel(modelType: 'MultiphaseChokeFlowFactory.ModelType', double: float) -> MultiphaseChokeFlow: ... + def createModel( + modelType: "MultiphaseChokeFlowFactory.ModelType", double: float + ) -> MultiphaseChokeFlow: ... @staticmethod - def recommendModel(double: float, boolean: bool) -> 'MultiphaseChokeFlowFactory.ModelType': ... - class ModelType(java.lang.Enum['MultiphaseChokeFlowFactory.ModelType']): - SACHDEVA: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... - GILBERT: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... - BAXENDELL: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... - ROS: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... - ACHONG: typing.ClassVar['MultiphaseChokeFlowFactory.ModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def recommendModel( + double: float, boolean: bool + ) -> "MultiphaseChokeFlowFactory.ModelType": ... + + class ModelType(java.lang.Enum["MultiphaseChokeFlowFactory.ModelType"]): + SACHDEVA: typing.ClassVar["MultiphaseChokeFlowFactory.ModelType"] = ... + GILBERT: typing.ClassVar["MultiphaseChokeFlowFactory.ModelType"] = ... + BAXENDELL: typing.ClassVar["MultiphaseChokeFlowFactory.ModelType"] = ... + ROS: typing.ClassVar["MultiphaseChokeFlowFactory.ModelType"] = ... + ACHONG: typing.ClassVar["MultiphaseChokeFlowFactory.ModelType"] = ... + _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: ... + 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]) -> 'MultiphaseChokeFlowFactory.ModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiphaseChokeFlowFactory.ModelType": ... @staticmethod - def values() -> typing.MutableSequence['MultiphaseChokeFlowFactory.ModelType']: ... + def values() -> ( + typing.MutableSequence["MultiphaseChokeFlowFactory.ModelType"] + ): ... class GilbertChokeFlow(MultiphaseChokeFlow): @typing.overload @@ -88,48 +136,86 @@ class GilbertChokeFlow(MultiphaseChokeFlow): @typing.overload def __init__(self, double: float): ... @typing.overload - def __init__(self, correlationType: 'GilbertChokeFlow.CorrelationType'): ... - def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... - def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateRequiredChokeDiameter(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def __init__(self, correlationType: "GilbertChokeFlow.CorrelationType"): ... + def calculateCriticalPressureRatio( + self, double: float, double2: float + ) -> float: ... + def calculateDownstreamPressure( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateMassFlowRate( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateRequiredChokeDiameter( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def getCorrelationConstant(self) -> float: ... - def getCorrelationType(self) -> 'GilbertChokeFlow.CorrelationType': ... + def getCorrelationType(self) -> "GilbertChokeFlow.CorrelationType": ... def getDiameterExponent(self) -> float: ... def getGlrExponent(self) -> float: ... def getModelName(self) -> java.lang.String: ... def setCorrelationConstant(self, double: float) -> None: ... - def setCorrelationType(self, correlationType: 'GilbertChokeFlow.CorrelationType') -> None: ... + def setCorrelationType( + self, correlationType: "GilbertChokeFlow.CorrelationType" + ) -> None: ... def setDiameterExponent(self, double: float) -> None: ... def setGlrExponent(self, double: float) -> None: ... - class CorrelationType(java.lang.Enum['GilbertChokeFlow.CorrelationType']): - GILBERT: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... - BAXENDELL: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... - ROS: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... - ACHONG: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... - CUSTOM: typing.ClassVar['GilbertChokeFlow.CorrelationType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CorrelationType(java.lang.Enum["GilbertChokeFlow.CorrelationType"]): + GILBERT: typing.ClassVar["GilbertChokeFlow.CorrelationType"] = ... + BAXENDELL: typing.ClassVar["GilbertChokeFlow.CorrelationType"] = ... + ROS: typing.ClassVar["GilbertChokeFlow.CorrelationType"] = ... + ACHONG: typing.ClassVar["GilbertChokeFlow.CorrelationType"] = ... + CUSTOM: typing.ClassVar["GilbertChokeFlow.CorrelationType"] = ... + _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: ... + 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]) -> 'GilbertChokeFlow.CorrelationType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GilbertChokeFlow.CorrelationType": ... @staticmethod - def values() -> typing.MutableSequence['GilbertChokeFlow.CorrelationType']: ... + def values() -> typing.MutableSequence["GilbertChokeFlow.CorrelationType"]: ... class SachdevaChokeFlow(MultiphaseChokeFlow): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def calculateCriticalPressureRatio(self, double: float, double2: float) -> float: ... - def calculateDownstreamPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... - def calculateVariableDischargeCoefficient(self, double: float, double2: float) -> float: ... + def calculateCriticalPressureRatio( + self, double: float, double2: float + ) -> float: ... + def calculateDownstreamPressure( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateMassFlowRate( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... + def calculateVariableDischargeCoefficient( + self, double: float, double2: float + ) -> float: ... def getModelName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.valve.choke")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/watertreatment/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/watertreatment/__init__.pyi index 016dc37a..403d7a4e 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/watertreatment/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/watertreatment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,10 +11,13 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign.separator import typing - - -class HydrocycloneMechanicalDesign(jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... +class HydrocycloneMechanicalDesign( + jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesign +): + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getAllowableStressMPa(self) -> float: ... def getCorrosionAllowanceMm(self) -> float: ... @@ -23,14 +26,20 @@ class HydrocycloneMechanicalDesign(jneqsim.process.mechanicaldesign.separator.Se def getDesignTemperatureLowC(self) -> float: ... def getEmptyVesselWeightKg(self) -> float: ... def getHeadThicknessMm(self) -> float: ... - def getHydrocycloneDesignSummary(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getHydrocycloneDesignSummary( + self, + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getInletNozzleIdMm(self) -> float: ... def getLinerWeightPerVesselKg(self) -> float: ... def getMaterialGrade(self) -> java.lang.String: ... def getNumberOfVessels(self) -> int: ... def getOverflowNozzleIdMm(self) -> float: ... def getRejectNozzleIdMm(self) -> float: ... - def getResponse(self) -> jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesignResponse: ... + def getResponse( + self, + ) -> ( + jneqsim.process.mechanicaldesign.separator.SeparatorMechanicalDesignResponse + ): ... def getVesselInnerDiameterM(self) -> float: ... def getVesselLengthM(self) -> float: ... def getVesselWallThicknessMm(self) -> float: ... @@ -40,7 +49,6 @@ class HydrocycloneMechanicalDesign(jneqsim.process.mechanicaldesign.separator.Se def setMaterialGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.watertreatment")``. diff --git a/src/jneqsim-stubs/process/mechanicaldesign/well/__init__.pyi b/src/jneqsim-stubs/process/mechanicaldesign/well/__init__.pyi index 6302983c..5f7208d5 100644 --- a/src/jneqsim-stubs/process/mechanicaldesign/well/__init__.pyi +++ b/src/jneqsim-stubs/process/mechanicaldesign/well/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,15 +9,15 @@ import jneqsim.process.equipment import jneqsim.process.mechanicaldesign import typing - - class WellFlowMechanicalDesign(jneqsim.process.mechanicaldesign.MechanicalDesign): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def calcDesign(self) -> None: ... def getWellCapexUsd(self) -> float: ... def setWellCapexUsd(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mechanicaldesign.well")``. diff --git a/src/jneqsim-stubs/process/ml/__init__.pyi b/src/jneqsim-stubs/process/ml/__init__.pyi index 0635b913..551cebcf 100644 --- a/src/jneqsim-stubs/process/ml/__init__.pyi +++ b/src/jneqsim-stubs/process/ml/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,34 +19,54 @@ import jneqsim.process.ml.surrogate import jneqsim.process.processmodel import typing - - class ActionVector(java.io.Serializable): def __init__(self): ... - def define(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ActionVector': ... + def define( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "ActionVector": ... def get(self, string: typing.Union[java.lang.String, str]) -> float: ... def getActionNames(self) -> typing.MutableSequence[java.lang.String]: ... def getLowerBounds(self) -> typing.MutableSequence[float]: ... def getUpperBounds(self) -> typing.MutableSequence[float]: ... def isAtBound(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def set(self, string: typing.Union[java.lang.String, str], double: float) -> 'ActionVector': ... - def setFromNormalizedArray(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ActionVector': ... - def setNormalized(self, string: typing.Union[java.lang.String, str], double: float) -> 'ActionVector': ... + def set( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ActionVector": ... + def setFromNormalizedArray( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "ActionVector": ... + def setNormalized( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ActionVector": ... def size(self) -> int: ... def toArray(self) -> typing.MutableSequence[float]: ... def toString(self) -> java.lang.String: ... class Constraint(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], type: 'Constraint.Type', category: 'Constraint.Category', string3: typing.Union[java.lang.String, str], double: float, double2: float, string4: typing.Union[java.lang.String, str]): ... - def evaluate(self, double: float) -> 'Constraint': ... - def getCategory(self) -> 'Constraint.Category': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + type: "Constraint.Type", + category: "Constraint.Category", + string3: typing.Union[java.lang.String, str], + double: float, + double2: float, + string4: typing.Union[java.lang.String, str], + ): ... + def evaluate(self, double: float) -> "Constraint": ... + def getCategory(self) -> "Constraint.Category": ... def getCurrentValue(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getLowerBound(self) -> float: ... def getMargin(self) -> float: ... def getName(self) -> java.lang.String: ... def getNormalizedViolation(self) -> float: ... - def getType(self) -> 'Constraint.Type': ... + def getType(self) -> "Constraint.Type": ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def getVariableName(self) -> java.lang.String: ... @@ -54,74 +74,151 @@ class Constraint(java.io.Serializable): def isHard(self) -> bool: ... def isViolated(self) -> bool: ... @staticmethod - def lowerBound(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], type: 'Constraint.Type') -> 'Constraint': ... + def lowerBound( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + type: "Constraint.Type", + ) -> "Constraint": ... def project(self, double: float) -> float: ... @staticmethod - def range(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], type: 'Constraint.Type') -> 'Constraint': ... + def range( + 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], + type: "Constraint.Type", + ) -> "Constraint": ... def toString(self) -> java.lang.String: ... @staticmethod - def upperBound(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], type: 'Constraint.Type') -> 'Constraint': ... - class Category(java.lang.Enum['Constraint.Category']): - PHYSICAL: typing.ClassVar['Constraint.Category'] = ... - SAFETY: typing.ClassVar['Constraint.Category'] = ... - EQUIPMENT: typing.ClassVar['Constraint.Category'] = ... - OPERATIONAL: typing.ClassVar['Constraint.Category'] = ... - ECONOMIC: typing.ClassVar['Constraint.Category'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def upperBound( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + type: "Constraint.Type", + ) -> "Constraint": ... + + class Category(java.lang.Enum["Constraint.Category"]): + PHYSICAL: typing.ClassVar["Constraint.Category"] = ... + SAFETY: typing.ClassVar["Constraint.Category"] = ... + EQUIPMENT: typing.ClassVar["Constraint.Category"] = ... + OPERATIONAL: typing.ClassVar["Constraint.Category"] = ... + ECONOMIC: typing.ClassVar["Constraint.Category"] = ... + _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: ... + 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]) -> 'Constraint.Category': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Constraint.Category": ... @staticmethod - def values() -> typing.MutableSequence['Constraint.Category']: ... - class Type(java.lang.Enum['Constraint.Type']): - HARD: typing.ClassVar['Constraint.Type'] = ... - SOFT: typing.ClassVar['Constraint.Type'] = ... - INFO: typing.ClassVar['Constraint.Type'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["Constraint.Category"]: ... + + class Type(java.lang.Enum["Constraint.Type"]): + HARD: typing.ClassVar["Constraint.Type"] = ... + SOFT: typing.ClassVar["Constraint.Type"] = ... + INFO: typing.ClassVar["Constraint.Type"] = ... + _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: ... + 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]) -> 'Constraint.Type': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Constraint.Type": ... @staticmethod - def values() -> typing.MutableSequence['Constraint.Type']: ... + def values() -> typing.MutableSequence["Constraint.Type"]: ... class ConstraintManager(java.io.Serializable): def __init__(self): ... - def add(self, constraint: Constraint) -> 'ConstraintManager': ... - def addHardLowerBound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'ConstraintManager': ... - def addHardRange(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]) -> 'ConstraintManager': ... - def addHardUpperBound(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'ConstraintManager': ... - def addSoftRange(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]) -> 'ConstraintManager': ... - def addViolationListener(self, constraintViolationListener: typing.Union['ConstraintManager.ConstraintViolationListener', typing.Callable]) -> None: ... + def add(self, constraint: Constraint) -> "ConstraintManager": ... + def addHardLowerBound( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "ConstraintManager": ... + def addHardRange( + 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], + ) -> "ConstraintManager": ... + def addHardUpperBound( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "ConstraintManager": ... + def addSoftRange( + 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], + ) -> "ConstraintManager": ... + def addViolationListener( + self, + constraintViolationListener: typing.Union[ + "ConstraintManager.ConstraintViolationListener", typing.Callable + ], + ) -> None: ... def clear(self) -> None: ... - def evaluate(self, stateVector: 'StateVector') -> java.util.List[Constraint]: ... + def evaluate(self, stateVector: "StateVector") -> java.util.List[Constraint]: ... def explainViolations(self) -> java.lang.String: ... def get(self, string: typing.Union[java.lang.String, str]) -> Constraint: ... def getAll(self) -> java.util.List[Constraint]: ... def getMinHardMargin(self) -> float: ... def getTotalViolationPenalty(self) -> float: ... def getViolations(self) -> java.util.List[Constraint]: ... - def getViolationsByCategory(self, category: Constraint.Category) -> java.util.List[Constraint]: ... + def getViolationsByCategory( + self, category: Constraint.Category + ) -> java.util.List[Constraint]: ... def hasHardViolation(self) -> bool: ... def size(self) -> int: ... def toString(self) -> java.lang.String: ... + class ConstraintViolationListener: def onViolation(self, constraint: Constraint) -> None: ... class EpisodeRunner(java.io.Serializable): - def __init__(self, gymEnvironment: 'GymEnvironment'): ... - def benchmark(self, controller: jneqsim.process.ml.controllers.Controller, int: int, int2: int) -> 'EpisodeRunner.BenchmarkResult': ... - def compareControllers(self, list: java.util.List[jneqsim.process.ml.controllers.Controller], int: int, int2: int) -> java.util.List['EpisodeRunner.BenchmarkResult']: ... + def __init__(self, gymEnvironment: "GymEnvironment"): ... + def benchmark( + self, controller: jneqsim.process.ml.controllers.Controller, int: int, int2: int + ) -> "EpisodeRunner.BenchmarkResult": ... + def compareControllers( + self, + list: java.util.List[jneqsim.process.ml.controllers.Controller], + int: int, + int2: int, + ) -> java.util.List["EpisodeRunner.BenchmarkResult"]: ... @staticmethod - def printComparison(list: java.util.List['EpisodeRunner.BenchmarkResult']) -> None: ... - def runEpisode(self, controller: jneqsim.process.ml.controllers.Controller, int: int) -> 'EpisodeRunner.EpisodeResult': ... - def setPrintInterval(self, int: int) -> 'EpisodeRunner': ... - def setVerbose(self, boolean: bool) -> 'EpisodeRunner': ... + def printComparison( + list: java.util.List["EpisodeRunner.BenchmarkResult"], + ) -> None: ... + def runEpisode( + self, controller: jneqsim.process.ml.controllers.Controller, int: int + ) -> "EpisodeRunner.EpisodeResult": ... + def setPrintInterval(self, int: int) -> "EpisodeRunner": ... + def setVerbose(self, boolean: bool) -> "EpisodeRunner": ... + class BenchmarkResult(java.io.Serializable): controllerName: java.lang.String = ... numEpisodes: int = ... @@ -131,8 +228,19 @@ class EpisodeRunner(java.io.Serializable): successRate: float = ... minReward: float = ... maxReward: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def toString(self) -> java.lang.String: ... + class EpisodeResult(java.io.Serializable): totalReward: float = ... steps: int = ... @@ -141,18 +249,42 @@ class EpisodeRunner(java.io.Serializable): actions: java.util.List = ... rewards: java.util.List = ... finalObservation: typing.MutableSequence[float] = ... - def __init__(self, double: float, int: int, boolean: bool, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]], list3: java.util.List[float], doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + double: float, + int: int, + boolean: bool, + list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + list2: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + list3: java.util.List[float], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def getFeatureTrajectory(self, int: int) -> typing.MutableSequence[float]: ... def getMeanReward(self) -> float: ... def getObservation(self, int: int, int2: int) -> float: ... class EquipmentStateAdapter(java.io.Serializable): - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... @staticmethod - def forSeparator(separatorInterface: jneqsim.process.equipment.separator.SeparatorInterface) -> 'EquipmentStateAdapter': ... + def forSeparator( + separatorInterface: jneqsim.process.equipment.separator.SeparatorInterface, + ) -> "EquipmentStateAdapter": ... def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getStateVector(self) -> 'StateVector': ... - def setCustomExtractor(self, function: typing.Union[java.util.function.Function[jneqsim.process.equipment.ProcessEquipmentInterface, 'StateVector'], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], 'StateVector']]) -> 'EquipmentStateAdapter': ... + def getStateVector(self) -> "StateVector": ... + def setCustomExtractor( + self, + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.equipment.ProcessEquipmentInterface, "StateVector" + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], "StateVector" + ], + ], + ) -> "EquipmentStateAdapter": ... class GymEnvironment(java.io.Serializable): def __init__(self): ... @@ -168,59 +300,128 @@ class GymEnvironment(java.io.Serializable): def getObservationLow(self) -> typing.MutableSequence[float]: ... def isDone(self) -> bool: ... @typing.overload - def reset(self) -> 'GymEnvironment.ResetResult': ... + def reset(self) -> "GymEnvironment.ResetResult": ... @typing.overload - def reset(self, long: int, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'GymEnvironment.ResetResult': ... + def reset( + self, + long: int, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "GymEnvironment.ResetResult": ... def setMaxEpisodeSteps(self, int: int) -> None: ... - def step(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'GymEnvironment.StepResult': ... + def step( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "GymEnvironment.StepResult": ... + class ResetResult(java.io.Serializable): observation: typing.MutableSequence[float] = ... info: java.util.Map = ... - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ): ... + class StepResult(java.io.Serializable): observation: typing.MutableSequence[float] = ... reward: float = ... terminated: bool = ... truncated: bool = ... info: java.util.Map = ... - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, boolean: bool, boolean2: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + boolean: bool, + boolean2: bool, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ): ... class ProcessRewardFunction(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addConstraintPenalty(self, double: float) -> 'ProcessRewardFunction': ... - def addEnergyMinimization(self, double: float) -> 'ProcessRewardFunction': ... - def addProductQualityTarget(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessRewardFunction': ... - def addSpecificEnergyMinimization(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessRewardFunction': ... - def addThroughputMaximization(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessRewardFunction': ... + def addConstraintPenalty(self, double: float) -> "ProcessRewardFunction": ... + def addEnergyMinimization(self, double: float) -> "ProcessRewardFunction": ... + def addProductQualityTarget( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ProcessRewardFunction": ... + def addSpecificEnergyMinimization( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessRewardFunction": ... + def addThroughputMaximization( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessRewardFunction": ... def compute(self) -> float: ... @staticmethod - def constraintSatisfaction(processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def constraintSatisfaction( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> float: ... @staticmethod - def energyEfficiency(processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def energyEfficiency( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> float: ... def getBreakdownJson(self) -> java.lang.String: ... def getLastBreakdown(self) -> java.util.Map[java.lang.String, float]: ... @staticmethod - def productQuality(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + def productQuality( + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> float: ... @staticmethod - def specificEnergy(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> float: ... + def specificEnergy( + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def throughput(processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str]) -> float: ... + def throughput( + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + ) -> float: ... class RLEnvironment(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addConstraint(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]) -> 'RLEnvironment': ... - def defineAction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'RLEnvironment': ... + def addConstraint( + 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], + ) -> "RLEnvironment": ... + def defineAction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "RLEnvironment": ... def getActionSpace(self) -> ActionVector: ... def getConstraintManager(self) -> ConstraintManager: ... def getCurrentTime(self) -> float: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getStepCount(self) -> int: ... def isDone(self) -> bool: ... - def reset(self) -> 'StateVector': ... - def setMaxEpisodeTime(self, double: float) -> 'RLEnvironment': ... - def setRewardWeights(self, double: float, double2: float, double3: float, double4: float) -> 'RLEnvironment': ... - def setTimeStep(self, double: float) -> 'RLEnvironment': ... - def step(self, actionVector: ActionVector) -> 'RLEnvironment.StepResult': ... + def reset(self) -> "StateVector": ... + def setMaxEpisodeTime(self, double: float) -> "RLEnvironment": ... + def setRewardWeights( + self, double: float, double2: float, double3: float, double4: float + ) -> "RLEnvironment": ... + def setTimeStep(self, double: float) -> "RLEnvironment": ... + def step(self, actionVector: ActionVector) -> "RLEnvironment.StepResult": ... + class StepInfo(java.io.Serializable): constraintPenalty: float = ... energyConsumption: float = ... @@ -229,20 +430,40 @@ class RLEnvironment(java.io.Serializable): hardViolation: bool = ... violationExplanation: java.lang.String = ... def __init__(self): ... + class StepResult(java.io.Serializable): - observation: 'StateVector' = ... + observation: "StateVector" = ... reward: float = ... done: bool = ... truncated: bool = ... - info: 'RLEnvironment.StepInfo' = ... - def __init__(self, stateVector: 'StateVector', double: float, boolean: bool, boolean2: bool, stepInfo: 'RLEnvironment.StepInfo'): ... + info: "RLEnvironment.StepInfo" = ... + def __init__( + self, + stateVector: "StateVector", + double: float, + boolean: bool, + boolean2: bool, + stepInfo: "RLEnvironment.StepInfo", + ): ... class StateVector(java.io.Serializable): def __init__(self): ... @typing.overload - def add(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str]) -> 'StateVector': ... + def add( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + string2: typing.Union[java.lang.String, str], + ) -> "StateVector": ... @typing.overload - def add(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'StateVector': ... + def add( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "StateVector": ... def getFeatureNames(self) -> typing.MutableSequence[java.lang.String]: ... def getLowerBounds(self) -> typing.MutableSequence[float]: ... def getNormalized(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -263,24 +484,43 @@ class StateVectorProvider: class TrainingDataCollector(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def clear(self) -> None: ... - def defineInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'TrainingDataCollector': ... - def defineOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'TrainingDataCollector': ... + def defineInput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "TrainingDataCollector": ... + def defineOutput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "TrainingDataCollector": ... def endSample(self) -> None: ... def exportCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getInputStatistics(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getInputStatistics( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... def getName(self) -> java.lang.String: ... - def getOutputStatistics(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... + def getOutputStatistics( + self, + ) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... def getSampleCount(self) -> int: ... def getSummary(self) -> java.lang.String: ... - def recordInput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def recordOutput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def recordInput( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def recordOutput( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def recordStateAsInputs(self, stateVector: StateVector) -> None: ... def recordStateAsOutputs(self, stateVector: StateVector) -> None: ... def startSample(self) -> None: ... def toCSV(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml")``. diff --git a/src/jneqsim-stubs/process/ml/controllers/__init__.pyi b/src/jneqsim-stubs/process/ml/controllers/__init__.pyi index bc9f4ebe..6942429a 100644 --- a/src/jneqsim-stubs/process/ml/controllers/__init__.pyi +++ b/src/jneqsim-stubs/process/ml/controllers/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,40 +10,80 @@ import java.lang import jpype import typing - - class Controller(java.io.Serializable): - def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def computeAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def getName(self) -> java.lang.String: ... def reset(self) -> None: ... class BangBangController(Controller): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float): ... - def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + ): ... + def computeAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def getName(self) -> java.lang.String: ... def reset(self) -> None: ... class PIDController(Controller): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... - def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... + def computeAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def getIntegral(self) -> float: ... def getName(self) -> java.lang.String: ... def reset(self) -> None: ... class ProportionalController(Controller): - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float, double2: float, double3: float): ... - def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + int: int, + double: float, + double2: float, + double3: float, + ): ... + def computeAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def getName(self) -> java.lang.String: ... class RandomController(Controller): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], long: int): ... - def computeAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + long: int, + ): ... + def computeAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def getName(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.controllers")``. diff --git a/src/jneqsim-stubs/process/ml/examples/__init__.pyi b/src/jneqsim-stubs/process/ml/examples/__init__.pyi index ec6eafba..b8a8b16f 100644 --- a/src/jneqsim-stubs/process/ml/examples/__init__.pyi +++ b/src/jneqsim-stubs/process/ml/examples/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,14 +15,16 @@ import jneqsim.process.ml.multiagent import jneqsim.process.processmodel import typing - - class FlashSurrogateDataGenerator: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class SeparatorCompressorMultiAgentEnv(jneqsim.process.ml.multiagent.MultiAgentEnvironment): +class SeparatorCompressorMultiAgentEnv( + jneqsim.process.ml.multiagent.MultiAgentEnvironment +): def __init__(self): ... def applyFeedDisturbance(self, double: float) -> None: ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... @@ -42,15 +44,22 @@ class SeparatorLevelControlEnv(jneqsim.process.ml.RLEnvironment): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getLiquidValve(self) -> jneqsim.process.equipment.valve.ThrottlingValve: ... def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setLevelSetpoint(self, double: float) -> None: ... def setPressureSetpoint(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.examples")``. diff --git a/src/jneqsim-stubs/process/ml/multiagent/__init__.pyi b/src/jneqsim-stubs/process/ml/multiagent/__init__.pyi index 123601a8..75ca665a 100644 --- a/src/jneqsim-stubs/process/ml/multiagent/__init__.pyi +++ b/src/jneqsim-stubs/process/ml/multiagent/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,22 +17,42 @@ import jneqsim.process.ml import jneqsim.process.processmodel import typing - - class Agent(java.io.Serializable): - def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def applyAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def computeReward( + self, + stateVector: jneqsim.process.ml.StateVector, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... def getActionDim(self) -> int: ... def getAgentId(self) -> java.lang.String: ... - def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... - def getMessage(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def getLocalObservation( + self, stateVector: jneqsim.process.ml.StateVector + ) -> typing.MutableSequence[float]: ... + def getMessage( + self, stateVector: jneqsim.process.ml.StateVector + ) -> typing.MutableSequence[float]: ... def getObservationDim(self) -> int: ... def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... - def receiveMessages(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]]) -> None: ... + def receiveMessages( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ) -> None: ... class MultiAgentEnvironment(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addAgent(self, agent: Agent) -> 'MultiAgentEnvironment': ... + def addAgent(self, agent: Agent) -> "MultiAgentEnvironment": ... def getAgent(self, string: typing.Union[java.lang.String, str]) -> Agent: ... def getAgentIds(self) -> java.util.List[java.lang.String]: ... def getCurrentGlobalState(self) -> jneqsim.process.ml.StateVector: ... @@ -40,25 +60,52 @@ class MultiAgentEnvironment(java.io.Serializable): def getNumAgents(self) -> int: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def isDone(self) -> bool: ... - def reset(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... - def setCoordinationMode(self, coordinationMode: 'MultiAgentEnvironment.CoordinationMode') -> 'MultiAgentEnvironment': ... - def setMaxEpisodeSteps(self, int: int) -> 'MultiAgentEnvironment': ... - def setSharedConstraints(self, constraintManager: jneqsim.process.ml.ConstraintManager) -> 'MultiAgentEnvironment': ... - def step(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]]) -> 'MultiAgentEnvironment.MultiAgentStepResult': ... - class CoordinationMode(java.lang.Enum['MultiAgentEnvironment.CoordinationMode']): - INDEPENDENT: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... - COOPERATIVE: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... - CTDE: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... - COMMUNICATING: typing.ClassVar['MultiAgentEnvironment.CoordinationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def reset( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def setCoordinationMode( + self, coordinationMode: "MultiAgentEnvironment.CoordinationMode" + ) -> "MultiAgentEnvironment": ... + def setMaxEpisodeSteps(self, int: int) -> "MultiAgentEnvironment": ... + def setSharedConstraints( + self, constraintManager: jneqsim.process.ml.ConstraintManager + ) -> "MultiAgentEnvironment": ... + def step( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ) -> "MultiAgentEnvironment.MultiAgentStepResult": ... + + class CoordinationMode(java.lang.Enum["MultiAgentEnvironment.CoordinationMode"]): + INDEPENDENT: typing.ClassVar["MultiAgentEnvironment.CoordinationMode"] = ... + COOPERATIVE: typing.ClassVar["MultiAgentEnvironment.CoordinationMode"] = ... + CTDE: typing.ClassVar["MultiAgentEnvironment.CoordinationMode"] = ... + COMMUNICATING: typing.ClassVar["MultiAgentEnvironment.CoordinationMode"] = ... + _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: ... + 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]) -> 'MultiAgentEnvironment.CoordinationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MultiAgentEnvironment.CoordinationMode": ... @staticmethod - def values() -> typing.MutableSequence['MultiAgentEnvironment.CoordinationMode']: ... + def values() -> ( + typing.MutableSequence["MultiAgentEnvironment.CoordinationMode"] + ): ... + class MultiAgentStepResult(java.io.Serializable): observations: java.util.Map = ... rewards: java.util.Map = ... @@ -66,11 +113,54 @@ class MultiAgentEnvironment(java.io.Serializable): truncated: bool = ... infos: java.util.Map = ... globalState: jneqsim.process.ml.StateVector = ... - def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[typing.List[float], jpype.JArray]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool, boolean2: bool, map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]], stateVector: jneqsim.process.ml.StateVector): ... + def __init__( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + map2: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + boolean: bool, + boolean2: bool, + map3: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ], + ], + stateVector: jneqsim.process.ml.StateVector, + ): ... class ProcessAgent(Agent): - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... - def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... + def computeReward( + self, + stateVector: jneqsim.process.ml.StateVector, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... def getActionDim(self) -> int: ... def getActionHigh(self) -> typing.MutableSequence[float]: ... def getActionLow(self) -> typing.MutableSequence[float]: ... @@ -82,31 +172,63 @@ class ProcessAgent(Agent): def getObservationNames(self) -> typing.MutableSequence[java.lang.String]: ... def getSetpoint(self, string: typing.Union[java.lang.String, str]) -> float: ... def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... - def setSetpoint(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessAgent': ... + def setSetpoint( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "ProcessAgent": ... class CompressorAgent(ProcessAgent): - def __init__(self, string: typing.Union[java.lang.String, str], compressor: jneqsim.process.equipment.compressor.Compressor): ... - def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + compressor: jneqsim.process.equipment.compressor.Compressor, + ): ... + def applyAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def computeReward( + self, + stateVector: jneqsim.process.ml.StateVector, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... def getCompressor(self) -> jneqsim.process.equipment.compressor.Compressor: ... - def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def getLocalObservation( + self, stateVector: jneqsim.process.ml.StateVector + ) -> typing.MutableSequence[float]: ... def isTerminated(self, stateVector: jneqsim.process.ml.StateVector) -> bool: ... def setDischargePressureSetpoint(self, double: float) -> None: ... def setSpeedRange(self, double: float, double2: float) -> None: ... class SeparatorAgent(ProcessAgent): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], separator: jneqsim.process.equipment.separator.Separator, throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, throttlingValve2: jneqsim.process.equipment.valve.ThrottlingValve): ... - def applyAction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def computeReward(self, stateVector: jneqsim.process.ml.StateVector, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def getLocalObservation(self, stateVector: jneqsim.process.ml.StateVector) -> typing.MutableSequence[float]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + separator: jneqsim.process.equipment.separator.Separator, + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + throttlingValve2: jneqsim.process.equipment.valve.ThrottlingValve, + ): ... + def applyAction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def computeReward( + self, + stateVector: jneqsim.process.ml.StateVector, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... + def getLocalObservation( + self, stateVector: jneqsim.process.ml.StateVector + ) -> typing.MutableSequence[float]: ... def getSeparator(self) -> jneqsim.process.equipment.separator.Separator: ... def setLevelSetpoint(self, double: float) -> None: ... def setPressureSetpoint(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.multiagent")``. diff --git a/src/jneqsim-stubs/process/ml/surrogate/__init__.pyi b/src/jneqsim-stubs/process/ml/surrogate/__init__.pyi index 76ace2dd..17bb5f73 100644 --- a/src/jneqsim-stubs/process/ml/surrogate/__init__.pyi +++ b/src/jneqsim-stubs/process/ml/surrogate/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,13 +15,29 @@ import jpype import jneqsim.process.processmodel import typing - - class PhysicsConstraintValidator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addFlowLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def addPressureLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def addTemperatureLimit(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def addFlowLimit( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def addPressureLimit( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def addTemperatureLimit( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def isEnforceEnergyBalance(self) -> bool: ... def isEnforceMassBalance(self) -> bool: ... def isEnforcePhysicalBounds(self) -> bool: ... @@ -30,41 +46,103 @@ class PhysicsConstraintValidator(java.io.Serializable): def setEnforceMassBalance(self, boolean: bool) -> None: ... def setEnforcePhysicalBounds(self, boolean: bool) -> None: ... def setMassBalanceTolerance(self, double: float) -> None: ... - def validate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'PhysicsConstraintValidator.ValidationResult': ... - def validateCurrentState(self) -> 'PhysicsConstraintValidator.ValidationResult': ... + def validate( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "PhysicsConstraintValidator.ValidationResult": ... + def validateCurrentState(self) -> "PhysicsConstraintValidator.ValidationResult": ... + class ConstraintViolation(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ): ... def getConstraintName(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getValue(self) -> float: ... def getVariable(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ValidationResult(java.io.Serializable): def __init__(self): ... def getRejectionReason(self) -> java.lang.String: ... - def getViolations(self) -> java.util.List['PhysicsConstraintValidator.ConstraintViolation']: ... + def getViolations( + self, + ) -> java.util.List["PhysicsConstraintValidator.ConstraintViolation"]: ... def isValid(self) -> bool: ... class SurrogateModelRegistry(java.io.Serializable): def clear(self) -> None: ... - def get(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['SurrogateModelRegistry.SurrogateModel']: ... - def getAllModels(self) -> java.util.Map[java.lang.String, 'SurrogateModelRegistry.SurrogateMetadata']: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional["SurrogateModelRegistry.SurrogateModel"]: ... + def getAllModels( + self, + ) -> java.util.Map[ + java.lang.String, "SurrogateModelRegistry.SurrogateMetadata" + ]: ... @staticmethod - def getInstance() -> 'SurrogateModelRegistry': ... - def getMetadata(self, string: typing.Union[java.lang.String, str]) -> java.util.Optional['SurrogateModelRegistry.SurrogateMetadata']: ... + def getInstance() -> "SurrogateModelRegistry": ... + def getMetadata( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Optional["SurrogateModelRegistry.SurrogateMetadata"]: ... def getPersistenceDirectory(self) -> java.lang.String: ... def hasModel(self, string: typing.Union[java.lang.String, str]) -> bool: ... def isEnableFallback(self) -> bool: ... - def loadModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def predictWithFallback(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], function: typing.Union[java.util.function.Function[typing.Union[typing.List[float], jpype.JArray], typing.Union[typing.List[float], jpype.JArray]], typing.Callable[[typing.Union[typing.List[float], jpype.JArray]], typing.Union[typing.List[float], jpype.JArray]]]) -> typing.MutableSequence[float]: ... + def loadModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def predictWithFallback( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + function: typing.Union[ + java.util.function.Function[ + typing.Union[typing.List[float], jpype.JArray], + typing.Union[typing.List[float], jpype.JArray], + ], + typing.Callable[ + [typing.Union[typing.List[float], jpype.JArray]], + typing.Union[typing.List[float], jpype.JArray], + ], + ], + ) -> typing.MutableSequence[float]: ... @typing.overload - def register(self, string: typing.Union[java.lang.String, str], surrogateModel: typing.Union['SurrogateModelRegistry.SurrogateModel', typing.Callable]) -> None: ... + def register( + self, + string: typing.Union[java.lang.String, str], + surrogateModel: typing.Union[ + "SurrogateModelRegistry.SurrogateModel", typing.Callable + ], + ) -> None: ... @typing.overload - def register(self, string: typing.Union[java.lang.String, str], surrogateModel: typing.Union['SurrogateModelRegistry.SurrogateModel', typing.Callable], surrogateMetadata: 'SurrogateModelRegistry.SurrogateMetadata') -> None: ... - def saveModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def register( + self, + string: typing.Union[java.lang.String, str], + surrogateModel: typing.Union[ + "SurrogateModelRegistry.SurrogateModel", typing.Callable + ], + surrogateMetadata: "SurrogateModelRegistry.SurrogateMetadata", + ) -> None: ... + def saveModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setEnableFallback(self, boolean: bool) -> None: ... - def setPersistenceDirectory(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPersistenceDirectory( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def unregister(self, string: typing.Union[java.lang.String, str]) -> bool: ... + class SurrogateMetadata(java.io.Serializable): def __init__(self): ... def getExpectedAccuracy(self) -> float: ... @@ -76,17 +154,29 @@ class SurrogateModelRegistry(java.io.Serializable): def getPredictionCount(self) -> int: ... def getTrainedAt(self) -> java.time.Instant: ... def getTrainingDataSource(self) -> java.lang.String: ... - def isInputValid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def isInputValid( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> bool: ... def setExpectedAccuracy(self, double: float) -> None: ... - def setInputBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInputBounds( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def setModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTrainedAt(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... - def setTrainingDataSource(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTrainedAt( + self, instant: typing.Union[java.time.Instant, datetime.datetime] + ) -> None: ... + def setTrainingDataSource( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + class SurrogateModel(java.io.Serializable): def getInputDimension(self) -> int: ... def getOutputDimension(self) -> int: ... - def predict(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - + def predict( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.ml.surrogate")``. diff --git a/src/jneqsim-stubs/process/mpc/__init__.pyi b/src/jneqsim-stubs/process/mpc/__init__.pyi index e147ac19..2b215493 100644 --- a/src/jneqsim-stubs/process/mpc/__init__.pyi +++ b/src/jneqsim-stubs/process/mpc/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,83 +15,168 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - class ControllerDataExchange(java.io.Serializable): - def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + def __init__(self, processLinkedMPC: "ProcessLinkedMPC"): ... def execute(self) -> bool: ... def getExecutionCount(self) -> int: ... def getExecutionMessage(self) -> java.lang.String: ... - def getExecutionStatus(self) -> 'ControllerDataExchange.ExecutionStatus': ... + def getExecutionStatus(self) -> "ControllerDataExchange.ExecutionStatus": ... def getLastExecution(self) -> java.time.Instant: ... def getLastInputUpdate(self) -> java.time.Instant: ... def getMvTargets(self) -> typing.MutableSequence[float]: ... - def getOutputs(self) -> 'ControllerDataExchange.ControllerOutput': ... + def getOutputs(self) -> "ControllerDataExchange.ControllerOutput": ... def getSetpoints(self) -> typing.MutableSequence[float]: ... def getStatus(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getVariableNames(self) -> java.util.Map[java.lang.String, java.util.List[java.lang.String]]: ... - def updateInputs(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: ... - def updateInputsWithQuality(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], qualityStatusArray: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray], qualityStatusArray2: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray], qualityStatusArray3: typing.Union[typing.List['ControllerDataExchange.QualityStatus'], jpype.JArray]) -> None: ... - def updateLimits(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def updateSetpoints(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getVariableNames( + self, + ) -> java.util.Map[java.lang.String, java.util.List[java.lang.String]]: ... + def updateInputs( + 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: ... + def updateInputsWithQuality( + 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], + qualityStatusArray: typing.Union[ + typing.List["ControllerDataExchange.QualityStatus"], jpype.JArray + ], + qualityStatusArray2: typing.Union[ + typing.List["ControllerDataExchange.QualityStatus"], jpype.JArray + ], + qualityStatusArray3: typing.Union[ + typing.List["ControllerDataExchange.QualityStatus"], jpype.JArray + ], + ) -> None: ... + def updateLimits( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def updateSetpoints( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + class ControllerOutput(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], executionStatus: 'ControllerDataExchange.ExecutionStatus', string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... - def getCvPredictions(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + executionStatus: "ControllerDataExchange.ExecutionStatus", + string: typing.Union[java.lang.String, str], + instant: typing.Union[java.time.Instant, datetime.datetime], + ): ... + def getCvPredictions( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMessage(self) -> java.lang.String: ... def getMvTargets(self) -> typing.MutableSequence[float]: ... - def getStatus(self) -> 'ControllerDataExchange.ExecutionStatus': ... + def getStatus(self) -> "ControllerDataExchange.ExecutionStatus": ... def getTimestamp(self) -> java.time.Instant: ... def isSuccess(self) -> bool: ... - class ExecutionStatus(java.lang.Enum['ControllerDataExchange.ExecutionStatus']): - READY: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... - SUCCESS: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... - WARNING: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... - FAILED: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... - MODEL_STALE: typing.ClassVar['ControllerDataExchange.ExecutionStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ExecutionStatus(java.lang.Enum["ControllerDataExchange.ExecutionStatus"]): + READY: typing.ClassVar["ControllerDataExchange.ExecutionStatus"] = ... + SUCCESS: typing.ClassVar["ControllerDataExchange.ExecutionStatus"] = ... + WARNING: typing.ClassVar["ControllerDataExchange.ExecutionStatus"] = ... + FAILED: typing.ClassVar["ControllerDataExchange.ExecutionStatus"] = ... + MODEL_STALE: typing.ClassVar["ControllerDataExchange.ExecutionStatus"] = ... + _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: ... + 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]) -> 'ControllerDataExchange.ExecutionStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDataExchange.ExecutionStatus": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDataExchange.ExecutionStatus']: ... - class QualityStatus(java.lang.Enum['ControllerDataExchange.QualityStatus']): - GOOD: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... - BAD: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... - UNCERTAIN: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... - MANUAL: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... - CLAMPED: typing.ClassVar['ControllerDataExchange.QualityStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ControllerDataExchange.ExecutionStatus"] + ): ... + + class QualityStatus(java.lang.Enum["ControllerDataExchange.QualityStatus"]): + GOOD: typing.ClassVar["ControllerDataExchange.QualityStatus"] = ... + BAD: typing.ClassVar["ControllerDataExchange.QualityStatus"] = ... + UNCERTAIN: typing.ClassVar["ControllerDataExchange.QualityStatus"] = ... + MANUAL: typing.ClassVar["ControllerDataExchange.QualityStatus"] = ... + CLAMPED: typing.ClassVar["ControllerDataExchange.QualityStatus"] = ... + _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: ... + 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]) -> 'ControllerDataExchange.QualityStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ControllerDataExchange.QualityStatus": ... @staticmethod - def values() -> typing.MutableSequence['ControllerDataExchange.QualityStatus']: ... + def values() -> ( + typing.MutableSequence["ControllerDataExchange.QualityStatus"] + ): ... class IndustrialMPCExporter(java.io.Serializable): - def __init__(self, processLinkedMPC: 'ProcessLinkedMPC'): ... + def __init__(self, processLinkedMPC: "ProcessLinkedMPC"): ... def createDataExchange(self) -> ControllerDataExchange: ... - def createSoftSensorExporter(self) -> 'SoftSensorExporter': ... - def exportComprehensiveConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def createSoftSensorExporter(self) -> "SoftSensorExporter": ... + def exportComprehensiveConfiguration( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def exportGainMatrix(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportObjectStructure(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportStepResponseCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportStepResponseModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportTransferFunctions(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportVariableConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'IndustrialMPCExporter': ... - def setDefaultTimeConstant(self, double: float) -> 'IndustrialMPCExporter': ... - def setNumStepCoefficients(self, int: int) -> 'IndustrialMPCExporter': ... - def setTagPrefix(self, string: typing.Union[java.lang.String, str]) -> 'IndustrialMPCExporter': ... + def exportObjectStructure( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def exportStepResponseCSV( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def exportStepResponseModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def exportTransferFunctions( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def exportVariableConfiguration( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setApplicationName( + self, string: typing.Union[java.lang.String, str] + ) -> "IndustrialMPCExporter": ... + def setDefaultTimeConstant(self, double: float) -> "IndustrialMPCExporter": ... + def setNumStepCoefficients(self, int: int) -> "IndustrialMPCExporter": ... + def setTagPrefix( + self, string: typing.Union[java.lang.String, str] + ) -> "IndustrialMPCExporter": ... class LinearizationResult(java.io.Serializable): @typing.overload - def __init__(self, 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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], double6: float, long: int): ... + def __init__( + self, + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray3: typing.Union[typing.List[java.lang.String], jpype.JArray], + double6: float, + long: int, + ): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str], long: int): ... def formatGainMatrix(self) -> java.lang.String: ... @@ -99,15 +184,23 @@ class LinearizationResult(java.io.Serializable): def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... def getCvOperatingPoint(self) -> typing.MutableSequence[float]: ... def getDisturbanceGain(self, int: int, int2: int) -> float: ... - def getDisturbanceGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDisturbanceGainMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDvNames(self) -> typing.MutableSequence[java.lang.String]: ... def getDvOperatingPoint(self) -> typing.MutableSequence[float]: ... def getErrorMessage(self) -> java.lang.String: ... @typing.overload def getGain(self, int: int, int2: int) -> float: ... @typing.overload - def getGain(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGain( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getGainMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getGainsForCV(self, int: int) -> typing.MutableSequence[float]: ... def getGainsForMV(self, int: int) -> typing.MutableSequence[float]: ... def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... @@ -127,101 +220,196 @@ class MPCVariable(java.io.Serializable): def getMinValue(self) -> float: ... def getName(self) -> java.lang.String: ... def getPropertyName(self) -> java.lang.String: ... - def getType(self) -> 'MPCVariable.MPCVariableType': ... + def getType(self) -> "MPCVariable.MPCVariableType": ... def getUnit(self) -> java.lang.String: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'MPCVariable': ... + def setBounds(self, double: float, double2: float) -> "MPCVariable": ... def setCurrentValue(self, double: float) -> None: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... - def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'MPCVariable': ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'MPCVariable': ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "MPCVariable": ... + def setEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "MPCVariable": ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> "MPCVariable": ... + def setUnit(self, string: typing.Union[java.lang.String, str]) -> "MPCVariable": ... def toString(self) -> java.lang.String: ... - class MPCVariableType(java.lang.Enum['MPCVariable.MPCVariableType']): - MANIPULATED: typing.ClassVar['MPCVariable.MPCVariableType'] = ... - CONTROLLED: typing.ClassVar['MPCVariable.MPCVariableType'] = ... - DISTURBANCE: typing.ClassVar['MPCVariable.MPCVariableType'] = ... - STATE: typing.ClassVar['MPCVariable.MPCVariableType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class MPCVariableType(java.lang.Enum["MPCVariable.MPCVariableType"]): + MANIPULATED: typing.ClassVar["MPCVariable.MPCVariableType"] = ... + CONTROLLED: typing.ClassVar["MPCVariable.MPCVariableType"] = ... + DISTURBANCE: typing.ClassVar["MPCVariable.MPCVariableType"] = ... + STATE: typing.ClassVar["MPCVariable.MPCVariableType"] = ... + _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: ... + 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]) -> 'MPCVariable.MPCVariableType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MPCVariable.MPCVariableType": ... @staticmethod - def values() -> typing.MutableSequence['MPCVariable.MPCVariableType']: ... + def values() -> typing.MutableSequence["MPCVariable.MPCVariableType"]: ... class NonlinearPredictor(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addCV(self, controlledVariable: 'ControlledVariable') -> 'NonlinearPredictor': ... - def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'NonlinearPredictor': ... - def clear(self) -> 'NonlinearPredictor': ... + def addCV( + self, controlledVariable: "ControlledVariable" + ) -> "NonlinearPredictor": ... + def addMV( + self, manipulatedVariable: "ManipulatedVariable" + ) -> "NonlinearPredictor": ... + def clear(self) -> "NonlinearPredictor": ... def getPredictionHorizon(self) -> int: ... def getSampleTimeSeconds(self) -> float: ... - def predict(self, mVTrajectory: 'NonlinearPredictor.MVTrajectory') -> 'NonlinearPredictor.PredictionResult': ... - def predictConstant(self, *double: float) -> 'NonlinearPredictor.PredictionResult': ... - def setCloneProcess(self, boolean: bool) -> 'NonlinearPredictor': ... - def setPredictionHorizon(self, int: int) -> 'NonlinearPredictor': ... - def setSampleTime(self, double: float) -> 'NonlinearPredictor': ... + def predict( + self, mVTrajectory: "NonlinearPredictor.MVTrajectory" + ) -> "NonlinearPredictor.PredictionResult": ... + def predictConstant( + self, *double: float + ) -> "NonlinearPredictor.PredictionResult": ... + def setCloneProcess(self, boolean: bool) -> "NonlinearPredictor": ... + def setPredictionHorizon(self, int: int) -> "NonlinearPredictor": ... + def setSampleTime(self, double: float) -> "NonlinearPredictor": ... + class MVTrajectory(java.io.Serializable): def __init__(self): ... - def addMove(self, string: typing.Union[java.lang.String, str], double: float) -> 'NonlinearPredictor.MVTrajectory': ... - def clear(self) -> 'NonlinearPredictor.MVTrajectory': ... + def addMove( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NonlinearPredictor.MVTrajectory": ... + def clear(self) -> "NonlinearPredictor.MVTrajectory": ... def getLength(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getValue(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... - def setMoves(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NonlinearPredictor.MVTrajectory': ... + def getValue( + self, string: typing.Union[java.lang.String, str], int: int + ) -> float: ... + def setMoves( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "NonlinearPredictor.MVTrajectory": ... + class PredictionResult(java.io.Serializable): - def __init__(self, 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], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], double4: float): ... + def __init__( + self, + 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], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + double4: float, + ): ... def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getFinalValue(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFinalValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getHorizon(self) -> int: ... - def getISE(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getMVTrajectory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getISE( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getMVTrajectory( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... def getSampleTime(self) -> float: ... def getTime(self) -> typing.MutableSequence[float]: ... @typing.overload def getTrajectory(self, int: int) -> typing.MutableSequence[float]: ... @typing.overload - def getTrajectory(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getTrajectory( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def toString(self) -> java.lang.String: ... class ProcessDerivativeCalculator: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def addInputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator': ... + def addInputVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessDerivativeCalculator": ... @typing.overload - def addInputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'ProcessDerivativeCalculator': ... - def addOutputVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessDerivativeCalculator': ... - def calculateHessian(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def calculateJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def clearInputVariables(self) -> 'ProcessDerivativeCalculator': ... - def clearOutputVariables(self) -> 'ProcessDerivativeCalculator': ... - def exportJacobianToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addInputVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "ProcessDerivativeCalculator": ... + def addOutputVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessDerivativeCalculator": ... + def calculateHessian( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateJacobian( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def clearInputVariables(self) -> "ProcessDerivativeCalculator": ... + def clearOutputVariables(self) -> "ProcessDerivativeCalculator": ... + def exportJacobianToCSV( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def exportJacobianToJSON(self) -> java.lang.String: ... def getBaseInputValues(self) -> typing.MutableSequence[float]: ... def getBaseOutputValues(self) -> typing.MutableSequence[float]: ... - def getDerivative(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def getGradient(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getDerivative( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getGradient( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getInputVariableNames(self) -> java.util.List[java.lang.String]: ... def getOutputVariableNames(self) -> java.util.List[java.lang.String]: ... - def setMethod(self, derivativeMethod: 'ProcessDerivativeCalculator.DerivativeMethod') -> 'ProcessDerivativeCalculator': ... - def setParallel(self, boolean: bool, int: int) -> 'ProcessDerivativeCalculator': ... - def setRelativeStepSize(self, double: float) -> 'ProcessDerivativeCalculator': ... - class DerivativeMethod(java.lang.Enum['ProcessDerivativeCalculator.DerivativeMethod']): - FORWARD_DIFFERENCE: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... - CENTRAL_DIFFERENCE: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... - CENTRAL_DIFFERENCE_SECOND_ORDER: typing.ClassVar['ProcessDerivativeCalculator.DerivativeMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setMethod( + self, derivativeMethod: "ProcessDerivativeCalculator.DerivativeMethod" + ) -> "ProcessDerivativeCalculator": ... + def setParallel(self, boolean: bool, int: int) -> "ProcessDerivativeCalculator": ... + def setRelativeStepSize(self, double: float) -> "ProcessDerivativeCalculator": ... + + class DerivativeMethod( + java.lang.Enum["ProcessDerivativeCalculator.DerivativeMethod"] + ): + FORWARD_DIFFERENCE: typing.ClassVar[ + "ProcessDerivativeCalculator.DerivativeMethod" + ] = ... + CENTRAL_DIFFERENCE: typing.ClassVar[ + "ProcessDerivativeCalculator.DerivativeMethod" + ] = ... + CENTRAL_DIFFERENCE_SECOND_ORDER: typing.ClassVar[ + "ProcessDerivativeCalculator.DerivativeMethod" + ] = ... + _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: ... + 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]) -> 'ProcessDerivativeCalculator.DerivativeMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessDerivativeCalculator.DerivativeMethod": ... @staticmethod - def values() -> typing.MutableSequence['ProcessDerivativeCalculator.DerivativeMethod']: ... + def values() -> ( + typing.MutableSequence["ProcessDerivativeCalculator.DerivativeMethod"] + ): ... + class DerivativeResult: value: float = ... errorEstimate: float = ... @@ -232,92 +420,168 @@ class ProcessDerivativeCalculator: def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... + class VariableSpec: path: java.lang.String = ... unit: java.lang.String = ... customStepSize: float = ... - type: 'ProcessDerivativeCalculator.VariableType' = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - class VariableType(java.lang.Enum['ProcessDerivativeCalculator.VariableType']): - PRESSURE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - TEMPERATURE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - FLOW_RATE: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - COMPOSITION: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - LEVEL: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - GENERAL: typing.ClassVar['ProcessDerivativeCalculator.VariableType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + type: "ProcessDerivativeCalculator.VariableType" = ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + + class VariableType(java.lang.Enum["ProcessDerivativeCalculator.VariableType"]): + PRESSURE: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + TEMPERATURE: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + FLOW_RATE: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + COMPOSITION: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + LEVEL: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + GENERAL: typing.ClassVar["ProcessDerivativeCalculator.VariableType"] = ... + _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: ... + 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]) -> 'ProcessDerivativeCalculator.VariableType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessDerivativeCalculator.VariableType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessDerivativeCalculator.VariableType']: ... + def values() -> ( + typing.MutableSequence["ProcessDerivativeCalculator.VariableType"] + ): ... class ProcessLinearizer: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addCV(self, controlledVariable: 'ControlledVariable') -> 'ProcessLinearizer': ... - def addDV(self, disturbanceVariable: 'DisturbanceVariable') -> 'ProcessLinearizer': ... - def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'ProcessLinearizer': ... - def clear(self) -> 'ProcessLinearizer': ... - def getControlledVariables(self) -> java.util.List['ControlledVariable']: ... - def getDisturbanceVariables(self) -> java.util.List['DisturbanceVariable']: ... - def getManipulatedVariables(self) -> java.util.List['ManipulatedVariable']: ... - def isApproximatelyLinear(self, double: float, double2: float, double3: float) -> bool: ... + def addCV( + self, controlledVariable: "ControlledVariable" + ) -> "ProcessLinearizer": ... + def addDV( + self, disturbanceVariable: "DisturbanceVariable" + ) -> "ProcessLinearizer": ... + def addMV( + self, manipulatedVariable: "ManipulatedVariable" + ) -> "ProcessLinearizer": ... + def clear(self) -> "ProcessLinearizer": ... + def getControlledVariables(self) -> java.util.List["ControlledVariable"]: ... + def getDisturbanceVariables(self) -> java.util.List["DisturbanceVariable"]: ... + def getManipulatedVariables(self) -> java.util.List["ManipulatedVariable"]: ... + def isApproximatelyLinear( + self, double: float, double2: float, double3: float + ) -> bool: ... @typing.overload def linearize(self) -> LinearizationResult: ... @typing.overload def linearize(self, double: float) -> LinearizationResult: ... - def linearizeMultiplePoints(self, int: int, double: float) -> java.util.List[LinearizationResult]: ... - def setDefaultPerturbationSize(self, double: float) -> 'ProcessLinearizer': ... - def setMinimumAbsolutePerturbation(self, double: float) -> 'ProcessLinearizer': ... - def setUseCentralDifferences(self, boolean: bool) -> 'ProcessLinearizer': ... + def linearizeMultiplePoints( + self, int: int, double: float + ) -> java.util.List[LinearizationResult]: ... + def setDefaultPerturbationSize(self, double: float) -> "ProcessLinearizer": ... + def setMinimumAbsolutePerturbation(self, double: float) -> "ProcessLinearizer": ... + def setUseCentralDifferences(self, boolean: bool) -> "ProcessLinearizer": ... class ProcessLinkedMPC(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addCV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'ControlledVariable': ... - def addCVZone(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ControlledVariable': ... - def addDV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + ): ... + def addCV( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "ControlledVariable": ... + def addCVZone( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ControlledVariable": ... + def addDV( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "DisturbanceVariable": ... @typing.overload - def addMV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ManipulatedVariable': ... + def addMV( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ManipulatedVariable": ... @typing.overload - def addMV(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ManipulatedVariable': ... + def addMV( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "ManipulatedVariable": ... @typing.overload - def addSVR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'StateVariable': ... + def addSVR( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "StateVariable": ... @typing.overload - def addSVR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'StateVariable': ... + def addSVR( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "StateVariable": ... def applyMoves(self) -> None: ... def calculate(self) -> typing.MutableSequence[float]: ... def createDataExchange(self) -> ControllerDataExchange: ... def createIndustrialExporter(self) -> IndustrialMPCExporter: ... - def createSubrModlExporter(self) -> 'SubrModlExporter': ... - def exportModel(self) -> 'StateSpaceExporter': ... + def createSubrModlExporter(self) -> "SubrModlExporter": ... + def exportModel(self) -> "StateSpaceExporter": ... def getConfigurationSummary(self) -> java.lang.String: ... def getControlHorizon(self) -> int: ... - def getControlledVariables(self) -> java.util.List['ControlledVariable']: ... + def getControlledVariables(self) -> java.util.List["ControlledVariable"]: ... def getCurrentCVs(self) -> typing.MutableSequence[float]: ... def getCurrentMVs(self) -> typing.MutableSequence[float]: ... - def getDisturbanceVariables(self) -> java.util.List['DisturbanceVariable']: ... + def getDisturbanceVariables(self) -> java.util.List["DisturbanceVariable"]: ... def getLastMoves(self) -> typing.MutableSequence[float]: ... def getLinearizationResult(self) -> LinearizationResult: ... - def getManipulatedVariables(self) -> java.util.List['ManipulatedVariable']: ... + def getManipulatedVariables(self) -> java.util.List["ManipulatedVariable"]: ... def getName(self) -> java.lang.String: ... def getPredictionHorizon(self) -> int: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getSampleTime(self) -> float: ... - def getStateVariables(self) -> java.util.List['StateVariable']: ... + def getStateVariables(self) -> java.util.List["StateVariable"]: ... def identifyModel(self, double: float) -> None: ... def isModelIdentified(self) -> bool: ... def runProcess(self) -> None: ... - def setConstraint(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setConstraint( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> None: ... def setControlHorizon(self, int: int) -> None: ... - def setErrorWeight(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setErrorWeight( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setModelUpdateInterval(self, int: int) -> None: ... - def setMoveSuppressionWeight(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setMoveSuppressionWeight( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setPredictionHorizon(self, int: int) -> None: ... def setSampleTime(self, double: float) -> None: ... - def setSetpoint(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSetpoint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setUseNonlinearPrediction(self, boolean: bool) -> None: ... def step(self) -> typing.MutableSequence[float]: ... def toString(self) -> java.lang.String: ... @@ -330,53 +594,127 @@ class ProcessVariableAccessor: @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isValidPath(self, string: typing.Union[java.lang.String, str]) -> bool: ... @typing.overload - def setValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def setValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setValue( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... class SoftSensorExporter(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addCompositionEstimator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addCompressibilitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addCustomSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], sensorType: 'SoftSensorExporter.SensorType', string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... - def addDensitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addHeatCapacitySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addMolecularWeightSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addPhaseFractionSensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def addViscositySensor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def clear(self) -> 'SoftSensorExporter': ... + def addCompositionEstimator( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addCompressibilitySensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addCustomSensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + sensorType: "SoftSensorExporter.SensorType", + string3: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter.SoftSensorDefinition": ... + def addDensitySensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addHeatCapacitySensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addMolecularWeightSensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addPhaseFractionSensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def addViscositySensor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter": ... + def clear(self) -> "SoftSensorExporter": ... def exportCVTFormat(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getSensors(self) -> java.util.List['SoftSensorExporter.SoftSensorDefinition']: ... - def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - def setTagPrefix(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter': ... - class SensorType(java.lang.Enum['SoftSensorExporter.SensorType']): - DENSITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - VISCOSITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - PHASE_FRACTION: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - COMPOSITION: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - MOLECULAR_WEIGHT: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - COMPRESSIBILITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - HEAT_CAPACITY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - ENTHALPY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - ENTROPY: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - CUSTOM: typing.ClassVar['SoftSensorExporter.SensorType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def exportConfiguration( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def getSensors( + self, + ) -> java.util.List["SoftSensorExporter.SoftSensorDefinition"]: ... + def setApplicationName( + self, string: typing.Union[java.lang.String, str] + ) -> "SoftSensorExporter": ... + def setTagPrefix( + self, string: typing.Union[java.lang.String, str] + ) -> "SoftSensorExporter": ... + + class SensorType(java.lang.Enum["SoftSensorExporter.SensorType"]): + DENSITY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + VISCOSITY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + PHASE_FRACTION: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + COMPOSITION: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + MOLECULAR_WEIGHT: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + COMPRESSIBILITY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + HEAT_CAPACITY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + ENTHALPY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + ENTROPY: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + CUSTOM: typing.ClassVar["SoftSensorExporter.SensorType"] = ... + _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: ... + 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]) -> 'SoftSensorExporter.SensorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SoftSensorExporter.SensorType": ... @staticmethod - def values() -> typing.MutableSequence['SoftSensorExporter.SensorType']: ... + def values() -> typing.MutableSequence["SoftSensorExporter.SensorType"]: ... + class SoftSensorDefinition(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], sensorType: 'SoftSensorExporter.SensorType'): ... - def addInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... - def addParameter(self, string: typing.Union[java.lang.String, str], double: float) -> 'SoftSensorExporter.SoftSensorDefinition': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + sensorType: "SoftSensorExporter.SensorType", + ): ... + def addInput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SoftSensorExporter.SoftSensorDefinition": ... + def addParameter( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "SoftSensorExporter.SoftSensorDefinition": ... def getComponentName(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... @@ -384,29 +722,67 @@ class SoftSensorExporter(java.io.Serializable): def getName(self) -> java.lang.String: ... def getOutputUnit(self) -> java.lang.String: ... def getParameters(self) -> java.util.Map[java.lang.String, float]: ... - def getSensorType(self) -> 'SoftSensorExporter.SensorType': ... + def getSensorType(self) -> "SoftSensorExporter.SensorType": ... def getUpdateRateSeconds(self) -> float: ... - def setComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'SoftSensorExporter.SoftSensorDefinition': ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setOutputUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setUpdateRateSeconds(self, double: float) -> 'SoftSensorExporter.SoftSensorDefinition': ... - def toMap(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, typing.Any]: ... + def setComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "SoftSensorExporter.SoftSensorDefinition": ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOutputUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setUpdateRateSeconds( + self, double: float + ) -> "SoftSensorExporter.SoftSensorDefinition": ... + def toMap( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, typing.Any]: ... class StateSpaceExporter(java.io.Serializable): @typing.overload def __init__(self, linearizationResult: LinearizationResult): ... @typing.overload - def __init__(self, stepResponseMatrix: 'StepResponseGenerator.StepResponseMatrix'): ... + def __init__( + self, stepResponseMatrix: "StepResponseGenerator.StepResponseMatrix" + ): ... def exportCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportMATLAB(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportStepCoefficients(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... - def getStateSpaceModel(self) -> 'StateSpaceExporter.StateSpaceModel': ... - def setStepResponseMatrix(self, stepResponseMatrix: 'StepResponseGenerator.StepResponseMatrix') -> 'StateSpaceExporter': ... - def toDiscreteStateSpace(self, double: float) -> 'StateSpaceExporter.StateSpaceModel': ... + def exportStepCoefficients( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... + def getStateSpaceModel(self) -> "StateSpaceExporter.StateSpaceModel": ... + def setStepResponseMatrix( + self, stepResponseMatrix: "StepResponseGenerator.StepResponseMatrix" + ) -> "StateSpaceExporter": ... + def toDiscreteStateSpace( + self, double: float + ) -> "StateSpaceExporter.StateSpaceModel": ... + class StateSpaceModel(java.io.Serializable): - def __init__(self, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double5: float, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double5: float, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def getA(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getB(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getC(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @@ -416,18 +792,39 @@ class StateSpaceExporter(java.io.Serializable): def getNumInputs(self) -> int: ... def getNumOutputs(self) -> int: ... def getNumStates(self) -> int: ... - def getOutput(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getOutput( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def getOutputNames(self) -> typing.MutableSequence[java.lang.String]: ... def getSampleTime(self) -> float: ... def getSteadyStateGain(self, int: int, int2: int) -> float: ... - def stepState(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def stepState( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... class StepResponse(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, double4: float, double5: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... - def convolve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def fitFOPDT(self) -> 'StepResponse': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + double4: float, + double5: float, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... + def convolve( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def fitFOPDT(self) -> "StepResponse": ... def getBaselineValue(self) -> float: ... def getCvName(self) -> java.lang.String: ... def getDeadTime(self) -> float: ... @@ -449,84 +846,202 @@ class StepResponse(java.io.Serializable): class StepResponseGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addCV(self, controlledVariable: 'ControlledVariable') -> 'StepResponseGenerator': ... - def addMV(self, manipulatedVariable: 'ManipulatedVariable') -> 'StepResponseGenerator': ... - def clear(self) -> 'StepResponseGenerator': ... - def generateAllResponses(self) -> 'StepResponseGenerator.StepResponseMatrix': ... + def addCV( + self, controlledVariable: "ControlledVariable" + ) -> "StepResponseGenerator": ... + def addMV( + self, manipulatedVariable: "ManipulatedVariable" + ) -> "StepResponseGenerator": ... + def clear(self) -> "StepResponseGenerator": ... + def generateAllResponses(self) -> "StepResponseGenerator.StepResponseMatrix": ... def getSampleIntervalSeconds(self) -> float: ... def getSettlingTimeSeconds(self) -> float: ... def getStepSizeFraction(self) -> float: ... - def runStepTest(self, manipulatedVariable: 'ManipulatedVariable') -> java.util.List[StepResponse]: ... - def setBidirectionalTest(self, boolean: bool) -> 'StepResponseGenerator': ... - def setPositiveStep(self, boolean: bool) -> 'StepResponseGenerator': ... - def setSampleInterval(self, double: float, string: typing.Union[java.lang.String, str]) -> 'StepResponseGenerator': ... - def setSettlingTime(self, double: float, string: typing.Union[java.lang.String, str]) -> 'StepResponseGenerator': ... - def setStepSize(self, double: float) -> 'StepResponseGenerator': ... + def runStepTest( + self, manipulatedVariable: "ManipulatedVariable" + ) -> java.util.List[StepResponse]: ... + def setBidirectionalTest(self, boolean: bool) -> "StepResponseGenerator": ... + def setPositiveStep(self, boolean: bool) -> "StepResponseGenerator": ... + def setSampleInterval( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "StepResponseGenerator": ... + def setSettlingTime( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "StepResponseGenerator": ... + def setStepSize(self, double: float) -> "StepResponseGenerator": ... + class StepResponseMatrix(java.io.Serializable): - def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], StepResponse], typing.Mapping[typing.Union[java.lang.String, str], StepResponse]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], StepResponse], typing.Mapping[typing.Union[java.lang.String, str], StepResponse]]]], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - def get(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> StepResponse: ... + def __init__( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], StepResponse + ], + typing.Mapping[ + typing.Union[java.lang.String, str], StepResponse + ], + ], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], StepResponse + ], + typing.Mapping[ + typing.Union[java.lang.String, str], StepResponse + ], + ], + ], + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + def get( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> StepResponse: ... def getCvNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getDeadTimeMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getGainMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDeadTimeMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getGainMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMvNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getTimeConstantMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getTimeConstantMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def toCSV(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... class SubrModlExporter(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addIndexEntry(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + def addIndexEntry( + self, string: typing.Union[java.lang.String, str] + ) -> "SubrModlExporter": ... @typing.overload - def addParameter(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... + def addParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "SubrModlExporter": ... @typing.overload - def addParameter(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... - def addStateVariable(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'SubrModlExporter': ... - def addSubrXvr(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float) -> 'SubrModlExporter': ... - def exportConfiguration(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SubrModlExporter": ... + def addStateVariable( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "SubrModlExporter": ... + def addSubrXvr( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + ) -> "SubrModlExporter": ... + def exportConfiguration( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def exportIndexTable(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportMPCConfiguration(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def exportMPCConfiguration( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> None: ... def getIndexTable(self) -> java.util.List[java.lang.String]: ... - def getParameters(self) -> java.util.List['SubrModlExporter.ModelParameter']: ... - def getStateVariables(self) -> java.util.List['SubrModlExporter.StateVariable']: ... - def getSubrXvrs(self) -> java.util.List['SubrModlExporter.SubrXvr']: ... - def populateFromMPC(self, processLinkedMPC: ProcessLinkedMPC) -> 'SubrModlExporter': ... - def setApplicationName(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... - def setModelName(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter': ... - def setSampleTime(self, double: float) -> 'SubrModlExporter': ... + def getParameters(self) -> java.util.List["SubrModlExporter.ModelParameter"]: ... + def getStateVariables(self) -> java.util.List["SubrModlExporter.StateVariable"]: ... + def getSubrXvrs(self) -> java.util.List["SubrModlExporter.SubrXvr"]: ... + def populateFromMPC( + self, processLinkedMPC: ProcessLinkedMPC + ) -> "SubrModlExporter": ... + def setApplicationName( + self, string: typing.Union[java.lang.String, str] + ) -> "SubrModlExporter": ... + def setModelName( + self, string: typing.Union[java.lang.String, str] + ) -> "SubrModlExporter": ... + def setSampleTime(self, double: float) -> "SubrModlExporter": ... + class ModelParameter(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def getValue(self) -> float: ... + class StateVariable(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], double: float): ... + 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, + ): ... def getDescription(self) -> java.lang.String: ... def getDtaIx(self) -> java.lang.String: ... def getMeasValue(self) -> float: ... def getModelValue(self) -> float: ... def getName(self) -> java.lang.String: ... def isMeasured(self) -> bool: ... - def setMeasValue(self, double: float) -> 'SubrModlExporter.StateVariable': ... + def setMeasValue(self, double: float) -> "SubrModlExporter.StateVariable": ... + class SubrXvr(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], double: float): ... + 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, + ): ... def getDtaIx(self) -> java.lang.String: ... def getInit(self) -> float: ... def getName(self) -> java.lang.String: ... def getText1(self) -> java.lang.String: ... def getText2(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... - def setInit(self, double: float) -> 'SubrModlExporter.SubrXvr': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'SubrModlExporter.SubrXvr': ... + def setInit(self, double: float) -> "SubrModlExporter.SubrXvr": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "SubrModlExporter.SubrXvr": ... class ControlledVariable(MPCVariable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getEffectiveSetpoint(self) -> float: ... def getHardMax(self) -> float: ... def getHardMin(self) -> float: ... @@ -544,25 +1059,47 @@ class ControlledVariable(MPCVariable): def isWithinZone(self) -> bool: ... def isZoneControl(self) -> bool: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'ControlledVariable': ... - def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ControlledVariable': ... - def setHardConstraints(self, double: float, double2: float) -> 'ControlledVariable': ... + def setBounds(self, double: float, double2: float) -> "ControlledVariable": ... + def setEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ControlledVariable": ... + def setHardConstraints( + self, double: float, double2: float + ) -> "ControlledVariable": ... def setPredictedValue(self, double: float) -> None: ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ControlledVariable': ... - def setSetpoint(self, double: float) -> 'ControlledVariable': ... - def setSoftConstraintPenalty(self, double: float) -> 'ControlledVariable': ... - def setSoftConstraints(self, double: float, double2: float) -> 'ControlledVariable': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ControlledVariable': ... - def setWeight(self, double: float) -> 'ControlledVariable': ... - def setZone(self, double: float, double2: float) -> 'ControlledVariable': ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> "ControlledVariable": ... + def setSetpoint(self, double: float) -> "ControlledVariable": ... + def setSoftConstraintPenalty(self, double: float) -> "ControlledVariable": ... + def setSoftConstraints( + self, double: float, double2: float + ) -> "ControlledVariable": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ControlledVariable": ... + def setWeight(self, double: float) -> "ControlledVariable": ... + def setZone(self, double: float, double2: float) -> "ControlledVariable": ... class DisturbanceVariable(MPCVariable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getCvSensitivity(self) -> typing.MutableSequence[float]: ... def getExpectedCvChange(self, int: int) -> float: ... def getExpectedCvChangeFromPrediction(self, int: int) -> float: ... @@ -573,23 +1110,41 @@ class DisturbanceVariable(MPCVariable): def getType(self) -> MPCVariable.MPCVariableType: ... def isMeasured(self) -> bool: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'DisturbanceVariable': ... + def setBounds(self, double: float, double2: float) -> "DisturbanceVariable": ... def setCurrentValue(self, double: float) -> None: ... - def setCvSensitivity(self, *double: float) -> 'DisturbanceVariable': ... - def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'DisturbanceVariable': ... - def setMeasured(self, boolean: bool) -> 'DisturbanceVariable': ... - def setPrediction(self, double: float, double2: float) -> 'DisturbanceVariable': ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'DisturbanceVariable': ... - def update(self, double: float) -> 'DisturbanceVariable': ... + def setCvSensitivity(self, *double: float) -> "DisturbanceVariable": ... + def setEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "DisturbanceVariable": ... + def setMeasured(self, boolean: bool) -> "DisturbanceVariable": ... + def setPrediction(self, double: float, double2: float) -> "DisturbanceVariable": ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> "DisturbanceVariable": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "DisturbanceVariable": ... + def update(self, double: float) -> "DisturbanceVariable": ... class ManipulatedVariable(MPCVariable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def calculateCost(self) -> float: ... def getCost(self) -> float: ... def getInitialValue(self) -> float: ... @@ -601,20 +1156,32 @@ class ManipulatedVariable(MPCVariable): def getType(self) -> MPCVariable.MPCVariableType: ... def isFeasible(self, double: float) -> bool: ... def readValue(self) -> float: ... - def setBounds(self, double: float, double2: float) -> 'ManipulatedVariable': ... - def setCost(self, double: float) -> 'ManipulatedVariable': ... - def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ManipulatedVariable': ... - def setInitialValue(self, double: float) -> 'ManipulatedVariable': ... - def setMoveWeight(self, double: float) -> 'ManipulatedVariable': ... - def setPreferredValue(self, double: float) -> 'ManipulatedVariable': ... - def setPreferredWeight(self, double: float) -> 'ManipulatedVariable': ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ManipulatedVariable': ... - def setRateLimit(self, double: float, double2: float) -> 'ManipulatedVariable': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ManipulatedVariable': ... + def setBounds(self, double: float, double2: float) -> "ManipulatedVariable": ... + def setCost(self, double: float) -> "ManipulatedVariable": ... + def setEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ManipulatedVariable": ... + def setInitialValue(self, double: float) -> "ManipulatedVariable": ... + def setMoveWeight(self, double: float) -> "ManipulatedVariable": ... + def setPreferredValue(self, double: float) -> "ManipulatedVariable": ... + def setPreferredWeight(self, double: float) -> "ManipulatedVariable": ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> "ManipulatedVariable": ... + def setRateLimit(self, double: float, double2: float) -> "ManipulatedVariable": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ManipulatedVariable": ... def writeValue(self, double: float) -> None: ... class StateVariable(MPCVariable): - def __init__(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + string2: typing.Union[java.lang.String, str], + ): ... def clearMeasurement(self) -> None: ... def getBias(self) -> float: ... def getBiasTfilt(self) -> float: ... @@ -639,7 +1206,6 @@ class StateVariable(MPCVariable): def toString(self) -> java.lang.String: ... def update(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.mpc")``. diff --git a/src/jneqsim-stubs/process/operations/__init__.pyi b/src/jneqsim-stubs/process/operations/__init__.pyi index 553db202..30725d63 100644 --- a/src/jneqsim-stubs/process/operations/__init__.pyi +++ b/src/jneqsim-stubs/process/operations/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,8 +16,6 @@ import jneqsim.process.processmodel import jneqsim.util.validation import typing - - class ControllerTuningResult(java.io.Serializable): def getControllerName(self) -> java.lang.String: ... def getIntegralAbsoluteError(self) -> float: ... @@ -34,57 +32,95 @@ class ControllerTuningResult(java.io.Serializable): class ControllerTuningStudy: @staticmethod - def evaluateStepResponse(string: typing.Union[java.lang.String, str], double: 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], double5: float, double6: float, double7: float) -> ControllerTuningResult: ... + def evaluateStepResponse( + string: typing.Union[java.lang.String, str], + double: 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], + double5: float, + double6: float, + double7: float, + ) -> ControllerTuningResult: ... class OperationalAction(java.io.Serializable): @staticmethod - def applyFieldInputs() -> 'OperationalAction': ... + def applyFieldInputs() -> "OperationalAction": ... def getDescription(self) -> java.lang.String: ... def getDurationSeconds(self) -> float: ... def getTarget(self) -> java.lang.String: ... def getTimeStepSeconds(self) -> float: ... - def getType(self) -> 'OperationalAction.ActionType': ... + def getType(self) -> "OperationalAction.ActionType": ... def getUnit(self) -> java.lang.String: ... def getValue(self) -> float: ... @staticmethod - def runSteadyState() -> 'OperationalAction': ... + def runSteadyState() -> "OperationalAction": ... @staticmethod - def runTransient(double: float, double2: float) -> 'OperationalAction': ... + def runTransient(double: float, double2: float) -> "OperationalAction": ... @staticmethod - def setValveOpening(string: typing.Union[java.lang.String, str], double: float) -> 'OperationalAction': ... + def setValveOpening( + string: typing.Union[java.lang.String, str], double: float + ) -> "OperationalAction": ... @staticmethod - def setVariable(string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'OperationalAction': ... - class ActionType(java.lang.Enum['OperationalAction.ActionType']): - SET_VARIABLE: typing.ClassVar['OperationalAction.ActionType'] = ... - SET_VALVE_OPENING: typing.ClassVar['OperationalAction.ActionType'] = ... - APPLY_FIELD_INPUTS: typing.ClassVar['OperationalAction.ActionType'] = ... - RUN_STEADY_STATE: typing.ClassVar['OperationalAction.ActionType'] = ... - RUN_TRANSIENT: typing.ClassVar['OperationalAction.ActionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setVariable( + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "OperationalAction": ... + + class ActionType(java.lang.Enum["OperationalAction.ActionType"]): + SET_VARIABLE: typing.ClassVar["OperationalAction.ActionType"] = ... + SET_VALVE_OPENING: typing.ClassVar["OperationalAction.ActionType"] = ... + APPLY_FIELD_INPUTS: typing.ClassVar["OperationalAction.ActionType"] = ... + RUN_STEADY_STATE: typing.ClassVar["OperationalAction.ActionType"] = ... + RUN_TRANSIENT: typing.ClassVar["OperationalAction.ActionType"] = ... + _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: ... + 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]) -> 'OperationalAction.ActionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OperationalAction.ActionType": ... @staticmethod - def values() -> typing.MutableSequence['OperationalAction.ActionType']: ... + def values() -> typing.MutableSequence["OperationalAction.ActionType"]: ... class OperationalEvidencePackage: DEFAULT_BENCHMARK_TOLERANCE_FRACTION: typing.ClassVar[float] = ... @staticmethod - def buildCapacityReport(processSystem: jneqsim.process.processmodel.ProcessSystem) -> com.google.gson.JsonObject: ... + def buildCapacityReport( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> com.google.gson.JsonObject: ... @staticmethod - def buildReport(string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, operationalTagMap: 'OperationalTagMap', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['OperationalScenario'], double: float) -> com.google.gson.JsonObject: ... + def buildReport( + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + operationalTagMap: "OperationalTagMap", + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + list: java.util.List["OperationalScenario"], + double: float, + ) -> com.google.gson.JsonObject: ... class OperationalScenario(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'OperationalScenario.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "OperationalScenario.Builder": ... def getActions(self) -> java.util.List[OperationalAction]: ... def getName(self) -> java.lang.String: ... + class Builder: - def addAction(self, operationalAction: OperationalAction) -> 'OperationalScenario.Builder': ... - def build(self) -> 'OperationalScenario': ... + def addAction( + self, operationalAction: OperationalAction + ) -> "OperationalScenario.Builder": ... + def build(self) -> "OperationalScenario": ... class OperationalScenarioResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... @@ -98,17 +134,26 @@ class OperationalScenarioResult(java.io.Serializable): def getScenarioName(self) -> java.lang.String: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isSuccessful(self) -> bool: ... - def putAfterValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def putBeforeValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def putAfterValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def putBeforeValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class OperationalScenarioRunner: @staticmethod - def run(processSystem: jneqsim.process.processmodel.ProcessSystem, operationalScenario: OperationalScenario) -> OperationalScenarioResult: ... + def run( + processSystem: jneqsim.process.processmodel.ProcessSystem, + operationalScenario: OperationalScenario, + ) -> OperationalScenarioResult: ... class OperationalTagBinding(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... def equals(self, object: typing.Any) -> bool: ... def getAutomationAddress(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... @@ -120,24 +165,54 @@ class OperationalTagBinding(java.io.Serializable): def hasAutomationAddress(self) -> bool: ... def hasHistorianTag(self) -> bool: ... def hashCode(self) -> int: ... + class Builder: - def automationAddress(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... - def build(self) -> 'OperationalTagBinding': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... - def historianTag(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... - def pidReference(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... - def role(self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole) -> 'OperationalTagBinding.Builder': ... - def unit(self, string: typing.Union[java.lang.String, str]) -> 'OperationalTagBinding.Builder': ... + def automationAddress( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... + def build(self) -> "OperationalTagBinding": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... + def historianTag( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... + def pidReference( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... + def role( + self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole + ) -> "OperationalTagBinding.Builder": ... + def unit( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalTagBinding.Builder": ... class OperationalTagMap(java.io.Serializable): def __init__(self): ... - def addBinding(self, operationalTagBinding: OperationalTagBinding) -> 'OperationalTagMap': ... - def applyFieldData(self, processSystem: jneqsim.process.processmodel.ProcessSystem, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> java.util.Map[java.lang.String, float]: ... - def containsLogicalTag(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def getBinding(self, string: typing.Union[java.lang.String, str]) -> OperationalTagBinding: ... + def addBinding( + self, operationalTagBinding: OperationalTagBinding + ) -> "OperationalTagMap": ... + def applyFieldData( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> java.util.Map[java.lang.String, float]: ... + def containsLogicalTag( + self, string: typing.Union[java.lang.String, str] + ) -> bool: ... + def getBinding( + self, string: typing.Union[java.lang.String, str] + ) -> OperationalTagBinding: ... def getBindings(self) -> java.util.List[OperationalTagBinding]: ... - def readValues(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.Map[java.lang.String, float]: ... - def validate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + def readValues( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> java.util.Map[java.lang.String, float]: ... + def validate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> jneqsim.util.validation.ValidationResult: ... class PipeSectionAnalyzer: @staticmethod @@ -147,7 +222,6 @@ class WaterHammerStudy: @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.operations")``. diff --git a/src/jneqsim-stubs/process/operations/envelope/__init__.pyi b/src/jneqsim-stubs/process/operations/envelope/__init__.pyi index 22a0de06..4d8a30e7 100644 --- a/src/jneqsim-stubs/process/operations/envelope/__init__.pyi +++ b/src/jneqsim-stubs/process/operations/envelope/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,124 +13,202 @@ import jneqsim.process.equipment.capacity import jneqsim.process.processmodel import typing - - class MarginTrendTracker(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addCurrentMargin(self, double: float, operationalMargin: 'OperationalMargin') -> 'MarginTrendTracker': ... - def addSample(self, double: float, double2: float) -> 'MarginTrendTracker': ... + def addCurrentMargin( + self, double: float, operationalMargin: "OperationalMargin" + ) -> "MarginTrendTracker": ... + def addSample(self, double: float, double2: float) -> "MarginTrendTracker": ... def estimateConfidence(self) -> float: ... def estimateTimeToLimitSeconds(self) -> float: ... - def getLatestSample(self) -> 'MarginTrendTracker.MarginSample': ... + def getLatestSample(self) -> "MarginTrendTracker.MarginSample": ... def getMarginKey(self) -> java.lang.String: ... - def getSamples(self) -> java.util.List['MarginTrendTracker.MarginSample']: ... + def getSamples(self) -> java.util.List["MarginTrendTracker.MarginSample"]: ... def getTrendDescription(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... - class MarginSample(java.io.Serializable, java.lang.Comparable['MarginTrendTracker.MarginSample']): + + class MarginSample( + java.io.Serializable, java.lang.Comparable["MarginTrendTracker.MarginSample"] + ): def __init__(self, double: float, double2: float): ... - def compareTo(self, marginSample: 'MarginTrendTracker.MarginSample') -> int: ... + def compareTo(self, marginSample: "MarginTrendTracker.MarginSample") -> int: ... def getMarginPercent(self) -> float: ... def getTimestampSeconds(self) -> float: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... -class MitigationSuggestion(java.io.Serializable, java.lang.Comparable['MitigationSuggestion']): - def __init__(self, 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], double: float, string5: typing.Union[java.lang.String, str], priority: 'MitigationSuggestion.Priority', category: 'MitigationSuggestion.Category', string6: typing.Union[java.lang.String, str], double2: float): ... - def compareTo(self, mitigationSuggestion: 'MitigationSuggestion') -> int: ... +class MitigationSuggestion( + java.io.Serializable, java.lang.Comparable["MitigationSuggestion"] +): + def __init__( + self, + 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], + double: float, + string5: typing.Union[java.lang.String, str], + priority: "MitigationSuggestion.Priority", + category: "MitigationSuggestion.Category", + string6: typing.Union[java.lang.String, str], + double2: float, + ): ... + def compareTo(self, mitigationSuggestion: "MitigationSuggestion") -> int: ... @staticmethod - def fromMargin(operationalMargin: 'OperationalMargin') -> 'MitigationSuggestion': ... - def getCategory(self) -> 'MitigationSuggestion.Category': ... + def fromMargin( + operationalMargin: "OperationalMargin", + ) -> "MitigationSuggestion": ... + def getCategory(self) -> "MitigationSuggestion.Category": ... def getConfidence(self) -> float: ... def getDescription(self) -> java.lang.String: ... def getExpectedImprovement(self) -> java.lang.String: ... def getMarginKey(self) -> java.lang.String: ... - def getPriority(self) -> 'MitigationSuggestion.Priority': ... + def getPriority(self) -> "MitigationSuggestion.Priority": ... def getSuggestedValue(self) -> float: ... def getTargetEquipment(self) -> java.lang.String: ... def getTargetVariable(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... - class Category(java.lang.Enum['MitigationSuggestion.Category']): - SETPOINT_CHANGE: typing.ClassVar['MitigationSuggestion.Category'] = ... - LOAD_REDUCTION: typing.ClassVar['MitigationSuggestion.Category'] = ... - OPERABILITY_REVIEW: typing.ClassVar['MitigationSuggestion.Category'] = ... - DATA_QUALITY: typing.ClassVar['MitigationSuggestion.Category'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Category(java.lang.Enum["MitigationSuggestion.Category"]): + SETPOINT_CHANGE: typing.ClassVar["MitigationSuggestion.Category"] = ... + LOAD_REDUCTION: typing.ClassVar["MitigationSuggestion.Category"] = ... + OPERABILITY_REVIEW: typing.ClassVar["MitigationSuggestion.Category"] = ... + DATA_QUALITY: typing.ClassVar["MitigationSuggestion.Category"] = ... + _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: ... + 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]) -> 'MitigationSuggestion.Category': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MitigationSuggestion.Category": ... @staticmethod - def values() -> typing.MutableSequence['MitigationSuggestion.Category']: ... - class Priority(java.lang.Enum['MitigationSuggestion.Priority']): - IMMEDIATE: typing.ClassVar['MitigationSuggestion.Priority'] = ... - HIGH: typing.ClassVar['MitigationSuggestion.Priority'] = ... - MEDIUM: typing.ClassVar['MitigationSuggestion.Priority'] = ... - LOW: typing.ClassVar['MitigationSuggestion.Priority'] = ... + def values() -> typing.MutableSequence["MitigationSuggestion.Category"]: ... + + class Priority(java.lang.Enum["MitigationSuggestion.Priority"]): + IMMEDIATE: typing.ClassVar["MitigationSuggestion.Priority"] = ... + HIGH: typing.ClassVar["MitigationSuggestion.Priority"] = ... + MEDIUM: typing.ClassVar["MitigationSuggestion.Priority"] = ... + LOW: typing.ClassVar["MitigationSuggestion.Priority"] = ... def getRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MitigationSuggestion.Priority': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MitigationSuggestion.Priority": ... @staticmethod - def values() -> typing.MutableSequence['MitigationSuggestion.Priority']: ... + def values() -> typing.MutableSequence["MitigationSuggestion.Priority"]: ... class OperationalEnvelopeEvaluator: DEFAULT_PREDICTION_HORIZON_SECONDS: typing.ClassVar[float] = ... DEFAULT_MIN_PREDICTION_CONFIDENCE: typing.ClassVar[float] = ... @staticmethod - def collectMargins(processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['OperationalMargin']: ... + def collectMargins( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> java.util.List["OperationalMargin"]: ... @typing.overload @staticmethod - def evaluate(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'OperationalEnvelopeReport': ... + def evaluate( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "OperationalEnvelopeReport": ... @typing.overload @staticmethod - def evaluate(processSystem: jneqsim.process.processmodel.ProcessSystem, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], MarginTrendTracker], typing.Mapping[typing.Union[java.lang.String, str], MarginTrendTracker]], double: float, boolean: bool) -> 'OperationalEnvelopeReport': ... + def evaluate( + processSystem: jneqsim.process.processmodel.ProcessSystem, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], MarginTrendTracker], + typing.Mapping[typing.Union[java.lang.String, str], MarginTrendTracker], + ], + double: float, + boolean: bool, + ) -> "OperationalEnvelopeReport": ... class OperationalEnvelopeReport(java.io.Serializable): - def __init__(self, long: int, double: float, list: java.util.List['OperationalMargin'], list2: java.util.List['TripPrediction'], list3: java.util.List[MitigationSuggestion]): ... + def __init__( + self, + long: int, + double: float, + list: java.util.List["OperationalMargin"], + list2: java.util.List["TripPrediction"], + list3: java.util.List[MitigationSuggestion], + ): ... def getEvaluationTimeSeconds(self) -> float: ... - def getMargins(self) -> java.util.List['OperationalMargin']: ... + def getMargins(self) -> java.util.List["OperationalMargin"]: ... def getMitigationSuggestions(self) -> java.util.List[MitigationSuggestion]: ... - def getOverallStatus(self) -> 'OperationalEnvelopeReport.EnvelopeStatus': ... + def getOverallStatus(self) -> "OperationalEnvelopeReport.EnvelopeStatus": ... def getSummary(self) -> java.lang.String: ... def getTimestampMillis(self) -> int: ... - def getTripPredictions(self) -> java.util.List['TripPrediction']: ... + def getTripPredictions(self) -> java.util.List["TripPrediction"]: ... def getWarningOrWorseCount(self) -> int: ... def hasHighUrgencyPrediction(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... - class EnvelopeStatus(java.lang.Enum['OperationalEnvelopeReport.EnvelopeStatus']): - NORMAL: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... - NARROWING: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... - WARNING: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... - CRITICAL: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... - VIOLATED: typing.ClassVar['OperationalEnvelopeReport.EnvelopeStatus'] = ... + + class EnvelopeStatus(java.lang.Enum["OperationalEnvelopeReport.EnvelopeStatus"]): + NORMAL: typing.ClassVar["OperationalEnvelopeReport.EnvelopeStatus"] = ... + NARROWING: typing.ClassVar["OperationalEnvelopeReport.EnvelopeStatus"] = ... + WARNING: typing.ClassVar["OperationalEnvelopeReport.EnvelopeStatus"] = ... + CRITICAL: typing.ClassVar["OperationalEnvelopeReport.EnvelopeStatus"] = ... + VIOLATED: typing.ClassVar["OperationalEnvelopeReport.EnvelopeStatus"] = ... def getRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'OperationalEnvelopeReport.EnvelopeStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OperationalEnvelopeReport.EnvelopeStatus": ... @staticmethod - def values() -> typing.MutableSequence['OperationalEnvelopeReport.EnvelopeStatus']: ... + def values() -> ( + typing.MutableSequence["OperationalEnvelopeReport.EnvelopeStatus"] + ): ... -class OperationalMargin(java.io.Serializable, java.lang.Comparable['OperationalMargin']): +class OperationalMargin( + java.io.Serializable, java.lang.Comparable["OperationalMargin"] +): NARROWING_MARGIN_PERCENT: typing.ClassVar[float] = ... WARNING_MARGIN_PERCENT: typing.ClassVar[float] = ... CRITICAL_MARGIN_PERCENT: typing.ClassVar[float] = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, 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], string7: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + 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], + string7: typing.Union[java.lang.String, str], + boolean: bool, + boolean2: bool, + ): ... @staticmethod - def classify(double: float, boolean: bool) -> 'OperationalMargin.Status': ... - def compareTo(self, operationalMargin: 'OperationalMargin') -> int: ... + def classify(double: float, boolean: bool) -> "OperationalMargin.Status": ... + def compareTo(self, operationalMargin: "OperationalMargin") -> int: ... @staticmethod - def fromConstraint(string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> 'OperationalMargin': ... + def fromConstraint( + string: typing.Union[java.lang.String, str], + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + ) -> "OperationalMargin": ... def getConstraintName(self) -> java.lang.String: ... def getConstraintType(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... @@ -141,35 +219,47 @@ class OperationalMargin(java.io.Serializable, java.lang.Comparable['OperationalM def getLimitValue(self) -> float: ... def getMarginPercent(self) -> float: ... def getSeverity(self) -> java.lang.String: ... - def getStatus(self) -> 'OperationalMargin.Status': ... + def getStatus(self) -> "OperationalMargin.Status": ... def getUnit(self) -> java.lang.String: ... def getUtilizationPercent(self) -> float: ... def isHardLimitExceeded(self) -> bool: ... def isMinimumConstraint(self) -> bool: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... - class Status(java.lang.Enum['OperationalMargin.Status']): - NORMAL: typing.ClassVar['OperationalMargin.Status'] = ... - NARROWING: typing.ClassVar['OperationalMargin.Status'] = ... - WARNING: typing.ClassVar['OperationalMargin.Status'] = ... - CRITICAL: typing.ClassVar['OperationalMargin.Status'] = ... - VIOLATED: typing.ClassVar['OperationalMargin.Status'] = ... + + class Status(java.lang.Enum["OperationalMargin.Status"]): + NORMAL: typing.ClassVar["OperationalMargin.Status"] = ... + NARROWING: typing.ClassVar["OperationalMargin.Status"] = ... + WARNING: typing.ClassVar["OperationalMargin.Status"] = ... + CRITICAL: typing.ClassVar["OperationalMargin.Status"] = ... + VIOLATED: typing.ClassVar["OperationalMargin.Status"] = ... def getRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'OperationalMargin.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OperationalMargin.Status": ... @staticmethod - def values() -> typing.MutableSequence['OperationalMargin.Status']: ... + def values() -> typing.MutableSequence["OperationalMargin.Status"]: ... -class TripPrediction(java.io.Serializable, java.lang.Comparable['TripPrediction']): - def __init__(self, operationalMargin: OperationalMargin, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... +class TripPrediction(java.io.Serializable, java.lang.Comparable["TripPrediction"]): + def __init__( + self, + operationalMargin: OperationalMargin, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... @staticmethod - def classify(double: float) -> 'TripPrediction.Severity': ... - def compareTo(self, tripPrediction: 'TripPrediction') -> int: ... + def classify(double: float) -> "TripPrediction.Severity": ... + def compareTo(self, tripPrediction: "TripPrediction") -> int: ... def getConfidence(self) -> float: ... def getConstraintName(self) -> java.lang.String: ... def getCurrentMarginPercent(self) -> float: ... @@ -177,25 +267,30 @@ class TripPrediction(java.io.Serializable, java.lang.Comparable['TripPrediction' def getEstimatedTimeToLimitMinutes(self) -> float: ... def getEstimatedTimeToLimitSeconds(self) -> float: ... def getMarginKey(self) -> java.lang.String: ... - def getSeverity(self) -> 'TripPrediction.Severity': ... + def getSeverity(self) -> "TripPrediction.Severity": ... def getTrendDescription(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... - class Severity(java.lang.Enum['TripPrediction.Severity']): - LOW: typing.ClassVar['TripPrediction.Severity'] = ... - MEDIUM: typing.ClassVar['TripPrediction.Severity'] = ... - HIGH: typing.ClassVar['TripPrediction.Severity'] = ... - IMMINENT: typing.ClassVar['TripPrediction.Severity'] = ... + + class Severity(java.lang.Enum["TripPrediction.Severity"]): + LOW: typing.ClassVar["TripPrediction.Severity"] = ... + MEDIUM: typing.ClassVar["TripPrediction.Severity"] = ... + HIGH: typing.ClassVar["TripPrediction.Severity"] = ... + IMMINENT: typing.ClassVar["TripPrediction.Severity"] = ... def getRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'TripPrediction.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TripPrediction.Severity": ... @staticmethod - def values() -> typing.MutableSequence['TripPrediction.Severity']: ... - + def values() -> typing.MutableSequence["TripPrediction.Severity"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.operations.envelope")``. diff --git a/src/jneqsim-stubs/process/optimization/__init__.pyi b/src/jneqsim-stubs/process/optimization/__init__.pyi index 3cc9e038..9035a00c 100644 --- a/src/jneqsim-stubs/process/optimization/__init__.pyi +++ b/src/jneqsim-stubs/process/optimization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.process.optimization.valuechain import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.optimization")``. diff --git a/src/jneqsim-stubs/process/optimization/valuechain/__init__.pyi b/src/jneqsim-stubs/process/optimization/valuechain/__init__.pyi index 78eacb12..05cd00f9 100644 --- a/src/jneqsim-stubs/process/optimization/valuechain/__init__.pyi +++ b/src/jneqsim-stubs/process/optimization/valuechain/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,28 +12,50 @@ import jpype import jneqsim.process.equipment.capacity import typing - - class DebottleneckingAdvisor(java.io.Serializable): - def __init__(self, economicParameters: 'EconomicParameters'): ... - def addCandidate(self, debottleneckCandidate: 'DebottleneckingAdvisor.DebottleneckCandidate') -> 'DebottleneckingAdvisor': ... + def __init__(self, economicParameters: "EconomicParameters"): ... + def addCandidate( + self, debottleneckCandidate: "DebottleneckingAdvisor.DebottleneckCandidate" + ) -> "DebottleneckingAdvisor": ... def applyShadowPrices(self) -> int: ... - def evaluate(self) -> java.util.List['DebottleneckingAdvisor.Recommendation']: ... - def getCandidates(self) -> java.util.List['DebottleneckingAdvisor.DebottleneckCandidate']: ... + def evaluate(self) -> java.util.List["DebottleneckingAdvisor.Recommendation"]: ... + def getCandidates( + self, + ) -> java.util.List["DebottleneckingAdvisor.DebottleneckCandidate"]: ... def toJson(self) -> java.lang.String: ... + class DebottleneckCandidate(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, int: int, int2: int, double2: float, capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + int: int, + int2: int, + double2: float, + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + ): ... def getAnnualIncrementalValueNok(self) -> float: ... def getCapexNok(self) -> float: ... - def getConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... def getFirstYear(self) -> int: ... def getLastYear(self) -> int: ... def getName(self) -> java.lang.String: ... def getTargetEquipment(self) -> java.lang.String: ... + class Recommendation(java.io.Serializable): - def __init__(self, debottleneckCandidate: 'DebottleneckingAdvisor.DebottleneckCandidate', double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + debottleneckCandidate: "DebottleneckingAdvisor.DebottleneckCandidate", + double: float, + double2: float, + double3: float, + double4: float, + ): ... def getBenefitCostRatio(self) -> float: ... - def getCandidate(self) -> 'DebottleneckingAdvisor.DebottleneckCandidate': ... + def getCandidate(self) -> "DebottleneckingAdvisor.DebottleneckCandidate": ... def getNpvNok(self) -> float: ... def getPaybackYears(self) -> float: ... def getPvBenefitsNok(self) -> float: ... @@ -49,108 +71,239 @@ class EconomicParameters(java.io.Serializable): def getGasPrice(self) -> float: ... def getOilPrice(self) -> float: ... def getPowerCost(self) -> float: ... - def setCo2IntensityTonnePerMWh(self, double: float) -> 'EconomicParameters': ... - def setCo2Tax(self, double: float) -> 'EconomicParameters': ... - def setCurrency(self, string: typing.Union[java.lang.String, str]) -> 'EconomicParameters': ... - def setDiscountRate(self, double: float) -> 'EconomicParameters': ... - def setGasPrice(self, double: float) -> 'EconomicParameters': ... - def setOilPrice(self, double: float) -> 'EconomicParameters': ... - def setPowerCost(self, double: float) -> 'EconomicParameters': ... + def setCo2IntensityTonnePerMWh(self, double: float) -> "EconomicParameters": ... + def setCo2Tax(self, double: float) -> "EconomicParameters": ... + def setCurrency( + self, string: typing.Union[java.lang.String, str] + ) -> "EconomicParameters": ... + def setDiscountRate(self, double: float) -> "EconomicParameters": ... + def setGasPrice(self, double: float) -> "EconomicParameters": ... + def setOilPrice(self, double: float) -> "EconomicParameters": ... + def setPowerCost(self, double: float) -> "EconomicParameters": ... class LifeOfFieldOptimizer(java.io.Serializable): DEFAULT_MAX_COMBINATIONS: typing.ClassVar[int] = ... def __init__(self, int: int, economicParameters: EconomicParameters): ... - def addInvestment(self, investment: 'LifeOfFieldOptimizer.Investment') -> 'LifeOfFieldOptimizer': ... - def optimize(self, lifeOfFieldEvaluator: typing.Union['LifeOfFieldOptimizer.LifeOfFieldEvaluator', typing.Callable]) -> 'LifeOfFieldOptimizer.LifeOfFieldResult': ... - def setMaxCombinations(self, long: int) -> 'LifeOfFieldOptimizer': ... + def addInvestment( + self, investment: "LifeOfFieldOptimizer.Investment" + ) -> "LifeOfFieldOptimizer": ... + def optimize( + self, + lifeOfFieldEvaluator: typing.Union[ + "LifeOfFieldOptimizer.LifeOfFieldEvaluator", typing.Callable + ], + ) -> "LifeOfFieldOptimizer.LifeOfFieldResult": ... + def setMaxCombinations(self, long: int) -> "LifeOfFieldOptimizer": ... + class Investment(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, int: int): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ): ... def getCapexNok(self) -> float: ... def getEarliestYear(self) -> int: ... def getName(self) -> java.lang.String: ... + class LifeOfFieldEvaluator: - def annualNetValueNok(self, int: int, booleanArray: typing.Union[typing.List[bool], jpype.JArray]) -> float: ... + def annualNetValueNok( + self, int: int, booleanArray: typing.Union[typing.List[bool], jpype.JArray] + ) -> float: ... + class LifeOfFieldResult(java.io.Serializable): - def __init__(self, intArray: typing.Union[typing.List[int], jpype.JArray], double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + intArray: typing.Union[typing.List[int], jpype.JArray], + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def getAnnualCashFlow(self) -> typing.MutableSequence[float]: ... def getInstallYears(self) -> typing.MutableSequence[int]: ... def getNpvNok(self) -> float: ... class NetworkAllocationOptimizer(java.io.Serializable): def __init__(self, double: float, int: int): ... - def optimize(self, allocationEvaluator: typing.Union['NetworkAllocationOptimizer.AllocationEvaluator', typing.Callable]) -> 'NetworkAllocationOptimizer.AllocationResult': ... - def setBounds(self, int: int, double: float, double2: float) -> 'NetworkAllocationOptimizer': ... - def setInitialAllocation(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkAllocationOptimizer': ... - def setInitialStepFraction(self, double: float) -> 'NetworkAllocationOptimizer': ... - def setMaxIterations(self, int: int) -> 'NetworkAllocationOptimizer': ... - def setTolerance(self, double: float) -> 'NetworkAllocationOptimizer': ... + def optimize( + self, + allocationEvaluator: typing.Union[ + "NetworkAllocationOptimizer.AllocationEvaluator", typing.Callable + ], + ) -> "NetworkAllocationOptimizer.AllocationResult": ... + def setBounds( + self, int: int, double: float, double2: float + ) -> "NetworkAllocationOptimizer": ... + def setInitialAllocation( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "NetworkAllocationOptimizer": ... + def setInitialStepFraction(self, double: float) -> "NetworkAllocationOptimizer": ... + def setMaxIterations(self, int: int) -> "NetworkAllocationOptimizer": ... + def setTolerance(self, double: float) -> "NetworkAllocationOptimizer": ... + class AllocationEvaluator: - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'NetworkAllocationOptimizer.AllocationResult': ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "NetworkAllocationOptimizer.AllocationResult": ... + class AllocationResult(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, boolean: bool): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + boolean: bool, + ): ... def getAllocation(self) -> typing.MutableSequence[float]: ... def getObjective(self) -> float: ... def isFeasible(self) -> bool: ... -_ParallelSweep__SweepEvaluator__R = typing.TypeVar('_ParallelSweep__SweepEvaluator__R') # +_ParallelSweep__SweepEvaluator__R = typing.TypeVar( + "_ParallelSweep__SweepEvaluator__R" +) # + class ParallelSweep(java.io.Serializable): def __init__(self): ... def getParallelism(self) -> int: ... - _run__R = typing.TypeVar('_run__R') # - def run(self, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], sweepEvaluator: typing.Union['ParallelSweep.SweepEvaluator'[_run__R], typing.Callable[[typing.MutableSequence[float]], _run__R]]) -> java.util.List[_run__R]: ... - def setParallelism(self, int: int) -> 'ParallelSweep': ... + _run__R = typing.TypeVar("_run__R") # + def run( + self, + list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + sweepEvaluator: typing.Union[ + "ParallelSweep.SweepEvaluator"[_run__R], + typing.Callable[[typing.MutableSequence[float]], _run__R], + ], + ) -> java.util.List[_run__R]: ... + def setParallelism(self, int: int) -> "ParallelSweep": ... + class SweepEvaluator(typing.Generic[_ParallelSweep__SweepEvaluator__R]): - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> _ParallelSweep__SweepEvaluator__R: ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> _ParallelSweep__SweepEvaluator__R: ... class RealTimeOptimizationLoop(java.io.Serializable): def __init__(self): ... - def getHistory(self) -> java.util.List['RealTimeOptimizationLoop.CycleRecord']: ... - def run(self, int: int) -> java.util.List['RealTimeOptimizationLoop.CycleRecord']: ... - def setCalibrator(self, calibrator: typing.Union['RealTimeOptimizationLoop.Calibrator', typing.Callable]) -> 'RealTimeOptimizationLoop': ... - def setObjectiveProbe(self, objectiveProbe: typing.Union['RealTimeOptimizationLoop.ObjectiveProbe', typing.Callable]) -> 'RealTimeOptimizationLoop': ... - def setOptimizer(self, setpointOptimizer: typing.Union['RealTimeOptimizationLoop.SetpointOptimizer', typing.Callable]) -> 'RealTimeOptimizationLoop': ... - def setReader(self, plantReader: typing.Union['RealTimeOptimizationLoop.PlantReader', typing.Callable]) -> 'RealTimeOptimizationLoop': ... - def setWriter(self, setpointWriter: typing.Union['RealTimeOptimizationLoop.SetpointWriter', typing.Callable]) -> 'RealTimeOptimizationLoop': ... + def getHistory(self) -> java.util.List["RealTimeOptimizationLoop.CycleRecord"]: ... + def run( + self, int: int + ) -> java.util.List["RealTimeOptimizationLoop.CycleRecord"]: ... + def setCalibrator( + self, + calibrator: typing.Union[ + "RealTimeOptimizationLoop.Calibrator", typing.Callable + ], + ) -> "RealTimeOptimizationLoop": ... + def setObjectiveProbe( + self, + objectiveProbe: typing.Union[ + "RealTimeOptimizationLoop.ObjectiveProbe", typing.Callable + ], + ) -> "RealTimeOptimizationLoop": ... + def setOptimizer( + self, + setpointOptimizer: typing.Union[ + "RealTimeOptimizationLoop.SetpointOptimizer", typing.Callable + ], + ) -> "RealTimeOptimizationLoop": ... + def setReader( + self, + plantReader: typing.Union[ + "RealTimeOptimizationLoop.PlantReader", typing.Callable + ], + ) -> "RealTimeOptimizationLoop": ... + def setWriter( + self, + setpointWriter: typing.Union[ + "RealTimeOptimizationLoop.SetpointWriter", typing.Callable + ], + ) -> "RealTimeOptimizationLoop": ... def toJson(self) -> java.lang.String: ... + class Calibrator: - def calibrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calibrate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + class CycleRecord(java.io.Serializable): - def __init__(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float): ... + def __init__( + self, + int: int, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ): ... def getCycle(self) -> int: ... def getMeasurements(self) -> typing.MutableSequence[float]: ... def getObjective(self) -> float: ... def getSetpoints(self) -> typing.MutableSequence[float]: ... + class ObjectiveProbe: def currentObjective(self) -> float: ... + class PlantReader: def read(self) -> typing.MutableSequence[float]: ... + class SetpointOptimizer: def optimize(self) -> typing.MutableSequence[float]: ... + class SetpointWriter: - def apply(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def apply( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class RobustOptimizationStudy(java.io.Serializable): def __init__(self): ... - def addScenario(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'RobustOptimizationStudy': ... - def evaluateDecision(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], scenarioEvaluator: typing.Union['RobustOptimizationStudy.ScenarioEvaluator', typing.Callable]) -> 'RobustOptimizationStudy.RobustResult': ... - def selectRobust(self, list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], scenarioEvaluator: typing.Union['RobustOptimizationStudy.ScenarioEvaluator', typing.Callable]) -> 'RobustOptimizationStudy.RobustResult': ... - def setRequiredConfidence(self, double: float) -> 'RobustOptimizationStudy': ... - def setSampler(self, scenarioSampler: typing.Union['RobustOptimizationStudy.ScenarioSampler', typing.Callable], int: int) -> 'RobustOptimizationStudy': ... - def setSeed(self, long: int) -> 'RobustOptimizationStudy': ... + def addScenario( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "RobustOptimizationStudy": ... + def evaluateDecision( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + scenarioEvaluator: typing.Union[ + "RobustOptimizationStudy.ScenarioEvaluator", typing.Callable + ], + ) -> "RobustOptimizationStudy.RobustResult": ... + def selectRobust( + self, + list: java.util.List[typing.Union[typing.List[float], jpype.JArray]], + scenarioEvaluator: typing.Union[ + "RobustOptimizationStudy.ScenarioEvaluator", typing.Callable + ], + ) -> "RobustOptimizationStudy.RobustResult": ... + def setRequiredConfidence(self, double: float) -> "RobustOptimizationStudy": ... + def setSampler( + self, + scenarioSampler: typing.Union[ + "RobustOptimizationStudy.ScenarioSampler", typing.Callable + ], + int: int, + ) -> "RobustOptimizationStudy": ... + def setSeed(self, long: int) -> "RobustOptimizationStudy": ... + class RobustResult(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getDecision(self) -> typing.MutableSequence[float]: ... def getFeasibleFraction(self) -> float: ... def getMean(self) -> float: ... def getP10(self) -> float: ... def getP50(self) -> float: ... def getP90(self) -> float: ... + class ScenarioEvaluator: - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'RobustOptimizationStudy.ScenarioOutcome': ... + def evaluate( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> "RobustOptimizationStudy.ScenarioOutcome": ... + class ScenarioOutcome(java.io.Serializable): def __init__(self, double: float, boolean: bool): ... def getObjective(self) -> float: ... def isFeasible(self) -> bool: ... + class ScenarioSampler: def sample(self, random: java.util.Random) -> typing.MutableSequence[float]: ... @@ -158,13 +311,25 @@ class ValueChainObjective(java.io.Serializable): PRODUCTION_DAYS_PER_YEAR: typing.ClassVar[float] = ... def __init__(self, economicParameters: EconomicParameters): ... @typing.overload - def evaluate(self, double: float, double2: float, double3: float) -> 'ValueChainObjective.ValueResult': ... + def evaluate( + self, double: float, double2: float, double3: float + ) -> "ValueChainObjective.ValueResult": ... @typing.overload - def evaluate(self, double: float, double2: float, double3: float, double4: float) -> 'ValueChainObjective.ValueResult': ... + def evaluate( + self, double: float, double2: float, double3: float, double4: float + ) -> "ValueChainObjective.ValueResult": ... def getEconomicParameters(self) -> EconomicParameters: ... def presentValueOfAnnualCashFlow(self, double: float, double2: float) -> float: ... + class ValueResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getCarbonCostNokPerDay(self) -> float: ... def getCo2TonnePerDay(self) -> float: ... def getEnergyCostNokPerDay(self) -> float: ... @@ -172,7 +337,6 @@ class ValueChainObjective(java.io.Serializable): def getRevenueNokPerDay(self) -> float: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.optimization.valuechain")``. diff --git a/src/jneqsim-stubs/process/processmodel/__init__.pyi b/src/jneqsim-stubs/process/processmodel/__init__.pyi index e26a96bf..9f483fdf 100644 --- a/src/jneqsim-stubs/process/processmodel/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -49,8 +49,6 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing - - class DexpiMetadata: TAG_NAME: typing.ClassVar[java.lang.String] = ... LINE_NUMBER: typing.ClassVar[java.lang.String] = ... @@ -78,7 +76,14 @@ class DexpiMetadata: def recommendedStreamAttributes() -> java.util.Set[java.lang.String]: ... class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + equipmentEnum: jneqsim.process.equipment.EquipmentEnum, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getDexpiClass(self) -> java.lang.String: ... def getFluidCode(self) -> java.lang.String: ... def getLineNumber(self) -> java.lang.String: ... @@ -90,14 +95,24 @@ class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): class DexpiRoundTripProfile: @staticmethod - def minimalRunnableProfile() -> 'DexpiRoundTripProfile': ... - def validate(self, processSystem: 'ProcessSystem') -> 'DexpiRoundTripProfile.ValidationResult': ... + def minimalRunnableProfile() -> "DexpiRoundTripProfile": ... + def validate( + self, processSystem: "ProcessSystem" + ) -> "DexpiRoundTripProfile.ValidationResult": ... + class ValidationResult: def getViolations(self) -> java.util.List[java.lang.String]: ... def isSuccessful(self) -> bool: ... class DexpiStream(jneqsim.process.equipment.stream.Stream): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getDexpiClass(self) -> java.lang.String: ... def getFluidCode(self) -> java.lang.String: ... def getLineNumber(self) -> java.lang.String: ... @@ -105,73 +120,130 @@ class DexpiStream(jneqsim.process.equipment.stream.Stream): class DexpiXmlReader: @typing.overload @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem') -> None: ... + def load( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + processSystem: "ProcessSystem", + ) -> None: ... @typing.overload @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem', stream: jneqsim.process.equipment.stream.Stream) -> None: ... + def load( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + processSystem: "ProcessSystem", + stream: jneqsim.process.equipment.stream.Stream, + ) -> None: ... @typing.overload @staticmethod - def load(inputStream: java.io.InputStream, processSystem: 'ProcessSystem') -> None: ... + def load( + inputStream: java.io.InputStream, processSystem: "ProcessSystem" + ) -> None: ... @typing.overload @staticmethod - def load(inputStream: java.io.InputStream, processSystem: 'ProcessSystem', stream: jneqsim.process.equipment.stream.Stream) -> None: ... + def load( + inputStream: java.io.InputStream, + processSystem: "ProcessSystem", + stream: jneqsim.process.equipment.stream.Stream, + ) -> None: ... @typing.overload @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystem': ... + def read( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ProcessSystem": ... @typing.overload @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessSystem': ... + def read( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + stream: jneqsim.process.equipment.stream.Stream, + ) -> "ProcessSystem": ... @typing.overload @staticmethod - def read(inputStream: java.io.InputStream) -> 'ProcessSystem': ... + def read(inputStream: java.io.InputStream) -> "ProcessSystem": ... @typing.overload @staticmethod - def read(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessSystem': ... + def read( + inputStream: java.io.InputStream, + stream: jneqsim.process.equipment.stream.Stream, + ) -> "ProcessSystem": ... class DexpiXmlReaderException(java.lang.Exception): @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): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + throwable: java.lang.Throwable, + ): ... class DexpiXmlWriter: @typing.overload @staticmethod - def write(processSystem: 'ProcessSystem', file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def write( + processSystem: "ProcessSystem", + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def write(processSystem: 'ProcessSystem', outputStream: java.io.OutputStream) -> None: ... + def write( + processSystem: "ProcessSystem", outputStream: java.io.OutputStream + ) -> None: ... class JsonProcessBuilder: def __init__(self): ... - def build(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def build( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... @typing.overload @staticmethod - def buildAndRun(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def buildAndRun( + string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... @typing.overload @staticmethod - def buildAndRun(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... - @typing.overload - def buildFromJsonObject(self, jsonObject: com.google.gson.JsonObject) -> 'SimulationResult': ... - @typing.overload - def buildFromJsonObject(self, jsonObject: com.google.gson.JsonObject, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... + def buildAndRun( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "SimulationResult": ... + @typing.overload + def buildFromJsonObject( + self, jsonObject: com.google.gson.JsonObject + ) -> "SimulationResult": ... + @typing.overload + def buildFromJsonObject( + self, + jsonObject: com.google.gson.JsonObject, + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "SimulationResult": ... @staticmethod - def buildOnly(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def buildOnly( + string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... class JsonProcessExporter: def __init__(self): ... - def getStreamReference(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.lang.String: ... - @typing.overload - def toJson(self, processSystem: 'ProcessSystem') -> java.lang.String: ... - @typing.overload - def toJson(self, processSystem: 'ProcessSystem', boolean: bool) -> java.lang.String: ... - def toJsonObject(self, processSystem: 'ProcessSystem') -> com.google.gson.JsonObject: ... + def getStreamReference( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> java.lang.String: ... + @typing.overload + def toJson(self, processSystem: "ProcessSystem") -> java.lang.String: ... + @typing.overload + def toJson( + self, processSystem: "ProcessSystem", boolean: bool + ) -> java.lang.String: ... + def toJsonObject( + self, processSystem: "ProcessSystem" + ) -> com.google.gson.JsonObject: ... class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getOperations(self) -> 'ProcessSystem': ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOperations(self) -> "ProcessSystem": ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getPreferedThermodynamicModel(self) -> java.lang.String: ... def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def hashCode(self) -> int: ... @@ -179,14 +251,29 @@ class ModuleInterface(jneqsim.process.equipment.ProcessEquipmentInterface): def initializeStreams(self) -> None: ... def isCalcDesign(self) -> bool: ... def setIsCalcDesign(self, boolean: bool) -> None: ... - def setPreferedThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setPreferedThermodynamicModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setProperty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class ProcessConnection(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, 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], connectionType: 'ProcessConnection.ConnectionType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + 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], + connectionType: "ProcessConnection.ConnectionType", + ): ... def equals(self, object: typing.Any) -> bool: ... def getSourceEquipment(self) -> java.lang.String: ... def getSourcePort(self) -> java.lang.String: ... @@ -194,33 +281,46 @@ class ProcessConnection(java.io.Serializable): def getTargetEquipment(self) -> java.lang.String: ... def getTargetPort(self) -> java.lang.String: ... def getTargetReferenceDesignation(self) -> java.lang.String: ... - def getType(self) -> 'ProcessConnection.ConnectionType': ... + def getType(self) -> "ProcessConnection.ConnectionType": ... def hashCode(self) -> int: ... - def setSourceReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTargetReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceReferenceDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTargetReferenceDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toString(self) -> java.lang.String: ... - class ConnectionType(java.lang.Enum['ProcessConnection.ConnectionType']): - MATERIAL: typing.ClassVar['ProcessConnection.ConnectionType'] = ... - ENERGY: typing.ClassVar['ProcessConnection.ConnectionType'] = ... - SIGNAL: typing.ClassVar['ProcessConnection.ConnectionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConnectionType(java.lang.Enum["ProcessConnection.ConnectionType"]): + MATERIAL: typing.ClassVar["ProcessConnection.ConnectionType"] = ... + ENERGY: typing.ClassVar["ProcessConnection.ConnectionType"] = ... + SIGNAL: typing.ClassVar["ProcessConnection.ConnectionType"] = ... + _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: ... + 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]) -> 'ProcessConnection.ConnectionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessConnection.ConnectionType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessConnection.ConnectionType']: ... + def values() -> typing.MutableSequence["ProcessConnection.ConnectionType"]: ... class ProcessFlowDiagramExporter(java.io.Serializable): - def __init__(self, processSystem: 'ProcessSystem'): ... + def __init__(self, processSystem: "ProcessSystem"): ... def setTitle(self, string: typing.Union[java.lang.String, str]) -> None: ... def toDot(self) -> java.lang.String: ... class ProcessJsonValidator: @staticmethod - def validate(string: typing.Union[java.lang.String, str]) -> 'ProcessJsonValidator.ValidationReport': ... + def validate( + string: typing.Union[java.lang.String, str] + ) -> "ProcessJsonValidator.ValidationReport": ... + class ValidationReport: def __init__(self): ... def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -235,13 +335,22 @@ class ProcessLoader: def __init__(self): ... @typing.overload @staticmethod - def loadProcessFromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + def loadProcessFromYaml( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + ) -> None: ... @typing.overload @staticmethod - def loadProcessFromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: 'ProcessSystem') -> None: ... + def loadProcessFromYaml( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + processSystem: "ProcessSystem", + ) -> None: ... @typing.overload @staticmethod - def loadProcessFromYaml(string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + def loadProcessFromYaml( + string: typing.Union[java.lang.String, str], processSystem: "ProcessSystem" + ) -> None: ... class ProcessModel(java.lang.Runnable, java.io.Serializable): def __init__(self): ... @@ -249,82 +358,153 @@ class ProcessModel(java.lang.Runnable, java.io.Serializable): @typing.overload def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def activateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... - def add(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> bool: ... - def applyInterAreaLinks(self, jsonArray: com.google.gson.JsonArray) -> java.util.List[java.lang.String]: ... + def activateSection( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> int: ... + def add( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + ) -> bool: ... + def applyInterAreaLinks( + self, jsonArray: com.google.gson.JsonArray + ) -> java.util.List[java.lang.String]: ... def applyMechanicalDesignCapacityConstraints(self) -> int: ... @typing.overload def autoSizeEquipment(self) -> int: ... @typing.overload def autoSizeEquipment(self, double: float) -> int: ... @typing.overload - def autoSizeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def autoSizeEquipment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> int: ... @staticmethod - def buildFromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... + def buildFromJson( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelResult": ... @staticmethod - def buildFromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... - @typing.overload - def checkMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def checkMassBalance(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - def createGraphvizExporter(self) -> 'ProcessModelGraphvizExporter': ... + def buildFromJsonAndRun( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelResult": ... + @typing.overload + def checkMassBalance( + self, + ) -> java.util.Map[ + java.lang.String, + java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"], + ]: ... + @typing.overload + def checkMassBalance( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[ + java.lang.String, + java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"], + ]: ... + def createGraphvizExporter(self) -> "ProcessModelGraphvizExporter": ... @typing.overload def deactivateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def deactivateSection(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def deactivateSection( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> int: ... def disableAllConstraints(self) -> int: ... def enableAllConstraints(self) -> int: ... def enableFastLargeModelMode(self) -> int: ... @typing.overload - def exportAreaDOT(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... + def exportAreaDOT( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... @typing.overload - def exportAreaDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... - def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessModelState: ... + def exportAreaDOT( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... + def exportState( + self, + ) -> jneqsim.process.processmodel.lifecycle.ProcessModelState: ... def exportToGraphviz(self, string: typing.Union[java.lang.String, str]) -> None: ... def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + def fromJson(string: typing.Union[java.lang.String, str]) -> "ProcessModel": ... @staticmethod - def fromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... - @typing.overload - def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - @typing.overload - def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - def get(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def getAllProcesses(self) -> java.util.Collection['ProcessSystem']: ... + def fromJsonAndRun( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModel": ... + @typing.overload + def generateReferenceDesignations( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + @typing.overload + def generateReferenceDesignations( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def get(self, string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... + def getAllProcesses(self) -> java.util.Collection["ProcessSystem"]: ... def getAreaNames(self) -> java.util.List[java.lang.String]: ... def getAutomation(self) -> jneqsim.process.automation.ProcessAutomation: ... def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckRanking(self) -> java.util.List[java.lang.String]: ... def getBottleneckUtilization(self) -> float: ... def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... - def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... + def getCapacityUtilizationSummary( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getCheckpointInterval(self) -> int: ... def getCheckpointPath(self) -> java.lang.String: ... - def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getConstrainedEquipment( + self, + ) -> java.util.List[ + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment + ]: ... def getConvergenceReportJson(self) -> java.lang.String: ... def getConvergenceSummary(self) -> java.lang.String: ... def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... def getError(self) -> float: ... def getEventScheduler(self) -> jneqsim.process.dynamics.EventScheduler: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... def getExergyAnalysis(self) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... - @typing.overload - def getFailedMassBalance(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def getFailedMassBalance(self, double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... - @typing.overload - def getFailedMassBalance(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']]: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + @typing.overload + def getFailedMassBalance( + self, + ) -> java.util.Map[ + java.lang.String, + java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"], + ]: ... + @typing.overload + def getFailedMassBalance(self, double: float) -> java.util.Map[ + java.lang.String, + java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"], + ]: ... + @typing.overload + def getFailedMassBalance( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.util.Map[ + java.lang.String, + java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"], + ]: ... @typing.overload def getFailedMassBalanceReport(self) -> java.lang.String: ... @typing.overload def getFailedMassBalanceReport(self, double: float) -> java.lang.String: ... @typing.overload - def getFailedMassBalanceReport(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... + def getFailedMassBalanceReport( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.lang.String: ... def getFlowTolerance(self) -> float: ... def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getLastIterationCount(self) -> int: ... @@ -334,26 +514,38 @@ class ProcessModel(java.lang.Runnable, java.io.Serializable): @typing.overload def getMassBalanceReport(self) -> java.lang.String: ... @typing.overload - def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMassBalanceReport( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getMaxIterations(self) -> int: ... def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... def getPressureTolerance(self) -> float: ... def getProcessSystemNames(self) -> java.util.List[java.lang.String]: ... - def getProgressListener(self) -> 'ProcessModel.ModelProgressListener': ... + def getProgressListener(self) -> "ProcessModel.ModelProgressListener": ... def getReport_json(self) -> java.lang.String: ... - def getRunStatus(self) -> 'RunStatus': ... + def getRunStatus(self) -> "RunStatus": ... def getRunStatusJson(self) -> java.lang.String: ... def getTemperatureTolerance(self) -> float: ... def getThreads(self) -> java.util.Map[java.lang.String, java.lang.Thread]: ... - def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitByReferenceDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... @typing.overload def getUnitNames(self) -> java.util.List[java.lang.String]: ... @typing.overload - def getUnitNames(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getUnitNames( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... def getUtilizationSnapshotJson(self) -> java.lang.String: ... def getValidationReport(self) -> java.lang.String: ... - def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... - def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVariableList( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... + def getVariableValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... def invalidateTopology(self) -> None: ... def isAnyEquipmentOverloaded(self) -> bool: ... @@ -373,11 +565,15 @@ class ProcessModel(java.lang.Runnable, java.io.Serializable): def isUseIncrementalAreaExecution(self) -> bool: ... def isUseOptimizedExecution(self) -> bool: ... @staticmethod - def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + def loadAuto(string: typing.Union[java.lang.String, str]) -> "ProcessModel": ... @staticmethod - def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + def loadFromNeqsim( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModel": ... @staticmethod - def loadStateFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModel': ... + def loadStateFromFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModel": ... def remove(self, string: typing.Union[java.lang.String, str]) -> bool: ... def run(self) -> None: ... def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... @@ -392,19 +588,34 @@ class ProcessModel(java.lang.Runnable, java.io.Serializable): def setCapacityAnalysisEnabled(self, boolean: bool) -> int: ... def setCheckpointEnabled(self, boolean: bool) -> None: ... def setCheckpointInterval(self, int: int) -> None: ... - def setCheckpointPath(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEventScheduler(self, eventScheduler: jneqsim.process.dynamics.EventScheduler) -> None: ... + def setCheckpointPath( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEventScheduler( + self, eventScheduler: jneqsim.process.dynamics.EventScheduler + ) -> None: ... def setFlowTolerance(self, double: float) -> None: ... - def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... + def setIntegratorStrategy( + self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy + ) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setPressureTolerance(self, double: float) -> None: ... def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... - def setProgressListener(self, modelProgressListener: typing.Union['ProcessModel.ModelProgressListener', typing.Callable]) -> None: ... + def setProgressListener( + self, + modelProgressListener: typing.Union[ + "ProcessModel.ModelProgressListener", typing.Callable + ], + ) -> None: ... def setPublishEvents(self, boolean: bool) -> None: ... - def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... + def setRecycleAccelerationMethod( + self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod + ) -> int: ... def setRunStep(self, boolean: bool) -> None: ... @typing.overload - def setSectionLowFlowThreshold(self, string: typing.Union[java.lang.String, str], double: float) -> bool: ... + def setSectionLowFlowThreshold( + self, string: typing.Union[java.lang.String, str], double: float + ) -> bool: ... @typing.overload def setSectionLowFlowThreshold(self, double: float) -> None: ... def setSectionLowFlowThresholdFraction(self, double: float) -> int: ... @@ -416,101 +627,188 @@ class ProcessModel(java.lang.Runnable, java.io.Serializable): def setUseFlashWarmStart(self, boolean: bool) -> None: ... def setUseIncrementalAreaExecution(self, boolean: bool) -> None: ... def setUseOptimizedExecution(self, boolean: bool) -> None: ... - def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValue( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def size(self) -> int: ... def toDOT(self) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload def toJson(self, boolean: bool) -> java.lang.String: ... - def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... + def validateAll( + self, + ) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... + class ModelProgressListener: def onBeforeIteration(self, int: int) -> None: ... - def onBeforeProcessArea(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', int: int, int2: int, int3: int) -> None: ... - def onIterationComplete(self, int: int, boolean: bool, double: float) -> None: ... + def onBeforeProcessArea( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + int: int, + int2: int, + int3: int, + ) -> None: ... + def onIterationComplete( + self, int: int, boolean: bool, double: float + ) -> None: ... def onModelComplete(self, int: int, boolean: bool) -> None: ... def onModelStart(self, int: int) -> None: ... - def onProcessAreaComplete(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', int: int, int2: int, int3: int) -> None: ... - def onProcessAreaError(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem', exception: java.lang.Exception) -> bool: ... + def onProcessAreaComplete( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + int: int, + int2: int, + int3: int, + ) -> None: ... + def onProcessAreaError( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + exception: java.lang.Exception, + ) -> bool: ... class ProcessModelGraphvizExporter(java.io.Serializable): def __init__(self, processModel: ProcessModel): ... - def exportAreaDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... - def exportDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportAreaDOT( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> java.util.Map[java.lang.String, java.nio.file.Path]: ... + def exportDOT( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... def getTitle(self) -> java.lang.String: ... - def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModelGraphvizExporter': ... + def setTitle( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessModelGraphvizExporter": ... def toAreaDots(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def toDot(self) -> java.lang.String: ... class ProcessModelResult: SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @staticmethod - def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... + def error( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ProcessModelResult": ... @staticmethod - def failure(list: java.util.List['SimulationResult.ErrorDetail'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'SimulationResult'], typing.Mapping[typing.Union[java.lang.String, str], 'SimulationResult']], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]]) -> 'ProcessModelResult': ... - def getAreaResults(self) -> java.util.Map[java.lang.String, 'SimulationResult']: ... - def getErrors(self) -> java.util.List['SimulationResult.ErrorDetail']: ... + def failure( + list: java.util.List["SimulationResult.ErrorDetail"], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], "SimulationResult"], + typing.Mapping[typing.Union[java.lang.String, str], "SimulationResult"], + ], + list2: java.util.List[typing.Union[java.lang.String, str]], + list3: java.util.List[typing.Union[java.lang.String, str]], + ) -> "ProcessModelResult": ... + def getAreaResults(self) -> java.util.Map[java.lang.String, "SimulationResult"]: ... + def getErrors(self) -> java.util.List["SimulationResult.ErrorDetail"]: ... def getFailedAreas(self) -> java.util.List[java.lang.String]: ... def getInterAreaLinkWarnings(self) -> java.util.List[java.lang.String]: ... def getModel(self) -> ProcessModel: ... def getRunStatusJson(self) -> java.lang.String: ... - def getStatus(self) -> 'ProcessModelResult.Status': ... + def getStatus(self) -> "ProcessModelResult.Status": ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def hasWarnings(self) -> bool: ... def isError(self) -> bool: ... def isSuccess(self) -> bool: ... @staticmethod - def success(processModel: ProcessModel, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'SimulationResult'], typing.Mapping[typing.Union[java.lang.String, str], 'SimulationResult']], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], string: typing.Union[java.lang.String, str]) -> 'ProcessModelResult': ... + def success( + processModel: ProcessModel, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], "SimulationResult"], + typing.Mapping[typing.Union[java.lang.String, str], "SimulationResult"], + ], + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[typing.Union[java.lang.String, str]], + list3: java.util.List[typing.Union[java.lang.String, str]], + string: typing.Union[java.lang.String, str], + ) -> "ProcessModelResult": ... def toJson(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... - class Status(java.lang.Enum['ProcessModelResult.Status']): - SUCCESS: typing.ClassVar['ProcessModelResult.Status'] = ... - ERROR: typing.ClassVar['ProcessModelResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Status(java.lang.Enum["ProcessModelResult.Status"]): + SUCCESS: typing.ClassVar["ProcessModelResult.Status"] = ... + ERROR: typing.ClassVar["ProcessModelResult.Status"] = ... + _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: ... + 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]) -> 'ProcessModelResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['ProcessModelResult.Status']: ... + def values() -> typing.MutableSequence["ProcessModelResult.Status"]: ... class ProcessModule(jneqsim.process.SimulationBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def add(self, processModule: 'ProcessModule') -> None: ... + def add(self, processModule: "ProcessModule") -> None: ... @typing.overload - def add(self, processSystem: 'ProcessSystem') -> None: ... - def buildModelGraph(self) -> jneqsim.process.processmodel.graph.ProcessModelGraph: ... + def add(self, processSystem: "ProcessSystem") -> None: ... + def buildModelGraph( + self, + ) -> jneqsim.process.processmodel.graph.ProcessModelGraph: ... @typing.overload - def checkMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def checkMassBalance( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def checkMassBalance(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def checkMassBalance( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... def checkModulesRecycles(self) -> None: ... - def copy(self) -> 'ProcessModule': ... + def copy(self) -> "ProcessModule": ... def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... - def getAddedModules(self) -> java.util.List['ProcessModule']: ... - def getAddedUnitOperations(self) -> java.util.List['ProcessSystem']: ... - def getAllProcessSystems(self) -> java.util.List['ProcessSystem']: ... - def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... - def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getAddedModules(self) -> java.util.List["ProcessModule"]: ... + def getAddedUnitOperations(self) -> java.util.List["ProcessSystem"]: ... + def getAllProcessSystems(self) -> java.util.List["ProcessSystem"]: ... + def getCalculationOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getCapacityUtilizationSummary( + self, + ) -> java.util.Map[java.lang.String, float]: ... + def getConstrainedEquipment( + self, + ) -> java.util.List[ + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment + ]: ... def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... @typing.overload - def getFailedMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def getFailedMassBalance(self, double: float) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, double: float + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def getFailedMassBalance(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... def getGraphSummary(self) -> java.lang.String: ... - def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getMeasurementDevice( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... def getModulesIndex(self) -> java.util.List[int]: ... def getOperationsIndex(self) -> java.util.List[int]: ... - def getProgressListener(self) -> 'ProcessSystem.SimulationProgressListener': ... - def getReport(self) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... + def getProgressListener(self) -> "ProcessSystem.SimulationProgressListener": ... + def getReport( + self, + ) -> java.util.ArrayList[typing.MutableSequence[java.lang.String]]: ... def getReport_json(self) -> java.lang.String: ... def getSubSystemCount(self) -> int: ... def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... @@ -524,12 +822,27 @@ class ProcessModule(jneqsim.process.SimulationBaseClass): def run(self, uUID: java.util.UUID) -> None: ... def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... def runAsThread(self) -> java.lang.Thread: ... - def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... + def runWithCallback( + self, + consumer: typing.Union[ + java.util.function.Consumer[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], None + ], + ], + ) -> None: ... @typing.overload def run_step(self) -> None: ... @typing.overload def run_step(self, uUID: java.util.UUID) -> None: ... - def setProgressListener(self, simulationProgressListener: typing.Union['ProcessSystem.SimulationProgressListener', typing.Callable]) -> None: ... + def setProgressListener( + self, + simulationProgressListener: typing.Union[ + "ProcessSystem.SimulationProgressListener", typing.Callable + ], + ) -> None: ... def solved(self) -> bool: ... def validateStructure(self) -> java.util.List[java.lang.String]: ... @@ -540,19 +853,31 @@ class ProcessSimulationSession: def __init__(self, long: int, int: int): ... def cleanupExpiredSessions(self) -> int: ... def createEmptySession(self) -> java.lang.String: ... - def createSession(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def createSessionFromJson(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def createSession( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def createSessionFromJson( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... def destroyAllSessions(self) -> None: ... def destroySession(self, string: typing.Union[java.lang.String, str]) -> bool: ... def getActiveSessionCount(self) -> int: ... def getMaxSessions(self) -> int: ... - def getSession(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def getSession( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSystem": ... def getSessionInfo(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getTemplateNames(self) -> java.util.Set[java.lang.String]: ... def getTimeoutMinutes(self) -> int: ... - def registerTemplate(self, string: typing.Union[java.lang.String, str], processSystem: 'ProcessSystem') -> None: ... + def registerTemplate( + self, + string: typing.Union[java.lang.String, str], + processSystem: "ProcessSystem", + ) -> None: ... def removeTemplate(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def runSession(self, string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def runSession( + self, string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... def setMaxSessions(self, int: int) -> None: ... def shutdown(self) -> None: ... @@ -564,35 +889,88 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def activateAll(self) -> int: ... def activateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def add(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... - @typing.overload - def add(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> None: ... - @typing.overload - def add(self, processEquipmentInterfaceArray: typing.Union[typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], jpype.JArray]) -> None: ... - _addUnit_0__T = typing.TypeVar('_addUnit_0__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # - _addUnit_1__T = typing.TypeVar('_addUnit_1__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # - _addUnit_2__T = typing.TypeVar('_addUnit_2__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # - _addUnit_3__T = typing.TypeVar('_addUnit_3__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # - _addUnit_5__T = typing.TypeVar('_addUnit_5__T', bound=jneqsim.process.equipment.ProcessEquipmentInterface) # + def add( + self, + int: int, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def add( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... + @typing.overload + def add( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... + @typing.overload + def add( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> None: ... + @typing.overload + def add( + self, + processEquipmentInterfaceArray: typing.Union[ + typing.List[jneqsim.process.equipment.ProcessEquipmentInterface], + jpype.JArray, + ], + ) -> None: ... + _addUnit_0__T = typing.TypeVar( + "_addUnit_0__T", bound=jneqsim.process.equipment.ProcessEquipmentInterface + ) # + _addUnit_1__T = typing.TypeVar( + "_addUnit_1__T", bound=jneqsim.process.equipment.ProcessEquipmentInterface + ) # + _addUnit_2__T = typing.TypeVar( + "_addUnit_2__T", bound=jneqsim.process.equipment.ProcessEquipmentInterface + ) # + _addUnit_3__T = typing.TypeVar( + "_addUnit_3__T", bound=jneqsim.process.equipment.ProcessEquipmentInterface + ) # + _addUnit_5__T = typing.TypeVar( + "_addUnit_5__T", bound=jneqsim.process.equipment.ProcessEquipmentInterface + ) # @typing.overload def addUnit(self, string: typing.Union[java.lang.String, str]) -> _addUnit_0__T: ... @typing.overload - def addUnit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> _addUnit_1__T: ... - @typing.overload - def addUnit(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> _addUnit_2__T: ... - @typing.overload - def addUnit(self, string: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> _addUnit_3__T: ... - @typing.overload - def addUnit(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - @typing.overload - def addUnit(self, equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> _addUnit_5__T: ... - @typing.overload - def addUnit(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def analyzeSensitivity(self, double: float, double2: float, double3: float) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.SensitivityResult: ... + def addUnit( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> _addUnit_1__T: ... + @typing.overload + def addUnit( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> _addUnit_2__T: ... + @typing.overload + def addUnit( + self, + string: typing.Union[java.lang.String, str], + equipmentEnum: jneqsim.process.equipment.EquipmentEnum, + ) -> _addUnit_3__T: ... + @typing.overload + def addUnit( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + @typing.overload + def addUnit( + self, equipmentEnum: jneqsim.process.equipment.EquipmentEnum + ) -> _addUnit_5__T: ... + @typing.overload + def addUnit( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def analyzeSensitivity( + self, double: float, double2: float, double3: float + ) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.SensitivityResult: ... def applyFieldInputs(self) -> None: ... def applyMechanicalDesignCapacityConstraints(self) -> int: ... @typing.overload @@ -600,120 +978,232 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @typing.overload def autoSizeEquipment(self, double: float) -> int: ... @typing.overload - def autoSizeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> int: ... + def autoSizeEquipment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> int: ... def buildGraph(self) -> jneqsim.process.processmodel.graph.ProcessGraph: ... @typing.overload - def checkMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def checkMassBalance( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def checkMassBalance(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def checkMassBalance( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... def clear(self) -> None: ... def clearAll(self) -> None: ... def clearHistory(self) -> None: ... @typing.overload - def connect(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def connect(self, 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], connectionType: ProcessConnection.ConnectionType) -> None: ... - def copy(self) -> 'ProcessSystem': ... + def connect( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def connect( + self, + 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], + connectionType: ProcessConnection.ConnectionType, + ) -> None: ... + def copy(self) -> "ProcessSystem": ... def createBatchStudy(self) -> jneqsim.process.util.optimizer.BatchStudy.Builder: ... - def createDiagramExporter(self) -> jneqsim.process.processmodel.diagram.ProcessDiagramExporter: ... - def createFlowRateOptimizer(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.util.optimizer.FlowRateOptimizer: ... - def createKValueProcessSimulator(self) -> jneqsim.process.fastsimulation.KValueProcessSimulator: ... - def createOptimizer(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine: ... + def createDiagramExporter( + self, + ) -> jneqsim.process.processmodel.diagram.ProcessDiagramExporter: ... + def createFlowRateOptimizer( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.util.optimizer.FlowRateOptimizer: ... + def createKValueProcessSimulator( + self, + ) -> jneqsim.process.fastsimulation.KValueProcessSimulator: ... + def createOptimizer( + self, + ) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine: ... def deactivateSection(self, string: typing.Union[java.lang.String, str]) -> int: ... def disableAllConstraints(self) -> int: ... def displayResult(self) -> None: ... def enableAllConstraints(self) -> int: ... def equals(self, object: typing.Any) -> bool: ... - def evaluateConstraints(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.ConstraintReport: ... - def exportDiagramPNG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def exportDiagramSVG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def exportState(self) -> jneqsim.process.processmodel.lifecycle.ProcessSystemState: ... - def exportStateToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def evaluateConstraints( + self, + ) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.ConstraintReport: ... + def exportDiagramPNG( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def exportDiagramSVG( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def exportState( + self, + ) -> jneqsim.process.processmodel.lifecycle.ProcessSystemState: ... + def exportStateToFile( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def exportToGraphviz(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def exportToGraphviz(self, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... + def exportToGraphviz( + self, + string: typing.Union[java.lang.String, str], + graphvizExportOptions: "ProcessSystemGraphvizExporter.GraphvizExportOptions", + ) -> None: ... def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... @typing.overload def findMaxThroughput(self, double: float, double2: float) -> float: ... @typing.overload - def findMaxThroughput(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def findMaxThroughput( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def fromJson(string: typing.Union[java.lang.String, str]) -> "SimulationResult": ... @typing.overload @staticmethod - def fromJsonAndRun(string: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def fromJsonAndRun( + string: typing.Union[java.lang.String, str] + ) -> "SimulationResult": ... @typing.overload @staticmethod - def fromJsonAndRun(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SimulationResult': ... - def generateCombinationScenarios(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def generateLiftCurve(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... - def generateReferenceDesignations(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... - def generateSafetyScenarios(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def fromJsonAndRun( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "SimulationResult": ... + def generateCombinationScenarios( + self, int: int + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateLiftCurve( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... + def generateReferenceDesignations( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.iec81346.ReferenceDesignationGenerator: ... + def generateSafetyScenarios( + self, + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... def getAdaptiveTimestepTolerance(self) -> float: ... def getAlarmManager(self) -> jneqsim.process.alarm.ProcessAlarmManager: ... - def getAllElements(self) -> java.util.List[jneqsim.process.ProcessElementInterface]: ... - def getAllStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getAllElements( + self, + ) -> java.util.List[jneqsim.process.ProcessElementInterface]: ... + def getAllStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... def getAllUnitNames(self) -> java.util.ArrayList[java.lang.String]: ... def getAutomation(self) -> jneqsim.process.automation.ProcessAutomation: ... def getBenchmarkDeviations(self) -> java.util.Map[java.lang.String, float]: ... def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckUtilization(self) -> float: ... def getBypassedUnits(self) -> java.util.List[java.lang.String]: ... - def getCapacityUtilizationSummary(self) -> java.util.Map[java.lang.String, float]: ... - def getConditionMonitor(self) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... + def getCapacityUtilizationSummary( + self, + ) -> java.util.Map[java.lang.String, float]: ... + def getConditionMonitor( + self, + ) -> jneqsim.process.conditionmonitor.ConditionMonitor: ... def getConnections(self) -> java.util.List[ProcessConnection]: ... - def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... - def getControllerDevices(self) -> java.util.List[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def getConstrainedEquipment( + self, + ) -> java.util.List[ + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment + ]: ... + def getControllerDevices( + self, + ) -> java.util.List[jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... def getConvergenceDiagnostics(self) -> java.lang.String: ... def getCoolerDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getCostEstimate(self) -> jneqsim.process.costestimation.ProcessCostEstimate: ... def getDesignReport(self) -> java.lang.String: ... def getDesignReportJson(self) -> java.lang.String: ... - def getElectricalLoadList(self) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... - @typing.overload - def getEmissions(self) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... - @typing.overload - def getEmissions(self, double: float) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getEquipmentCostEstimate(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... - def getEquipmentElectricalDesign(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.electricaldesign.ElectricalDesign: ... - def getEquipmentMechanicalDesign(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getElectricalLoadList( + self, + ) -> jneqsim.process.electricaldesign.loadanalysis.ElectricalLoadList: ... + @typing.overload + def getEmissions( + self, + ) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + @typing.overload + def getEmissions( + self, double: float + ) -> jneqsim.process.sustainability.EmissionsTracker.EmissionsReport: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getEquipmentCostEstimate( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.costestimation.UnitCostEstimateBaseClass: ... + def getEquipmentElectricalDesign( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.electricaldesign.ElectricalDesign: ... + def getEquipmentMechanicalDesign( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getEquipmentNearCapacityLimit(self) -> java.util.List[java.lang.String]: ... def getEventScheduler(self) -> jneqsim.process.dynamics.EventScheduler: ... def getExecutionPartitionInfo(self) -> java.lang.String: ... - def getExecutionProfile(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getExecutionProfile( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def getExecutionStrategyExplanation(self) -> java.lang.String: ... @typing.overload def getExergyAnalysis(self) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... @typing.overload - def getExergyAnalysis(self, double: float) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... + def getExergyAnalysis( + self, double: float + ) -> jneqsim.process.util.exergy.ExergyAnalysisReport: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload - def getFailedMassBalance(self) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def getFailedMassBalance(self, double: float) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, double: float + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload - def getFailedMassBalance(self, string: typing.Union[java.lang.String, str], double: float) -> java.util.Map[java.lang.String, 'ProcessSystem.MassBalanceResult']: ... + def getFailedMassBalance( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.util.Map[java.lang.String, "ProcessSystem.MassBalanceResult"]: ... @typing.overload def getFailedMassBalanceReport(self) -> java.lang.String: ... @typing.overload def getFailedMassBalanceReport(self, double: float) -> java.lang.String: ... @typing.overload - def getFailedMassBalanceReport(self, string: typing.Union[java.lang.String, str], double: float) -> java.lang.String: ... + def getFailedMassBalanceReport( + self, string: typing.Union[java.lang.String, str], double: float + ) -> java.lang.String: ... def getGraphSummary(self) -> java.lang.String: ... def getHeaterDuty(self, string: typing.Union[java.lang.String, str]) -> float: ... def getHistoryCapacity(self) -> int: ... def getHistorySize(self) -> int: ... - def getHistorySnapshot(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getIntegrationMethod(self) -> 'ProcessSystem.IntegrationMethod': ... + def getHistorySnapshot( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getIntegrationMethod(self) -> "ProcessSystem.IntegrationMethod": ... def getIntegratorStrategy(self) -> jneqsim.process.dynamics.IntegratorStrategy: ... def getLastRunElapsedMs(self) -> float: ... def getMassBalanceError(self) -> float: ... @@ -721,51 +1211,91 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): @typing.overload def getMassBalanceReport(self) -> java.lang.String: ... @typing.overload - def getMassBalanceReport(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMassBalanceReport( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getMaxParallelism(self) -> int: ... def getMaxTimestep(self) -> float: ... def getMaxTransientIterations(self) -> int: ... - def getMeasurementDevice(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... - def getMeasurementDeviceByTag(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... - def getMeasurementDevices(self) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... - def getMeasurementDevicesByRole(self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole) -> java.util.List[jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getMeasurementDevice( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDeviceByTag( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getMeasurementDevices( + self, + ) -> java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ]: ... + def getMeasurementDevicesByRole( + self, instrumentTagRole: jneqsim.process.measurementdevice.InstrumentTagRole + ) -> java.util.List[ + jneqsim.process.measurementdevice.MeasurementDeviceInterface + ]: ... def getMechanicalDesignAndCostEstimateJson(self) -> java.lang.String: ... def getMinTimestep(self) -> float: ... def getMinimumFlowForMassBalanceError(self) -> float: ... def getName(self) -> java.lang.String: ... def getParallelLevelCount(self) -> int: ... - def getParallelPartition(self) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... + def getParallelPartition( + self, + ) -> jneqsim.process.processmodel.graph.ProcessGraph.ParallelPartition: ... def getPower(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProgressListener(self) -> 'ProcessSystem.SimulationProgressListener': ... + def getProgressListener(self) -> "ProcessSystem.SimulationProgressListener": ... def getRecycleBlockCount(self) -> int: ... def getRecycleBlockReport(self) -> java.lang.String: ... - def getRecycleBlocks(self) -> java.util.List[java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... + def getRecycleBlocks( + self, + ) -> java.util.List[ + java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface] + ]: ... def getReport_json(self) -> java.lang.String: ... - def getRunStatus(self) -> 'RunStatus': ... + def getRunStatus(self) -> "RunStatus": ... def getRunStatusJson(self) -> java.lang.String: ... def getStreamSummaryJson(self) -> java.lang.String: ... def getStreamSummaryTable(self) -> java.lang.String: ... def getStructureVersion(self) -> int: ... def getSurroundingTemperature(self) -> float: ... - def getSystemElectricalDesign(self) -> jneqsim.process.electricaldesign.system.SystemElectricalDesign: ... - def getSystemInstrumentDesign(self) -> jneqsim.process.instrumentdesign.system.SystemInstrumentDesign: ... - def getSystemMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.SystemMechanicalDesign: ... + def getSystemElectricalDesign( + self, + ) -> jneqsim.process.electricaldesign.system.SystemElectricalDesign: ... + def getSystemInstrumentDesign( + self, + ) -> jneqsim.process.instrumentdesign.system.SystemInstrumentDesign: ... + def getSystemMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.SystemMechanicalDesign: ... @typing.overload def getTime(self) -> float: ... @typing.overload def getTime(self, string: typing.Union[java.lang.String, str]) -> float: ... def getTimeStep(self) -> float: ... - def getTopologicalOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getTopologicalOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getTotalCO2Emissions(self) -> float: ... def getTransientThreadPoolSize(self) -> int: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getUnitByReferenceDesignation(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitByReferenceDesignation( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getUnitNames(self) -> java.util.List[java.lang.String]: ... def getUnitNumber(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUnitOperations( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getUtilizationSnapshotJson(self) -> java.lang.String: ... - def getVariableList(self, string: typing.Union[java.lang.String, str]) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... - def getVariableValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getVariableList( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[jneqsim.process.automation.SimulationVariable]: ... + def getVariableValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def hasAdjusters(self) -> bool: ... def hasCalculators(self) -> bool: ... def hasMultiInputEquipment(self) -> bool: ... @@ -780,7 +1310,10 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def isAnyEquipmentOverloaded(self) -> bool: ... def isAnyHardLimitExceeded(self) -> bool: ... def isAutoValidate(self) -> bool: ... - def isInRecycleLoop(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isInRecycleLoop( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def isParallelExecutionBeneficial(self) -> bool: ... def isParallelTransientEnabled(self) -> bool: ... def isProfilingEnabled(self) -> bool: ... @@ -793,36 +1326,65 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def isUseGraphBasedExecution(self) -> bool: ... def isUseOptimizedExecution(self) -> bool: ... @staticmethod - def loadAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... + def loadAuto(string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... @staticmethod - def loadFromNeqsim(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def loadProcessFromYaml(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... - def loadStateFromFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def loadFromNeqsim( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystem": ... + def loadProcessFromYaml( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... + def loadStateFromFile( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @staticmethod - def open(string: typing.Union[java.lang.String, str]) -> 'ProcessSystem': ... - def optimize(self) -> 'ProcessSystem.OptimizationBuilder': ... - def optimizeThroughput(self, double: float, double2: float, double3: float, double4: float) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult: ... - def populateExergyAnalysis(self, exergyAnalysisReport: jneqsim.process.util.exergy.ExergyAnalysisReport, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def open(string: typing.Union[java.lang.String, str]) -> "ProcessSystem": ... + def optimize(self) -> "ProcessSystem.OptimizationBuilder": ... + def optimizeThroughput( + self, double: float, double2: float, double3: float, double4: float + ) -> ( + jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult + ): ... + def populateExergyAnalysis( + self, + exergyAnalysisReport: jneqsim.process.util.exergy.ExergyAnalysisReport, + double: float, + string: typing.Union[java.lang.String, str], + ) -> None: ... def printExecutionProfile(self) -> None: ... def printLogFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def removeUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def replaceObject(self, string: typing.Union[java.lang.String, str], processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass) -> None: ... - def replaceUnit(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def replaceObject( + self, + string: typing.Union[java.lang.String, str], + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ) -> None: ... + def replaceUnit( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... def reportMeasuredValues(self) -> None: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def reset(self) -> None: ... - def resolveStreamReference(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def resolveStreamReference( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def runAllElectricalDesigns(self) -> None: ... def runAllMechanicalDesigns(self) -> None: ... - def runAndReport(self) -> 'SimulationResult': ... + def runAndReport(self) -> "SimulationResult": ... def runAsTask(self) -> java.util.concurrent.Future[typing.Any]: ... def runAsThread(self) -> java.lang.Thread: ... def runDataflow(self, uUID: java.util.UUID) -> None: ... - def runFastKValueSimulation(self) -> jneqsim.process.fastsimulation.KValueProcessResult: ... + def runFastKValueSimulation( + self, + ) -> jneqsim.process.fastsimulation.KValueProcessResult: ... def runHybrid(self, uUID: java.util.UUID) -> None: ... def runMechanicalDesignAndCostEstimation(self) -> None: ... @typing.overload @@ -846,9 +1408,30 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def runTransient(self) -> None: ... def runTransientAdaptive(self, double: float, uUID: java.util.UUID) -> float: ... @typing.overload - def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> None: ... - @typing.overload - def runWithCallback(self, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]], uUID: java.util.UUID) -> None: ... + def runWithCallback( + self, + consumer: typing.Union[ + java.util.function.Consumer[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], None + ], + ], + ) -> None: ... + @typing.overload + def runWithCallback( + self, + consumer: typing.Union[ + java.util.function.Consumer[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], None + ], + ], + uUID: java.util.UUID, + ) -> None: ... def runWithProgress(self, uUID: java.util.UUID) -> None: ... @typing.overload def run_step(self) -> None: ... @@ -862,15 +1445,36 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def setAutoValidate(self, boolean: bool) -> None: ... def setCapacityAnalysisEnabled(self, boolean: bool) -> int: ... def setEnableMassBalanceTracking(self, boolean: bool) -> None: ... - def setEventScheduler(self, eventScheduler: jneqsim.process.dynamics.EventScheduler) -> None: ... - def setFieldData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - @typing.overload - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> None: ... - @typing.overload - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, boolean: bool) -> None: ... + def setEventScheduler( + self, eventScheduler: jneqsim.process.dynamics.EventScheduler + ) -> None: ... + def setFieldData( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + @typing.overload + def setFluid( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ) -> None: ... + @typing.overload + def setFluid( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + boolean: bool, + ) -> None: ... def setHistoryCapacity(self, int: int) -> None: ... - def setIntegrationMethod(self, integrationMethod: 'ProcessSystem.IntegrationMethod') -> None: ... - def setIntegratorStrategy(self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy) -> None: ... + def setIntegrationMethod( + self, integrationMethod: "ProcessSystem.IntegrationMethod" + ) -> None: ... + def setIntegratorStrategy( + self, integratorStrategy: jneqsim.process.dynamics.IntegratorStrategy + ) -> None: ... def setMassBalanceErrorThreshold(self, double: float) -> None: ... def setMaxTimestep(self, double: float) -> None: ... def setMaxTransientIterations(self, int: int) -> None: ... @@ -879,14 +1483,23 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setParallelTransientEnabled(self, boolean: bool) -> None: ... def setProfilingEnabled(self, boolean: bool) -> None: ... - def setProgressListener(self, simulationProgressListener: typing.Union['ProcessSystem.SimulationProgressListener', typing.Callable]) -> None: ... + def setProgressListener( + self, + simulationProgressListener: typing.Union[ + "ProcessSystem.SimulationProgressListener", typing.Callable + ], + ) -> None: ... def setPublishEvents(self, boolean: bool) -> None: ... - def setRecycleAccelerationMethod(self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod) -> int: ... + def setRecycleAccelerationMethod( + self, accelerationMethod: jneqsim.process.equipment.util.AccelerationMethod + ) -> int: ... def setRunStep(self, boolean: bool) -> None: ... @typing.overload def setSectionLowFlowThreshold(self, double: float) -> None: ... @typing.overload - def setSectionLowFlowThreshold(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSectionLowFlowThreshold( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setSectionLowFlowThresholdFraction(self, double: float) -> int: ... def setSolveFullyInModelStep(self, boolean: bool) -> None: ... def setSurroundingTemperature(self, double: float) -> None: ... @@ -896,74 +1509,155 @@ class ProcessSystem(jneqsim.process.SimulationBaseClass): def setUseFlashWarmStart(self, boolean: bool) -> None: ... def setUseGraphBasedExecution(self, boolean: bool) -> None: ... def setUseOptimizedExecution(self, boolean: bool) -> None: ... - def setVariableValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setVariableValue( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def size(self) -> int: ... def solved(self) -> bool: ... def storeInitialState(self) -> None: ... @typing.overload def toDOT(self) -> java.lang.String: ... @typing.overload - def toDOT(self, diagramDetailLevel: jneqsim.process.processmodel.diagram.DiagramDetailLevel) -> java.lang.String: ... + def toDOT( + self, + diagramDetailLevel: jneqsim.process.processmodel.diagram.DiagramDetailLevel, + ) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... - def validateAll(self) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... - def validateAndReport(self) -> 'SimulationResult': ... + def validateAll( + self, + ) -> java.util.Map[java.lang.String, jneqsim.util.validation.ValidationResult]: ... + def validateAndReport(self) -> "SimulationResult": ... @staticmethod - def validateJson(string: typing.Union[java.lang.String, str]) -> ProcessJsonValidator.ValidationReport: ... + def validateJson( + string: typing.Union[java.lang.String, str] + ) -> ProcessJsonValidator.ValidationReport: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... def validateStructure(self) -> java.util.List[java.lang.String]: ... def view(self) -> None: ... - def wireStream(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... - class IntegrationMethod(java.lang.Enum['ProcessSystem.IntegrationMethod']): - EXPLICIT_EULER: typing.ClassVar['ProcessSystem.IntegrationMethod'] = ... - SEMI_IMPLICIT: typing.ClassVar['ProcessSystem.IntegrationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def wireStream( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... + + class IntegrationMethod(java.lang.Enum["ProcessSystem.IntegrationMethod"]): + EXPLICIT_EULER: typing.ClassVar["ProcessSystem.IntegrationMethod"] = ... + SEMI_IMPLICIT: typing.ClassVar["ProcessSystem.IntegrationMethod"] = ... + _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: ... + 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]) -> 'ProcessSystem.IntegrationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystem.IntegrationMethod": ... @staticmethod - def values() -> typing.MutableSequence['ProcessSystem.IntegrationMethod']: ... + def values() -> typing.MutableSequence["ProcessSystem.IntegrationMethod"]: ... + class MassBalanceResult: - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def getAbsoluteError(self) -> float: ... def getPercentError(self) -> float: ... def getUnit(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class OptimizationBuilder: - def __init__(self, processSystem: 'ProcessSystem'): ... + def __init__(self, processSystem: "ProcessSystem"): ... def findMaxThroughput(self) -> float: ... - def generateLiftCurve(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... - def optimize(self) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult: ... - def usingAlgorithm(self, searchAlgorithm: jneqsim.process.util.optimizer.ProcessOptimizationEngine.SearchAlgorithm) -> 'ProcessSystem.OptimizationBuilder': ... - def withFlowBounds(self, double: float, double2: float) -> 'ProcessSystem.OptimizationBuilder': ... - def withMaxIterations(self, int: int) -> 'ProcessSystem.OptimizationBuilder': ... - def withPressures(self, double: float, double2: float) -> 'ProcessSystem.OptimizationBuilder': ... - def withTolerance(self, double: float) -> 'ProcessSystem.OptimizationBuilder': ... + def generateLiftCurve( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> jneqsim.process.util.optimizer.ProcessOptimizationEngine.LiftCurveData: ... + def optimize( + self, + ) -> ( + jneqsim.process.util.optimizer.ProcessOptimizationEngine.OptimizationResult + ): ... + def usingAlgorithm( + self, + searchAlgorithm: jneqsim.process.util.optimizer.ProcessOptimizationEngine.SearchAlgorithm, + ) -> "ProcessSystem.OptimizationBuilder": ... + def withFlowBounds( + self, double: float, double2: float + ) -> "ProcessSystem.OptimizationBuilder": ... + def withMaxIterations( + self, int: int + ) -> "ProcessSystem.OptimizationBuilder": ... + def withPressures( + self, double: float, double2: float + ) -> "ProcessSystem.OptimizationBuilder": ... + def withTolerance( + self, double: float + ) -> "ProcessSystem.OptimizationBuilder": ... + class SimulationProgressListener: def onBeforeIteration(self, int: int) -> None: ... - def onBeforeUnit(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int, int2: int, int3: int) -> None: ... - def onIterationComplete(self, int: int, boolean: bool, double: float) -> None: ... + def onBeforeUnit( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + int: int, + int2: int, + int3: int, + ) -> None: ... + def onIterationComplete( + self, int: int, boolean: bool, double: float + ) -> None: ... def onSimulationComplete(self, int: int, boolean: bool) -> None: ... def onSimulationStart(self, int: int) -> None: ... - def onUnitComplete(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, int: int, int2: int, int3: int) -> None: ... - def onUnitError(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, exception: java.lang.Exception) -> bool: ... + def onUnitComplete( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + int: int, + int2: int, + int3: int, + ) -> None: ... + def onUnitError( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + exception: java.lang.Exception, + ) -> bool: ... class ProcessSystemGraphvizExporter: def __init__(self): ... @typing.overload - def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str]) -> None: ... + def export( + self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def export(self, processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], graphvizExportOptions: 'ProcessSystemGraphvizExporter.GraphvizExportOptions') -> None: ... + def export( + self, + processSystem: ProcessSystem, + string: typing.Union[java.lang.String, str], + graphvizExportOptions: "ProcessSystemGraphvizExporter.GraphvizExportOptions", + ) -> None: ... + class GraphvizExportOptions: @staticmethod - def builder() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... + def builder() -> ( + "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder" + ): ... @staticmethod - def defaults() -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... + def defaults() -> "ProcessSystemGraphvizExporter.GraphvizExportOptions": ... def getFlowRateUnit(self) -> java.lang.String: ... def getPressureUnit(self) -> java.lang.String: ... - def getTablePlacement(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + def getTablePlacement( + self, + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement": ... def getTemperatureUnit(self) -> java.lang.String: ... def includeStreamFlowRates(self) -> bool: ... def includeStreamPressures(self) -> bool: ... @@ -972,49 +1666,115 @@ class ProcessSystemGraphvizExporter: def includeTableFlowRates(self) -> bool: ... def includeTablePressures(self) -> bool: ... def includeTableTemperatures(self) -> bool: ... + class Builder: - def build(self) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions': ... - def flowRateUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeStreamFlowRates(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeStreamPressures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeStreamPropertyTable(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeStreamTemperatures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeTableFlowRates(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeTablePressures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def includeTableTemperatures(self, boolean: bool) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def pressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def tablePlacement(self, tablePlacement: 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement') -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - def temperatureUnit(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder': ... - class TablePlacement(java.lang.Enum['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']): - ABOVE: typing.ClassVar['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement'] = ... - BELOW: typing.ClassVar['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build( + self, + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions": ... + def flowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeStreamFlowRates( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeStreamPressures( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeStreamPropertyTable( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeStreamTemperatures( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeTableFlowRates( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeTablePressures( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def includeTableTemperatures( + self, boolean: bool + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def pressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def tablePlacement( + self, + tablePlacement: "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement", + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + def temperatureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemGraphvizExporter.GraphvizExportOptions.Builder": ... + + class TablePlacement( + java.lang.Enum[ + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ] + ): + ABOVE: typing.ClassVar[ + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ] = ... + BELOW: typing.ClassVar[ + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ] = ... + _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: ... + 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]) -> 'ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> ( + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ): ... @staticmethod - def values() -> typing.MutableSequence['ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessSystemGraphvizExporter.GraphvizExportOptions.TablePlacement" + ] + ): ... class RunStatus(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... def __init__(self): ... def getFailedUnitError(self) -> java.lang.String: ... def getFailedUnitName(self) -> java.lang.String: ... - def getUnits(self) -> java.util.List['UnitRunStatus']: ... + def getUnits(self) -> java.util.List["UnitRunStatus"]: ... def isCompleted(self) -> bool: ... def isSuccess(self) -> bool: ... def markComplete(self, boolean: bool) -> None: ... @typing.overload - def recordFailure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def recordFailure(self, 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]) -> None: ... - @typing.overload - def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def recordSuccess(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def recordFailure( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def recordFailure( + self, + 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], + ) -> None: ... + @typing.overload + def recordSuccess( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def recordSuccess( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... def reset(self) -> None: ... def toJson(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... @@ -1022,18 +1782,29 @@ class RunStatus(java.io.Serializable): class SimulationResult: @staticmethod - def error(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SimulationResult': ... + def error( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SimulationResult": ... @typing.overload @staticmethod - def failure(list: java.util.List['SimulationResult.ErrorDetail'], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... + def failure( + list: java.util.List["SimulationResult.ErrorDetail"], + list2: java.util.List[typing.Union[java.lang.String, str]], + ) -> "SimulationResult": ... @typing.overload @staticmethod - def failure(processSystem: ProcessSystem, list: java.util.List['SimulationResult.ErrorDetail'], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... - def getErrors(self) -> java.util.List['SimulationResult.ErrorDetail']: ... + def failure( + processSystem: ProcessSystem, + list: java.util.List["SimulationResult.ErrorDetail"], + list2: java.util.List[typing.Union[java.lang.String, str]], + ) -> "SimulationResult": ... + def getErrors(self) -> java.util.List["SimulationResult.ErrorDetail"]: ... def getMetadata(self) -> com.google.gson.JsonObject: ... def getProcessSystem(self) -> ProcessSystem: ... def getReportJson(self) -> java.lang.String: ... - def getStatus(self) -> 'SimulationResult.Status': ... + def getStatus(self) -> "SimulationResult.Status": ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def hasMetadata(self) -> bool: ... def hasWarnings(self) -> bool: ... @@ -1041,35 +1812,64 @@ class SimulationResult: def isSuccess(self) -> bool: ... @typing.overload @staticmethod - def success(processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]) -> 'SimulationResult': ... + def success( + processSystem: ProcessSystem, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ) -> "SimulationResult": ... @typing.overload @staticmethod - def success(processSystem: ProcessSystem, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], jsonObject: com.google.gson.JsonObject) -> 'SimulationResult': ... + def success( + processSystem: ProcessSystem, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + jsonObject: com.google.gson.JsonObject, + ) -> "SimulationResult": ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ErrorDetail: - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... def getCode(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def toJsonObject(self) -> com.google.gson.JsonObject: ... def toString(self) -> java.lang.String: ... - class Status(java.lang.Enum['SimulationResult.Status']): - SUCCESS: typing.ClassVar['SimulationResult.Status'] = ... - ERROR: typing.ClassVar['SimulationResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Status(java.lang.Enum["SimulationResult.Status"]): + SUCCESS: typing.ClassVar["SimulationResult.Status"] = ... + ERROR: typing.ClassVar["SimulationResult.Status"] = ... + _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: ... + 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]) -> 'SimulationResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SimulationResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['SimulationResult.Status']: ... + def values() -> typing.MutableSequence["SimulationResult.Status"]: ... class UnitRunStatus(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getAreaName(self) -> java.lang.String: ... def getErrorMessage(self) -> java.lang.String: ... def getUnitName(self) -> java.lang.String: ... @@ -1090,23 +1890,37 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac def enableAllConstraints(self) -> int: ... def getConditionAnalysisMessage(self) -> java.lang.String: ... @typing.overload - def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getController( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... @typing.overload - def getController(self) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getEntropyProduction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getController( + self, + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getEntropyProduction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getExergyChange(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getExergyDestruction(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload def getMassBalance(self) -> float: ... @typing.overload def getMassBalance(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMechanicalDesign(self) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... + def getMechanicalDesign( + self, + ) -> jneqsim.process.mechanicaldesign.MechanicalDesign: ... def getOperations(self) -> ProcessSystem: ... def getPreferedThermodynamicModel(self) -> java.lang.String: ... @typing.overload @@ -1114,7 +1928,9 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... def getReport_json(self) -> java.lang.String: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecification(self) -> java.lang.String: ... @typing.overload def getTemperature(self) -> float: ... @@ -1123,8 +1939,13 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getUnit(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def isCalcDesign(self) -> bool: ... - def reportResults(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def runConditionAnalysis(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def reportResults( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def runConditionAnalysis( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... @typing.overload def runTransient(self, double: float) -> None: ... @typing.overload @@ -1133,28 +1954,43 @@ class ProcessModuleBaseClass(jneqsim.process.SimulationBaseClass, ModuleInterfac def run_step(self) -> None: ... @typing.overload def run_step(self, uUID: java.util.UUID) -> None: ... - def setController(self, controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface) -> None: ... + def setController( + self, + controllerDeviceInterface: jneqsim.process.controllerdevice.ControllerDeviceInterface, + ) -> None: ... def setDesign(self) -> None: ... def setIsCalcDesign(self, boolean: bool) -> None: ... - def setPreferedThermodynamicModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPreferedThermodynamicModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPressure(self, double: float) -> None: ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setProperty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setProperty( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setRegulatorOutSignal(self, double: float) -> None: ... @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setTemperature(self, double: float) -> None: ... def solved(self) -> bool: ... @typing.overload - def toJson(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> java.lang.String: ... + def toJson( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> java.lang.String: ... @typing.overload def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel")``. diff --git a/src/jneqsim-stubs/process/processmodel/biorefinery/__init__.pyi b/src/jneqsim-stubs/process/processmodel/biorefinery/__init__.pyi index 41959e2e..25b2482e 100644 --- a/src/jneqsim-stubs/process/processmodel/biorefinery/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/biorefinery/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,15 +14,17 @@ import jneqsim.process.processmodel import jneqsim.thermo.characterization import typing - - class BiogasToGridModule(jneqsim.process.processmodel.ProcessModule): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getBiomethaneFlowNm3PerHour(self) -> float: ... - def getBiomethaneOutStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getBiomethaneOutStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getCompressorPowerKW(self) -> float: ... def getCoolerDutyKW(self) -> float: ... - def getDigestateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDigestateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getOffgasStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @typing.overload @@ -30,12 +32,20 @@ class BiogasToGridModule(jneqsim.process.processmodel.ProcessModule): @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDigesterTemperatureC(self, double: float) -> None: ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setGridPressureBara(self, double: float) -> None: ... def setGridTemperatureC(self, double: float) -> None: ... def setHydraulicRetentionTimeDays(self, double: float) -> None: ... - def setSubstrateType(self, substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType) -> None: ... - def setUpgradingTechnology(self, upgradingTechnology: jneqsim.process.equipment.splitter.BiogasUpgrader.UpgradingTechnology) -> None: ... + def setSubstrateType( + self, + substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType, + ) -> None: ... + def setUpgradingTechnology( + self, + upgradingTechnology: jneqsim.process.equipment.splitter.BiogasUpgrader.UpgradingTechnology, + ) -> None: ... def toJson(self) -> java.lang.String: ... class GasificationSynthesisModule(jneqsim.process.processmodel.ProcessModule): @@ -49,7 +59,11 @@ class GasificationSynthesisModule(jneqsim.process.processmodel.ProcessModule): def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... - def setBiomass(self, biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, double: float) -> None: ... + def setBiomass( + self, + biomassCharacterization: jneqsim.thermo.characterization.BiomassCharacterization, + double: float, + ) -> None: ... def setBiomassFeedRateKgPerHr(self, double: float) -> None: ... def setEquivalenceRatio(self, double: float) -> None: ... def setFtAlpha(self, double: float) -> None: ... @@ -57,7 +71,10 @@ class GasificationSynthesisModule(jneqsim.process.processmodel.ProcessModule): def setFtReactorPressureBara(self, double: float) -> None: ... def setFtReactorTemperatureC(self, double: float) -> None: ... def setGasifierTemperatureC(self, double: float) -> None: ... - def setGasifierType(self, gasifierType: jneqsim.process.equipment.reactor.BiomassGasifier.GasifierType) -> None: ... + def setGasifierType( + self, + gasifierType: jneqsim.process.equipment.reactor.BiomassGasifier.GasifierType, + ) -> None: ... def setSteamToBiomassRatio(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... @@ -66,9 +83,13 @@ class WasteToEnergyCHPModule(jneqsim.process.processmodel.ProcessModule): def getAnnualElectricityMWh(self) -> float: ... def getAnnualHeatMWh(self) -> float: ... def getCO2EmissionsKgPerHr(self) -> float: ... - def getDigestateStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getDigestateStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getElectricalPowerKW(self) -> float: ... - def getExhaustGasStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getExhaustGasStream( + self, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFuelInputKW(self) -> float: ... def getHeatOutputKW(self) -> float: ... def getResults(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -79,14 +100,18 @@ class WasteToEnergyCHPModule(jneqsim.process.processmodel.ProcessModule): def run(self, uUID: java.util.UUID) -> None: ... def setDigesterTemperatureC(self, double: float) -> None: ... def setElectricalEfficiency(self, double: float) -> None: ... - def setFeedStream(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def setFeedStream( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> None: ... def setHydraulicRetentionTimeDays(self, double: float) -> None: ... def setOperatingHoursPerYear(self, double: float) -> None: ... - def setSubstrateType(self, substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType) -> None: ... + def setSubstrateType( + self, + substrateType: jneqsim.process.equipment.reactor.AnaerobicDigester.SubstrateType, + ) -> None: ... def setThermalEfficiency(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.biorefinery")``. diff --git a/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi index 37297f21..28638eea 100644 --- a/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/dexpi/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,14 +18,25 @@ import jneqsim.thermo.system import org.w3c.dom import typing - - class DexpiEquipmentFactory: @staticmethod - def create(dexpiProcessUnit: 'DexpiProcessUnit', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def create( + dexpiProcessUnit: "DexpiProcessUnit", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... class DexpiInstrumentInfo(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], string8: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + string8: typing.Union[java.lang.String, str], + ): ... def getActuatingTag(self) -> java.lang.String: ... def getCategory(self) -> java.lang.String: ... def getFunctions(self) -> java.lang.String: ... @@ -67,39 +78,50 @@ class DexpiLayoutConfig: def isShowStreamLabels(self) -> bool: ... def isShowStreamTable(self) -> bool: ... def isShowSymbolLegend(self) -> bool: ... - def setBatteryLimitPadding(self, double: float) -> 'DexpiLayoutConfig': ... - def setBorderMargin(self, double: float) -> 'DexpiLayoutConfig': ... - def setDefaultScale(self, double: float) -> 'DexpiLayoutConfig': ... - def setFontName(self, string: typing.Union[java.lang.String, str]) -> 'DexpiLayoutConfig': ... - def setInstrumentOffsetY(self, double: float) -> 'DexpiLayoutConfig': ... - def setInstrumentXSpacing(self, double: float) -> 'DexpiLayoutConfig': ... - def setLineColor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'DexpiLayoutConfig': ... - def setProcessLineWeight(self, double: float) -> 'DexpiLayoutConfig': ... - def setShowBatteryLimit(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowEquipmentBars(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowFailPositionMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowFlowArrows(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowInsulationMarks(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowOrientationMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowRevisionHistory(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowSilMarkers(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowStreamLabels(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowStreamTable(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setShowSymbolLegend(self, boolean: bool) -> 'DexpiLayoutConfig': ... - def setSignalLineWeight(self, double: float) -> 'DexpiLayoutConfig': ... - def setTagFontHeight(self, double: float) -> 'DexpiLayoutConfig': ... - def setXSpacing(self, double: float) -> 'DexpiLayoutConfig': ... - def setXStart(self, double: float) -> 'DexpiLayoutConfig': ... - def setYBase(self, double: float) -> 'DexpiLayoutConfig': ... - def setYBranchOffset(self, double: float) -> 'DexpiLayoutConfig': ... + def setBatteryLimitPadding(self, double: float) -> "DexpiLayoutConfig": ... + def setBorderMargin(self, double: float) -> "DexpiLayoutConfig": ... + def setDefaultScale(self, double: float) -> "DexpiLayoutConfig": ... + def setFontName( + self, string: typing.Union[java.lang.String, str] + ) -> "DexpiLayoutConfig": ... + def setInstrumentOffsetY(self, double: float) -> "DexpiLayoutConfig": ... + def setInstrumentXSpacing(self, double: float) -> "DexpiLayoutConfig": ... + def setLineColor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "DexpiLayoutConfig": ... + def setProcessLineWeight(self, double: float) -> "DexpiLayoutConfig": ... + def setShowBatteryLimit(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowEquipmentBars(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowFailPositionMarkers(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowFlowArrows(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowInsulationMarks(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowOrientationMarkers(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowRevisionHistory(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowSilMarkers(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowStreamLabels(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowStreamTable(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setShowSymbolLegend(self, boolean: bool) -> "DexpiLayoutConfig": ... + def setSignalLineWeight(self, double: float) -> "DexpiLayoutConfig": ... + def setTagFontHeight(self, double: float) -> "DexpiLayoutConfig": ... + def setXSpacing(self, double: float) -> "DexpiLayoutConfig": ... + def setXStart(self, double: float) -> "DexpiLayoutConfig": ... + def setYBase(self, double: float) -> "DexpiLayoutConfig": ... + def setYBranchOffset(self, double: float) -> "DexpiLayoutConfig": ... class DexpiMappingLoader: @staticmethod def clearCache() -> None: ... @staticmethod - def loadEquipmentMapping() -> java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum]: ... + def loadEquipmentMapping() -> ( + java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum] + ): ... @staticmethod - def loadPipingComponentMapping() -> java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum]: ... + def loadPipingComponentMapping() -> ( + java.util.Map[java.lang.String, jneqsim.process.equipment.EquipmentEnum] + ): ... class DexpiMetadata: TAG_NAME: typing.ClassVar[java.lang.String] = ... @@ -151,70 +173,154 @@ class DexpiMetadata: def sizingAttributes() -> java.util.Set[java.lang.String]: ... class DexpiProcessUnit(jneqsim.process.equipment.ProcessEquipmentBaseClass): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], equipmentEnum: jneqsim.process.equipment.EquipmentEnum, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + equipmentEnum: jneqsim.process.equipment.EquipmentEnum, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getDexpiClass(self) -> java.lang.String: ... def getDexpiId(self) -> java.lang.String: ... def getFluidCode(self) -> java.lang.String: ... def getLineNumber(self) -> java.lang.String: ... def getMappedEquipment(self) -> jneqsim.process.equipment.EquipmentEnum: ... - def getSizingAttribute(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getSizingAttributeAsDouble(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def getSizingAttributes(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getSizingAttribute( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def getSizingAttributeAsDouble( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def getSizingAttributes( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... @typing.overload def run(self) -> None: ... @typing.overload def run(self, uUID: java.util.UUID) -> None: ... def setDexpiId(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSizingAttribute(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setSizingAttribute( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class DexpiRoundTripProfile: @staticmethod - def minimalRunnableProfile() -> 'DexpiRoundTripProfile': ... - def validate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'DexpiRoundTripProfile.ValidationResult': ... + def minimalRunnableProfile() -> "DexpiRoundTripProfile": ... + def validate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "DexpiRoundTripProfile.ValidationResult": ... + class ValidationResult: def getViolations(self) -> java.util.List[java.lang.String]: ... def isSuccessful(self) -> bool: ... class DexpiSimulationBuilder: - def __init__(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]): ... + def __init__( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ): ... def build(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def setAutoInstrument(self, boolean: bool) -> 'DexpiSimulationBuilder': ... - def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... - def setFeedPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... - def setFeedTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'DexpiSimulationBuilder': ... - def setFluidTemplate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'DexpiSimulationBuilder': ... - def setNamespaceAware(self, boolean: bool) -> 'DexpiSimulationBuilder': ... + def setAutoInstrument(self, boolean: bool) -> "DexpiSimulationBuilder": ... + def setFeedFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DexpiSimulationBuilder": ... + def setFeedPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DexpiSimulationBuilder": ... + def setFeedTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "DexpiSimulationBuilder": ... + def setFluidTemplate( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "DexpiSimulationBuilder": ... + def setNamespaceAware(self, boolean: bool) -> "DexpiSimulationBuilder": ... class DexpiStream(jneqsim.process.equipment.stream.Stream): - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getDexpiClass(self) -> java.lang.String: ... def getFluidCode(self) -> java.lang.String: ... def getLineNumber(self) -> java.lang.String: ... class DexpiStreamUtils: @staticmethod - def getGasOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getGasOutletStream( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @staticmethod - def getLiquidOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getLiquidOutletStream( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @staticmethod - def getWaterOutletStream(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getWaterOutletStream( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... @staticmethod - def isMultiOutlet(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> bool: ... + def isMultiOutlet( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> bool: ... class DexpiTopologyResolver: @staticmethod - def resolve(document: org.w3c.dom.Document) -> 'DexpiTopologyResolver.ResolvedTopology': ... + def resolve( + document: org.w3c.dom.Document, + ) -> "DexpiTopologyResolver.ResolvedTopology": ... + class ResolvedTopology(java.io.Serializable): - def __init__(self, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List['DexpiTopologyResolver.TopologyEdge'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], org.w3c.dom.Element], typing.Mapping[typing.Union[java.lang.String, str], org.w3c.dom.Element]]): ... - def getEdges(self) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... - def getEquipmentElements(self) -> java.util.Map[java.lang.String, org.w3c.dom.Element]: ... - def getIncomingEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... - def getNozzleToEquipment(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def __init__( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List["DexpiTopologyResolver.TopologyEdge"], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[java.lang.String, str], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[java.lang.String, str], + ], + ], + map2: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], org.w3c.dom.Element], + typing.Mapping[ + typing.Union[java.lang.String, str], org.w3c.dom.Element + ], + ], + ): ... + def getEdges(self) -> java.util.List["DexpiTopologyResolver.TopologyEdge"]: ... + def getEquipmentElements( + self, + ) -> java.util.Map[java.lang.String, org.w3c.dom.Element]: ... + def getIncomingEdges( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["DexpiTopologyResolver.TopologyEdge"]: ... + def getNozzleToEquipment( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getOrderedEquipmentIds(self) -> java.util.List[java.lang.String]: ... - def getOutgoingEdges(self, string: typing.Union[java.lang.String, str]) -> java.util.List['DexpiTopologyResolver.TopologyEdge']: ... + def getOutgoingEdges( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["DexpiTopologyResolver.TopologyEdge"]: ... def hasCycle(self) -> bool: ... + class TopologyEdge(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + ): ... def getPipingSegmentId(self) -> java.lang.String: ... def getSourceEquipmentId(self) -> java.lang.String: ... def getSourceNozzleId(self) -> java.lang.String: ... @@ -225,101 +331,222 @@ class DexpiTopologyResolver: class DexpiXmlReader: @typing.overload @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def load( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> None: ... @typing.overload @staticmethod - def load(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream) -> None: ... + def load( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + processSystem: jneqsim.process.processmodel.ProcessSystem, + stream: jneqsim.process.equipment.stream.Stream, + ) -> None: ... @typing.overload @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def load( + inputStream: java.io.InputStream, + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> None: ... @typing.overload @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream) -> None: ... + def load( + inputStream: java.io.InputStream, + processSystem: jneqsim.process.processmodel.ProcessSystem, + stream: jneqsim.process.equipment.stream.Stream, + ) -> None: ... @typing.overload @staticmethod - def load(inputStream: java.io.InputStream, processSystem: jneqsim.process.processmodel.ProcessSystem, stream: jneqsim.process.equipment.stream.Stream, boolean: bool) -> None: ... + def load( + inputStream: java.io.InputStream, + processSystem: jneqsim.process.processmodel.ProcessSystem, + stream: jneqsim.process.equipment.stream.Stream, + boolean: bool, + ) -> None: ... @typing.overload @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... + def read( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> jneqsim.process.processmodel.ProcessSystem: ... @typing.overload @staticmethod - def read(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... + def read( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + stream: jneqsim.process.equipment.stream.Stream, + ) -> jneqsim.process.processmodel.ProcessSystem: ... @typing.overload @staticmethod - def read(inputStream: java.io.InputStream) -> jneqsim.process.processmodel.ProcessSystem: ... + def read( + inputStream: java.io.InputStream, + ) -> jneqsim.process.processmodel.ProcessSystem: ... @typing.overload @staticmethod - def read(inputStream: java.io.InputStream, stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... + def read( + inputStream: java.io.InputStream, + stream: jneqsim.process.equipment.stream.Stream, + ) -> jneqsim.process.processmodel.ProcessSystem: ... @typing.overload @staticmethod - def readInstruments(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[DexpiInstrumentInfo]: ... + def readInstruments( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> java.util.List[DexpiInstrumentInfo]: ... @typing.overload @staticmethod - def readInstruments(inputStream: java.io.InputStream) -> java.util.List[DexpiInstrumentInfo]: ... + def readInstruments( + inputStream: java.io.InputStream, + ) -> java.util.List[DexpiInstrumentInfo]: ... class DexpiXmlReaderException(java.lang.Exception): @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): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + throwable: java.lang.Throwable, + ): ... class DexpiXmlWriter: @staticmethod - def getSchemaVersion() -> 'DexpiXmlWriter.DexpiSchemaVersion': ... + def getSchemaVersion() -> "DexpiXmlWriter.DexpiSchemaVersion": ... @staticmethod - def roundTrip(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], file2: typing.Union[java.io.File, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> None: ... + def roundTrip( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + file2: typing.Union[java.io.File, jpype.protocol.SupportsPath], + stream: jneqsim.process.equipment.stream.Stream, + ) -> None: ... @staticmethod def setAutoSynthesizeInstrumentation(boolean: bool) -> None: ... @staticmethod - def setSchemaVersion(dexpiSchemaVersion: 'DexpiXmlWriter.DexpiSchemaVersion') -> None: ... + def setSchemaVersion( + dexpiSchemaVersion: "DexpiXmlWriter.DexpiSchemaVersion", + ) -> None: ... @typing.overload @staticmethod - def write(processModel: jneqsim.process.processmodel.ProcessModel, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def write( + processModel: jneqsim.process.processmodel.ProcessModel, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def write(processModel: jneqsim.process.processmodel.ProcessModel, outputStream: java.io.OutputStream) -> None: ... + def write( + processModel: jneqsim.process.processmodel.ProcessModel, + outputStream: java.io.OutputStream, + ) -> None: ... @typing.overload @staticmethod - def write(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def write( + processSystem: jneqsim.process.processmodel.ProcessSystem, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def write(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface]]) -> None: ... + def write( + processSystem: jneqsim.process.processmodel.ProcessSystem, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ], + ], + map2: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.controllerdevice.ControllerDeviceInterface, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.controllerdevice.ControllerDeviceInterface, + ], + ], + ) -> None: ... @typing.overload @staticmethod - def write(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream) -> None: ... + def write( + processSystem: jneqsim.process.processmodel.ProcessSystem, + outputStream: java.io.OutputStream, + ) -> None: ... @typing.overload @staticmethod - def write(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.MeasurementDeviceInterface]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.controllerdevice.ControllerDeviceInterface]]) -> None: ... + def write( + processSystem: jneqsim.process.processmodel.ProcessSystem, + outputStream: java.io.OutputStream, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ], + ], + map2: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.controllerdevice.ControllerDeviceInterface, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.controllerdevice.ControllerDeviceInterface, + ], + ], + ) -> None: ... @typing.overload @staticmethod - def writeDexpi20(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def writeDexpi20( + processSystem: jneqsim.process.processmodel.ProcessSystem, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def writeDexpi20(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream) -> None: ... + def writeDexpi20( + processSystem: jneqsim.process.processmodel.ProcessSystem, + outputStream: java.io.OutputStream, + ) -> None: ... @typing.overload @staticmethod - def writeForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def writeForPyDexpi( + processSystem: jneqsim.process.processmodel.ProcessSystem, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def writeForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, outputStream: java.io.OutputStream) -> None: ... + def writeForPyDexpi( + processSystem: jneqsim.process.processmodel.ProcessSystem, + outputStream: java.io.OutputStream, + ) -> None: ... @staticmethod - def writeSheets(processModel: jneqsim.process.processmodel.ProcessModel, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[java.io.File]: ... - class DexpiSchemaVersion(java.lang.Enum['DexpiXmlWriter.DexpiSchemaVersion']): - PROTEUS_4_1_1: typing.ClassVar['DexpiXmlWriter.DexpiSchemaVersion'] = ... - DEXPI_2_0: typing.ClassVar['DexpiXmlWriter.DexpiSchemaVersion'] = ... + def writeSheets( + processModel: jneqsim.process.processmodel.ProcessModel, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + ) -> java.util.List[java.io.File]: ... + + class DexpiSchemaVersion(java.lang.Enum["DexpiXmlWriter.DexpiSchemaVersion"]): + PROTEUS_4_1_1: typing.ClassVar["DexpiXmlWriter.DexpiSchemaVersion"] = ... + DEXPI_2_0: typing.ClassVar["DexpiXmlWriter.DexpiSchemaVersion"] = ... def getNamespaceUri(self) -> java.lang.String: ... def getSchemaLocation(self) -> java.lang.String: ... def getSchemaVersionAttribute(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DexpiXmlWriter.DexpiSchemaVersion': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DexpiXmlWriter.DexpiSchemaVersion": ... @staticmethod - def values() -> typing.MutableSequence['DexpiXmlWriter.DexpiSchemaVersion']: ... - + def values() -> typing.MutableSequence["DexpiXmlWriter.DexpiSchemaVersion"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.dexpi")``. diff --git a/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi b/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi index ead4609f..2e85d8b1 100644 --- a/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/diagram/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,62 +15,90 @@ import jneqsim.process.processmodel import jneqsim.process.processmodel.graph import typing - - class DexpiDiagramBridge(java.io.Serializable): @staticmethod - def createDetailedExporter(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessDiagramExporter': ... + def createDetailedExporter( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ProcessDiagramExporter": ... @staticmethod - def createExporter(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessDiagramExporter': ... + def createExporter( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ProcessDiagramExporter": ... @staticmethod - def exportForPyDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportForPyDexpi( + processSystem: jneqsim.process.processmodel.ProcessSystem, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @staticmethod - def exportToDexpi(processSystem: jneqsim.process.processmodel.ProcessSystem, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def exportToDexpi( + processSystem: jneqsim.process.processmodel.ProcessSystem, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def importAndCreateExporter(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'ProcessDiagramExporter': ... + def importAndCreateExporter( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> "ProcessDiagramExporter": ... @typing.overload @staticmethod - def importAndCreateExporter(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> 'ProcessDiagramExporter': ... + def importAndCreateExporter( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + stream: jneqsim.process.equipment.stream.Stream, + ) -> "ProcessDiagramExporter": ... @typing.overload @staticmethod - def importDexpi(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... + def importDexpi( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> jneqsim.process.processmodel.ProcessSystem: ... @typing.overload @staticmethod - def importDexpi(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], stream: jneqsim.process.equipment.stream.Stream) -> jneqsim.process.processmodel.ProcessSystem: ... + def importDexpi( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + stream: jneqsim.process.equipment.stream.Stream, + ) -> jneqsim.process.processmodel.ProcessSystem: ... @staticmethod - def roundTrip(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path2: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], path3: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> jneqsim.process.processmodel.ProcessSystem: ... + def roundTrip( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + path2: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + path3: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> jneqsim.process.processmodel.ProcessSystem: ... -class DiagramDetailLevel(java.lang.Enum['DiagramDetailLevel']): - CONCEPTUAL: typing.ClassVar['DiagramDetailLevel'] = ... - ENGINEERING: typing.ClassVar['DiagramDetailLevel'] = ... - DEBUG: typing.ClassVar['DiagramDetailLevel'] = ... +class DiagramDetailLevel(java.lang.Enum["DiagramDetailLevel"]): + CONCEPTUAL: typing.ClassVar["DiagramDetailLevel"] = ... + ENGINEERING: typing.ClassVar["DiagramDetailLevel"] = ... + DEBUG: typing.ClassVar["DiagramDetailLevel"] = ... def showCompositions(self) -> bool: ... def showConditions(self) -> bool: ... def showFlowRates(self) -> bool: ... def showSpecifications(self) -> bool: ... def useCompactLabels(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DiagramDetailLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DiagramDetailLevel": ... @staticmethod - def values() -> typing.MutableSequence['DiagramDetailLevel']: ... + def values() -> typing.MutableSequence["DiagramDetailLevel"]: ... -class DiagramStyle(java.lang.Enum['DiagramStyle']): - NEQSIM: typing.ClassVar['DiagramStyle'] = ... - HYSYS: typing.ClassVar['DiagramStyle'] = ... - PROII: typing.ClassVar['DiagramStyle'] = ... - ASPEN_PLUS: typing.ClassVar['DiagramStyle'] = ... +class DiagramStyle(java.lang.Enum["DiagramStyle"]): + NEQSIM: typing.ClassVar["DiagramStyle"] = ... + HYSYS: typing.ClassVar["DiagramStyle"] = ... + PROII: typing.ClassVar["DiagramStyle"] = ... + ASPEN_PLUS: typing.ClassVar["DiagramStyle"] = ... def getArrowStyle(self) -> java.lang.String: ... def getBackgroundColor(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getEdgeStyle(self) -> java.lang.String: ... def getEnergyStreamColor(self) -> java.lang.String: ... - def getEquipmentFillColor(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getEquipmentFillColor( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getEquipmentOutlineColor(self) -> java.lang.String: ... def getFontColor(self) -> java.lang.String: ... def getFontName(self) -> java.lang.String: ... @@ -83,45 +111,63 @@ class DiagramStyle(java.lang.Enum['DiagramStyle']): def showClusters(self) -> bool: ... def useHtmlLabels(self) -> bool: ... def useStreamNumbers(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DiagramStyle': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "DiagramStyle": ... @staticmethod - def values() -> typing.MutableSequence['DiagramStyle']: ... + def values() -> typing.MutableSequence["DiagramStyle"]: ... -class EquipmentRole(java.lang.Enum['EquipmentRole']): - GAS: typing.ClassVar['EquipmentRole'] = ... - LIQUID: typing.ClassVar['EquipmentRole'] = ... - SEPARATOR: typing.ClassVar['EquipmentRole'] = ... - MIXED: typing.ClassVar['EquipmentRole'] = ... - FEED: typing.ClassVar['EquipmentRole'] = ... - PRODUCT: typing.ClassVar['EquipmentRole'] = ... - UTILITY: typing.ClassVar['EquipmentRole'] = ... - CONTROL: typing.ClassVar['EquipmentRole'] = ... - UNKNOWN: typing.ClassVar['EquipmentRole'] = ... +class EquipmentRole(java.lang.Enum["EquipmentRole"]): + GAS: typing.ClassVar["EquipmentRole"] = ... + LIQUID: typing.ClassVar["EquipmentRole"] = ... + SEPARATOR: typing.ClassVar["EquipmentRole"] = ... + MIXED: typing.ClassVar["EquipmentRole"] = ... + FEED: typing.ClassVar["EquipmentRole"] = ... + PRODUCT: typing.ClassVar["EquipmentRole"] = ... + UTILITY: typing.ClassVar["EquipmentRole"] = ... + CONTROL: typing.ClassVar["EquipmentRole"] = ... + UNKNOWN: typing.ClassVar["EquipmentRole"] = ... def getDefaultColor(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getPreferredZone(self) -> java.lang.String: ... def getRankPriority(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EquipmentRole': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EquipmentRole": ... @staticmethod - def values() -> typing.MutableSequence['EquipmentRole']: ... + def values() -> typing.MutableSequence["EquipmentRole"]: ... class EquipmentVisualStyle(java.io.Serializable): @typing.overload - 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, 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], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + ): ... def getBorderColor(self) -> java.lang.String: ... def getFillColor(self) -> java.lang.String: ... def getFontColor(self) -> java.lang.String: ... @@ -131,123 +177,197 @@ class EquipmentVisualStyle(java.io.Serializable): def getStyle(self) -> java.lang.String: ... @typing.overload @staticmethod - def getStyle(string: typing.Union[java.lang.String, str]) -> 'EquipmentVisualStyle': ... + def getStyle( + string: typing.Union[java.lang.String, str] + ) -> "EquipmentVisualStyle": ... @typing.overload @staticmethod - def getStyle(equipmentEnum: jneqsim.process.equipment.EquipmentEnum) -> 'EquipmentVisualStyle': ... + def getStyle( + equipmentEnum: jneqsim.process.equipment.EquipmentEnum, + ) -> "EquipmentVisualStyle": ... @staticmethod - def getStyleForEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'EquipmentVisualStyle': ... + def getStyleForEquipment( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "EquipmentVisualStyle": ... def getWidth(self) -> java.lang.String: ... - def toGraphvizAttributes(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def toGraphvizAttributes( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... class PFDLayoutPolicy(java.io.Serializable): def __init__(self): ... - def classifyEdgePhase(self, processEdge: jneqsim.process.processmodel.graph.ProcessEdge) -> 'PFDLayoutPolicy.StreamPhase': ... - def classifyEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> EquipmentRole: ... - def classifyHorizontalPosition(self, processNode: jneqsim.process.processmodel.graph.ProcessNode, processGraph: jneqsim.process.processmodel.graph.ProcessGraph) -> 'PFDLayoutPolicy.ProcessPosition': ... - def classifyPhaseZone(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> 'PFDLayoutPolicy.PhaseZone': ... - def classifySeparatorOutlet(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PFDLayoutPolicy.SeparatorOutlet': ... - def classifyStreamPhase(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'PFDLayoutPolicy.StreamPhase': ... + def classifyEdgePhase( + self, processEdge: jneqsim.process.processmodel.graph.ProcessEdge + ) -> "PFDLayoutPolicy.StreamPhase": ... + def classifyEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> EquipmentRole: ... + def classifyHorizontalPosition( + self, + processNode: jneqsim.process.processmodel.graph.ProcessNode, + processGraph: jneqsim.process.processmodel.graph.ProcessGraph, + ) -> "PFDLayoutPolicy.ProcessPosition": ... + def classifyPhaseZone( + self, processNode: jneqsim.process.processmodel.graph.ProcessNode + ) -> "PFDLayoutPolicy.PhaseZone": ... + def classifySeparatorOutlet( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "PFDLayoutPolicy.SeparatorOutlet": ... + def classifyStreamPhase( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> "PFDLayoutPolicy.StreamPhase": ... def clearCache(self) -> None: ... - def getLayoutCoordinates(self, processNode: jneqsim.process.processmodel.graph.ProcessNode, processGraph: jneqsim.process.processmodel.graph.ProcessGraph) -> typing.MutableSequence[int]: ... - def getRankConstraint(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> java.lang.String: ... - def getRankLevel(self, processNode: jneqsim.process.processmodel.graph.ProcessNode) -> int: ... - class PhaseZone(java.lang.Enum['PFDLayoutPolicy.PhaseZone']): - GAS_TOP: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... - OIL_MIDDLE: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... - WATER_BOTTOM: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... - SEPARATION_CENTER: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... - UNKNOWN: typing.ClassVar['PFDLayoutPolicy.PhaseZone'] = ... + def getLayoutCoordinates( + self, + processNode: jneqsim.process.processmodel.graph.ProcessNode, + processGraph: jneqsim.process.processmodel.graph.ProcessGraph, + ) -> typing.MutableSequence[int]: ... + def getRankConstraint( + self, processNode: jneqsim.process.processmodel.graph.ProcessNode + ) -> java.lang.String: ... + def getRankLevel( + self, processNode: jneqsim.process.processmodel.graph.ProcessNode + ) -> int: ... + + class PhaseZone(java.lang.Enum["PFDLayoutPolicy.PhaseZone"]): + GAS_TOP: typing.ClassVar["PFDLayoutPolicy.PhaseZone"] = ... + OIL_MIDDLE: typing.ClassVar["PFDLayoutPolicy.PhaseZone"] = ... + WATER_BOTTOM: typing.ClassVar["PFDLayoutPolicy.PhaseZone"] = ... + SEPARATION_CENTER: typing.ClassVar["PFDLayoutPolicy.PhaseZone"] = ... + UNKNOWN: typing.ClassVar["PFDLayoutPolicy.PhaseZone"] = ... def getColor(self) -> java.lang.String: ... def getLabel(self) -> java.lang.String: ... def getVerticalRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PFDLayoutPolicy.PhaseZone': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PFDLayoutPolicy.PhaseZone": ... @staticmethod - def values() -> typing.MutableSequence['PFDLayoutPolicy.PhaseZone']: ... - class ProcessPosition(java.lang.Enum['PFDLayoutPolicy.ProcessPosition']): - INLET: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... - CENTER: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... - OUTLET: typing.ClassVar['PFDLayoutPolicy.ProcessPosition'] = ... + def values() -> typing.MutableSequence["PFDLayoutPolicy.PhaseZone"]: ... + + class ProcessPosition(java.lang.Enum["PFDLayoutPolicy.ProcessPosition"]): + INLET: typing.ClassVar["PFDLayoutPolicy.ProcessPosition"] = ... + CENTER: typing.ClassVar["PFDLayoutPolicy.ProcessPosition"] = ... + OUTLET: typing.ClassVar["PFDLayoutPolicy.ProcessPosition"] = ... def getDescription(self) -> java.lang.String: ... def getHorizontalRank(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PFDLayoutPolicy.ProcessPosition': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PFDLayoutPolicy.ProcessPosition": ... @staticmethod - def values() -> typing.MutableSequence['PFDLayoutPolicy.ProcessPosition']: ... - class SeparatorOutlet(java.lang.Enum['PFDLayoutPolicy.SeparatorOutlet']): - GAS_TOP: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... - OIL_MIDDLE: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... - WATER_BOTTOM: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... - LIQUID_BOTTOM: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... - FEED_SIDE: typing.ClassVar['PFDLayoutPolicy.SeparatorOutlet'] = ... + def values() -> typing.MutableSequence["PFDLayoutPolicy.ProcessPosition"]: ... + + class SeparatorOutlet(java.lang.Enum["PFDLayoutPolicy.SeparatorOutlet"]): + GAS_TOP: typing.ClassVar["PFDLayoutPolicy.SeparatorOutlet"] = ... + OIL_MIDDLE: typing.ClassVar["PFDLayoutPolicy.SeparatorOutlet"] = ... + WATER_BOTTOM: typing.ClassVar["PFDLayoutPolicy.SeparatorOutlet"] = ... + LIQUID_BOTTOM: typing.ClassVar["PFDLayoutPolicy.SeparatorOutlet"] = ... + FEED_SIDE: typing.ClassVar["PFDLayoutPolicy.SeparatorOutlet"] = ... def getPort(self) -> java.lang.String: ... def getRankOffset(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PFDLayoutPolicy.SeparatorOutlet': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PFDLayoutPolicy.SeparatorOutlet": ... @staticmethod - def values() -> typing.MutableSequence['PFDLayoutPolicy.SeparatorOutlet']: ... - class StreamPhase(java.lang.Enum['PFDLayoutPolicy.StreamPhase']): - GAS: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... - LIQUID: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... - OIL: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... - AQUEOUS: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... - MIXED: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... - UNKNOWN: typing.ClassVar['PFDLayoutPolicy.StreamPhase'] = ... + def values() -> typing.MutableSequence["PFDLayoutPolicy.SeparatorOutlet"]: ... + + class StreamPhase(java.lang.Enum["PFDLayoutPolicy.StreamPhase"]): + GAS: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... + LIQUID: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... + OIL: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... + AQUEOUS: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... + MIXED: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... + UNKNOWN: typing.ClassVar["PFDLayoutPolicy.StreamPhase"] = ... def getColor(self) -> java.lang.String: ... def getLabel(self) -> java.lang.String: ... def getLineStyle(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PFDLayoutPolicy.StreamPhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PFDLayoutPolicy.StreamPhase": ... @staticmethod - def values() -> typing.MutableSequence['PFDLayoutPolicy.StreamPhase']: ... + def values() -> typing.MutableSequence["PFDLayoutPolicy.StreamPhase"]: ... class ProcessDiagramExporter(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, pFDLayoutPolicy: PFDLayoutPolicy): ... - def exportDOT(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def exportPDF(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def exportPNG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def exportSVG(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + pFDLayoutPolicy: PFDLayoutPolicy, + ): ... + def exportDOT( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def exportPDF( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def exportPNG( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def exportSVG( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... def getDiagramStyle(self) -> DiagramStyle: ... @staticmethod def isGraphvizAvailable() -> bool: ... - def setDetailLevel(self, diagramDetailLevel: DiagramDetailLevel) -> 'ProcessDiagramExporter': ... - def setDiagramStyle(self, diagramStyle: DiagramStyle) -> 'ProcessDiagramExporter': ... - def setHighlightRecycles(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setShowControlEquipment(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setShowDexpiMetadata(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setShowLegend(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setShowStreamValues(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'ProcessDiagramExporter': ... - def setUseClusters(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setUseStreamTables(self, boolean: bool) -> 'ProcessDiagramExporter': ... - def setVerticalLayout(self, boolean: bool) -> 'ProcessDiagramExporter': ... + def setDetailLevel( + self, diagramDetailLevel: DiagramDetailLevel + ) -> "ProcessDiagramExporter": ... + def setDiagramStyle( + self, diagramStyle: DiagramStyle + ) -> "ProcessDiagramExporter": ... + def setHighlightRecycles(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setShowControlEquipment(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setShowDexpiMetadata(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setShowLegend(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setShowStreamValues(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setTitle( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessDiagramExporter": ... + def setUseClusters(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setUseStreamTables(self, boolean: bool) -> "ProcessDiagramExporter": ... + def setVerticalLayout(self, boolean: bool) -> "ProcessDiagramExporter": ... def toDOT(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.diagram")``. diff --git a/src/jneqsim-stubs/process/processmodel/graph/__init__.pyi b/src/jneqsim-stubs/process/processmodel/graph/__init__.pyi index 7e10e682..8591e4b0 100644 --- a/src/jneqsim-stubs/process/processmodel/graph/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/graph/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,159 +13,260 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class ProcessEdge(java.io.Serializable): @typing.overload - def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', string: typing.Union[java.lang.String, str], edgeType: 'ProcessEdge.EdgeType'): ... + def __init__( + self, + int: int, + processNode: "ProcessNode", + processNode2: "ProcessNode", + string: typing.Union[java.lang.String, str], + edgeType: "ProcessEdge.EdgeType", + ): ... @typing.overload - def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + int: int, + processNode: "ProcessNode", + processNode2: "ProcessNode", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, int: int, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], edgeType: 'ProcessEdge.EdgeType'): ... + def __init__( + self, + int: int, + processNode: "ProcessNode", + processNode2: "ProcessNode", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + edgeType: "ProcessEdge.EdgeType", + ): ... def equals(self, object: typing.Any) -> bool: ... - def getEdgeType(self) -> 'ProcessEdge.EdgeType': ... + def getEdgeType(self) -> "ProcessEdge.EdgeType": ... def getFeatureVector(self) -> typing.MutableSequence[float]: ... def getIndex(self) -> int: ... def getIndexPair(self) -> typing.MutableSequence[int]: ... def getName(self) -> java.lang.String: ... - def getSource(self) -> 'ProcessNode': ... + def getSource(self) -> "ProcessNode": ... def getSourceIndex(self) -> int: ... def getStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getTarget(self) -> 'ProcessNode': ... + def getTarget(self) -> "ProcessNode": ... def getTargetIndex(self) -> int: ... def hashCode(self) -> int: ... def isBackEdge(self) -> bool: ... def isRecycle(self) -> bool: ... def toString(self) -> java.lang.String: ... - class EdgeType(java.lang.Enum['ProcessEdge.EdgeType']): - MATERIAL: typing.ClassVar['ProcessEdge.EdgeType'] = ... - ENERGY: typing.ClassVar['ProcessEdge.EdgeType'] = ... - SIGNAL: typing.ClassVar['ProcessEdge.EdgeType'] = ... - RECYCLE: typing.ClassVar['ProcessEdge.EdgeType'] = ... - UNKNOWN: typing.ClassVar['ProcessEdge.EdgeType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EdgeType(java.lang.Enum["ProcessEdge.EdgeType"]): + MATERIAL: typing.ClassVar["ProcessEdge.EdgeType"] = ... + ENERGY: typing.ClassVar["ProcessEdge.EdgeType"] = ... + SIGNAL: typing.ClassVar["ProcessEdge.EdgeType"] = ... + RECYCLE: typing.ClassVar["ProcessEdge.EdgeType"] = ... + UNKNOWN: typing.ClassVar["ProcessEdge.EdgeType"] = ... + _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: ... + 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]) -> 'ProcessEdge.EdgeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessEdge.EdgeType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessEdge.EdgeType']: ... + def values() -> typing.MutableSequence["ProcessEdge.EdgeType"]: ... class ProcessGraph(java.io.Serializable): def __init__(self): ... @typing.overload - def addEdge(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> ProcessEdge: ... + def addEdge( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + processEquipmentInterface2: jneqsim.process.equipment.ProcessEquipmentInterface, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> ProcessEdge: ... @typing.overload - def addEdge(self, processNode: 'ProcessNode', processNode2: 'ProcessNode', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> ProcessEdge: ... - def addNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... - def addSignalEdge(self, processNode: 'ProcessNode', processNode2: 'ProcessNode', string: typing.Union[java.lang.String, str], edgeType: ProcessEdge.EdgeType) -> ProcessEdge: ... - def analyzeCycles(self) -> 'ProcessGraph.CycleAnalysisResult': ... - def analyzeTearStreamSensitivity(self, list: java.util.List['ProcessNode']) -> 'ProcessGraph.SensitivityAnalysisResult': ... - def findStronglyConnectedComponents(self) -> 'ProcessGraph.SCCResult': ... + def addEdge( + self, + processNode: "ProcessNode", + processNode2: "ProcessNode", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> ProcessEdge: ... + def addNode( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ProcessNode": ... + def addSignalEdge( + self, + processNode: "ProcessNode", + processNode2: "ProcessNode", + string: typing.Union[java.lang.String, str], + edgeType: ProcessEdge.EdgeType, + ) -> ProcessEdge: ... + def analyzeCycles(self) -> "ProcessGraph.CycleAnalysisResult": ... + def analyzeTearStreamSensitivity( + self, list: java.util.List["ProcessNode"] + ) -> "ProcessGraph.SensitivityAnalysisResult": ... + def findStronglyConnectedComponents(self) -> "ProcessGraph.SCCResult": ... def getAdjacencyList(self) -> java.util.Map[int, java.util.List[int]]: ... - def getAdjacencyMatrix(self) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... - def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getAdjacencyMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... + def getCalculationOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getEdgeCount(self) -> int: ... - def getEdgeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getEdgeIndexTensor(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getEdgeFeatureMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getEdgeIndexTensor( + self, + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... def getEdges(self) -> java.util.List[ProcessEdge]: ... @typing.overload - def getNode(self, int: int) -> 'ProcessNode': ... + def getNode(self, int: int) -> "ProcessNode": ... @typing.overload - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessNode': ... + def getNode(self, string: typing.Union[java.lang.String, str]) -> "ProcessNode": ... @typing.overload - def getNode(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessNode': ... + def getNode( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ProcessNode": ... def getNodeCount(self) -> int: ... - def getNodeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getNodes(self) -> java.util.List['ProcessNode']: ... - def getNodesInRecycleLoops(self) -> java.util.Set['ProcessNode']: ... + def getNodeFeatureMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNodes(self) -> java.util.List["ProcessNode"]: ... + def getNodesInRecycleLoops(self) -> java.util.Set["ProcessNode"]: ... def getRecycleEdges(self) -> java.util.List[ProcessEdge]: ... def getSensitivityAnalysisReport(self) -> java.lang.String: ... - def getSinkNodes(self) -> java.util.List['ProcessNode']: ... - def getSourceNodes(self) -> java.util.List['ProcessNode']: ... + def getSinkNodes(self) -> java.util.List["ProcessNode"]: ... + def getSourceNodes(self) -> java.util.List["ProcessNode"]: ... def getSummary(self) -> java.lang.String: ... - def getTopologicalOrder(self) -> java.util.List['ProcessNode']: ... + def getTopologicalOrder(self) -> java.util.List["ProcessNode"]: ... def hasCycles(self) -> bool: ... - def partitionForParallelExecution(self) -> 'ProcessGraph.ParallelPartition': ... - def selectTearStreams(self) -> 'ProcessGraph.TearStreamResult': ... - def selectTearStreamsForFastConvergence(self) -> 'ProcessGraph.TearStreamResult': ... - def selectTearStreamsWithSensitivity(self) -> 'ProcessGraph.TearStreamResult': ... + def partitionForParallelExecution(self) -> "ProcessGraph.ParallelPartition": ... + def selectTearStreams(self) -> "ProcessGraph.TearStreamResult": ... + def selectTearStreamsForFastConvergence( + self, + ) -> "ProcessGraph.TearStreamResult": ... + def selectTearStreamsWithSensitivity(self) -> "ProcessGraph.TearStreamResult": ... def toString(self) -> java.lang.String: ... def validate(self) -> java.util.List[java.lang.String]: ... def validateTearStreams(self, list: java.util.List[ProcessEdge]) -> bool: ... + class CycleAnalysisResult(java.io.Serializable): def getBackEdges(self) -> java.util.List[ProcessEdge]: ... def getCycleCount(self) -> int: ... - def getCycles(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def getCycles(self) -> java.util.List[java.util.List["ProcessNode"]]: ... def hasCycles(self) -> bool: ... + class ParallelPartition(java.io.Serializable): def getLevelCount(self) -> int: ... - def getLevels(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def getLevels(self) -> java.util.List[java.util.List["ProcessNode"]]: ... def getMaxParallelism(self) -> int: ... - def getNodeToLevel(self) -> java.util.Map['ProcessNode', int]: ... + def getNodeToLevel(self) -> java.util.Map["ProcessNode", int]: ... + class SCCResult(java.io.Serializable): def getComponentCount(self) -> int: ... - def getComponents(self) -> java.util.List[java.util.List['ProcessNode']]: ... - def getNodeToComponent(self) -> java.util.Map['ProcessNode', int]: ... - def getRecycleLoops(self) -> java.util.List[java.util.List['ProcessNode']]: ... + def getComponents(self) -> java.util.List[java.util.List["ProcessNode"]]: ... + def getNodeToComponent(self) -> java.util.Map["ProcessNode", int]: ... + def getRecycleLoops(self) -> java.util.List[java.util.List["ProcessNode"]]: ... + class SensitivityAnalysisResult(java.io.Serializable): def getBestTearStream(self) -> ProcessEdge: ... def getEdgeSensitivities(self) -> java.util.Map[ProcessEdge, float]: ... def getRankedTearCandidates(self) -> java.util.List[ProcessEdge]: ... def getTotalSensitivity(self) -> float: ... + class TearStreamResult(java.io.Serializable): - def getSccToTearStreamMap(self) -> java.util.Map[java.util.List['ProcessNode'], ProcessEdge]: ... + def getSccToTearStreamMap( + self, + ) -> java.util.Map[java.util.List["ProcessNode"], ProcessEdge]: ... def getTearStreamCount(self) -> int: ... def getTearStreams(self) -> java.util.List[ProcessEdge]: ... def getTotalCyclesBroken(self) -> int: ... class ProcessGraphBuilder: @staticmethod - def buildGraph(processSystem: jneqsim.process.processmodel.ProcessSystem) -> ProcessGraph: ... + def buildGraph( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> ProcessGraph: ... class ProcessModelGraph(java.io.Serializable): def analyzeCycles(self) -> ProcessGraph.CycleAnalysisResult: ... - def getCalculationOrder(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... - def getConnectionsFrom(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... - def getConnectionsTo(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... - def getEdgeIndexTensor(self) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getCalculationOrder( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getConnectionsFrom( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["ProcessModelGraph.InterSystemConnection"]: ... + def getConnectionsTo( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["ProcessModelGraph.InterSystemConnection"]: ... + def getEdgeIndexTensor( + self, + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... def getFlattenedGraph(self) -> ProcessGraph: ... - def getIndependentSubSystems(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getIndependentSubSystems( + self, + ) -> java.util.List["ProcessModelGraph.SubSystemGraph"]: ... def getInterSystemConnectionCount(self) -> int: ... - def getInterSystemConnections(self) -> java.util.List['ProcessModelGraph.InterSystemConnection']: ... + def getInterSystemConnections( + self, + ) -> java.util.List["ProcessModelGraph.InterSystemConnection"]: ... def getModelName(self) -> java.lang.String: ... - def getNodeFeatureMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getNodeToSubSystemMap(self) -> java.util.Map['ProcessNode', java.lang.String]: ... + def getNodeFeatureMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getNodeToSubSystemMap( + self, + ) -> java.util.Map["ProcessNode", java.lang.String]: ... def getStatistics(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getSubSystem(self, string: typing.Union[java.lang.String, str]) -> 'ProcessModelGraph.SubSystemGraph': ... - def getSubSystemByIndex(self, int: int) -> 'ProcessModelGraph.SubSystemGraph': ... - def getSubSystemCalculationOrder(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getSubSystem( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessModelGraph.SubSystemGraph": ... + def getSubSystemByIndex(self, int: int) -> "ProcessModelGraph.SubSystemGraph": ... + def getSubSystemCalculationOrder( + self, + ) -> java.util.List["ProcessModelGraph.SubSystemGraph"]: ... def getSubSystemCount(self) -> int: ... - def getSubSystemDependencies(self) -> java.util.Map[java.lang.String, java.util.Set[java.lang.String]]: ... - def getSubSystemGraphs(self) -> java.util.List['ProcessModelGraph.SubSystemGraph']: ... + def getSubSystemDependencies( + self, + ) -> java.util.Map[java.lang.String, java.util.Set[java.lang.String]]: ... + def getSubSystemGraphs( + self, + ) -> java.util.List["ProcessModelGraph.SubSystemGraph"]: ... def getSummary(self) -> java.lang.String: ... def getTotalEdgeCount(self) -> int: ... def getTotalNodeCount(self) -> int: ... def hasCycles(self) -> bool: ... def isParallelSubSystemExecutionBeneficial(self) -> bool: ... def partitionForParallelExecution(self) -> ProcessGraph.ParallelPartition: ... - def partitionSubSystemsForParallelExecution(self) -> 'ProcessModelGraph.ModuleParallelPartition': ... + def partitionSubSystemsForParallelExecution( + self, + ) -> "ProcessModelGraph.ModuleParallelPartition": ... def toString(self) -> java.lang.String: ... + class InterSystemConnection(java.io.Serializable): def getEdge(self) -> ProcessEdge: ... - def getSourceNode(self) -> 'ProcessNode': ... + def getSourceNode(self) -> "ProcessNode": ... def getSourceSystemName(self) -> java.lang.String: ... - def getTargetNode(self) -> 'ProcessNode': ... + def getTargetNode(self) -> "ProcessNode": ... def getTargetSystemName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ModuleParallelPartition(java.io.Serializable): def getLevelCount(self) -> int: ... def getLevelNames(self) -> java.util.List[java.util.List[java.lang.String]]: ... - def getLevels(self) -> java.util.List[java.util.List['ProcessModelGraph.SubSystemGraph']]: ... + def getLevels( + self, + ) -> java.util.List[java.util.List["ProcessModelGraph.SubSystemGraph"]]: ... def getMaxParallelism(self) -> int: ... def toString(self) -> java.lang.String: ... + class SubSystemGraph(java.io.Serializable): def getEdgeCount(self) -> int: ... def getExecutionIndex(self) -> int: ... @@ -177,31 +278,46 @@ class ProcessModelGraph(java.io.Serializable): class ProcessModelGraphBuilder: @typing.overload @staticmethod - def buildModelGraph(string: typing.Union[java.lang.String, str], *processSystem: jneqsim.process.processmodel.ProcessSystem) -> ProcessModelGraph: ... + def buildModelGraph( + string: typing.Union[java.lang.String, str], + *processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> ProcessModelGraph: ... @typing.overload @staticmethod - def buildModelGraph(processModule: jneqsim.process.processmodel.ProcessModule) -> ProcessModelGraph: ... + def buildModelGraph( + processModule: jneqsim.process.processmodel.ProcessModule, + ) -> ProcessModelGraph: ... class ProcessNode(java.io.Serializable): - def __init__(self, int: int, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + int: int, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def equals(self, object: typing.Any) -> bool: ... def getEquipment(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getEquipmentType(self) -> java.lang.String: ... - def getFeatureVector(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]], int: int) -> typing.MutableSequence[float]: ... + def getFeatureVector( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], int], + typing.Mapping[typing.Union[java.lang.String, str], int], + ], + int: int, + ) -> typing.MutableSequence[float]: ... def getInDegree(self) -> int: ... def getIncomingEdges(self) -> java.util.List[ProcessEdge]: ... def getIndex(self) -> int: ... def getName(self) -> java.lang.String: ... def getOutDegree(self) -> int: ... def getOutgoingEdges(self) -> java.util.List[ProcessEdge]: ... - def getPredecessors(self) -> java.util.List['ProcessNode']: ... - def getSuccessors(self) -> java.util.List['ProcessNode']: ... + def getPredecessors(self) -> java.util.List["ProcessNode"]: ... + def getSuccessors(self) -> java.util.List["ProcessNode"]: ... def hashCode(self) -> int: ... def isSink(self) -> bool: ... def isSource(self) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.graph")``. diff --git a/src/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi b/src/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi index 715022a3..5bcc45cc 100644 --- a/src/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/lifecycle/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,122 +17,199 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class ModelMetadata(java.io.Serializable): def __init__(self): ... - def addTag(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addTag( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def getAssetId(self) -> java.lang.String: ... def getAssetName(self) -> java.lang.String: ... def getCalibrationAccuracy(self) -> float: ... - def getCalibrationStatus(self) -> 'ModelMetadata.CalibrationStatus': ... + def getCalibrationStatus(self) -> "ModelMetadata.CalibrationStatus": ... def getDataSource(self) -> java.lang.String: ... def getDaysSinceCalibration(self) -> int: ... def getDaysSinceValidation(self) -> int: ... def getFacility(self) -> java.lang.String: ... def getLastCalibrated(self) -> java.time.Instant: ... def getLastValidated(self) -> java.time.Instant: ... - def getLifecyclePhase(self) -> 'ModelMetadata.LifecyclePhase': ... - def getModificationHistory(self) -> java.util.List['ModelMetadata.ModificationRecord']: ... + def getLifecyclePhase(self) -> "ModelMetadata.LifecyclePhase": ... + def getModificationHistory( + self, + ) -> java.util.List["ModelMetadata.ModificationRecord"]: ... def getRegion(self) -> java.lang.String: ... def getRegulatoryBasis(self) -> java.lang.String: ... def getResponsibleEngineer(self) -> java.lang.String: ... def getResponsibleTeam(self) -> java.lang.String: ... def getTags(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getValidationHistory(self) -> java.util.List['ModelMetadata.ValidationRecord']: ... + def getValidationHistory( + self, + ) -> java.util.List["ModelMetadata.ValidationRecord"]: ... def needsRevalidation(self, long: int) -> bool: ... @typing.overload - def recordModification(self, string: typing.Union[java.lang.String, str]) -> None: ... + def recordModification( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def recordModification(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def recordValidation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def recordModification( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def recordValidation( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setAssetId(self, string: typing.Union[java.lang.String, str]) -> None: ... def setAssetName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDataSource(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFacility(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setLifecyclePhase(self, lifecyclePhase: 'ModelMetadata.LifecyclePhase') -> None: ... + def setLifecyclePhase( + self, lifecyclePhase: "ModelMetadata.LifecyclePhase" + ) -> None: ... def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRegulatoryBasis(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResponsibleEngineer(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResponsibleTeam(self, string: typing.Union[java.lang.String, str]) -> None: ... - def updateCalibration(self, calibrationStatus: 'ModelMetadata.CalibrationStatus', double: float) -> None: ... - class CalibrationStatus(java.lang.Enum['ModelMetadata.CalibrationStatus']): - UNCALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... - CALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... - IN_PROGRESS: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... - FRESHLY_CALIBRATED: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... - NEEDS_RECALIBRATION: typing.ClassVar['ModelMetadata.CalibrationStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setRegulatoryBasis( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResponsibleEngineer( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResponsibleTeam( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def updateCalibration( + self, calibrationStatus: "ModelMetadata.CalibrationStatus", double: float + ) -> None: ... + + class CalibrationStatus(java.lang.Enum["ModelMetadata.CalibrationStatus"]): + UNCALIBRATED: typing.ClassVar["ModelMetadata.CalibrationStatus"] = ... + CALIBRATED: typing.ClassVar["ModelMetadata.CalibrationStatus"] = ... + IN_PROGRESS: typing.ClassVar["ModelMetadata.CalibrationStatus"] = ... + FRESHLY_CALIBRATED: typing.ClassVar["ModelMetadata.CalibrationStatus"] = ... + NEEDS_RECALIBRATION: typing.ClassVar["ModelMetadata.CalibrationStatus"] = ... + _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: ... + 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]) -> 'ModelMetadata.CalibrationStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ModelMetadata.CalibrationStatus": ... @staticmethod - def values() -> typing.MutableSequence['ModelMetadata.CalibrationStatus']: ... - class LifecyclePhase(java.lang.Enum['ModelMetadata.LifecyclePhase']): - CONCEPT: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - DESIGN: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - COMMISSIONING: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - OPERATION: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - LATE_LIFE: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - ARCHIVED: typing.ClassVar['ModelMetadata.LifecyclePhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["ModelMetadata.CalibrationStatus"]: ... + + class LifecyclePhase(java.lang.Enum["ModelMetadata.LifecyclePhase"]): + CONCEPT: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + DESIGN: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + COMMISSIONING: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + OPERATION: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + LATE_LIFE: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + ARCHIVED: typing.ClassVar["ModelMetadata.LifecyclePhase"] = ... + _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: ... + 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]) -> 'ModelMetadata.LifecyclePhase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ModelMetadata.LifecyclePhase": ... @staticmethod - def values() -> typing.MutableSequence['ModelMetadata.LifecyclePhase']: ... + def values() -> typing.MutableSequence["ModelMetadata.LifecyclePhase"]: ... + class ModificationRecord(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getAuthor(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getTimestamp(self) -> java.time.Instant: ... + class ValidationRecord(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... def getReferenceId(self) -> java.lang.String: ... def getTimestamp(self) -> java.time.Instant: ... class ProcessModelState(java.io.Serializable): def __init__(self): ... - def addInterProcessConnection(self, interProcessConnection: 'ProcessModelState.InterProcessConnection') -> None: ... + def addInterProcessConnection( + self, interProcessConnection: "ProcessModelState.InterProcessConnection" + ) -> None: ... @staticmethod - def compare(processModelState: 'ProcessModelState', processModelState2: 'ProcessModelState') -> 'ProcessModelState.ModelDiff': ... + def compare( + processModelState: "ProcessModelState", processModelState2: "ProcessModelState" + ) -> "ProcessModelState.ModelDiff": ... @staticmethod - def fromCompressedBytes(byteArray: typing.Union[typing.List[int], jpype.JArray, bytes]) -> 'ProcessModelState': ... + def fromCompressedBytes( + byteArray: typing.Union[typing.List[int], jpype.JArray, bytes] + ) -> "ProcessModelState": ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelState": ... @staticmethod - def fromProcessModel(processModel: jneqsim.process.processmodel.ProcessModel) -> 'ProcessModelState': ... - def getConnectionsTo(self, string: typing.Union[java.lang.String, str]) -> java.util.List['ProcessModelState.InterProcessConnection']: ... + def fromProcessModel( + processModel: jneqsim.process.processmodel.ProcessModel, + ) -> "ProcessModelState": ... + def getConnectionsTo( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["ProcessModelState.InterProcessConnection"]: ... def getCreatedAt(self) -> java.time.Instant: ... def getCreatedBy(self) -> java.lang.String: ... def getCustomProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getCustomProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getCustomProperty( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... def getDescription(self) -> java.lang.String: ... - def getExecutionConfig(self) -> 'ProcessModelState.ExecutionConfig': ... - def getInterProcessConnections(self) -> java.util.List['ProcessModelState.InterProcessConnection']: ... + def getExecutionConfig(self) -> "ProcessModelState.ExecutionConfig": ... + def getInterProcessConnections( + self, + ) -> java.util.List["ProcessModelState.InterProcessConnection"]: ... def getLastModifiedAt(self) -> java.time.Instant: ... def getName(self) -> java.lang.String: ... def getProcessCount(self) -> int: ... - def getProcessStates(self) -> java.util.Map[java.lang.String, 'ProcessSystemState']: ... + def getProcessStates( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystemState"]: ... def getSchemaVersion(self) -> java.lang.String: ... def getVersion(self) -> java.lang.String: ... @staticmethod - def loadFromCompressedFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + def loadFromCompressedFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelState": ... @staticmethod - def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... + def loadFromFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelState": ... @staticmethod - def migrate(processModelState: 'ProcessModelState', string: typing.Union[java.lang.String, str]) -> 'ProcessModelState': ... - def saveToCompressedFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def migrate( + processModelState: "ProcessModelState", + string: typing.Union[java.lang.String, str], + ) -> "ProcessModelState": ... + def saveToCompressedFile( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def saveToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCreatedBy(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCustomProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def setCustomProperty( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -140,9 +217,12 @@ class ProcessModelState(java.io.Serializable): @typing.overload def toJson(self) -> java.lang.String: ... @typing.overload - def toJson(self, serializationOptions: 'ProcessModelState.SerializationOptions') -> java.lang.String: ... + def toJson( + self, serializationOptions: "ProcessModelState.SerializationOptions" + ) -> java.lang.String: ... def toProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... - def validate(self) -> 'ProcessModelState.ValidationResult': ... + def validate(self) -> "ProcessModelState.ValidationResult": ... + class ExecutionConfig(java.io.Serializable): def __init__(self): ... def getFlowTolerance(self) -> float: ... @@ -166,7 +246,9 @@ class ProcessModelState(java.io.Serializable): def setParallelExecution(self, boolean: bool) -> None: ... def setPressureTolerance(self, double: float) -> None: ... def setPreventNestedParallelExecution(self, boolean: bool) -> None: ... - def setSolverType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSolverType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTemperatureTolerance(self, double: float) -> None: ... def setTolerance(self, double: float) -> None: ... def setUseAdaptiveModelParallelism(self, boolean: bool) -> None: ... @@ -175,29 +257,52 @@ class ProcessModelState(java.io.Serializable): def setUseFlashWarmStart(self, boolean: bool) -> None: ... def setUseIncrementalAreaExecution(self, boolean: bool) -> None: ... def setUseOptimizedExecution(self, boolean: bool) -> None: ... + class InterProcessConnection(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... def getSourceProcess(self) -> java.lang.String: ... def getStreamName(self) -> java.lang.String: ... def getTargetPort(self) -> java.lang.String: ... def getTargetProcess(self) -> java.lang.String: ... - def setSourceProcess(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSourceStream(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStreamName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTargetPort(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTargetProcess(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTargetStream(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSourceProcess( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSourceStream( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTargetPort( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTargetProcess( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTargetStream( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toString(self) -> java.lang.String: ... + class ModelDiff(java.io.Serializable): def __init__(self): ... def getAddedEquipment(self) -> java.util.List[java.lang.String]: ... - def getModifiedParameters(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getModifiedParameters( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getRemovedEquipment(self) -> java.util.List[java.lang.String]: ... def hasChanges(self) -> bool: ... def toString(self) -> java.lang.String: ... + class SerializationOptions(java.io.Serializable): def __init__(self): ... def isCompressStreams(self) -> bool: ... @@ -208,6 +313,7 @@ class ProcessModelState(java.io.Serializable): def setIncludeTimestamps(self, boolean: bool) -> None: ... def setPrettyPrint(self, boolean: bool) -> None: ... def setSchemaValidation(self, boolean: bool) -> None: ... + class ValidationResult(java.io.Serializable): def __init__(self): ... def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -218,112 +324,171 @@ class ProcessModelState(java.io.Serializable): class ProcessSystemState(java.io.Serializable): def __init__(self): ... - def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def applyTo( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessSystemState': ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ProcessSystemState": ... def getChecksum(self) -> java.lang.String: ... - def getConnectionStates(self) -> java.util.List['ProcessSystemState.ConnectionState']: ... + def getConnectionStates( + self, + ) -> java.util.List["ProcessSystemState.ConnectionState"]: ... def getCreatedAt(self) -> java.time.Instant: ... def getCreatedBy(self) -> java.lang.String: ... def getCustomProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getDescription(self) -> java.lang.String: ... - def getEquipmentStates(self) -> java.util.List['ProcessSystemState.EquipmentState']: ... + def getEquipmentStates( + self, + ) -> java.util.List["ProcessSystemState.EquipmentState"]: ... def getLastModifiedAt(self) -> java.time.Instant: ... def getMetadata(self) -> ModelMetadata: ... def getName(self) -> java.lang.String: ... def getProcessName(self) -> java.lang.String: ... def getSchemaVersion(self) -> java.lang.String: ... - def getStreamStates(self) -> java.util.Map[java.lang.String, 'ProcessSystemState.StreamState']: ... + def getStreamStates( + self, + ) -> java.util.Map[java.lang.String, "ProcessSystemState.StreamState"]: ... def getTimestamp(self) -> java.time.Instant: ... def getVersion(self) -> java.lang.String: ... @typing.overload @staticmethod - def loadFromCompressedFile(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + def loadFromCompressedFile( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ProcessSystemState": ... @typing.overload @staticmethod - def loadFromCompressedFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def loadFromCompressedFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... @typing.overload @staticmethod - def loadFromFile(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + def loadFromFile( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ProcessSystemState": ... @typing.overload @staticmethod - def loadFromFile(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def loadFromFile( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... @typing.overload @staticmethod - def loadFromFileAuto(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ProcessSystemState': ... + def loadFromFileAuto( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ProcessSystemState": ... @typing.overload @staticmethod - def loadFromFileAuto(string: typing.Union[java.lang.String, str]) -> 'ProcessSystemState': ... + def loadFromFileAuto( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSystemState": ... @typing.overload - def saveToCompressedFile(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def saveToCompressedFile( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload - def saveToCompressedFile(self, string: typing.Union[java.lang.String, str]) -> None: ... + def saveToCompressedFile( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def saveToFile(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def saveToFile( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload def saveToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def saveToFileAuto(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def saveToFileAuto( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload def saveToFileAuto(self, string: typing.Union[java.lang.String, str]) -> None: ... def setCreatedBy(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCustomProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def setCustomProperty( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... def setMetadata(self, modelMetadata: ModelMetadata) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... def toProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def validate(self) -> 'ProcessSystemState.ValidationResult': ... + def validate(self) -> "ProcessSystemState.ValidationResult": ... def validateIntegrity(self) -> bool: ... + class ConnectionState(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... def getSourceEquipmentName(self) -> java.lang.String: ... def getSourcePortName(self) -> java.lang.String: ... def getTargetEquipmentName(self) -> java.lang.String: ... def getTargetPortName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class EquipmentState(java.io.Serializable): def __init__(self): ... @staticmethod - def fromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ProcessSystemState.EquipmentState': ... + def fromEquipment( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ProcessSystemState.EquipmentState": ... def getEquipmentType(self) -> java.lang.String: ... - def getFluidState(self) -> 'ProcessSystemState.FluidState': ... + def getFluidState(self) -> "ProcessSystemState.FluidState": ... def getName(self) -> java.lang.String: ... def getNumericProperties(self) -> java.util.Map[java.lang.String, float]: ... - def getParameters(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getStringProperties(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getParameters( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getStringProperties( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getType(self) -> java.lang.String: ... + class FluidState(java.io.Serializable): def __init__(self): ... @staticmethod - def fromFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ProcessSystemState.FluidState': ... + def fromFluid( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ProcessSystemState.FluidState": ... def getComposition(self) -> java.util.Map[java.lang.String, float]: ... def getNumberOfPhases(self) -> int: ... def getPressure(self) -> float: ... def getTemperature(self) -> float: ... def getThermoModelClass(self) -> java.lang.String: ... + class StreamState(java.io.Serializable): def __init__(self): ... @staticmethod - def fromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProcessSystemState.StreamState': ... + def fromStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ProcessSystemState.StreamState": ... def getComposition(self) -> java.util.Map[java.lang.String, float]: ... def getMolarFlowRate(self) -> float: ... def getPressure(self) -> float: ... def getTemperature(self) -> float: ... + class ValidationResult: - def __init__(self, boolean: bool, list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + boolean: bool, + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getErrors(self) -> java.util.List[java.lang.String]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isValid(self) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.lifecycle")``. diff --git a/src/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi b/src/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi index e087cba1..ccbf1aae 100644 --- a/src/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi +++ b/src/jneqsim-stubs/process/processmodel/processmodules/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,26 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class AdsorptionDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -33,13 +41,21 @@ class AdsorptionDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBas @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class CO2RemovalModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @typing.overload @@ -50,14 +66,22 @@ class CO2RemovalModule(jneqsim.process.processmodel.ProcessModuleBaseClass): class DPCUModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... def displayResult(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -66,21 +90,31 @@ class DPCUModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class GlycolDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... def calcGlycolConcentration(self, double: float) -> float: ... def calcKglycol(self) -> float: ... def displayResult(self) -> None: ... def getFlashPressure(self) -> float: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -88,20 +122,35 @@ class GlycolDehydrationlModule(jneqsim.process.processmodel.ProcessModuleBaseCla def setDesign(self) -> None: ... def setFlashPressure(self, double: float) -> None: ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setProperty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def setProperty( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def solveAbsorptionFactor(self, double: float) -> float: ... class MEGReclaimerModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -111,13 +160,21 @@ class MEGReclaimerModule(jneqsim.process.processmodel.ProcessModuleBaseClass): class MixerGasProcessingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -126,17 +183,27 @@ class MixerGasProcessingModule(jneqsim.process.processmodel.ProcessModuleBaseCla @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class PropaneCoolingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -146,18 +213,28 @@ class PropaneCoolingModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setVaporizerTemperature(self, double: float) -> None: ... class SeparationTrainModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -166,17 +243,27 @@ class SeparationTrainModule(jneqsim.process.processmodel.ProcessModuleBaseClass) @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class SeparationTrainModuleSimple(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -185,17 +272,27 @@ class SeparationTrainModuleSimple(jneqsim.process.processmodel.ProcessModuleBase @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class WellFluidModule(jneqsim.process.processmodel.ProcessModuleBaseClass): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addInputStream(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> None: ... + def addInputStream( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> None: ... def calcDesign(self) -> None: ... - def getOutputStream(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.stream.StreamInterface: ... + def getOutputStream( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.stream.StreamInterface: ... def initializeModule(self) -> None: ... def initializeStreams(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def run(self) -> None: ... @typing.overload @@ -204,8 +301,9 @@ class WellFluidModule(jneqsim.process.processmodel.ProcessModuleBaseClass): @typing.overload def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSpecification(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - + def setSpecification( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.processmodel.processmodules")``. diff --git a/src/jneqsim-stubs/process/research/__init__.pyi b/src/jneqsim-stubs/process/research/__init__.pyi index 01180d1e..d91c9ec0 100644 --- a/src/jneqsim-stubs/process/research/__init__.pyi +++ b/src/jneqsim-stubs/process/research/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,40 +11,81 @@ import java.util import jneqsim.process.processmodel import typing - - class MaterialNode: - 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getComponentName(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... class OperationOption: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def addInputMaterial(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... - def addOutputMaterial(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def addInputMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationOption": ... + def addOutputMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationOption": ... def getDescription(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... def getInputMaterials(self) -> java.util.List[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getOutputMaterials(self) -> java.util.List[java.lang.String]: ... - def getProperties(self) -> java.util.Map[java.lang.String, com.google.gson.JsonElement]: ... + def getProperties( + self, + ) -> java.util.Map[java.lang.String, com.google.gson.JsonElement]: ... def propertiesToJson(self) -> com.google.gson.JsonObject: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationOption": ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float) -> 'OperationOption': ... + def setProperty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "OperationOption": ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def setProperty( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "OperationOption": ... @typing.overload - def setProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'OperationOption': ... + def setProperty( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "OperationOption": ... class ProcessCandidate: - 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 addAssumption(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + 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 addAssumption( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessCandidate": ... def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addObjectiveValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addProductStreamReference(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... - def addSynthesisPathStep(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... + def addObjectiveValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addProductStreamReference( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessCandidate": ... + def addSynthesisPathStep( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessCandidate": ... def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... def getAssumptions(self) -> java.util.List[java.lang.String]: ... def getDescription(self) -> java.lang.String: ... @@ -53,42 +94,66 @@ class ProcessCandidate: def getGenerationMethod(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... def getJsonDefinition(self) -> java.lang.String: ... - def getMetrics(self) -> 'ProcessResearchMetrics': ... + def getMetrics(self) -> "ProcessResearchMetrics": ... def getName(self) -> java.lang.String: ... def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getProductStreamReference(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getProductStreamReferences(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getProductStreamReference( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def getProductStreamReferences( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getScore(self) -> float: ... def getSynthesisPath(self) -> java.util.List[java.lang.String]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isDominated(self) -> bool: ... def isFeasible(self) -> bool: ... def isOptimized(self) -> bool: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... - def setDominanceReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessCandidate": ... + def setDominanceReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setDominated(self, boolean: bool) -> None: ... def setFeasible(self, boolean: bool) -> None: ... - def setJsonDefinition(self, string: typing.Union[java.lang.String, str]) -> 'ProcessCandidate': ... - def setMetrics(self, processResearchMetrics: 'ProcessResearchMetrics') -> None: ... + def setJsonDefinition( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessCandidate": ... + def setMetrics(self, processResearchMetrics: "ProcessResearchMetrics") -> None: ... def setOptimized(self, boolean: bool) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setScore(self, double: float) -> None: ... class ProcessCandidateEvaluator: def __init__(self): ... - def evaluate(self, processCandidate: ProcessCandidate, processResearchSpec: 'ProcessResearchSpec') -> None: ... + def evaluate( + self, + processCandidate: ProcessCandidate, + processResearchSpec: "ProcessResearchSpec", + ) -> None: ... class ProcessCandidateGenerator: def __init__(self): ... - def generate(self, processResearchSpec: 'ProcessResearchSpec') -> java.util.List[ProcessCandidate]: ... + def generate( + self, processResearchSpec: "ProcessResearchSpec" + ) -> java.util.List[ProcessCandidate]: ... class ProcessResearchMetrics: def __init__(self): ... - def add(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchMetrics': ... + def add( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessResearchMetrics": ... def asMap(self) -> java.util.Map[java.lang.String, float]: ... - def get(self, string: typing.Union[java.lang.String, str], double: float) -> float: ... - def set(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchMetrics': ... + def get( + self, string: typing.Union[java.lang.String, str], double: float + ) -> float: ... + def set( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessResearchMetrics": ... class ProcessResearchResult: def __init__(self): ... @@ -104,10 +169,12 @@ class ProcessResearchSpec: def __init__(self): ... def allowsUnitType(self, string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def builder() -> 'ProcessResearchSpec.Builder': ... + def builder() -> "ProcessResearchSpec.Builder": ... def getAllowedUnitTypes(self) -> java.util.List[java.lang.String]: ... - def getDecisionVariables(self) -> java.util.List['ProcessResearchSpec.DecisionVariable']: ... - def getEconomicAssumptions(self) -> 'ProcessResearchSpec.EconomicAssumptions': ... + def getDecisionVariables( + self, + ) -> java.util.List["ProcessResearchSpec.DecisionVariable"]: ... + def getEconomicAssumptions(self) -> "ProcessResearchSpec.EconomicAssumptions": ... def getFeedComponents(self) -> java.util.Map[java.lang.String, float]: ... def getFeedFlowRate(self) -> float: ... def getFeedFlowUnit(self) -> java.lang.String: ... @@ -122,90 +189,181 @@ class ProcessResearchSpec: def getMaxSynthesisDepth(self) -> int: ... def getMixingRule(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... - def getObjective(self) -> 'ProcessResearchSpec.Objective': ... + def getObjective(self) -> "ProcessResearchSpec.Objective": ... def getOperationOptions(self) -> java.util.List[OperationOption]: ... - def getProductTargets(self) -> java.util.List['ProcessResearchSpec.ProductTarget']: ... - def getReactionOptions(self) -> java.util.List['ReactionOption']: ... - def getRobustnessScenarios(self) -> java.util.List['ProcessResearchSpec.RobustnessScenario']: ... - def getScoringWeights(self) -> 'ProcessResearchSpec.ScoringWeights': ... - def getSynthesisConstraints(self) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def getProductTargets( + self, + ) -> java.util.List["ProcessResearchSpec.ProductTarget"]: ... + def getReactionOptions(self) -> java.util.List["ReactionOption"]: ... + def getRobustnessScenarios( + self, + ) -> java.util.List["ProcessResearchSpec.RobustnessScenario"]: ... + def getScoringWeights(self) -> "ProcessResearchSpec.ScoringWeights": ... + def getSynthesisConstraints(self) -> "ProcessResearchSpec.SynthesisConstraints": ... def isEvaluateCandidates(self) -> bool: ... def isFeasibilityPruningEnabled(self) -> bool: ... def isIncludeCostEstimate(self) -> bool: ... def isIncludeEmissionEstimate(self) -> bool: ... def isIncludeHeatIntegration(self) -> bool: ... def isIncludeSynthesisLibrary(self) -> bool: ... + class Builder: def __init__(self): ... - def addAllowedUnitType(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def addDecisionVariable(self, decisionVariable: 'ProcessResearchSpec.DecisionVariable') -> 'ProcessResearchSpec.Builder': ... - def addFeedComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchSpec.Builder': ... - def addMaterialNode(self, materialNode: MaterialNode) -> 'ProcessResearchSpec.Builder': ... - def addOperationOption(self, operationOption: OperationOption) -> 'ProcessResearchSpec.Builder': ... - def addProductTarget(self, productTarget: 'ProcessResearchSpec.ProductTarget') -> 'ProcessResearchSpec.Builder': ... - def addReactionOption(self, reactionOption: 'ReactionOption') -> 'ProcessResearchSpec.Builder': ... - def addRobustnessScenario(self, robustnessScenario: 'ProcessResearchSpec.RobustnessScenario') -> 'ProcessResearchSpec.Builder': ... - def build(self) -> 'ProcessResearchSpec': ... - def setEconomicAssumptions(self, economicAssumptions: 'ProcessResearchSpec.EconomicAssumptions') -> 'ProcessResearchSpec.Builder': ... - def setEnableFeasibilityPruning(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setEvaluateCandidates(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setFeedFlowRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def setFeedMaterialName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def setFeedPressure(self, double: float) -> 'ProcessResearchSpec.Builder': ... - def setFeedTemperature(self, double: float) -> 'ProcessResearchSpec.Builder': ... - def setFluidModel(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def setHeatIntegrationDeltaTMinC(self, double: float) -> 'ProcessResearchSpec.Builder': ... - def setIncludeCostEstimate(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setIncludeEmissionEstimate(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setIncludeHeatIntegration(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setIncludeSynthesisLibrary(self, boolean: bool) -> 'ProcessResearchSpec.Builder': ... - def setMaxCandidates(self, int: int) -> 'ProcessResearchSpec.Builder': ... - def setMaxOptimizationCases(self, int: int) -> 'ProcessResearchSpec.Builder': ... - def setMaxSynthesisDepth(self, int: int) -> 'ProcessResearchSpec.Builder': ... - def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.Builder': ... - def setObjective(self, objective: 'ProcessResearchSpec.Objective') -> 'ProcessResearchSpec.Builder': ... - def setScoringWeights(self, scoringWeights: 'ProcessResearchSpec.ScoringWeights') -> 'ProcessResearchSpec.Builder': ... - def setSynthesisConstraints(self, synthesisConstraints: 'ProcessResearchSpec.SynthesisConstraints') -> 'ProcessResearchSpec.Builder': ... + def addAllowedUnitType( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def addDecisionVariable( + self, decisionVariable: "ProcessResearchSpec.DecisionVariable" + ) -> "ProcessResearchSpec.Builder": ... + def addFeedComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessResearchSpec.Builder": ... + def addMaterialNode( + self, materialNode: MaterialNode + ) -> "ProcessResearchSpec.Builder": ... + def addOperationOption( + self, operationOption: OperationOption + ) -> "ProcessResearchSpec.Builder": ... + def addProductTarget( + self, productTarget: "ProcessResearchSpec.ProductTarget" + ) -> "ProcessResearchSpec.Builder": ... + def addReactionOption( + self, reactionOption: "ReactionOption" + ) -> "ProcessResearchSpec.Builder": ... + def addRobustnessScenario( + self, robustnessScenario: "ProcessResearchSpec.RobustnessScenario" + ) -> "ProcessResearchSpec.Builder": ... + def build(self) -> "ProcessResearchSpec": ... + def setEconomicAssumptions( + self, economicAssumptions: "ProcessResearchSpec.EconomicAssumptions" + ) -> "ProcessResearchSpec.Builder": ... + def setEnableFeasibilityPruning( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setEvaluateCandidates( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setFeedFlowRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def setFeedMaterialName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def setFeedPressure(self, double: float) -> "ProcessResearchSpec.Builder": ... + def setFeedTemperature( + self, double: float + ) -> "ProcessResearchSpec.Builder": ... + def setFluidModel( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def setHeatIntegrationDeltaTMinC( + self, double: float + ) -> "ProcessResearchSpec.Builder": ... + def setIncludeCostEstimate( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setIncludeEmissionEstimate( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setIncludeHeatIntegration( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setIncludeSynthesisLibrary( + self, boolean: bool + ) -> "ProcessResearchSpec.Builder": ... + def setMaxCandidates(self, int: int) -> "ProcessResearchSpec.Builder": ... + def setMaxOptimizationCases( + self, int: int + ) -> "ProcessResearchSpec.Builder": ... + def setMaxSynthesisDepth(self, int: int) -> "ProcessResearchSpec.Builder": ... + def setMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Builder": ... + def setObjective( + self, objective: "ProcessResearchSpec.Objective" + ) -> "ProcessResearchSpec.Builder": ... + def setScoringWeights( + self, scoringWeights: "ProcessResearchSpec.ScoringWeights" + ) -> "ProcessResearchSpec.Builder": ... + def setSynthesisConstraints( + self, synthesisConstraints: "ProcessResearchSpec.SynthesisConstraints" + ) -> "ProcessResearchSpec.Builder": ... + class DecisionVariable: - def __init__(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]): ... + def __init__( + 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], + ): ... def getEquipmentName(self) -> java.lang.String: ... def getGridLevels(self) -> int: ... def getLowerBound(self) -> float: ... def getPropertyName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... - def setGridLevels(self, int: int) -> 'ProcessResearchSpec.DecisionVariable': ... + def setGridLevels(self, int: int) -> "ProcessResearchSpec.DecisionVariable": ... + class EconomicAssumptions: def __init__(self): ... def getCarbonPriceUsdPerTonne(self) -> float: ... def getColdUtilityCostUsdPerKWh(self) -> float: ... def getElectricityCostUsdPerKWh(self) -> float: ... def getElectricityEmissionFactorKgCO2PerKWh(self) -> float: ... - def getEquipmentCostProxyUsd(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEquipmentCostProxyUsd( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getHotUtilityCostUsdPerKWh(self) -> float: ... def getOperatingHoursPerYear(self) -> float: ... - def setCarbonPriceUsdPerTonne(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setColdUtilityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setDefaultEquipmentCostUsd(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setElectricityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setElectricityEmissionFactorKgCO2PerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setEquipmentCostProxyUsd(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setHotUtilityCostUsdPerKWh(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - def setOperatingHoursPerYear(self, double: float) -> 'ProcessResearchSpec.EconomicAssumptions': ... - class Objective(java.lang.Enum['ProcessResearchSpec.Objective']): - MAXIMIZE_PRODUCT: typing.ClassVar['ProcessResearchSpec.Objective'] = ... - MINIMIZE_ENERGY: typing.ClassVar['ProcessResearchSpec.Objective'] = ... - MAXIMIZE_SCORE: typing.ClassVar['ProcessResearchSpec.Objective'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setCarbonPriceUsdPerTonne( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setColdUtilityCostUsdPerKWh( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setDefaultEquipmentCostUsd( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setElectricityCostUsdPerKWh( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setElectricityEmissionFactorKgCO2PerKWh( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setEquipmentCostProxyUsd( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setHotUtilityCostUsdPerKWh( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + def setOperatingHoursPerYear( + self, double: float + ) -> "ProcessResearchSpec.EconomicAssumptions": ... + + class Objective(java.lang.Enum["ProcessResearchSpec.Objective"]): + MAXIMIZE_PRODUCT: typing.ClassVar["ProcessResearchSpec.Objective"] = ... + MINIMIZE_ENERGY: typing.ClassVar["ProcessResearchSpec.Objective"] = ... + MAXIMIZE_SCORE: typing.ClassVar["ProcessResearchSpec.Objective"] = ... + _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: ... + 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]) -> 'ProcessResearchSpec.Objective': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.Objective": ... @staticmethod - def values() -> typing.MutableSequence['ProcessResearchSpec.Objective']: ... + def values() -> typing.MutableSequence["ProcessResearchSpec.Objective"]: ... + class ProductTarget: def __init__(self, string: typing.Union[java.lang.String, str]): ... def getComponentName(self) -> java.lang.String: ... @@ -216,22 +374,42 @@ class ProcessResearchSpec: def getStreamReference(self) -> java.lang.String: ... def getStreamRole(self) -> java.lang.String: ... def getWeight(self) -> float: ... - def setComponentName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... - def setMaterialName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... - def setMinFlowRate(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... - def setMinPurity(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... - def setStreamReference(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... - def setStreamRole(self, string: typing.Union[java.lang.String, str]) -> 'ProcessResearchSpec.ProductTarget': ... - def setWeight(self, double: float) -> 'ProcessResearchSpec.ProductTarget': ... + def setComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.ProductTarget": ... + def setMaterialName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.ProductTarget": ... + def setMinFlowRate( + self, double: float + ) -> "ProcessResearchSpec.ProductTarget": ... + def setMinPurity( + self, double: float + ) -> "ProcessResearchSpec.ProductTarget": ... + def setStreamReference( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.ProductTarget": ... + def setStreamRole( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessResearchSpec.ProductTarget": ... + def setWeight(self, double: float) -> "ProcessResearchSpec.ProductTarget": ... + class RobustnessScenario: def __init__(self, string: typing.Union[java.lang.String, str]): ... def getFeedFlowMultiplier(self) -> float: ... def getFeedPressureMultiplier(self) -> float: ... def getFeedTemperatureOffsetK(self) -> float: ... def getName(self) -> java.lang.String: ... - def setFeedFlowMultiplier(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... - def setFeedPressureMultiplier(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... - def setFeedTemperatureOffsetK(self, double: float) -> 'ProcessResearchSpec.RobustnessScenario': ... + def setFeedFlowMultiplier( + self, double: float + ) -> "ProcessResearchSpec.RobustnessScenario": ... + def setFeedPressureMultiplier( + self, double: float + ) -> "ProcessResearchSpec.RobustnessScenario": ... + def setFeedTemperatureOffsetK( + self, double: float + ) -> "ProcessResearchSpec.RobustnessScenario": ... + class ScoringWeights: def __init__(self): ... def getCapitalCostPenalty(self) -> float: ... @@ -243,15 +421,34 @@ class ProcessResearchSpec: def getProductFlowWeight(self) -> float: ... def getPurityWeight(self) -> float: ... def getRobustnessWeight(self) -> float: ... - def setCapitalCostPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setColdUtilityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setComplexityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setElectricPowerPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setEmissionsPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setHotUtilityPenalty(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setProductFlowWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setPurityWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... - def setRobustnessWeight(self, double: float) -> 'ProcessResearchSpec.ScoringWeights': ... + def setCapitalCostPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setColdUtilityPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setComplexityPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setElectricPowerPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setEmissionsPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setHotUtilityPenalty( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setProductFlowWeight( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setPurityWeight( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + def setRobustnessWeight( + self, double: float + ) -> "ProcessResearchSpec.ScoringWeights": ... + class SynthesisConstraints: def __init__(self): ... def getMaxAnnualOperatingCostProxyUSDPerYr(self) -> float: ... @@ -261,33 +458,69 @@ class ProcessResearchSpec: def getMaxEquipmentCount(self) -> float: ... def getMaxHotUtilityKW(self) -> float: ... def getMaxTotalPowerKW(self) -> float: ... - def setMaxAnnualOperatingCostProxyUSDPerYr(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxCapitalCostProxyUSD(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxColdUtilityKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxEmissionsKgCO2ePerHr(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxEquipmentCount(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxHotUtilityKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... - def setMaxTotalPowerKW(self, double: float) -> 'ProcessResearchSpec.SynthesisConstraints': ... + def setMaxAnnualOperatingCostProxyUSDPerYr( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxCapitalCostProxyUSD( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxColdUtilityKW( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxEmissionsKgCO2ePerHr( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxEquipmentCount( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxHotUtilityKW( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... + def setMaxTotalPowerKW( + self, double: float + ) -> "ProcessResearchSpec.SynthesisConstraints": ... class ProcessResearcher: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processCandidateGenerator: ProcessCandidateGenerator, processCandidateEvaluator: ProcessCandidateEvaluator): ... + def __init__( + self, + processCandidateGenerator: ProcessCandidateGenerator, + processCandidateEvaluator: ProcessCandidateEvaluator, + ): ... @typing.overload - def __init__(self, processCandidateGenerator: ProcessCandidateGenerator, processCandidateEvaluator: ProcessCandidateEvaluator, processSynthesisFeasibilityPruner: 'ProcessSynthesisFeasibilityPruner'): ... - def research(self, processResearchSpec: ProcessResearchSpec) -> ProcessResearchResult: ... + def __init__( + self, + processCandidateGenerator: ProcessCandidateGenerator, + processCandidateEvaluator: ProcessCandidateEvaluator, + processSynthesisFeasibilityPruner: "ProcessSynthesisFeasibilityPruner", + ): ... + def research( + self, processResearchSpec: ProcessResearchSpec + ) -> ProcessResearchResult: ... class ProcessSuperstructureExporter: def __init__(self): ... def toJson(self, processResearchSpec: ProcessResearchSpec) -> java.lang.String: ... - def toPyomoSkeleton(self, processResearchSpec: ProcessResearchSpec) -> java.lang.String: ... + def toPyomoSkeleton( + self, processResearchSpec: ProcessResearchSpec + ) -> java.lang.String: ... class ProcessSynthesisFeasibilityPruner: def __init__(self): ... - def checkOperationPath(self, list: java.util.List[OperationOption], processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisFeasibilityPruner.FeasibilityResult': ... - def checkReaction(self, reactionOption: 'ReactionOption', processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisFeasibilityPruner.FeasibilityResult': ... - def validateSpec(self, processResearchSpec: ProcessResearchSpec) -> java.util.List[java.lang.String]: ... + def checkOperationPath( + self, + list: java.util.List[OperationOption], + processResearchSpec: ProcessResearchSpec, + ) -> "ProcessSynthesisFeasibilityPruner.FeasibilityResult": ... + def checkReaction( + self, reactionOption: "ReactionOption", processResearchSpec: ProcessResearchSpec + ) -> "ProcessSynthesisFeasibilityPruner.FeasibilityResult": ... + def validateSpec( + self, processResearchSpec: ProcessResearchSpec + ) -> java.util.List[java.lang.String]: ... + class FeasibilityResult: def __init__(self): ... def addIssue(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -296,21 +529,35 @@ class ProcessSynthesisFeasibilityPruner: class ProcessSynthesisGraph: def __init__(self): ... - def addMaterial(self, materialNode: MaterialNode) -> 'ProcessSynthesisGraph': ... - def addOperation(self, operationOption: OperationOption) -> 'ProcessSynthesisGraph': ... - def enumeratePaths(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], int: int, int2: int) -> java.util.List[java.util.List[OperationOption]]: ... + def addMaterial(self, materialNode: MaterialNode) -> "ProcessSynthesisGraph": ... + def addOperation( + self, operationOption: OperationOption + ) -> "ProcessSynthesisGraph": ... + def enumeratePaths( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + int: int, + int2: int, + ) -> java.util.List[java.util.List[OperationOption]]: ... @staticmethod - def fromSpec(processResearchSpec: ProcessResearchSpec) -> 'ProcessSynthesisGraph': ... + def fromSpec( + processResearchSpec: ProcessResearchSpec, + ) -> "ProcessSynthesisGraph": ... def getMaterials(self) -> java.util.Map[java.lang.String, MaterialNode]: ... def getOperations(self) -> java.util.List[OperationOption]: ... class ProcessSynthesisTemplateLibrary: def __init__(self): ... - def createOptions(self, processResearchSpec: ProcessResearchSpec) -> java.util.List[OperationOption]: ... + def createOptions( + self, processResearchSpec: ProcessResearchSpec + ) -> java.util.List[OperationOption]: ... class ReactionOption: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addStoichiometricCoefficient(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReactionOption': ... + def addStoichiometricCoefficient( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ReactionOption": ... def getEnergyMode(self) -> java.lang.String: ... def getExpectedProductComponent(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... @@ -318,12 +565,17 @@ class ReactionOption: def getReactorTemperatureK(self) -> float: ... def getReactorType(self) -> java.lang.String: ... def getStoichiometry(self) -> java.util.Map[java.lang.String, float]: ... - def setEnergyMode(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... - def setExpectedProductComponent(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... - def setReactorPressure(self, double: float) -> 'ReactionOption': ... - def setReactorTemperature(self, double: float) -> 'ReactionOption': ... - def setReactorType(self, string: typing.Union[java.lang.String, str]) -> 'ReactionOption': ... - + def setEnergyMode( + self, string: typing.Union[java.lang.String, str] + ) -> "ReactionOption": ... + def setExpectedProductComponent( + self, string: typing.Union[java.lang.String, str] + ) -> "ReactionOption": ... + def setReactorPressure(self, double: float) -> "ReactionOption": ... + def setReactorTemperature(self, double: float) -> "ReactionOption": ... + def setReactorType( + self, string: typing.Union[java.lang.String, str] + ) -> "ReactionOption": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.research")``. diff --git a/src/jneqsim-stubs/process/safety/__init__.pyi b/src/jneqsim-stubs/process/safety/__init__.pyi index 090a04fd..09baf7f7 100644 --- a/src/jneqsim-stubs/process/safety/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -45,22 +45,22 @@ import jneqsim.process.safety.vacuum import jneqsim.process.safety.vibration import typing - - class BoundaryConditions(java.io.Serializable): DEFAULT_AMBIENT_TEMPERATURE: typing.ClassVar[float] = ... DEFAULT_WIND_SPEED: typing.ClassVar[float] = ... DEFAULT_RELATIVE_HUMIDITY: typing.ClassVar[float] = ... DEFAULT_ATMOSPHERIC_PRESSURE: typing.ClassVar[float] = ... @staticmethod - def builder() -> 'BoundaryConditions.Builder': ... + def builder() -> "BoundaryConditions.Builder": ... @staticmethod - def defaultConditions() -> 'BoundaryConditions': ... + def defaultConditions() -> "BoundaryConditions": ... def equals(self, object: typing.Any) -> bool: ... @typing.overload def getAmbientTemperature(self) -> float: ... @typing.overload - def getAmbientTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getAmbientTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getAtmosphericPressure(self) -> float: ... def getAtmosphericPressureBar(self) -> float: ... def getPasquillStabilityClass(self) -> str: ... @@ -68,63 +68,80 @@ class BoundaryConditions(java.io.Serializable): @typing.overload def getSeaWaterTemperature(self) -> float: ... @typing.overload - def getSeaWaterTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getSeaWaterTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSolarRadiation(self) -> float: ... def getSurfaceRoughness(self) -> float: ... def getWindDirection(self) -> float: ... def getWindSpeed(self) -> float: ... @staticmethod - def gulfOfMexico() -> 'BoundaryConditions': ... + def gulfOfMexico() -> "BoundaryConditions": ... def hashCode(self) -> int: ... def isOffshore(self) -> bool: ... @staticmethod - def northSeaSummer() -> 'BoundaryConditions': ... + def northSeaSummer() -> "BoundaryConditions": ... @staticmethod - def northSeaWinter() -> 'BoundaryConditions': ... + def northSeaWinter() -> "BoundaryConditions": ... @staticmethod - def onshoreIndustrial() -> 'BoundaryConditions': ... + def onshoreIndustrial() -> "BoundaryConditions": ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... @typing.overload - def ambientTemperature(self, double: float) -> 'BoundaryConditions.Builder': ... + def ambientTemperature(self, double: float) -> "BoundaryConditions.Builder": ... @typing.overload - def ambientTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'BoundaryConditions.Builder': ... - def atmosphericPressure(self, double: float) -> 'BoundaryConditions.Builder': ... - def build(self) -> 'BoundaryConditions': ... - def isOffshore(self, boolean: bool) -> 'BoundaryConditions.Builder': ... - def pasquillStabilityClass(self, char: str) -> 'BoundaryConditions.Builder': ... - def relativeHumidity(self, double: float) -> 'BoundaryConditions.Builder': ... - def seaWaterTemperature(self, double: float) -> 'BoundaryConditions.Builder': ... - def solarRadiation(self, double: float) -> 'BoundaryConditions.Builder': ... - def surfaceRoughness(self, double: float) -> 'BoundaryConditions.Builder': ... - def windDirection(self, double: float) -> 'BoundaryConditions.Builder': ... - def windSpeed(self, double: float) -> 'BoundaryConditions.Builder': ... + def ambientTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "BoundaryConditions.Builder": ... + def atmosphericPressure( + self, double: float + ) -> "BoundaryConditions.Builder": ... + def build(self) -> "BoundaryConditions": ... + def isOffshore(self, boolean: bool) -> "BoundaryConditions.Builder": ... + def pasquillStabilityClass(self, char: str) -> "BoundaryConditions.Builder": ... + def relativeHumidity(self, double: float) -> "BoundaryConditions.Builder": ... + def seaWaterTemperature( + self, double: float + ) -> "BoundaryConditions.Builder": ... + def solarRadiation(self, double: float) -> "BoundaryConditions.Builder": ... + def surfaceRoughness(self, double: float) -> "BoundaryConditions.Builder": ... + def windDirection(self, double: float) -> "BoundaryConditions.Builder": ... + def windSpeed(self, double: float) -> "BoundaryConditions.Builder": ... class DisposalNetwork(java.io.Serializable): def __init__(self): ... - def evaluate(self, list: java.util.List['ProcessSafetyLoadCase']) -> jneqsim.process.safety.dto.DisposalNetworkSummaryDTO: ... - def mapSourceToDisposal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def registerDisposalUnit(self, flare: jneqsim.process.equipment.flare.Flare) -> None: ... + def evaluate( + self, list: java.util.List["ProcessSafetyLoadCase"] + ) -> jneqsim.process.safety.dto.DisposalNetworkSummaryDTO: ... + def mapSourceToDisposal( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def registerDisposalUnit( + self, flare: jneqsim.process.equipment.flare.Flare + ) -> None: ... -class InitiatingEvent(java.lang.Enum['InitiatingEvent']): - ESD: typing.ClassVar['InitiatingEvent'] = ... - PSV_LIFT: typing.ClassVar['InitiatingEvent'] = ... - RUPTURE: typing.ClassVar['InitiatingEvent'] = ... - LEAK_SMALL: typing.ClassVar['InitiatingEvent'] = ... - LEAK_MEDIUM: typing.ClassVar['InitiatingEvent'] = ... - LEAK_LARGE: typing.ClassVar['InitiatingEvent'] = ... - FULL_BORE_RUPTURE: typing.ClassVar['InitiatingEvent'] = ... - BLOCKED_OUTLET: typing.ClassVar['InitiatingEvent'] = ... - UTILITY_LOSS: typing.ClassVar['InitiatingEvent'] = ... - FIRE_EXPOSURE: typing.ClassVar['InitiatingEvent'] = ... - RUNAWAY_REACTION: typing.ClassVar['InitiatingEvent'] = ... - THERMAL_EXPANSION: typing.ClassVar['InitiatingEvent'] = ... - TUBE_RUPTURE: typing.ClassVar['InitiatingEvent'] = ... - CONTROL_VALVE_FAILURE: typing.ClassVar['InitiatingEvent'] = ... - COMPRESSOR_SURGE: typing.ClassVar['InitiatingEvent'] = ... - LOSS_OF_CONTAINMENT: typing.ClassVar['InitiatingEvent'] = ... - MANUAL_INTERVENTION: typing.ClassVar['InitiatingEvent'] = ... +class InitiatingEvent(java.lang.Enum["InitiatingEvent"]): + ESD: typing.ClassVar["InitiatingEvent"] = ... + PSV_LIFT: typing.ClassVar["InitiatingEvent"] = ... + RUPTURE: typing.ClassVar["InitiatingEvent"] = ... + LEAK_SMALL: typing.ClassVar["InitiatingEvent"] = ... + LEAK_MEDIUM: typing.ClassVar["InitiatingEvent"] = ... + LEAK_LARGE: typing.ClassVar["InitiatingEvent"] = ... + FULL_BORE_RUPTURE: typing.ClassVar["InitiatingEvent"] = ... + BLOCKED_OUTLET: typing.ClassVar["InitiatingEvent"] = ... + UTILITY_LOSS: typing.ClassVar["InitiatingEvent"] = ... + FIRE_EXPOSURE: typing.ClassVar["InitiatingEvent"] = ... + RUNAWAY_REACTION: typing.ClassVar["InitiatingEvent"] = ... + THERMAL_EXPANSION: typing.ClassVar["InitiatingEvent"] = ... + TUBE_RUPTURE: typing.ClassVar["InitiatingEvent"] = ... + CONTROL_VALVE_FAILURE: typing.ClassVar["InitiatingEvent"] = ... + COMPRESSOR_SURGE: typing.ClassVar["InitiatingEvent"] = ... + LOSS_OF_CONTAINMENT: typing.ClassVar["InitiatingEvent"] = ... + MANUAL_INTERVENTION: typing.ClassVar["InitiatingEvent"] = ... def getDescription(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getTypicalHoleDiameter(self) -> typing.MutableSequence[float]: ... @@ -132,23 +149,55 @@ class InitiatingEvent(java.lang.Enum['InitiatingEvent']): def requiresFireAnalysis(self) -> bool: ... def toString(self) -> java.lang.String: ... def triggersDepressurization(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'InitiatingEvent': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "InitiatingEvent": ... @staticmethod - def values() -> typing.MutableSequence['InitiatingEvent']: ... + def values() -> typing.MutableSequence["InitiatingEvent"]: ... class ProcessSafetyAnalysisSummary(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], set: java.util.Set[typing.Union[java.lang.String, str]], string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.lang.String, str]]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot'], typing.Mapping[typing.Union[java.lang.String, str], 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot']]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + set: java.util.Set[typing.Union[java.lang.String, str]], + string2: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + typing.Mapping[ + typing.Union[java.lang.String, str], typing.Union[java.lang.String, str] + ], + ], + map2: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + "ProcessSafetyAnalysisSummary.UnitKpiSnapshot", + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + "ProcessSafetyAnalysisSummary.UnitKpiSnapshot", + ], + ], + ): ... def getAffectedUnits(self) -> java.util.Set[java.lang.String]: ... - def getConditionMessages(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getConditionMessages( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getConditionMonitorReport(self) -> java.lang.String: ... def getScenarioName(self) -> java.lang.String: ... - def getUnitKpis(self) -> java.util.Map[java.lang.String, 'ProcessSafetyAnalysisSummary.UnitKpiSnapshot']: ... + def getUnitKpis( + self, + ) -> java.util.Map[ + java.lang.String, "ProcessSafetyAnalysisSummary.UnitKpiSnapshot" + ]: ... + class UnitKpiSnapshot(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def getMassBalance(self) -> float: ... @@ -161,23 +210,51 @@ class ProcessSafetyAnalyzer(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, processSafetyResultRepository: typing.Union['ProcessSafetyResultRepository', typing.Callable]): ... - def addLoadCase(self, processSafetyLoadCase: 'ProcessSafetyLoadCase') -> None: ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + processSafetyResultRepository: typing.Union[ + "ProcessSafetyResultRepository", typing.Callable + ], + ): ... + def addLoadCase(self, processSafetyLoadCase: "ProcessSafetyLoadCase") -> None: ... @typing.overload - def analyze(self, collection: typing.Union[java.util.Collection['ProcessSafetyScenario'], typing.Sequence['ProcessSafetyScenario'], typing.Set['ProcessSafetyScenario']]) -> java.util.List[ProcessSafetyAnalysisSummary]: ... + def analyze( + self, + collection: typing.Union[ + java.util.Collection["ProcessSafetyScenario"], + typing.Sequence["ProcessSafetyScenario"], + typing.Set["ProcessSafetyScenario"], + ], + ) -> java.util.List[ProcessSafetyAnalysisSummary]: ... @typing.overload - def analyze(self, processSafetyScenario: 'ProcessSafetyScenario') -> ProcessSafetyAnalysisSummary: ... + def analyze( + self, processSafetyScenario: "ProcessSafetyScenario" + ) -> ProcessSafetyAnalysisSummary: ... @typing.overload def analyze(self) -> jneqsim.process.safety.dto.DisposalNetworkSummaryDTO: ... - def getLoadCases(self) -> java.util.List['ProcessSafetyLoadCase']: ... - def mapSourceToDisposal(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def registerDisposalUnit(self, flare: jneqsim.process.equipment.flare.Flare) -> None: ... + def getLoadCases(self) -> java.util.List["ProcessSafetyLoadCase"]: ... + def mapSourceToDisposal( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def registerDisposalUnit( + self, flare: jneqsim.process.equipment.flare.Flare + ) -> None: ... class ProcessSafetyLoadCase(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addReliefSource(self, string: typing.Union[java.lang.String, str], reliefSourceLoad: 'ProcessSafetyLoadCase.ReliefSourceLoad') -> None: ... + def addReliefSource( + self, + string: typing.Union[java.lang.String, str], + reliefSourceLoad: "ProcessSafetyLoadCase.ReliefSourceLoad", + ) -> None: ... def getName(self) -> java.lang.String: ... - def getReliefLoads(self) -> java.util.Map[java.lang.String, 'ProcessSafetyLoadCase.ReliefSourceLoad']: ... + def getReliefLoads( + self, + ) -> java.util.Map[java.lang.String, "ProcessSafetyLoadCase.ReliefSourceLoad"]: ... + class ReliefSourceLoad(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def getHeatDutyW(self) -> float: ... @@ -186,39 +263,106 @@ class ProcessSafetyLoadCase(java.io.Serializable): class ProcessSafetyResultRepository: def findAll(self) -> java.util.List[ProcessSafetyAnalysisSummary]: ... - def save(self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary) -> None: ... + def save( + self, processSafetyAnalysisSummary: ProcessSafetyAnalysisSummary + ) -> None: ... class ProcessSafetyScenario(java.io.Serializable): - def applyTo(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def applyTo( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetyScenario.Builder": ... @staticmethod - def generateFromTopology(processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['ProcessSafetyScenario']: ... + def generateFromTopology( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> java.util.List["ProcessSafetyScenario"]: ... def getBlockedOutletUnits(self) -> java.util.List[java.lang.String]: ... - def getControllerSetPointOverrides(self) -> java.util.Map[java.lang.String, float]: ... - def getCustomManipulators(self) -> java.util.Map[java.lang.String, java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface]]: ... + def getControllerSetPointOverrides( + self, + ) -> java.util.Map[java.lang.String, float]: ... + def getCustomManipulators( + self, + ) -> java.util.Map[ + java.lang.String, + java.util.function.Consumer[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + ]: ... def getName(self) -> java.lang.String: ... def getTargetUnits(self) -> java.util.Set[java.lang.String]: ... def getUtilityLossUnits(self) -> java.util.List[java.lang.String]: ... + class Builder: - def blockOutlet(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... - def blockOutlets(self, collection: typing.Union[java.util.Collection[typing.Union[java.lang.String, str]], typing.Sequence[typing.Union[java.lang.String, str]], typing.Set[typing.Union[java.lang.String, str]]]) -> 'ProcessSafetyScenario.Builder': ... - def build(self) -> 'ProcessSafetyScenario': ... - def controllerSetPoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProcessSafetyScenario.Builder': ... - def customManipulator(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer[jneqsim.process.equipment.ProcessEquipmentInterface], typing.Callable[[jneqsim.process.equipment.ProcessEquipmentInterface], None]]) -> 'ProcessSafetyScenario.Builder': ... - def utilityLoss(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyScenario.Builder': ... - def utilityLosses(self, collection: typing.Union[java.util.Collection[typing.Union[java.lang.String, str]], typing.Sequence[typing.Union[java.lang.String, str]], typing.Set[typing.Union[java.lang.String, str]]]) -> 'ProcessSafetyScenario.Builder': ... + def blockOutlet( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetyScenario.Builder": ... + def blockOutlets( + self, + collection: typing.Union[ + java.util.Collection[typing.Union[java.lang.String, str]], + typing.Sequence[typing.Union[java.lang.String, str]], + typing.Set[typing.Union[java.lang.String, str]], + ], + ) -> "ProcessSafetyScenario.Builder": ... + def build(self) -> "ProcessSafetyScenario": ... + def controllerSetPoint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProcessSafetyScenario.Builder": ... + def customManipulator( + self, + string: typing.Union[java.lang.String, str], + consumer: typing.Union[ + java.util.function.Consumer[ + jneqsim.process.equipment.ProcessEquipmentInterface + ], + typing.Callable[ + [jneqsim.process.equipment.ProcessEquipmentInterface], None + ], + ], + ) -> "ProcessSafetyScenario.Builder": ... + def utilityLoss( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetyScenario.Builder": ... + def utilityLosses( + self, + collection: typing.Union[ + java.util.Collection[typing.Union[java.lang.String, str]], + typing.Sequence[typing.Union[java.lang.String, str]], + typing.Set[typing.Union[java.lang.String, str]], + ], + ) -> "ProcessSafetyScenario.Builder": ... class SafetyAnalysisFunctionEvaluation(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def evaluate(self, string: typing.Union[java.lang.String, str], iterable: typing.Union[java.lang.Iterable[typing.Union[java.lang.String, str]], typing.Sequence[typing.Union[java.lang.String, str]], typing.Set[typing.Union[java.lang.String, str]], typing.Callable[[], java.util.Iterator[typing.Any]]]) -> 'SafetyAnalysisFunctionEvaluation.Result': ... + def evaluate( + self, + string: typing.Union[java.lang.String, str], + iterable: typing.Union[ + java.lang.Iterable[typing.Union[java.lang.String, str]], + typing.Sequence[typing.Union[java.lang.String, str]], + typing.Set[typing.Union[java.lang.String, str]], + typing.Callable[[], java.util.Iterator[typing.Any]], + ], + ) -> "SafetyAnalysisFunctionEvaluation.Result": ... @staticmethod def getSupportedComponentTypes() -> java.util.Set[java.lang.String]: ... + class Result(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List[typing.Union[java.lang.String, str]], double: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[typing.Union[java.lang.String, str]], + list3: java.util.List[typing.Union[java.lang.String, str]], + double: float, + string2: typing.Union[java.lang.String, str], + ): ... def getComponentType(self) -> java.lang.String: ... def getCoverageRatio(self) -> float: ... def getCoverageWarning(self) -> java.lang.String: ... @@ -226,7 +370,6 @@ class SafetyAnalysisFunctionEvaluation(java.io.Serializable): def getProvidedFunctions(self) -> java.util.List[java.lang.String]: ... def getRequiredFunctions(self) -> java.util.List[java.lang.String]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety")``. diff --git a/src/jneqsim-stubs/process/safety/alarp/__init__.pyi b/src/jneqsim-stubs/process/safety/alarp/__init__.pyi index d5bf6bc8..4fe5c060 100644 --- a/src/jneqsim-stubs/process/safety/alarp/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/alarp/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,15 +10,16 @@ import java.lang import java.util import typing - - class ALARPAuditReport(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMeasure(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ALARPAuditReport': ... - def evaluate(self) -> java.util.List['ALARPAuditReport.EvaluationResult']: ... + def addMeasure( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "ALARPAuditReport": ... + def evaluate(self) -> java.util.List["ALARPAuditReport.EvaluationResult"]: ... def report(self) -> java.lang.String: ... - def setDisproportionFactor(self, double: float) -> 'ALARPAuditReport': ... - def setValueOfStatisticalLife(self, double: float) -> 'ALARPAuditReport': ... + def setDisproportionFactor(self, double: float) -> "ALARPAuditReport": ... + def setValueOfStatisticalLife(self, double: float) -> "ALARPAuditReport": ... + class EvaluationResult(java.io.Serializable): description: java.lang.String = ... riskReductionPerYear: float = ... @@ -26,7 +27,6 @@ class ALARPAuditReport(java.io.Serializable): icaf: float = ... verdict: java.lang.String = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.alarp")``. diff --git a/src/jneqsim-stubs/process/safety/api14c/__init__.pyi b/src/jneqsim-stubs/process/safety/api14c/__init__.pyi index f24b7a57..4b1129fe 100644 --- a/src/jneqsim-stubs/process/safety/api14c/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/api14c/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,68 +12,88 @@ import jneqsim.process.equipment import jneqsim.process.processmodel import typing - - -class Api14cDeviceType(java.lang.Enum['Api14cDeviceType']): - PSH: typing.ClassVar['Api14cDeviceType'] = ... - PSL: typing.ClassVar['Api14cDeviceType'] = ... - LSH: typing.ClassVar['Api14cDeviceType'] = ... - LSL: typing.ClassVar['Api14cDeviceType'] = ... - TSH: typing.ClassVar['Api14cDeviceType'] = ... - TSL: typing.ClassVar['Api14cDeviceType'] = ... - USV: typing.ClassVar['Api14cDeviceType'] = ... - SDV: typing.ClassVar['Api14cDeviceType'] = ... - BDV: typing.ClassVar['Api14cDeviceType'] = ... - PSV: typing.ClassVar['Api14cDeviceType'] = ... - FSV: typing.ClassVar['Api14cDeviceType'] = ... - FIRE: typing.ClassVar['Api14cDeviceType'] = ... - GAS: typing.ClassVar['Api14cDeviceType'] = ... +class Api14cDeviceType(java.lang.Enum["Api14cDeviceType"]): + PSH: typing.ClassVar["Api14cDeviceType"] = ... + PSL: typing.ClassVar["Api14cDeviceType"] = ... + LSH: typing.ClassVar["Api14cDeviceType"] = ... + LSL: typing.ClassVar["Api14cDeviceType"] = ... + TSH: typing.ClassVar["Api14cDeviceType"] = ... + TSL: typing.ClassVar["Api14cDeviceType"] = ... + USV: typing.ClassVar["Api14cDeviceType"] = ... + SDV: typing.ClassVar["Api14cDeviceType"] = ... + BDV: typing.ClassVar["Api14cDeviceType"] = ... + PSV: typing.ClassVar["Api14cDeviceType"] = ... + FSV: typing.ClassVar["Api14cDeviceType"] = ... + FIRE: typing.ClassVar["Api14cDeviceType"] = ... + GAS: typing.ClassVar["Api14cDeviceType"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Api14cDeviceType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "Api14cDeviceType": ... @staticmethod - def values() -> typing.MutableSequence['Api14cDeviceType']: ... + def values() -> typing.MutableSequence["Api14cDeviceType"]: ... -class Api14cEquipmentCategory(java.lang.Enum['Api14cEquipmentCategory']): - PRESSURE_VESSEL: typing.ClassVar['Api14cEquipmentCategory'] = ... - ATMOSPHERIC_VESSEL: typing.ClassVar['Api14cEquipmentCategory'] = ... - FIRED_VESSEL: typing.ClassVar['Api14cEquipmentCategory'] = ... - PIPELINE_SEGMENT: typing.ClassVar['Api14cEquipmentCategory'] = ... - COMPRESSOR: typing.ClassVar['Api14cEquipmentCategory'] = ... - PUMP: typing.ClassVar['Api14cEquipmentCategory'] = ... - HEAT_EXCHANGER: typing.ClassVar['Api14cEquipmentCategory'] = ... - WELLHEAD: typing.ClassVar['Api14cEquipmentCategory'] = ... +class Api14cEquipmentCategory(java.lang.Enum["Api14cEquipmentCategory"]): + PRESSURE_VESSEL: typing.ClassVar["Api14cEquipmentCategory"] = ... + ATMOSPHERIC_VESSEL: typing.ClassVar["Api14cEquipmentCategory"] = ... + FIRED_VESSEL: typing.ClassVar["Api14cEquipmentCategory"] = ... + PIPELINE_SEGMENT: typing.ClassVar["Api14cEquipmentCategory"] = ... + COMPRESSOR: typing.ClassVar["Api14cEquipmentCategory"] = ... + PUMP: typing.ClassVar["Api14cEquipmentCategory"] = ... + HEAT_EXCHANGER: typing.ClassVar["Api14cEquipmentCategory"] = ... + WELLHEAD: typing.ClassVar["Api14cEquipmentCategory"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Api14cEquipmentCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Api14cEquipmentCategory": ... @staticmethod - def values() -> typing.MutableSequence['Api14cEquipmentCategory']: ... + def values() -> typing.MutableSequence["Api14cEquipmentCategory"]: ... class Api14cSafeChartBuilder(java.io.Serializable): def __init__(self): ... - def build(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'Api14cSafeChartBuilder': ... - def buildAssumingComplete(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'Api14cSafeChartBuilder': ... + def build( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "Api14cSafeChartBuilder": ... + def buildAssumingComplete( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "Api14cSafeChartBuilder": ... @staticmethod - def classify(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> Api14cEquipmentCategory: ... - def declarePresent(self, string: typing.Union[java.lang.String, str], set: java.util.Set[Api14cDeviceType]) -> 'Api14cSafeChartBuilder': ... + def classify( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> Api14cEquipmentCategory: ... + def declarePresent( + self, + string: typing.Union[java.lang.String, str], + set: java.util.Set[Api14cDeviceType], + ) -> "Api14cSafeChartBuilder": ... def getGaps(self) -> java.util.List[java.lang.String]: ... - def getItems(self) -> java.util.List['Api14cSafeChartItem']: ... + def getItems(self) -> java.util.List["Api14cSafeChartItem"]: ... def isComplete(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toMarkdown(self) -> java.lang.String: ... class Api14cSafeChartItem(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], api14cEquipmentCategory: Api14cEquipmentCategory, set: java.util.Set[Api14cDeviceType], set2: java.util.Set[Api14cDeviceType]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + api14cEquipmentCategory: Api14cEquipmentCategory, + set: java.util.Set[Api14cDeviceType], + set2: java.util.Set[Api14cDeviceType], + ): ... def getCategory(self) -> Api14cEquipmentCategory: ... def getEquipmentName(self) -> java.lang.String: ... def getMissing(self) -> java.util.Set[Api14cDeviceType]: ... @@ -86,10 +106,13 @@ class Api14cSafetyAnalysisTable(java.io.Serializable): @staticmethod def deviceOrder() -> java.util.List[Api14cDeviceType]: ... @staticmethod - def getRequiredDevices(api14cEquipmentCategory: Api14cEquipmentCategory) -> java.util.Set[Api14cDeviceType]: ... + def getRequiredDevices( + api14cEquipmentCategory: Api14cEquipmentCategory, + ) -> java.util.Set[Api14cDeviceType]: ... @staticmethod - def getTable() -> java.util.Map[Api14cEquipmentCategory, java.util.Set[Api14cDeviceType]]: ... - + def getTable() -> ( + java.util.Map[Api14cEquipmentCategory, java.util.Set[Api14cDeviceType]] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.api14c")``. diff --git a/src/jneqsim-stubs/process/safety/barrier/__init__.pyi b/src/jneqsim-stubs/process/safety/barrier/__init__.pyi index 76b314c0..ef6c4cfb 100644 --- a/src/jneqsim-stubs/process/safety/barrier/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/barrier/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,35 +16,76 @@ import jneqsim.process.safety.risk.bowtie import jneqsim.process.safety.risk.sis import typing - - class BarrierRegister(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addBarrier(self, safetyBarrier: 'SafetyBarrier') -> 'BarrierRegister': ... - def addEvidence(self, documentEvidence: 'DocumentEvidence') -> 'BarrierRegister': ... - def addPerformanceStandard(self, performanceStandard: 'PerformanceStandard') -> 'BarrierRegister': ... - def addSafetyCriticalElement(self, safetyCriticalElement: 'SafetyCriticalElement') -> 'BarrierRegister': ... - def getBarrier(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def getBarriers(self) -> java.util.List['SafetyBarrier']: ... - def getBarriersForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyBarrier']: ... - def getImpairedBarriers(self) -> java.util.List['SafetyBarrier']: ... + def addBarrier(self, safetyBarrier: "SafetyBarrier") -> "BarrierRegister": ... + def addEvidence( + self, documentEvidence: "DocumentEvidence" + ) -> "BarrierRegister": ... + def addPerformanceStandard( + self, performanceStandard: "PerformanceStandard" + ) -> "BarrierRegister": ... + def addSafetyCriticalElement( + self, safetyCriticalElement: "SafetyCriticalElement" + ) -> "BarrierRegister": ... + def getBarrier( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def getBarriers(self) -> java.util.List["SafetyBarrier"]: ... + def getBarriersForEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SafetyBarrier"]: ... + def getImpairedBarriers(self) -> java.util.List["SafetyBarrier"]: ... def getName(self) -> java.lang.String: ... - def getPerformanceStandard(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... - def getPerformanceStandards(self) -> java.util.List['PerformanceStandard']: ... + def getPerformanceStandard( + self, string: typing.Union[java.lang.String, str] + ) -> "PerformanceStandard": ... + def getPerformanceStandards(self) -> java.util.List["PerformanceStandard"]: ... def getRegisterId(self) -> java.lang.String: ... - def getSafetyCriticalElement(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... - def getSafetyCriticalElements(self) -> java.util.List['SafetyCriticalElement']: ... - def linkBarrierToSafetyCriticalElement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'BarrierRegister': ... + def getSafetyCriticalElement( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement": ... + def getSafetyCriticalElements(self) -> java.util.List["SafetyCriticalElement"]: ... + def linkBarrierToSafetyCriticalElement( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "BarrierRegister": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def validate(self) -> java.util.List[java.lang.String]: ... class DocumentEvidence(java.io.Serializable): @typing.overload - def __init__(self, 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], string5: typing.Union[java.lang.String, str], int: int, string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + int: int, + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + double: float, + ): ... @typing.overload - def __init__(self, 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], string5: typing.Union[java.lang.String, str], int: int, string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str], double: float, string8: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + int: int, + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + double: float, + string8: typing.Union[java.lang.String, str], + ): ... def getConfidence(self) -> float: ... def getDocumentId(self) -> java.lang.String: ... def getDocumentTitle(self) -> java.lang.String: ... @@ -61,10 +102,14 @@ class DocumentEvidence(java.io.Serializable): class PerformanceStandard(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAcceptanceCriterion(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... - def addEvidence(self, documentEvidence: DocumentEvidence) -> 'PerformanceStandard': ... + def addAcceptanceCriterion( + self, string: typing.Union[java.lang.String, str] + ) -> "PerformanceStandard": ... + def addEvidence( + self, documentEvidence: DocumentEvidence + ) -> "PerformanceStandard": ... def getAcceptanceCriteria(self) -> java.util.List[java.lang.String]: ... - def getDemandMode(self) -> 'PerformanceStandard.DemandMode': ... + def getDemandMode(self) -> "PerformanceStandard.DemandMode": ... def getEvidence(self) -> java.util.List[DocumentEvidence]: ... def getId(self) -> java.lang.String: ... def getProofTestIntervalHours(self) -> float: ... @@ -74,38 +119,56 @@ class PerformanceStandard(java.io.Serializable): def getTargetPfd(self) -> float: ... def getTitle(self) -> java.lang.String: ... def hasTraceableEvidence(self) -> bool: ... - def setDemandMode(self, demandMode: 'PerformanceStandard.DemandMode') -> 'PerformanceStandard': ... - def setProofTestIntervalHours(self, double: float) -> 'PerformanceStandard': ... - def setRequiredAvailability(self, double: float) -> 'PerformanceStandard': ... - def setResponseTimeSeconds(self, double: float) -> 'PerformanceStandard': ... - def setSafetyFunction(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... - def setTargetPfd(self, double: float) -> 'PerformanceStandard': ... - def setTitle(self, string: typing.Union[java.lang.String, str]) -> 'PerformanceStandard': ... + def setDemandMode( + self, demandMode: "PerformanceStandard.DemandMode" + ) -> "PerformanceStandard": ... + def setProofTestIntervalHours(self, double: float) -> "PerformanceStandard": ... + def setRequiredAvailability(self, double: float) -> "PerformanceStandard": ... + def setResponseTimeSeconds(self, double: float) -> "PerformanceStandard": ... + def setSafetyFunction( + self, string: typing.Union[java.lang.String, str] + ) -> "PerformanceStandard": ... + def setTargetPfd(self, double: float) -> "PerformanceStandard": ... + def setTitle( + self, string: typing.Union[java.lang.String, str] + ) -> "PerformanceStandard": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def validate(self) -> java.util.List[java.lang.String]: ... - class DemandMode(java.lang.Enum['PerformanceStandard.DemandMode']): - LOW_DEMAND: typing.ClassVar['PerformanceStandard.DemandMode'] = ... - HIGH_DEMAND: typing.ClassVar['PerformanceStandard.DemandMode'] = ... - CONTINUOUS: typing.ClassVar['PerformanceStandard.DemandMode'] = ... - OTHER: typing.ClassVar['PerformanceStandard.DemandMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DemandMode(java.lang.Enum["PerformanceStandard.DemandMode"]): + LOW_DEMAND: typing.ClassVar["PerformanceStandard.DemandMode"] = ... + HIGH_DEMAND: typing.ClassVar["PerformanceStandard.DemandMode"] = ... + CONTINUOUS: typing.ClassVar["PerformanceStandard.DemandMode"] = ... + OTHER: typing.ClassVar["PerformanceStandard.DemandMode"] = ... + _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: ... + 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]) -> 'PerformanceStandard.DemandMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PerformanceStandard.DemandMode": ... @staticmethod - def values() -> typing.MutableSequence['PerformanceStandard.DemandMode']: ... + def values() -> typing.MutableSequence["PerformanceStandard.DemandMode"]: ... class SafetyBarrier(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetyBarrier': ... - def addHazardId(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... + def addEquipmentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def addEvidence(self, documentEvidence: DocumentEvidence) -> "SafetyBarrier": ... + def addHazardId( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... @staticmethod - def fromBowTieBarrier(barrier: jneqsim.process.safety.risk.bowtie.BowTieModel.Barrier) -> 'SafetyBarrier': ... + def fromBowTieBarrier( + barrier: jneqsim.process.safety.risk.bowtie.BowTieModel.Barrier, + ) -> "SafetyBarrier": ... def getDescription(self) -> java.lang.String: ... def getEffectiveness(self) -> float: ... def getEvidence(self) -> java.util.List[DocumentEvidence]: ... @@ -118,58 +181,88 @@ class SafetyBarrier(java.io.Serializable): def getPfd(self) -> float: ... def getRiskReductionFactor(self) -> float: ... def getSafetyFunction(self) -> java.lang.String: ... - def getStatus(self) -> 'SafetyBarrier.BarrierStatus': ... - def getType(self) -> 'SafetyBarrier.BarrierType': ... + def getStatus(self) -> "SafetyBarrier.BarrierStatus": ... + def getType(self) -> "SafetyBarrier.BarrierType": ... def hasTraceableEvidence(self) -> bool: ... def isAvailable(self) -> bool: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def setEffectiveness(self, double: float) -> 'SafetyBarrier': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def setOwner(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def setPerformanceStandard(self, performanceStandard: PerformanceStandard) -> 'SafetyBarrier': ... - def setPfd(self, double: float) -> 'SafetyBarrier': ... - def setSafetyFunction(self, string: typing.Union[java.lang.String, str]) -> 'SafetyBarrier': ... - def setStatus(self, barrierStatus: 'SafetyBarrier.BarrierStatus') -> 'SafetyBarrier': ... - def setType(self, barrierType: 'SafetyBarrier.BarrierType') -> 'SafetyBarrier': ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def setEffectiveness(self, double: float) -> "SafetyBarrier": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def setOwner( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def setPerformanceStandard( + self, performanceStandard: PerformanceStandard + ) -> "SafetyBarrier": ... + def setPfd(self, double: float) -> "SafetyBarrier": ... + def setSafetyFunction( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier": ... + def setStatus( + self, barrierStatus: "SafetyBarrier.BarrierStatus" + ) -> "SafetyBarrier": ... + def setType(self, barrierType: "SafetyBarrier.BarrierType") -> "SafetyBarrier": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def validate(self) -> java.util.List[java.lang.String]: ... - class BarrierStatus(java.lang.Enum['SafetyBarrier.BarrierStatus']): - AVAILABLE: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... - IMPAIRED: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... - BYPASSED: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... - OUT_OF_SERVICE: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... - UNKNOWN: typing.ClassVar['SafetyBarrier.BarrierStatus'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class BarrierStatus(java.lang.Enum["SafetyBarrier.BarrierStatus"]): + AVAILABLE: typing.ClassVar["SafetyBarrier.BarrierStatus"] = ... + IMPAIRED: typing.ClassVar["SafetyBarrier.BarrierStatus"] = ... + BYPASSED: typing.ClassVar["SafetyBarrier.BarrierStatus"] = ... + OUT_OF_SERVICE: typing.ClassVar["SafetyBarrier.BarrierStatus"] = ... + UNKNOWN: typing.ClassVar["SafetyBarrier.BarrierStatus"] = ... + _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: ... + 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]) -> 'SafetyBarrier.BarrierStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier.BarrierStatus": ... @staticmethod - def values() -> typing.MutableSequence['SafetyBarrier.BarrierStatus']: ... - class BarrierType(java.lang.Enum['SafetyBarrier.BarrierType']): - PREVENTION: typing.ClassVar['SafetyBarrier.BarrierType'] = ... - MITIGATION: typing.ClassVar['SafetyBarrier.BarrierType'] = ... - BOTH: typing.ClassVar['SafetyBarrier.BarrierType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["SafetyBarrier.BarrierStatus"]: ... + + class BarrierType(java.lang.Enum["SafetyBarrier.BarrierType"]): + PREVENTION: typing.ClassVar["SafetyBarrier.BarrierType"] = ... + MITIGATION: typing.ClassVar["SafetyBarrier.BarrierType"] = ... + BOTH: typing.ClassVar["SafetyBarrier.BarrierType"] = ... + _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: ... + 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]) -> 'SafetyBarrier.BarrierType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyBarrier.BarrierType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyBarrier.BarrierType']: ... + def values() -> typing.MutableSequence["SafetyBarrier.BarrierType"]: ... class SafetyCriticalElement(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addBarrier(self, safetyBarrier: SafetyBarrier) -> 'SafetyCriticalElement': ... - def addEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... - def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetyCriticalElement': ... + def addBarrier(self, safetyBarrier: SafetyBarrier) -> "SafetyCriticalElement": ... + def addEquipmentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement": ... + def addEvidence( + self, documentEvidence: DocumentEvidence + ) -> "SafetyCriticalElement": ... def getAvailableBarrierCount(self) -> int: ... - def getBarrier(self, string: typing.Union[java.lang.String, str]) -> SafetyBarrier: ... + def getBarrier( + self, string: typing.Union[java.lang.String, str] + ) -> SafetyBarrier: ... def getBarriers(self) -> java.util.List[SafetyBarrier]: ... def getEquipmentTags(self) -> java.util.List[java.lang.String]: ... def getEvidence(self) -> java.util.List[DocumentEvidence]: ... @@ -177,57 +270,79 @@ class SafetyCriticalElement(java.io.Serializable): def getName(self) -> java.lang.String: ... def getOwner(self) -> java.lang.String: ... def getTag(self) -> java.lang.String: ... - def getType(self) -> 'SafetyCriticalElement.ElementType': ... + def getType(self) -> "SafetyCriticalElement.ElementType": ... def hasImpairedBarrier(self) -> bool: ... def hasTraceableEvidence(self) -> bool: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... - def setOwner(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... - def setTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetyCriticalElement': ... - def setType(self, elementType: 'SafetyCriticalElement.ElementType') -> 'SafetyCriticalElement': ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement": ... + def setOwner( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement": ... + def setTag( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement": ... + def setType( + self, elementType: "SafetyCriticalElement.ElementType" + ) -> "SafetyCriticalElement": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def validate(self) -> java.util.List[java.lang.String]: ... - class ElementType(java.lang.Enum['SafetyCriticalElement.ElementType']): - PROCESS_EQUIPMENT: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - INSTRUMENTED_FUNCTION: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - FIRE_PROTECTION: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - STRUCTURAL: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - UTILITY: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - OTHER: typing.ClassVar['SafetyCriticalElement.ElementType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ElementType(java.lang.Enum["SafetyCriticalElement.ElementType"]): + PROCESS_EQUIPMENT: typing.ClassVar["SafetyCriticalElement.ElementType"] = ... + INSTRUMENTED_FUNCTION: typing.ClassVar["SafetyCriticalElement.ElementType"] = ( + ... + ) + FIRE_PROTECTION: typing.ClassVar["SafetyCriticalElement.ElementType"] = ... + STRUCTURAL: typing.ClassVar["SafetyCriticalElement.ElementType"] = ... + UTILITY: typing.ClassVar["SafetyCriticalElement.ElementType"] = ... + OTHER: typing.ClassVar["SafetyCriticalElement.ElementType"] = ... + _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: ... + 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]) -> 'SafetyCriticalElement.ElementType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyCriticalElement.ElementType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyCriticalElement.ElementType']: ... + def values() -> typing.MutableSequence["SafetyCriticalElement.ElementType"]: ... -class SafetySystemCategory(java.lang.Enum['SafetySystemCategory']): - FIREWATER_DELUGE: typing.ClassVar['SafetySystemCategory'] = ... - FIRE_GAS_DETECTION: typing.ClassVar['SafetySystemCategory'] = ... - PASSIVE_FIRE_PROTECTION: typing.ClassVar['SafetySystemCategory'] = ... - PSD: typing.ClassVar['SafetySystemCategory'] = ... - ESD_BLOWDOWN: typing.ClassVar['SafetySystemCategory'] = ... - RELIEF_FLARE: typing.ClassVar['SafetySystemCategory'] = ... - STRUCTURAL_FIREWALL: typing.ClassVar['SafetySystemCategory'] = ... - HIPPS: typing.ClassVar['SafetySystemCategory'] = ... - UNKNOWN: typing.ClassVar['SafetySystemCategory'] = ... +class SafetySystemCategory(java.lang.Enum["SafetySystemCategory"]): + FIREWATER_DELUGE: typing.ClassVar["SafetySystemCategory"] = ... + FIRE_GAS_DETECTION: typing.ClassVar["SafetySystemCategory"] = ... + PASSIVE_FIRE_PROTECTION: typing.ClassVar["SafetySystemCategory"] = ... + PSD: typing.ClassVar["SafetySystemCategory"] = ... + ESD_BLOWDOWN: typing.ClassVar["SafetySystemCategory"] = ... + RELIEF_FLARE: typing.ClassVar["SafetySystemCategory"] = ... + STRUCTURAL_FIREWALL: typing.ClassVar["SafetySystemCategory"] = ... + HIPPS: typing.ClassVar["SafetySystemCategory"] = ... + UNKNOWN: typing.ClassVar["SafetySystemCategory"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SafetySystemCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetySystemCategory": ... @staticmethod - def values() -> typing.MutableSequence['SafetySystemCategory']: ... + def values() -> typing.MutableSequence["SafetySystemCategory"]: ... class SafetySystemDemand(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addEvidence(self, documentEvidence: DocumentEvidence) -> 'SafetySystemDemand': ... + def addEvidence( + self, documentEvidence: DocumentEvidence + ) -> "SafetySystemDemand": ... def getActualAvailability(self) -> float: ... def getActualEffectiveness(self) -> float: ... def getActualPfd(self) -> float: ... @@ -246,91 +361,168 @@ class SafetySystemDemand(java.io.Serializable): def getRequiredResponseTimeSeconds(self) -> float: ... def getScenario(self) -> java.lang.String: ... def matches(self, safetyBarrier: SafetyBarrier) -> bool: ... - def setActualAvailability(self, double: float) -> 'SafetySystemDemand': ... - def setActualEffectiveness(self, double: float) -> 'SafetySystemDemand': ... - def setActualPfd(self, double: float) -> 'SafetySystemDemand': ... - def setActualResponseTimeSeconds(self, double: float) -> 'SafetySystemDemand': ... - def setBarrierId(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... - def setCapacityValue(self, double: float) -> 'SafetySystemDemand': ... - def setCategory(self, safetySystemCategory: SafetySystemCategory) -> 'SafetySystemDemand': ... - def setDemandUnit(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... - def setDemandValue(self, double: float) -> 'SafetySystemDemand': ... - def setEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... - def setRequiredAvailability(self, double: float) -> 'SafetySystemDemand': ... - def setRequiredEffectiveness(self, double: float) -> 'SafetySystemDemand': ... - def setRequiredPfd(self, double: float) -> 'SafetySystemDemand': ... - def setRequiredResponseTimeSeconds(self, double: float) -> 'SafetySystemDemand': ... - def setScenario(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemDemand': ... + def setActualAvailability(self, double: float) -> "SafetySystemDemand": ... + def setActualEffectiveness(self, double: float) -> "SafetySystemDemand": ... + def setActualPfd(self, double: float) -> "SafetySystemDemand": ... + def setActualResponseTimeSeconds(self, double: float) -> "SafetySystemDemand": ... + def setBarrierId( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemDemand": ... + def setCapacityValue(self, double: float) -> "SafetySystemDemand": ... + def setCategory( + self, safetySystemCategory: SafetySystemCategory + ) -> "SafetySystemDemand": ... + def setDemandUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemDemand": ... + def setDemandValue(self, double: float) -> "SafetySystemDemand": ... + def setEquipmentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemDemand": ... + def setRequiredAvailability(self, double: float) -> "SafetySystemDemand": ... + def setRequiredEffectiveness(self, double: float) -> "SafetySystemDemand": ... + def setRequiredPfd(self, double: float) -> "SafetySystemDemand": ... + def setRequiredResponseTimeSeconds(self, double: float) -> "SafetySystemDemand": ... + def setScenario( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemDemand": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class SafetySystemPerformanceAnalyzer: def __init__(self, barrierRegister: BarrierRegister): ... - def addDemandCase(self, safetySystemDemand: SafetySystemDemand) -> 'SafetySystemPerformanceAnalyzer': ... - def addMeasurementDevice(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface) -> 'SafetySystemPerformanceAnalyzer': ... - def addMeasurementDevices(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'SafetySystemPerformanceAnalyzer': ... - def addQuantitativeSafetyInstrumentedFunction(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> 'SafetySystemPerformanceAnalyzer': ... - def addSafetyInstrumentedFunction(self, safetyInstrumentedFunction: jneqsim.process.logic.sis.SafetyInstrumentedFunction) -> 'SafetySystemPerformanceAnalyzer': ... - def analyze(self) -> 'SafetySystemPerformanceReport': ... + def addDemandCase( + self, safetySystemDemand: SafetySystemDemand + ) -> "SafetySystemPerformanceAnalyzer": ... + def addMeasurementDevice( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ) -> "SafetySystemPerformanceAnalyzer": ... + def addMeasurementDevices( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "SafetySystemPerformanceAnalyzer": ... + def addQuantitativeSafetyInstrumentedFunction( + self, + safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction, + ) -> "SafetySystemPerformanceAnalyzer": ... + def addSafetyInstrumentedFunction( + self, + safetyInstrumentedFunction: jneqsim.process.logic.sis.SafetyInstrumentedFunction, + ) -> "SafetySystemPerformanceAnalyzer": ... + def analyze(self) -> "SafetySystemPerformanceReport": ... class SafetySystemPerformanceReport(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAssessment(self, barrierAssessment: 'SafetySystemPerformanceReport.BarrierAssessment') -> 'SafetySystemPerformanceReport': ... - def countAssessments(self, verdict: 'SafetySystemPerformanceReport.Verdict') -> int: ... - def getAssessments(self) -> java.util.List['SafetySystemPerformanceReport.BarrierAssessment']: ... + def addAssessment( + self, barrierAssessment: "SafetySystemPerformanceReport.BarrierAssessment" + ) -> "SafetySystemPerformanceReport": ... + def countAssessments( + self, verdict: "SafetySystemPerformanceReport.Verdict" + ) -> int: ... + def getAssessments( + self, + ) -> java.util.List["SafetySystemPerformanceReport.BarrierAssessment"]: ... def getName(self) -> java.lang.String: ... - def getOverallVerdict(self) -> 'SafetySystemPerformanceReport.Verdict': ... + def getOverallVerdict(self) -> "SafetySystemPerformanceReport.Verdict": ... def getRegisterId(self) -> java.lang.String: ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport': ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BarrierAssessment(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addFinding(self, findingSeverity: 'SafetySystemPerformanceReport.FindingSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... - def addInstrumentTag(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... - def addMetric(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... - def addSafetyInstrumentedFunction(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def addFinding( + self, + findingSeverity: "SafetySystemPerformanceReport.FindingSeverity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... + def addInstrumentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... + def addMetric( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... + def addSafetyInstrumentedFunction( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... def getBarrierId(self) -> java.lang.String: ... def getBarrierName(self) -> java.lang.String: ... def getCategory(self) -> SafetySystemCategory: ... def getDemandId(self) -> java.lang.String: ... - def getFindings(self) -> java.util.List['SafetySystemPerformanceReport.Finding']: ... - def getVerdict(self) -> 'SafetySystemPerformanceReport.Verdict': ... - def setBarrierName(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... - def setCategory(self, safetySystemCategory: SafetySystemCategory) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... - def setDemandId(self, string: typing.Union[java.lang.String, str]) -> 'SafetySystemPerformanceReport.BarrierAssessment': ... + def getFindings( + self, + ) -> java.util.List["SafetySystemPerformanceReport.Finding"]: ... + def getVerdict(self) -> "SafetySystemPerformanceReport.Verdict": ... + def setBarrierName( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... + def setCategory( + self, safetySystemCategory: SafetySystemCategory + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... + def setDemandId( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.BarrierAssessment": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Finding(java.io.Serializable): - def __init__(self, findingSeverity: 'SafetySystemPerformanceReport.FindingSeverity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + findingSeverity: "SafetySystemPerformanceReport.FindingSeverity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... - def getSeverity(self) -> 'SafetySystemPerformanceReport.FindingSeverity': ... + def getSeverity(self) -> "SafetySystemPerformanceReport.FindingSeverity": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class FindingSeverity(java.lang.Enum['SafetySystemPerformanceReport.FindingSeverity']): - INFO: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... - WARNING: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... - FAIL: typing.ClassVar['SafetySystemPerformanceReport.FindingSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FindingSeverity( + java.lang.Enum["SafetySystemPerformanceReport.FindingSeverity"] + ): + INFO: typing.ClassVar["SafetySystemPerformanceReport.FindingSeverity"] = ... + WARNING: typing.ClassVar["SafetySystemPerformanceReport.FindingSeverity"] = ... + FAIL: typing.ClassVar["SafetySystemPerformanceReport.FindingSeverity"] = ... + _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: ... + 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]) -> 'SafetySystemPerformanceReport.FindingSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.FindingSeverity": ... @staticmethod - def values() -> typing.MutableSequence['SafetySystemPerformanceReport.FindingSeverity']: ... - class Verdict(java.lang.Enum['SafetySystemPerformanceReport.Verdict']): - PASS: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... - PASS_WITH_WARNINGS: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... - FAIL: typing.ClassVar['SafetySystemPerformanceReport.Verdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["SafetySystemPerformanceReport.FindingSeverity"] + ): ... + + class Verdict(java.lang.Enum["SafetySystemPerformanceReport.Verdict"]): + PASS: typing.ClassVar["SafetySystemPerformanceReport.Verdict"] = ... + PASS_WITH_WARNINGS: typing.ClassVar["SafetySystemPerformanceReport.Verdict"] = ( + ... + ) + FAIL: typing.ClassVar["SafetySystemPerformanceReport.Verdict"] = ... + _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: ... + 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]) -> 'SafetySystemPerformanceReport.Verdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetySystemPerformanceReport.Verdict": ... @staticmethod - def values() -> typing.MutableSequence['SafetySystemPerformanceReport.Verdict']: ... + def values() -> ( + typing.MutableSequence["SafetySystemPerformanceReport.Verdict"] + ): ... class StidBarrierRegisterDataSource: SCE_ARRAY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... @@ -345,11 +537,12 @@ class StidBarrierRegisterDataSource: class TR2237Templates: @staticmethod - def createNorsokS001Mapping() -> java.util.Map[java.lang.String, java.lang.String]: ... + def createNorsokS001Mapping() -> ( + java.util.Map[java.lang.String, java.lang.String] + ): ... @staticmethod def createOnshoreTemplate() -> BarrierRegister: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.barrier")``. diff --git a/src/jneqsim-stubs/process/safety/blowby/__init__.pyi b/src/jneqsim-stubs/process/safety/blowby/__init__.pyi index a60d4e2c..d62546df 100644 --- a/src/jneqsim-stubs/process/safety/blowby/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/blowby/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,37 +11,74 @@ import java.util import jneqsim.thermo.system import typing - - class GasBlowbyAnalyzer(java.io.Serializable): def __init__(self): ... - def analyze(self) -> 'GasBlowbyResult': ... - def setDischargeCoefficient(self, double: float) -> 'GasBlowbyAnalyzer': ... - def setDownstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setDownstreamReliefCapacity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'GasBlowbyAnalyzer': ... - def setMolarMass(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setRestrictionArea(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setRestrictionDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setSpecificHeatRatio(self, double: float) -> 'GasBlowbyAnalyzer': ... - def setUpstreamPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - def setUpstreamTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'GasBlowbyAnalyzer': ... - class BlowbyVerdict(java.lang.Enum['GasBlowbyAnalyzer.BlowbyVerdict']): - NO_RELIEF_DATA: typing.ClassVar['GasBlowbyAnalyzer.BlowbyVerdict'] = ... - RELIEF_ADEQUATE: typing.ClassVar['GasBlowbyAnalyzer.BlowbyVerdict'] = ... - RELIEF_INADEQUATE: typing.ClassVar['GasBlowbyAnalyzer.BlowbyVerdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def analyze(self) -> "GasBlowbyResult": ... + def setDischargeCoefficient(self, double: float) -> "GasBlowbyAnalyzer": ... + def setDownstreamPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setDownstreamReliefCapacity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setGas( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "GasBlowbyAnalyzer": ... + def setMolarMass( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setRestrictionArea( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setRestrictionDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setSpecificHeatRatio(self, double: float) -> "GasBlowbyAnalyzer": ... + def setUpstreamPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + def setUpstreamTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer": ... + + class BlowbyVerdict(java.lang.Enum["GasBlowbyAnalyzer.BlowbyVerdict"]): + NO_RELIEF_DATA: typing.ClassVar["GasBlowbyAnalyzer.BlowbyVerdict"] = ... + RELIEF_ADEQUATE: typing.ClassVar["GasBlowbyAnalyzer.BlowbyVerdict"] = ... + RELIEF_INADEQUATE: typing.ClassVar["GasBlowbyAnalyzer.BlowbyVerdict"] = ... + _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: ... + 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]) -> 'GasBlowbyAnalyzer.BlowbyVerdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasBlowbyAnalyzer.BlowbyVerdict": ... @staticmethod - def values() -> typing.MutableSequence['GasBlowbyAnalyzer.BlowbyVerdict']: ... + def values() -> typing.MutableSequence["GasBlowbyAnalyzer.BlowbyVerdict"]: ... class GasBlowbyResult(java.io.Serializable): - def __init__(self, boolean: bool, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean2: bool, double10: float, boolean3: bool, blowbyVerdict: GasBlowbyAnalyzer.BlowbyVerdict, list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + boolean: bool, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean2: bool, + double10: float, + boolean3: bool, + blowbyVerdict: GasBlowbyAnalyzer.BlowbyVerdict, + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getActualPressureRatio(self) -> float: ... def getBlowbyMassRateKgPerHr(self) -> float: ... def getBlowbyStdVolRateSm3PerHr(self) -> float: ... @@ -59,7 +96,6 @@ class GasBlowbyResult(java.io.Serializable): def isReliefDataProvided(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.blowby")``. diff --git a/src/jneqsim-stubs/process/safety/cfd/__init__.pyi b/src/jneqsim-stubs/process/safety/cfd/__init__.pyi index 8e98e8be..77e58fe2 100644 --- a/src/jneqsim-stubs/process/safety/cfd/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/cfd/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,14 @@ import java.util import jneqsim.process.safety.scenario import typing - - class CfdSourceTermCase(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @staticmethod - def builder() -> 'CfdSourceTermCase.Builder': ... + def builder() -> "CfdSourceTermCase.Builder": ... @staticmethod - def fromScenario(releaseDispersionScenario: jneqsim.process.safety.scenario.ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario) -> 'CfdSourceTermCase': ... + def fromScenario( + releaseDispersionScenario: jneqsim.process.safety.scenario.ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario, + ) -> "CfdSourceTermCase": ... def getCaseId(self) -> java.lang.String: ... def getQualityWarnings(self) -> java.util.List[java.lang.String]: ... def getRelease(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -27,23 +27,93 @@ class CfdSourceTermCase(java.io.Serializable): def getSourceTerm(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def validate(self) -> 'CfdSourceTermCase.ValidationResult': ... + def validate(self) -> "CfdSourceTermCase.ValidationResult": ... + class Builder: def __init__(self): ... - def ambient(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def build(self) -> 'CfdSourceTermCase': ... - def caseId(self, string: typing.Union[java.lang.String, str]) -> 'CfdSourceTermCase.Builder': ... - def cfdHints(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def consequenceBranches(self, list: java.util.List[typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]]) -> 'CfdSourceTermCase.Builder': ... - def context(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def dispersionScreening(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def fluid(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def inventory(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def provenance(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def release(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'CfdSourceTermCase.Builder': ... - def sourceTerm(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'CfdSourceTermCase.Builder': ... - def warnings(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'CfdSourceTermCase.Builder': ... + def ambient( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def build(self) -> "CfdSourceTermCase": ... + def caseId( + self, string: typing.Union[java.lang.String, str] + ) -> "CfdSourceTermCase.Builder": ... + def cfdHints( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def consequenceBranches( + self, + list: java.util.List[ + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ] + ], + ) -> "CfdSourceTermCase.Builder": ... + def context( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def dispersionScreening( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def fluid( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def inventory( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def provenance( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def release( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def scenarioName( + self, string: typing.Union[java.lang.String, str] + ) -> "CfdSourceTermCase.Builder": ... + def sourceTerm( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "CfdSourceTermCase.Builder": ... + def warnings( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "CfdSourceTermCase.Builder": ... + class ValidationResult(java.io.Serializable): def getErrors(self) -> java.util.List[java.lang.String]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... @@ -52,12 +122,23 @@ class CfdSourceTermCase(java.io.Serializable): class CfdSourceTermExporter(java.io.Serializable): def __init__(self): ... - def exportJson(self, cfdSourceTermCase: CfdSourceTermCase, string: typing.Union[java.lang.String, str]) -> None: ... - def exportManifest(self, list: java.util.List[CfdSourceTermCase], string: typing.Union[java.lang.String, str]) -> None: ... - def exportOpenFoamSkeleton(self, cfdSourceTermCase: CfdSourceTermCase, string: typing.Union[java.lang.String, str]) -> None: ... + def exportJson( + self, + cfdSourceTermCase: CfdSourceTermCase, + string: typing.Union[java.lang.String, str], + ) -> None: ... + def exportManifest( + self, + list: java.util.List[CfdSourceTermCase], + string: typing.Union[java.lang.String, str], + ) -> None: ... + def exportOpenFoamSkeleton( + self, + cfdSourceTermCase: CfdSourceTermCase, + string: typing.Union[java.lang.String, str], + ) -> None: ... def toJson(self, cfdSourceTermCase: CfdSourceTermCase) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.cfd")``. diff --git a/src/jneqsim-stubs/process/safety/compliance/__init__.pyi b/src/jneqsim-stubs/process/safety/compliance/__init__.pyi index 51250b4b..4b229cd4 100644 --- a/src/jneqsim-stubs/process/safety/compliance/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/compliance/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,8 +15,6 @@ import jneqsim.process.safety.risk.sis.nog070 import jneqsim.process.safety.rupture import typing - - class NorsokP002ComplianceChecker(java.io.Serializable): DEFAULT_FLARE_MACH_LIMIT: typing.ClassVar[float] = ... DEFAULT_BLOWDOWN_RHO_V2_LIMIT: typing.ClassVar[float] = ... @@ -25,52 +23,93 @@ class NorsokP002ComplianceChecker(java.io.Serializable): DEFAULT_CARRY_OVER_LIMIT: typing.ClassVar[float] = ... def __init__(self): ... @typing.overload - def checkBlowdownRhoV2(self, string: typing.Union[java.lang.String, str], double: float) -> 'NorsokP002ComplianceChecker': ... + def checkBlowdownRhoV2( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkBlowdownRhoV2(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'NorsokP002ComplianceChecker': ... + def checkBlowdownRhoV2( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkErosionalVelocity(self, string: typing.Union[java.lang.String, str], double: float) -> 'NorsokP002ComplianceChecker': ... + def checkErosionalVelocity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkErosionalVelocity(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'NorsokP002ComplianceChecker': ... + def checkErosionalVelocity( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkFlareLineMach(self, string: typing.Union[java.lang.String, str], double: float) -> 'NorsokP002ComplianceChecker': ... + def checkFlareLineMach( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkFlareLineMach(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'NorsokP002ComplianceChecker': ... + def checkFlareLineMach( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkLiquidCarryOver(self, string: typing.Union[java.lang.String, str], double: float) -> 'NorsokP002ComplianceChecker': ... + def checkLiquidCarryOver( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkLiquidCarryOver(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'NorsokP002ComplianceChecker': ... + def checkLiquidCarryOver( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkVentGasVelocity(self, string: typing.Union[java.lang.String, str], double: float) -> 'NorsokP002ComplianceChecker': ... + def checkVentGasVelocity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "NorsokP002ComplianceChecker": ... @typing.overload - def checkVentGasVelocity(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'NorsokP002ComplianceChecker': ... + def checkVentGasVelocity( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "NorsokP002ComplianceChecker": ... def countNonCompliant(self) -> int: ... - def getFindings(self) -> java.util.List['P002Finding']: ... + def getFindings(self) -> java.util.List["P002Finding"]: ... def isCompliant(self) -> bool: ... - def recordDepressurisationValve(self, string: typing.Union[java.lang.String, str], boolean: bool, string2: typing.Union[java.lang.String, str]) -> 'NorsokP002ComplianceChecker': ... - def recordDrainSlope(self, string: typing.Union[java.lang.String, str], boolean: bool, string2: typing.Union[java.lang.String, str]) -> 'NorsokP002ComplianceChecker': ... + def recordDepressurisationValve( + self, + string: typing.Union[java.lang.String, str], + boolean: bool, + string2: typing.Union[java.lang.String, str], + ) -> "NorsokP002ComplianceChecker": ... + def recordDrainSlope( + self, + string: typing.Union[java.lang.String, str], + boolean: bool, + string2: typing.Union[java.lang.String, str], + ) -> "NorsokP002ComplianceChecker": ... def toJson(self) -> java.lang.String: ... -class P002Criterion(java.lang.Enum['P002Criterion']): - FLARE_LINE_MACH_07: typing.ClassVar['P002Criterion'] = ... - BLOWDOWN_RHO_V2: typing.ClassVar['P002Criterion'] = ... - EROSIONAL_VELOCITY: typing.ClassVar['P002Criterion'] = ... - VENT_GAS_VELOCITY: typing.ClassVar['P002Criterion'] = ... - LIQUID_CARRY_OVER: typing.ClassVar['P002Criterion'] = ... - DEPRESSURISATION_VALVE_SIZE: typing.ClassVar['P002Criterion'] = ... - DRAIN_SLOPE_CAPACITY: typing.ClassVar['P002Criterion'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class P002Criterion(java.lang.Enum["P002Criterion"]): + FLARE_LINE_MACH_07: typing.ClassVar["P002Criterion"] = ... + BLOWDOWN_RHO_V2: typing.ClassVar["P002Criterion"] = ... + EROSIONAL_VELOCITY: typing.ClassVar["P002Criterion"] = ... + VENT_GAS_VELOCITY: typing.ClassVar["P002Criterion"] = ... + LIQUID_CARRY_OVER: typing.ClassVar["P002Criterion"] = ... + DEPRESSURISATION_VALVE_SIZE: typing.ClassVar["P002Criterion"] = ... + DRAIN_SLOPE_CAPACITY: typing.ClassVar["P002Criterion"] = ... + _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: ... + 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]) -> 'P002Criterion': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "P002Criterion": ... @staticmethod - def values() -> typing.MutableSequence['P002Criterion']: ... + def values() -> typing.MutableSequence["P002Criterion"]: ... class P002Finding(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], p002Criterion: P002Criterion, boolean: bool, double: float, double2: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + p002Criterion: P002Criterion, + boolean: bool, + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getCriterion(self) -> P002Criterion: ... def getEquipmentName(self) -> java.lang.String: ... def getLimit(self) -> float: ... @@ -81,81 +120,142 @@ class P002Finding(java.io.Serializable): class StandardsComplianceReport(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addRequirement(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'StandardsComplianceReport': ... + def addRequirement( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "StandardsComplianceReport": ... def compliancePercent(self) -> float: ... - def getRequirements(self) -> java.util.List['StandardsComplianceReport.Requirement']: ... - def loadAPI14C(self) -> 'StandardsComplianceReport': ... - def loadIEC61511(self) -> 'StandardsComplianceReport': ... - def loadNORSOKP002(self) -> 'StandardsComplianceReport': ... - def loadNORSOKS001(self) -> 'StandardsComplianceReport': ... - def loadNORSOKS001Clause10(self) -> 'StandardsComplianceReport': ... - def loadSTS0131(self) -> 'StandardsComplianceReport': ... - def loadTR1965(self) -> 'StandardsComplianceReport': ... - def loadTR2237(self) -> 'StandardsComplianceReport': ... + def getRequirements( + self, + ) -> java.util.List["StandardsComplianceReport.Requirement"]: ... + def loadAPI14C(self) -> "StandardsComplianceReport": ... + def loadIEC61511(self) -> "StandardsComplianceReport": ... + def loadNORSOKP002(self) -> "StandardsComplianceReport": ... + def loadNORSOKS001(self) -> "StandardsComplianceReport": ... + def loadNORSOKS001Clause10(self) -> "StandardsComplianceReport": ... + def loadSTS0131(self) -> "StandardsComplianceReport": ... + def loadTR1965(self) -> "StandardsComplianceReport": ... + def loadTR2237(self) -> "StandardsComplianceReport": ... def report(self) -> java.lang.String: ... - def setStatus(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], status: 'StandardsComplianceReport.Status', string3: typing.Union[java.lang.String, str]) -> 'StandardsComplianceReport': ... - def statusSummary(self) -> java.util.Map['StandardsComplianceReport.Status', int]: ... + def setStatus( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + status: "StandardsComplianceReport.Status", + string3: typing.Union[java.lang.String, str], + ) -> "StandardsComplianceReport": ... + def statusSummary( + self, + ) -> java.util.Map["StandardsComplianceReport.Status", int]: ... + class Requirement(java.io.Serializable): standard: java.lang.String = ... clause: java.lang.String = ... description: java.lang.String = ... - status: 'StandardsComplianceReport.Status' = ... + status: "StandardsComplianceReport.Status" = ... evidence: java.lang.String = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], status: 'StandardsComplianceReport.Status', string4: typing.Union[java.lang.String, str]): ... - class Status(java.lang.Enum['StandardsComplianceReport.Status']): - COMPLIANT: typing.ClassVar['StandardsComplianceReport.Status'] = ... - PARTIAL: typing.ClassVar['StandardsComplianceReport.Status'] = ... - NON_COMPLIANT: typing.ClassVar['StandardsComplianceReport.Status'] = ... - NOT_ASSESSED: typing.ClassVar['StandardsComplianceReport.Status'] = ... - NOT_APPLICABLE: typing.ClassVar['StandardsComplianceReport.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + status: "StandardsComplianceReport.Status", + string4: typing.Union[java.lang.String, str], + ): ... + + class Status(java.lang.Enum["StandardsComplianceReport.Status"]): + COMPLIANT: typing.ClassVar["StandardsComplianceReport.Status"] = ... + PARTIAL: typing.ClassVar["StandardsComplianceReport.Status"] = ... + NON_COMPLIANT: typing.ClassVar["StandardsComplianceReport.Status"] = ... + NOT_ASSESSED: typing.ClassVar["StandardsComplianceReport.Status"] = ... + NOT_APPLICABLE: typing.ClassVar["StandardsComplianceReport.Status"] = ... + _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: ... + 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]) -> 'StandardsComplianceReport.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "StandardsComplianceReport.Status": ... @staticmethod - def values() -> typing.MutableSequence['StandardsComplianceReport.Status']: ... + def values() -> typing.MutableSequence["StandardsComplianceReport.Status"]: ... class StandardsDesignReview(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, norsokP002LineSizingValidator: jneqsim.process.mechanicaldesign.pipeline.NorsokP002LineSizingValidator): ... - def review(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> StandardsComplianceReport: ... + def __init__( + self, + norsokP002LineSizingValidator: jneqsim.process.mechanicaldesign.pipeline.NorsokP002LineSizingValidator, + ): ... + def review( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> StandardsComplianceReport: ... class Sts0131Gate(java.io.Serializable): def __init__(self): ... - def addCustom(self, string: typing.Union[java.lang.String, str], boolean: bool, string2: typing.Union[java.lang.String, str]) -> 'Sts0131Gate': ... - def addDepressurisation(self, sTS0131AcceptanceResult: jneqsim.process.safety.depressurization.STS0131AcceptanceResult) -> 'Sts0131Gate': ... - def addMdmt(self, double: float, double2: float) -> 'Sts0131Gate': ... - def addPsvSizingMargin(self, double: float, double2: float, double3: float) -> 'Sts0131Gate': ... - def addSil(self, nog070SilDetermination: jneqsim.process.safety.risk.sis.nog070.Nog070SilDetermination) -> 'Sts0131Gate': ... - def addTrappedLiquidRupture(self, trappedLiquidFireRuptureResult: jneqsim.process.safety.rupture.TrappedLiquidFireRuptureResult) -> 'Sts0131Gate': ... + def addCustom( + self, + string: typing.Union[java.lang.String, str], + boolean: bool, + string2: typing.Union[java.lang.String, str], + ) -> "Sts0131Gate": ... + def addDepressurisation( + self, + sTS0131AcceptanceResult: jneqsim.process.safety.depressurization.STS0131AcceptanceResult, + ) -> "Sts0131Gate": ... + def addMdmt(self, double: float, double2: float) -> "Sts0131Gate": ... + def addPsvSizingMargin( + self, double: float, double2: float, double3: float + ) -> "Sts0131Gate": ... + def addSil( + self, + nog070SilDetermination: jneqsim.process.safety.risk.sis.nog070.Nog070SilDetermination, + ) -> "Sts0131Gate": ... + def addTrappedLiquidRupture( + self, + trappedLiquidFireRuptureResult: jneqsim.process.safety.rupture.TrappedLiquidFireRuptureResult, + ) -> "Sts0131Gate": ... def countFailures(self) -> int: ... - def getFindings(self) -> java.util.List['Sts0131Gate.Finding']: ... + def getFindings(self) -> java.util.List["Sts0131Gate.Finding"]: ... def isAcceptable(self) -> bool: ... def toJson(self) -> java.lang.String: ... + class Finding(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], severity: 'Sts0131Gate.Severity', string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + severity: "Sts0131Gate.Severity", + string2: typing.Union[java.lang.String, str], + ): ... def getCheckName(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'Sts0131Gate.Severity': ... - class Severity(java.lang.Enum['Sts0131Gate.Severity']): - PASS: typing.ClassVar['Sts0131Gate.Severity'] = ... - WARNING: typing.ClassVar['Sts0131Gate.Severity'] = ... - FAIL: typing.ClassVar['Sts0131Gate.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getSeverity(self) -> "Sts0131Gate.Severity": ... + + class Severity(java.lang.Enum["Sts0131Gate.Severity"]): + PASS: typing.ClassVar["Sts0131Gate.Severity"] = ... + WARNING: typing.ClassVar["Sts0131Gate.Severity"] = ... + FAIL: typing.ClassVar["Sts0131Gate.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: ... + 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]) -> 'Sts0131Gate.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Sts0131Gate.Severity": ... @staticmethod - def values() -> typing.MutableSequence['Sts0131Gate.Severity']: ... - + def values() -> typing.MutableSequence["Sts0131Gate.Severity"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.compliance")``. diff --git a/src/jneqsim-stubs/process/safety/depressurization/__init__.pyi b/src/jneqsim-stubs/process/safety/depressurization/__init__.pyi index bc62ef35..52ab8705 100644 --- a/src/jneqsim-stubs/process/safety/depressurization/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/depressurization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,15 +13,20 @@ import jneqsim.process.util.fire import jneqsim.thermo.system import typing - - class BlockedOutletOverpressureAnalyzer(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - def run(self) -> 'BlockedOutletOverpressureAnalyzer.BlockedOutletResult': ... - def setInletConditions(self, double: float, double2: float, double3: float) -> 'BlockedOutletOverpressureAnalyzer': ... - def setMaxTime(self, double: float) -> 'BlockedOutletOverpressureAnalyzer': ... - def setReliefSetPressure(self, double: float) -> 'BlockedOutletOverpressureAnalyzer': ... - def setTimeStep(self, double: float) -> 'BlockedOutletOverpressureAnalyzer': ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + def run(self) -> "BlockedOutletOverpressureAnalyzer.BlockedOutletResult": ... + def setInletConditions( + self, double: float, double2: float, double3: float + ) -> "BlockedOutletOverpressureAnalyzer": ... + def setMaxTime(self, double: float) -> "BlockedOutletOverpressureAnalyzer": ... + def setReliefSetPressure( + self, double: float + ) -> "BlockedOutletOverpressureAnalyzer": ... + def setTimeStep(self, double: float) -> "BlockedOutletOverpressureAnalyzer": ... + class BlockedOutletResult(java.io.Serializable): reliefSetPressureBara: float = ... timeToReliefSetSeconds: float = ... @@ -37,18 +42,32 @@ class BlockedOutletOverpressureAnalyzer(java.io.Serializable): def toString(self) -> java.lang.String: ... class DepressurizationSimulator(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float): ... - def run(self) -> 'DepressurizationSimulator.DepressurizationResult': ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + ): ... + def run(self) -> "DepressurizationSimulator.DepressurizationResult": ... @typing.overload - def setFireExposure(self, double: float, double2: float, double3: float, double4: float) -> 'DepressurizationSimulator': ... + def setFireExposure( + self, double: float, double2: float, double3: float, double4: float + ) -> "DepressurizationSimulator": ... @typing.overload - def setFireExposure(self, firePreset: jneqsim.process.util.fire.FirePreset, double: float) -> 'DepressurizationSimulator': ... - def setFireHeatInput(self, double: float) -> 'DepressurizationSimulator': ... - def setFireHeatInputToWall(self, boolean: bool) -> 'DepressurizationSimulator': ... - def setMaxTime(self, double: float) -> 'DepressurizationSimulator': ... - def setStopPressure(self, double: float) -> 'DepressurizationSimulator': ... - def setTimeStep(self, double: float) -> 'DepressurizationSimulator': ... - def setWall(self, double: float, double2: float, double3: float, double4: float) -> 'DepressurizationSimulator': ... + def setFireExposure( + self, firePreset: jneqsim.process.util.fire.FirePreset, double: float + ) -> "DepressurizationSimulator": ... + def setFireHeatInput(self, double: float) -> "DepressurizationSimulator": ... + def setFireHeatInputToWall(self, boolean: bool) -> "DepressurizationSimulator": ... + def setMaxTime(self, double: float) -> "DepressurizationSimulator": ... + def setStopPressure(self, double: float) -> "DepressurizationSimulator": ... + def setTimeStep(self, double: float) -> "DepressurizationSimulator": ... + def setWall( + self, double: float, double2: float, double3: float, double4: float + ) -> "DepressurizationSimulator": ... + class DepressurizationResult(java.io.Serializable): initialPressureBara: float = ... fireHeatInputW: float = ... @@ -72,14 +91,20 @@ class DepressurizationSimulator(java.io.Serializable): pressureMonotonicNonIncreasing: bool = ... massMonotonicNonIncreasing: bool = ... def __init__(self): ... - def evaluateSTS0131(self, sTS0131AcceptanceCriteria: 'STS0131AcceptanceCriteria') -> 'STS0131AcceptanceResult': ... + def evaluateSTS0131( + self, sTS0131AcceptanceCriteria: "STS0131AcceptanceCriteria" + ) -> "STS0131AcceptanceResult": ... def meetsMDMT(self, double: float) -> bool: ... def summary(self) -> java.lang.String: ... class DynamicBlowdownFlareStudyDataSource(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def getAllEvidenceReferences(self) -> java.util.List[jneqsim.process.safety.rupture.SafetyEvidenceReference]: ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def getAllEvidenceReferences( + self, + ) -> java.util.List[jneqsim.process.safety.rupture.SafetyEvidenceReference]: ... def getFlareDesignHeatDutyW(self) -> float: ... def getFlareDesignMassFlowKgPerS(self) -> float: ... def getFlareDesignMolarFlowMolePerS(self) -> float: ... @@ -91,23 +116,33 @@ class DynamicBlowdownFlareStudyDataSource(java.io.Serializable): def getHeaderMolarMassKgPerMol(self) -> float: ... def getHeaderPressureBara(self) -> float: ... def getHeaderTemperatureK(self) -> float: ... - def getLineEquipmentListEvidence(self) -> 'LineEquipmentListEvidence': ... + def getLineEquipmentListEvidence(self) -> "LineEquipmentListEvidence": ... def getMaxAllowableHeaderMach(self) -> float: ... - def getPidTopologyEvidence(self) -> jneqsim.process.safety.rupture.PidTopologyEvidence: ... - def getSources(self) -> java.util.List['DynamicBlowdownFlareStudyDataSource.BlowdownSource']: ... + def getPidTopologyEvidence( + self, + ) -> jneqsim.process.safety.rupture.PidTopologyEvidence: ... + def getSources( + self, + ) -> java.util.List["DynamicBlowdownFlareStudyDataSource.BlowdownSource"]: ... def getStudyId(self) -> java.lang.String: ... def isStandardsReviewed(self) -> bool: ... def readiness(self) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BlowdownSource(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... + def builder( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... def getBackPressureBara(self) -> float: ... def getDischargeCoefficient(self) -> float: ... def getEffectiveFireHeatInputW(self) -> float: ... def getEquipmentTag(self) -> java.lang.String: ... - def getEvidenceReferences(self) -> java.util.List[jneqsim.process.safety.rupture.SafetyEvidenceReference]: ... + def getEvidenceReferences( + self, + ) -> java.util.List[jneqsim.process.safety.rupture.SafetyEvidenceReference]: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getOrificeDiameterM(self) -> float: ... def getPsvOverpressureFraction(self) -> float: ... @@ -124,82 +159,214 @@ class DynamicBlowdownFlareStudyDataSource(java.io.Serializable): def isBalancedBellowsPsv(self) -> bool: ... def isRuptureDiskInstalled(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def addAssumption(self, string: typing.Union[java.lang.String, str]) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addFireScenarioEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addFlareEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addGap(self, string: typing.Union[java.lang.String, str]) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addPipingSpecificationEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addProcessEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addReliefValveEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addSource(self, blowdownSource: 'DynamicBlowdownFlareStudyDataSource.BlowdownSource') -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def addSourceDocumentEvidence(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def build(self) -> 'DynamicBlowdownFlareStudyDataSource': ... - def fireCaseReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def flareDesignCapacity(self, double: float, double2: float, double3: float) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def flareGeometry(self, double: float, double2: float, double3: float) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def flareHeader(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def flareSystemBasisReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def humanReviewRequired(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def lineEquipmentListEvidence(self, lineEquipmentListEvidence: 'LineEquipmentListEvidence') -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def lineEquipmentListsReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def maxAllowableHeaderMach(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def pidTopologyEvidence(self, pidTopologyEvidence: jneqsim.process.safety.rupture.PidTopologyEvidence) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def pidTopologyVerified(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def pipingSpecificationRowsReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def psvBasisReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def sourceDiagramsReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def standardsReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def valveSizingBasisReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... - def vesselInventoryReviewed(self, boolean: bool) -> 'DynamicBlowdownFlareStudyDataSource.Builder': ... + def addAssumption( + self, string: typing.Union[java.lang.String, str] + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addFireScenarioEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addFlareEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addGap( + self, string: typing.Union[java.lang.String, str] + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addPipingSpecificationEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addProcessEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addReliefValveEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addSource( + self, blowdownSource: "DynamicBlowdownFlareStudyDataSource.BlowdownSource" + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def addSourceDocumentEvidence( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def build(self) -> "DynamicBlowdownFlareStudyDataSource": ... + def fireCaseReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def flareDesignCapacity( + self, double: float, double2: float, double3: float + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def flareGeometry( + self, double: float, double2: float, double3: float + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def flareHeader( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def flareSystemBasisReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def humanReviewRequired( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def lineEquipmentListEvidence( + self, lineEquipmentListEvidence: "LineEquipmentListEvidence" + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def lineEquipmentListsReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def maxAllowableHeaderMach( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def pidTopologyEvidence( + self, + pidTopologyEvidence: jneqsim.process.safety.rupture.PidTopologyEvidence, + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def pidTopologyVerified( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def pipingSpecificationRowsReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def psvBasisReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def sourceDiagramsReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def standardsReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def valveSizingBasisReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + def vesselInventoryReviewed( + self, boolean: bool + ) -> "DynamicBlowdownFlareStudyDataSource.Builder": ... + class SourceBuilder: - def api521FireCase(self, double: float, boolean: bool, boolean2: bool) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def backPressureBara(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def build(self) -> 'DynamicBlowdownFlareStudyDataSource.BlowdownSource': ... - def dischargeCoefficient(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def equipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def evidenceReference(self, safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def fireHeatInputW(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def orificeDiameterM(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def psvBasis(self, double: float, double2: float, boolean: bool, boolean2: bool) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def stopPressureBara(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def vesselVolumeM3(self, double: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... - def wallModel(self, double: float, double2: float, double3: float, double4: float) -> 'DynamicBlowdownFlareStudyDataSource.SourceBuilder': ... + def api521FireCase( + self, double: float, boolean: bool, boolean2: bool + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def backPressureBara( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def build(self) -> "DynamicBlowdownFlareStudyDataSource.BlowdownSource": ... + def dischargeCoefficient( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def equipmentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def evidenceReference( + self, + safetyEvidenceReference: jneqsim.process.safety.rupture.SafetyEvidenceReference, + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def fireHeatInputW( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def orificeDiameterM( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def psvBasis( + self, double: float, double2: float, boolean: bool, boolean2: bool + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def stopPressureBara( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def vesselVolumeM3( + self, double: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... + def wallModel( + self, double: float, double2: float, double3: float, double4: float + ) -> "DynamicBlowdownFlareStudyDataSource.SourceBuilder": ... class DynamicBlowdownFlareStudyHandoff(java.io.Serializable): @staticmethod - def builder(dynamicBlowdownFlareStudyDataSource: DynamicBlowdownFlareStudyDataSource) -> 'DynamicBlowdownFlareStudyHandoff.Builder': ... - def getCalculationReadiness(self) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... + def builder( + dynamicBlowdownFlareStudyDataSource: DynamicBlowdownFlareStudyDataSource, + ) -> "DynamicBlowdownFlareStudyHandoff.Builder": ... + def getCalculationReadiness( + self, + ) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... def getFlareLoadHandoff(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getResult(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getStandardsReadiness(self) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... + def getStandardsReadiness( + self, + ) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def build(self) -> 'DynamicBlowdownFlareStudyHandoff': ... - def calculationReadiness(self, safetyStudyReadiness: jneqsim.process.safety.rupture.SafetyStudyReadiness) -> 'DynamicBlowdownFlareStudyHandoff.Builder': ... - def flareLoadHandoff(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'DynamicBlowdownFlareStudyHandoff.Builder': ... - def result(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'DynamicBlowdownFlareStudyHandoff.Builder': ... - def standardsReadiness(self, safetyStudyReadiness: jneqsim.process.safety.rupture.SafetyStudyReadiness) -> 'DynamicBlowdownFlareStudyHandoff.Builder': ... + def build(self) -> "DynamicBlowdownFlareStudyHandoff": ... + def calculationReadiness( + self, + safetyStudyReadiness: jneqsim.process.safety.rupture.SafetyStudyReadiness, + ) -> "DynamicBlowdownFlareStudyHandoff.Builder": ... + def flareLoadHandoff( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "DynamicBlowdownFlareStudyHandoff.Builder": ... + def result( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "DynamicBlowdownFlareStudyHandoff.Builder": ... + def standardsReadiness( + self, + safetyStudyReadiness: jneqsim.process.safety.rupture.SafetyStudyReadiness, + ) -> "DynamicBlowdownFlareStudyHandoff.Builder": ... class DynamicBlowdownFlareStudyRunner(java.io.Serializable): @staticmethod - def builder() -> 'DynamicBlowdownFlareStudyRunner.Builder': ... - def run(self, dynamicBlowdownFlareStudyDataSource: DynamicBlowdownFlareStudyDataSource) -> DynamicBlowdownFlareStudyHandoff: ... + def builder() -> "DynamicBlowdownFlareStudyRunner.Builder": ... + def run( + self, dynamicBlowdownFlareStudyDataSource: DynamicBlowdownFlareStudyDataSource + ) -> DynamicBlowdownFlareStudyHandoff: ... + class Builder: - def build(self) -> 'DynamicBlowdownFlareStudyRunner': ... - def maxTimeSeconds(self, double: float) -> 'DynamicBlowdownFlareStudyRunner.Builder': ... - def radiationThresholdWPerM2(self, double: float) -> 'DynamicBlowdownFlareStudyRunner.Builder': ... - def timeStepSeconds(self, double: float) -> 'DynamicBlowdownFlareStudyRunner.Builder': ... + def build(self) -> "DynamicBlowdownFlareStudyRunner": ... + def maxTimeSeconds( + self, double: float + ) -> "DynamicBlowdownFlareStudyRunner.Builder": ... + def radiationThresholdWPerM2( + self, double: float + ) -> "DynamicBlowdownFlareStudyRunner.Builder": ... + def timeStepSeconds( + self, double: float + ) -> "DynamicBlowdownFlareStudyRunner.Builder": ... class DynamicPsvSizingStudy(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float, double5: float): ... - def run(self) -> 'DynamicPsvSizingStudy.SizingComparison': ... - def setBlowdownFraction(self, double: float) -> 'DynamicPsvSizingStudy': ... - def setDischargeCoefficient(self, double: float) -> 'DynamicPsvSizingStudy': ... - def setLatentHeat(self, double: float) -> 'DynamicPsvSizingStudy': ... - def setMaxTime(self, double: float) -> 'DynamicPsvSizingStudy': ... - def setTimeStep(self, double: float) -> 'DynamicPsvSizingStudy': ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + def run(self) -> "DynamicPsvSizingStudy.SizingComparison": ... + def setBlowdownFraction(self, double: float) -> "DynamicPsvSizingStudy": ... + def setDischargeCoefficient(self, double: float) -> "DynamicPsvSizingStudy": ... + def setLatentHeat(self, double: float) -> "DynamicPsvSizingStudy": ... + def setMaxTime(self, double: float) -> "DynamicPsvSizingStudy": ... + def setTimeStep(self, double: float) -> "DynamicPsvSizingStudy": ... + class SizingComparison(java.io.Serializable): steadyRequiredAreaM2: float = ... dynamicRequiredAreaM2: float = ... @@ -211,62 +378,151 @@ class DynamicPsvSizingStudy(java.io.Serializable): class LineEquipmentListEvidence(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'LineEquipmentListEvidence.Builder': ... - def getEquipmentItems(self) -> java.util.List['LineEquipmentListEvidence.EquipmentItem']: ... - def getLineItems(self) -> java.util.List['LineEquipmentListEvidence.LineItem']: ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "LineEquipmentListEvidence.Builder": ... + def getEquipmentItems( + self, + ) -> java.util.List["LineEquipmentListEvidence.EquipmentItem"]: ... + def getLineItems(self) -> java.util.List["LineEquipmentListEvidence.LineItem"]: ... def isSimulationReady(self) -> bool: ... def readiness(self) -> jneqsim.process.safety.rupture.SafetyStudyReadiness: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def addEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'LineEquipmentListEvidence.Builder': ... - def addLine(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, double4: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]) -> 'LineEquipmentListEvidence.Builder': ... - def addMissingField(self, string: typing.Union[java.lang.String, str]) -> 'LineEquipmentListEvidence.Builder': ... - def build(self) -> 'LineEquipmentListEvidence': ... - def equipmentListReviewed(self, boolean: bool) -> 'LineEquipmentListEvidence.Builder': ... - def lineListReviewed(self, boolean: bool) -> 'LineEquipmentListEvidence.Builder': ... - def revision(self, string: typing.Union[java.lang.String, str]) -> 'LineEquipmentListEvidence.Builder': ... + def addEquipment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "LineEquipmentListEvidence.Builder": ... + def addLine( + 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, + double4: float, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + ) -> "LineEquipmentListEvidence.Builder": ... + def addMissingField( + self, string: typing.Union[java.lang.String, str] + ) -> "LineEquipmentListEvidence.Builder": ... + def build(self) -> "LineEquipmentListEvidence": ... + def equipmentListReviewed( + self, boolean: bool + ) -> "LineEquipmentListEvidence.Builder": ... + def lineListReviewed( + self, boolean: bool + ) -> "LineEquipmentListEvidence.Builder": ... + def revision( + self, string: typing.Union[java.lang.String, str] + ) -> "LineEquipmentListEvidence.Builder": ... + class EquipmentItem(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ): ... def getEquipmentTag(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class LineItem(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], double: float, double2: float, double3: float, double4: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + 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, + double4: float, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + ): ... def getLineId(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class MultiVesselBlowdownStudy(java.io.Serializable): def __init__(self): ... - def addSource(self, string: typing.Union[java.lang.String, str], depressurizationSimulator: DepressurizationSimulator) -> 'MultiVesselBlowdownStudy': ... - def addSourceResult(self, string: typing.Union[java.lang.String, str], depressurizationResult: DepressurizationSimulator.DepressurizationResult) -> 'MultiVesselBlowdownStudy': ... - def run(self) -> 'MultiVesselBlowdownStudy.MultiVesselBlowdownResult': ... - def setGridStep(self, double: float) -> 'MultiVesselBlowdownStudy': ... - def setHeader(self, double: float, double2: float, double3: float, double4: float, double5: float) -> 'MultiVesselBlowdownStudy': ... - def setMaxAllowableMach(self, double: float) -> 'MultiVesselBlowdownStudy': ... + def addSource( + self, + string: typing.Union[java.lang.String, str], + depressurizationSimulator: DepressurizationSimulator, + ) -> "MultiVesselBlowdownStudy": ... + def addSourceResult( + self, + string: typing.Union[java.lang.String, str], + depressurizationResult: DepressurizationSimulator.DepressurizationResult, + ) -> "MultiVesselBlowdownStudy": ... + def run(self) -> "MultiVesselBlowdownStudy.MultiVesselBlowdownResult": ... + def setGridStep(self, double: float) -> "MultiVesselBlowdownStudy": ... + def setHeader( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "MultiVesselBlowdownStudy": ... + def setMaxAllowableMach(self, double: float) -> "MultiVesselBlowdownStudy": ... + class MultiVesselBlowdownResult(java.io.Serializable): def getHeaderMach(self) -> float: ... def getHeaderVelocityMPerS(self) -> float: ... def getMaxAllowableMach(self) -> float: ... - def getPeakContributionKgPerS(self) -> java.util.Map[java.lang.String, float]: ... + def getPeakContributionKgPerS( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getPeakTimeS(self) -> float: ... def getPeakTotalMassFlowKgPerS(self) -> float: ... - def getSourceMassFlowKgPerS(self) -> java.util.Map[java.lang.String, java.util.List[float]]: ... + def getSourceMassFlowKgPerS( + self, + ) -> java.util.Map[java.lang.String, java.util.List[float]]: ... def getTimeS(self) -> java.util.List[float]: ... def getTotalMassFlowKgPerS(self) -> java.util.List[float]: ... def isHeaderMachAcceptable(self) -> bool: ... def summary(self) -> java.lang.String: ... class NonEquilibriumBlowdownModel(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float): ... - def run(self) -> 'NonEquilibriumBlowdownModel.NemResult': ... - def setFireExposure(self, double: float, double2: float, double3: float, double4: float) -> 'NonEquilibriumBlowdownModel': ... - def setInsideGasCoefficient(self, double: float) -> 'NonEquilibriumBlowdownModel': ... - def setInterfacial(self, double: float, double2: float) -> 'NonEquilibriumBlowdownModel': ... - def setLatentHeat(self, double: float) -> 'NonEquilibriumBlowdownModel': ... - def setMaxTime(self, double: float) -> 'NonEquilibriumBlowdownModel': ... - def setStopPressure(self, double: float) -> 'NonEquilibriumBlowdownModel': ... - def setTimeStep(self, double: float) -> 'NonEquilibriumBlowdownModel': ... - def setWall(self, double: float, double2: float) -> 'NonEquilibriumBlowdownModel': ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + ): ... + def run(self) -> "NonEquilibriumBlowdownModel.NemResult": ... + def setFireExposure( + self, double: float, double2: float, double3: float, double4: float + ) -> "NonEquilibriumBlowdownModel": ... + def setInsideGasCoefficient( + self, double: float + ) -> "NonEquilibriumBlowdownModel": ... + def setInterfacial( + self, double: float, double2: float + ) -> "NonEquilibriumBlowdownModel": ... + def setLatentHeat(self, double: float) -> "NonEquilibriumBlowdownModel": ... + def setMaxTime(self, double: float) -> "NonEquilibriumBlowdownModel": ... + def setStopPressure(self, double: float) -> "NonEquilibriumBlowdownModel": ... + def setTimeStep(self, double: float) -> "NonEquilibriumBlowdownModel": ... + def setWall( + self, double: float, double2: float + ) -> "NonEquilibriumBlowdownModel": ... + class NemResult(java.io.Serializable): timeS: java.util.List = ... pressureBara: java.util.List = ... @@ -283,32 +539,69 @@ class NonEquilibriumBlowdownModel(java.io.Serializable): def __init__(self): ... class PsvValveModel(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getCycleCount(self) -> int: ... def getOrificeAreaM2(self) -> float: ... def getReseatPressurePa(self) -> float: ... def getSetPressurePa(self) -> float: ... def isOpen(self) -> bool: ... - def massFlowKgPerS(self, double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def massFlowKgPerS( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> float: ... def reset(self) -> None: ... def update(self, double: float) -> bool: ... class STS0131AcceptanceCriteria(java.io.Serializable): def __init__(self): ... - def evaluate(self, depressurizationResult: DepressurizationSimulator.DepressurizationResult) -> 'STS0131AcceptanceResult': ... + def evaluate( + self, depressurizationResult: DepressurizationSimulator.DepressurizationResult + ) -> "STS0131AcceptanceResult": ... def getEstimatedTimeToRuptureS(self) -> float: ... def getMaximumEscalatedFireRateKgPerS(self) -> float: ... def getMaximumPressureAtRuptureBara(self) -> float: ... def getMaximumRemainingMassKg(self) -> float: ... def getTimeToEscapeS(self) -> float: ... - def setEstimatedTimeToRuptureS(self, double: float) -> 'STS0131AcceptanceCriteria': ... - def setMaximumEscalatedFireRateKgPerS(self, double: float) -> 'STS0131AcceptanceCriteria': ... - def setMaximumPressureAtRuptureBara(self, double: float) -> 'STS0131AcceptanceCriteria': ... - def setMaximumRemainingMassKg(self, double: float) -> 'STS0131AcceptanceCriteria': ... - def setTimeToEscapeS(self, double: float) -> 'STS0131AcceptanceCriteria': ... + def setEstimatedTimeToRuptureS( + self, double: float + ) -> "STS0131AcceptanceCriteria": ... + def setMaximumEscalatedFireRateKgPerS( + self, double: float + ) -> "STS0131AcceptanceCriteria": ... + def setMaximumPressureAtRuptureBara( + self, double: float + ) -> "STS0131AcceptanceCriteria": ... + def setMaximumRemainingMassKg( + self, double: float + ) -> "STS0131AcceptanceCriteria": ... + def setTimeToEscapeS(self, double: float) -> "STS0131AcceptanceCriteria": ... class STS0131AcceptanceResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool, boolean5: bool, boolean6: bool, boolean7: bool): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + boolean: bool, + boolean2: bool, + boolean3: bool, + boolean4: bool, + boolean5: bool, + boolean6: bool, + boolean7: bool, + ): ... def getLimitingTimeS(self) -> float: ... def getPeakDischargeRateKgPerS(self) -> float: ... def getPressureAtLimitingTimeBara(self) -> float: ... @@ -324,15 +617,26 @@ class STS0131AcceptanceResult(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class VesselFillingSimulator(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - def run(self) -> 'VesselFillingSimulator.VesselFillingResult': ... - def setInletConditions(self, double: float, double2: float, double3: float) -> 'VesselFillingSimulator': ... - def setLinerTemperatureLimits(self, double: float, double2: float) -> 'VesselFillingSimulator': ... - def setMaxTime(self, double: float) -> 'VesselFillingSimulator': ... - def setTargetPressure(self, double: float) -> 'VesselFillingSimulator': ... - def setTimeStep(self, double: float) -> 'VesselFillingSimulator': ... - def setWall(self, double: float, double2: float, double3: float, double4: float) -> 'VesselFillingSimulator': ... - def setWoodfieldHeatTransfer(self, double: float, double2: float) -> 'VesselFillingSimulator': ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + def run(self) -> "VesselFillingSimulator.VesselFillingResult": ... + def setInletConditions( + self, double: float, double2: float, double3: float + ) -> "VesselFillingSimulator": ... + def setLinerTemperatureLimits( + self, double: float, double2: float + ) -> "VesselFillingSimulator": ... + def setMaxTime(self, double: float) -> "VesselFillingSimulator": ... + def setTargetPressure(self, double: float) -> "VesselFillingSimulator": ... + def setTimeStep(self, double: float) -> "VesselFillingSimulator": ... + def setWall( + self, double: float, double2: float, double3: float, double4: float + ) -> "VesselFillingSimulator": ... + def setWoodfieldHeatTransfer( + self, double: float, double2: float + ) -> "VesselFillingSimulator": ... + class VesselFillingResult(java.io.Serializable): inletTemperatureK: float = ... inletMassFlowKgPerS: float = ... @@ -353,13 +657,14 @@ class VesselFillingSimulator(java.io.Serializable): def __init__(self): ... def summary(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.depressurization")``. BlockedOutletOverpressureAnalyzer: typing.Type[BlockedOutletOverpressureAnalyzer] DepressurizationSimulator: typing.Type[DepressurizationSimulator] - DynamicBlowdownFlareStudyDataSource: typing.Type[DynamicBlowdownFlareStudyDataSource] + DynamicBlowdownFlareStudyDataSource: typing.Type[ + DynamicBlowdownFlareStudyDataSource + ] DynamicBlowdownFlareStudyHandoff: typing.Type[DynamicBlowdownFlareStudyHandoff] DynamicBlowdownFlareStudyRunner: typing.Type[DynamicBlowdownFlareStudyRunner] DynamicPsvSizingStudy: typing.Type[DynamicPsvSizingStudy] diff --git a/src/jneqsim-stubs/process/safety/dispersion/__init__.pyi b/src/jneqsim-stubs/process/safety/dispersion/__init__.pyi index 8f44677b..fa16e19a 100644 --- a/src/jneqsim-stubs/process/safety/dispersion/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/dispersion/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,52 +14,123 @@ import jneqsim.process.safety.release import jneqsim.thermo.system import typing - - class GasDispersionAnalyzer(java.io.Serializable): - def analyze(self) -> 'GasDispersionResult': ... + def analyze(self) -> "GasDispersionResult": ... @staticmethod - def analyzeStream(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'GasDispersionResult': ... + def analyzeStream( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + boundaryConditions: jneqsim.process.safety.BoundaryConditions, + ) -> "GasDispersionResult": ... @staticmethod - def builder() -> 'GasDispersionAnalyzer.Builder': ... + def builder() -> "GasDispersionAnalyzer.Builder": ... @staticmethod def getLowerFlammableLimits() -> java.util.Map[java.lang.String, float]: ... @staticmethod - def lowerFlammableLimit(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def lowerFlammableLimit( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... + class Builder: def __init__(self): ... - def boundaryConditions(self, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'GasDispersionAnalyzer.Builder': ... - def build(self) -> 'GasDispersionAnalyzer': ... - def flammableEndpointFraction(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... - def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'GasDispersionAnalyzer.Builder': ... - def lowerFlammableLimit(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... - def massReleaseRate(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... - def modelSelection(self, modelSelection: 'GasDispersionAnalyzer.ModelSelection') -> 'GasDispersionAnalyzer.Builder': ... - def releaseHeight(self, double: float) -> 'GasDispersionAnalyzer.Builder': ... - def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'GasDispersionAnalyzer.Builder': ... - def sourceTerm(self, sourceTermResult: jneqsim.process.safety.release.SourceTermResult) -> 'GasDispersionAnalyzer.Builder': ... - def sts0131CfdEndpoint(self) -> 'GasDispersionAnalyzer.Builder': ... - def sts0131IntegralEndpoint(self) -> 'GasDispersionAnalyzer.Builder': ... - def toxicEndpoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'GasDispersionAnalyzer.Builder': ... - class ModelSelection(java.lang.Enum['GasDispersionAnalyzer.ModelSelection']): - AUTO: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... - GAUSSIAN_PLUME: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... - HEAVY_GAS: typing.ClassVar['GasDispersionAnalyzer.ModelSelection'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def boundaryConditions( + self, boundaryConditions: jneqsim.process.safety.BoundaryConditions + ) -> "GasDispersionAnalyzer.Builder": ... + def build(self) -> "GasDispersionAnalyzer": ... + def flammableEndpointFraction( + self, double: float + ) -> "GasDispersionAnalyzer.Builder": ... + def fluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "GasDispersionAnalyzer.Builder": ... + def lowerFlammableLimit( + self, double: float + ) -> "GasDispersionAnalyzer.Builder": ... + def massReleaseRate(self, double: float) -> "GasDispersionAnalyzer.Builder": ... + def modelSelection( + self, modelSelection: "GasDispersionAnalyzer.ModelSelection" + ) -> "GasDispersionAnalyzer.Builder": ... + def releaseHeight(self, double: float) -> "GasDispersionAnalyzer.Builder": ... + def scenarioName( + self, string: typing.Union[java.lang.String, str] + ) -> "GasDispersionAnalyzer.Builder": ... + def sourceTerm( + self, sourceTermResult: jneqsim.process.safety.release.SourceTermResult + ) -> "GasDispersionAnalyzer.Builder": ... + def sts0131CfdEndpoint(self) -> "GasDispersionAnalyzer.Builder": ... + def sts0131IntegralEndpoint(self) -> "GasDispersionAnalyzer.Builder": ... + def toxicEndpoint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "GasDispersionAnalyzer.Builder": ... + + class ModelSelection(java.lang.Enum["GasDispersionAnalyzer.ModelSelection"]): + AUTO: typing.ClassVar["GasDispersionAnalyzer.ModelSelection"] = ... + GAUSSIAN_PLUME: typing.ClassVar["GasDispersionAnalyzer.ModelSelection"] = ... + HEAVY_GAS: typing.ClassVar["GasDispersionAnalyzer.ModelSelection"] = ... + _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: ... + 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]) -> 'GasDispersionAnalyzer.ModelSelection': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GasDispersionAnalyzer.ModelSelection": ... @staticmethod - def values() -> typing.MutableSequence['GasDispersionAnalyzer.ModelSelection']: ... + def values() -> ( + typing.MutableSequence["GasDispersionAnalyzer.ModelSelection"] + ): ... class GasDispersionResult(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, string3: typing.Union[java.lang.String, str], double13: float, double14: float, double15: float, char: str, string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + double12: float, + string3: typing.Union[java.lang.String, str], + double13: float, + double14: float, + double15: float, + char: str, + string4: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, string3: typing.Union[java.lang.String, str], double11: float, double12: float, double13: float, char: str, string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + string3: typing.Union[java.lang.String, str], + double11: float, + double12: float, + double13: float, + char: str, + string4: typing.Union[java.lang.String, str], + ): ... def getAirDensityKgPerM3(self) -> float: ... def getDistanceToFlammableEndpointM(self) -> float: ... def getDistanceToHalfLflM(self) -> float: ... @@ -86,69 +157,107 @@ class GasDispersionResult(java.io.Serializable): def toString(self) -> java.lang.String: ... class GaussianPlume(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, stability: 'GaussianPlume.Stability', terrain: 'GaussianPlume.Terrain'): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + stability: "GaussianPlume.Stability", + terrain: "GaussianPlume.Terrain", + ): ... def centerlineGroundConcentration(self, double: float) -> float: ... def concentration(self, double: float, double2: float, double3: float) -> float: ... def distanceToConcentration(self, double: float) -> float: ... def sigmaY(self, double: float) -> float: ... def sigmaZ(self, double: float) -> float: ... - class Stability(java.lang.Enum['GaussianPlume.Stability']): - A: typing.ClassVar['GaussianPlume.Stability'] = ... - B: typing.ClassVar['GaussianPlume.Stability'] = ... - C: typing.ClassVar['GaussianPlume.Stability'] = ... - D: typing.ClassVar['GaussianPlume.Stability'] = ... - E: typing.ClassVar['GaussianPlume.Stability'] = ... - F: typing.ClassVar['GaussianPlume.Stability'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Stability(java.lang.Enum["GaussianPlume.Stability"]): + A: typing.ClassVar["GaussianPlume.Stability"] = ... + B: typing.ClassVar["GaussianPlume.Stability"] = ... + C: typing.ClassVar["GaussianPlume.Stability"] = ... + D: typing.ClassVar["GaussianPlume.Stability"] = ... + E: typing.ClassVar["GaussianPlume.Stability"] = ... + F: typing.ClassVar["GaussianPlume.Stability"] = ... + _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: ... + 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]) -> 'GaussianPlume.Stability': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GaussianPlume.Stability": ... @staticmethod - def values() -> typing.MutableSequence['GaussianPlume.Stability']: ... - class Terrain(java.lang.Enum['GaussianPlume.Terrain']): - RURAL: typing.ClassVar['GaussianPlume.Terrain'] = ... - URBAN: typing.ClassVar['GaussianPlume.Terrain'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["GaussianPlume.Stability"]: ... + + class Terrain(java.lang.Enum["GaussianPlume.Terrain"]): + RURAL: typing.ClassVar["GaussianPlume.Terrain"] = ... + URBAN: typing.ClassVar["GaussianPlume.Terrain"] = ... + _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: ... + 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]) -> 'GaussianPlume.Terrain': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GaussianPlume.Terrain": ... @staticmethod - def values() -> typing.MutableSequence['GaussianPlume.Terrain']: ... + def values() -> typing.MutableSequence["GaussianPlume.Terrain"]: ... class HazardousAreaCalculator(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def effectiveDiameterM(self) -> float: ... - def getReleaseGrade(self) -> 'HazardousAreaCalculator.ReleaseGrade': ... + def getReleaseGrade(self) -> "HazardousAreaCalculator.ReleaseGrade": ... def hazardousDistanceM(self) -> float: ... def lflMassFraction(self) -> float: ... - def setAmbientDensityKgPerM3(self, double: float) -> 'HazardousAreaCalculator': ... - def setReleaseGrade(self, releaseGrade: 'HazardousAreaCalculator.ReleaseGrade') -> 'HazardousAreaCalculator': ... - def setSafetyFactor(self, double: float) -> 'HazardousAreaCalculator': ... + def setAmbientDensityKgPerM3(self, double: float) -> "HazardousAreaCalculator": ... + def setReleaseGrade( + self, releaseGrade: "HazardousAreaCalculator.ReleaseGrade" + ) -> "HazardousAreaCalculator": ... + def setSafetyFactor(self, double: float) -> "HazardousAreaCalculator": ... def summary(self) -> java.lang.String: ... def zoneClassification(self) -> java.lang.String: ... - class ReleaseGrade(java.lang.Enum['HazardousAreaCalculator.ReleaseGrade']): - CONTINUOUS: typing.ClassVar['HazardousAreaCalculator.ReleaseGrade'] = ... - PRIMARY: typing.ClassVar['HazardousAreaCalculator.ReleaseGrade'] = ... - SECONDARY: typing.ClassVar['HazardousAreaCalculator.ReleaseGrade'] = ... + + class ReleaseGrade(java.lang.Enum["HazardousAreaCalculator.ReleaseGrade"]): + CONTINUOUS: typing.ClassVar["HazardousAreaCalculator.ReleaseGrade"] = ... + PRIMARY: typing.ClassVar["HazardousAreaCalculator.ReleaseGrade"] = ... + SECONDARY: typing.ClassVar["HazardousAreaCalculator.ReleaseGrade"] = ... def getZone(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'HazardousAreaCalculator.ReleaseGrade': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HazardousAreaCalculator.ReleaseGrade": ... @staticmethod - def values() -> typing.MutableSequence['HazardousAreaCalculator.ReleaseGrade']: ... + def values() -> ( + typing.MutableSequence["HazardousAreaCalculator.ReleaseGrade"] + ): ... class HeavyGasDispersion(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def britterParameter(self) -> float: ... def distanceToConcentrationRatio(self, double: float) -> float: ... def reducedGravity(self) -> float: ... @@ -156,31 +265,41 @@ class HeavyGasDispersion(java.io.Serializable): class ProbitModel(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... @staticmethod - def ammoniaFatality() -> 'ProbitModel': ... + def ammoniaFatality() -> "ProbitModel": ... @staticmethod - def blastLungFatality() -> 'ProbitModel': ... + def blastLungFatality() -> "ProbitModel": ... @staticmethod - def chlorineFatality() -> 'ProbitModel': ... + def chlorineFatality() -> "ProbitModel": ... @staticmethod - def h2sFatality() -> 'ProbitModel': ... + def h2sFatality() -> "ProbitModel": ... def probability(self, double: float) -> float: ... def probabilityFromDose(self, double: float) -> float: ... def probit(self, double: float) -> float: ... @staticmethod - def thermalFatality() -> 'ProbitModel': ... + def thermalFatality() -> "ProbitModel": ... class ToxicLibrary: @staticmethod - def get(string: typing.Union[java.lang.String, str]) -> 'ToxicLibrary.Thresholds': ... + def get( + string: typing.Union[java.lang.String, str] + ) -> "ToxicLibrary.Thresholds": ... @staticmethod - def ppmToKgPerM3(double: float, double2: float, double3: float, double4: float) -> float: ... + def ppmToKgPerM3( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + class Thresholds(java.io.Serializable): name: java.lang.String = ... idlhPpm: float = ... erpg2Ppm: float = ... aegl2Ppm: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... - + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.dispersion")``. diff --git a/src/jneqsim-stubs/process/safety/dto/__init__.pyi b/src/jneqsim-stubs/process/safety/dto/__init__.pyi index 27f08fba..1f3c1c1b 100644 --- a/src/jneqsim-stubs/process/safety/dto/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/dto/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,30 +11,58 @@ import java.util import jneqsim.process.equipment.flare.dto import typing - - class CapacityAlertDTO(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]): ... + 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 getDisposalUnitName(self) -> java.lang.String: ... def getLoadCaseName(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... class DisposalLoadCaseResultDTO(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.equipment.flare.dto.FlarePerformanceDTO], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.equipment.flare.dto.FlarePerformanceDTO]], double: float, double2: float, list: java.util.List[CapacityAlertDTO]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.equipment.flare.dto.FlarePerformanceDTO, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.equipment.flare.dto.FlarePerformanceDTO, + ], + ], + double: float, + double2: float, + list: java.util.List[CapacityAlertDTO], + ): ... def getAlerts(self) -> java.util.List[CapacityAlertDTO]: ... def getLoadCaseName(self) -> java.lang.String: ... def getMaxRadiationDistanceM(self) -> float: ... - def getPerformanceByUnit(self) -> java.util.Map[java.lang.String, jneqsim.process.equipment.flare.dto.FlarePerformanceDTO]: ... + def getPerformanceByUnit( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.equipment.flare.dto.FlarePerformanceDTO + ]: ... def getTotalHeatDutyMW(self) -> float: ... class DisposalNetworkSummaryDTO(java.io.Serializable): - def __init__(self, list: java.util.List[DisposalLoadCaseResultDTO], double: float, double2: float, list2: java.util.List[CapacityAlertDTO]): ... + def __init__( + self, + list: java.util.List[DisposalLoadCaseResultDTO], + double: float, + double2: float, + list2: java.util.List[CapacityAlertDTO], + ): ... def getAlerts(self) -> java.util.List[CapacityAlertDTO]: ... def getLoadCaseResults(self) -> java.util.List[DisposalLoadCaseResultDTO]: ... def getMaxHeatDutyMW(self) -> float: ... def getMaxRadiationDistanceM(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.dto")``. diff --git a/src/jneqsim-stubs/process/safety/envelope/__init__.pyi b/src/jneqsim-stubs/process/safety/envelope/__init__.pyi index e96f3909..2ee6e68f 100644 --- a/src/jneqsim-stubs/process/safety/envelope/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/envelope/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,21 @@ import jpype import jneqsim.thermo.system import typing - - class SafetyEnvelope: - def __init__(self, string: typing.Union[java.lang.String, str], envelopeType: 'SafetyEnvelope.EnvelopeType', int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + envelopeType: "SafetyEnvelope.EnvelopeType", + int: int, + ): ... def calculateMarginToLimit(self, double: float, double2: float) -> float: ... def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... - def exportToPIFormat(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def exportToPIFormat( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def exportToSeeq(self, string: typing.Union[java.lang.String, str]) -> None: ... def getFluidDescription(self) -> java.lang.String: ... def getMargin(self) -> typing.MutableSequence[float]: ... @@ -29,45 +36,68 @@ class SafetyEnvelope: def getSafeTemperatureAtPressure(self, double: float) -> float: ... def getTemperature(self) -> typing.MutableSequence[float]: ... def getTemperatureAtPressure(self, double: float) -> float: ... - def getType(self) -> 'SafetyEnvelope.EnvelopeType': ... + def getType(self) -> "SafetyEnvelope.EnvelopeType": ... def isOperatingPointSafe(self, double: float, double2: float) -> bool: ... def toString(self) -> java.lang.String: ... - class EnvelopeType(java.lang.Enum['SafetyEnvelope.EnvelopeType']): - HYDRATE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - WAX: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - CO2_FREEZING: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - MDMT: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - PHASE_ENVELOPE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - BRITTLE_FRACTURE: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... - CUSTOM: typing.ClassVar['SafetyEnvelope.EnvelopeType'] = ... + + class EnvelopeType(java.lang.Enum["SafetyEnvelope.EnvelopeType"]): + HYDRATE: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + WAX: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + CO2_FREEZING: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + MDMT: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + PHASE_ENVELOPE: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + BRITTLE_FRACTURE: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... + CUSTOM: typing.ClassVar["SafetyEnvelope.EnvelopeType"] = ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SafetyEnvelope.EnvelopeType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyEnvelope.EnvelopeType": ... @staticmethod - def values() -> typing.MutableSequence['SafetyEnvelope.EnvelopeType']: ... + def values() -> typing.MutableSequence["SafetyEnvelope.EnvelopeType"]: ... class SafetyEnvelopeCalculator: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calculateAllEnvelopes(self, double: float, double2: float, int: int) -> typing.MutableSequence[SafetyEnvelope]: ... - def calculateCO2FreezingEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... - def calculateHydrateEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... - def calculateMDMTEnvelope(self, double: float, double2: float, double3: float, int: int) -> SafetyEnvelope: ... + def calculateAllEnvelopes( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[SafetyEnvelope]: ... + def calculateCO2FreezingEnvelope( + self, double: float, double2: float, int: int + ) -> SafetyEnvelope: ... + def calculateHydrateEnvelope( + self, double: float, double2: float, int: int + ) -> SafetyEnvelope: ... + def calculateMDMTEnvelope( + self, double: float, double2: float, double3: float, int: int + ) -> SafetyEnvelope: ... def calculatePhaseEnvelope(self, int: int) -> SafetyEnvelope: ... - def calculateWaxEnvelope(self, double: float, double2: float, int: int) -> SafetyEnvelope: ... + def calculateWaxEnvelope( + self, double: float, double2: float, int: int + ) -> SafetyEnvelope: ... @staticmethod - def getMostLimitingEnvelope(safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], double: float, double2: float) -> SafetyEnvelope: ... + def getMostLimitingEnvelope( + safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], + double: float, + double2: float, + ) -> SafetyEnvelope: ... @staticmethod - def isOperatingPointSafe(safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], double: float, double2: float) -> bool: ... + def isOperatingPointSafe( + safetyEnvelopeArray: typing.Union[typing.List[SafetyEnvelope], jpype.JArray], + double: float, + double2: float, + ) -> bool: ... def setHydrateSafetyMargin(self, double: float) -> None: ... def setMDMTSafetyMargin(self, double: float) -> None: ... def setWaxSafetyMargin(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.envelope")``. diff --git a/src/jneqsim-stubs/process/safety/escalation/__init__.pyi b/src/jneqsim-stubs/process/safety/escalation/__init__.pyi index 5511320b..d8d8d6ca 100644 --- a/src/jneqsim-stubs/process/safety/escalation/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/escalation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,17 +10,23 @@ import java.lang import java.util import typing - - class EscalationGraphAnalyzer(java.io.Serializable): def __init__(self): ... - def addExposure(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EscalationGraphAnalyzer': ... - def addItem(self, string: typing.Union[java.lang.String, str], double: float) -> 'EscalationGraphAnalyzer': ... + def addExposure( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "EscalationGraphAnalyzer": ... + def addItem( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EscalationGraphAnalyzer": ... def getItems(self) -> java.util.Set[java.lang.String]: ... - def propagate(self, string: typing.Union[java.lang.String, str]) -> java.util.Set[java.lang.String]: ... + def propagate( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Set[java.lang.String]: ... def worstCaseEscalation(self) -> java.util.Set[java.lang.String]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.escalation")``. diff --git a/src/jneqsim-stubs/process/safety/esd/__init__.pyi b/src/jneqsim-stubs/process/safety/esd/__init__.pyi index 786b5bce..135b3c9f 100644 --- a/src/jneqsim-stubs/process/safety/esd/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/esd/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,67 +14,160 @@ import jneqsim.process.processmodel import jneqsim.process.safety import typing - - class EmergencyShutdownTestCriterion(java.io.Serializable): @staticmethod - def decreaseAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def decreaseAtLeast( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def fieldAbsoluteDeviationAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def fieldAbsoluteDeviationAtMost( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def fieldRelativeDeviationAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'EmergencyShutdownTestCriterion': ... + def fieldRelativeDeviationAtMost( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def finalAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def finalAtLeast( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def finalAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def finalAtMost( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... def getClause(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... def getLogicName(self) -> java.lang.String: ... def getLogicalTag(self) -> java.lang.String: ... def getSeverity(self) -> java.lang.String: ... def getTargetValue(self) -> float: ... - def getType(self) -> 'EmergencyShutdownTestCriterion.CriterionType': ... + def getType(self) -> "EmergencyShutdownTestCriterion.CriterionType": ... def getUnit(self) -> java.lang.String: ... @staticmethod - def increaseAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def increaseAtLeast( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def logicCompleted(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def logicCompleted( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def maxAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def maxAtLeast( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def maxAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def maxAtMost( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def minAtLeast(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def minAtLeast( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def minAtMost(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def minAtMost( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... @staticmethod - def noSimulationErrors(string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... + def noSimulationErrors( + string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestCriterion": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def withClause(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... - def withSeverity(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... - def withText(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestCriterion': ... - class CriterionType(java.lang.Enum['EmergencyShutdownTestCriterion.CriterionType']): - FINAL_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - FINAL_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - MAX_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - MAX_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - MIN_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - MIN_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - DECREASE_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - INCREASE_GREATER_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - FIELD_ABSOLUTE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - FIELD_RELATIVE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - LOGIC_COMPLETED: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - NO_SIMULATION_ERRORS: typing.ClassVar['EmergencyShutdownTestCriterion.CriterionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def withClause( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestCriterion": ... + def withSeverity( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestCriterion": ... + def withText( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestCriterion": ... + + class CriterionType(java.lang.Enum["EmergencyShutdownTestCriterion.CriterionType"]): + FINAL_LESS_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + FINAL_GREATER_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + MAX_LESS_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + MAX_GREATER_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + MIN_LESS_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + MIN_GREATER_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + DECREASE_GREATER_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + INCREASE_GREATER_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + FIELD_ABSOLUTE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + FIELD_RELATIVE_DEVIATION_LESS_OR_EQUAL: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + LOGIC_COMPLETED: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + NO_SIMULATION_ERRORS: typing.ClassVar[ + "EmergencyShutdownTestCriterion.CriterionType" + ] = ... + _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: ... + 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]) -> 'EmergencyShutdownTestCriterion.CriterionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestCriterion.CriterionType": ... @staticmethod - def values() -> typing.MutableSequence['EmergencyShutdownTestCriterion.CriterionType']: ... + def values() -> ( + typing.MutableSequence["EmergencyShutdownTestCriterion.CriterionType"] + ): ... + class Result(java.io.Serializable): def getCriterionId(self) -> java.lang.String: ... def isPassed(self) -> bool: ... @@ -82,7 +175,9 @@ class EmergencyShutdownTestCriterion(java.io.Serializable): class EmergencyShutdownTestPlan(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestPlan.Builder": ... def getCriteria(self) -> java.util.List[EmergencyShutdownTestCriterion]: ... def getDefaultFieldComparisonToleranceFraction(self) -> float: ... def getDurationSeconds(self) -> float: ... @@ -90,7 +185,9 @@ class EmergencyShutdownTestPlan(java.io.Serializable): def getEvidenceReferences(self) -> java.util.List[java.lang.String]: ... def getFieldData(self) -> java.util.Map[java.lang.String, float]: ... def getMonitoredLogicalTags(self) -> java.util.Set[java.lang.String]: ... - def getMonitoredUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getMonitoredUnits( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... def getName(self) -> java.lang.String: ... def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... def getStandardReferences(self) -> java.util.List[java.lang.String]: ... @@ -99,38 +196,80 @@ class EmergencyShutdownTestPlan(java.io.Serializable): def getTriggerLogicNames(self) -> java.util.List[java.lang.String]: ... def getTriggerTimeSeconds(self) -> float: ... def isInitializeSteadyState(self) -> bool: ... + class Builder: - def build(self) -> 'EmergencyShutdownTestPlan': ... - def criterion(self, emergencyShutdownTestCriterion: EmergencyShutdownTestCriterion) -> 'EmergencyShutdownTestPlan.Builder': ... - def defaultFieldComparisonTolerance(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... - def duration(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... - def enableLogic(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... - def evidenceReference(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... + def build(self) -> "EmergencyShutdownTestPlan": ... + def criterion( + self, emergencyShutdownTestCriterion: EmergencyShutdownTestCriterion + ) -> "EmergencyShutdownTestPlan.Builder": ... + def defaultFieldComparisonTolerance( + self, double: float + ) -> "EmergencyShutdownTestPlan.Builder": ... + def duration(self, double: float) -> "EmergencyShutdownTestPlan.Builder": ... + def enableLogic( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestPlan.Builder": ... + def evidenceReference( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestPlan.Builder": ... @typing.overload - def fieldData(self, string: typing.Union[java.lang.String, str], double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + def fieldData( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EmergencyShutdownTestPlan.Builder": ... @typing.overload - def fieldData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'EmergencyShutdownTestPlan.Builder': ... - def initializeSteadyState(self, boolean: bool) -> 'EmergencyShutdownTestPlan.Builder': ... - def monitor(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... - def scenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> 'EmergencyShutdownTestPlan.Builder': ... - def standardReference(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... - def tagMap(self, operationalTagMap: jneqsim.process.operations.OperationalTagMap) -> 'EmergencyShutdownTestPlan.Builder': ... - def timeStep(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... - def triggerLogic(self, string: typing.Union[java.lang.String, str]) -> 'EmergencyShutdownTestPlan.Builder': ... - def triggerTime(self, double: float) -> 'EmergencyShutdownTestPlan.Builder': ... + def fieldData( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "EmergencyShutdownTestPlan.Builder": ... + def initializeSteadyState( + self, boolean: bool + ) -> "EmergencyShutdownTestPlan.Builder": ... + def monitor( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "EmergencyShutdownTestPlan.Builder": ... + def scenario( + self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario + ) -> "EmergencyShutdownTestPlan.Builder": ... + def standardReference( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestPlan.Builder": ... + def tagMap( + self, operationalTagMap: jneqsim.process.operations.OperationalTagMap + ) -> "EmergencyShutdownTestPlan.Builder": ... + def timeStep(self, double: float) -> "EmergencyShutdownTestPlan.Builder": ... + def triggerLogic( + self, string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestPlan.Builder": ... + def triggerTime(self, double: float) -> "EmergencyShutdownTestPlan.Builder": ... class EmergencyShutdownTestResult(java.io.Serializable): - def getCriterionResults(self) -> java.util.List[EmergencyShutdownTestCriterion.Result]: ... + def getCriterionResults( + self, + ) -> java.util.List[EmergencyShutdownTestCriterion.Result]: ... def getErrors(self) -> java.util.List[java.lang.String]: ... - def getFieldComparisons(self) -> java.util.Map[java.lang.String, 'EmergencyShutdownTestResult.FieldComparison']: ... + def getFieldComparisons( + self, + ) -> java.util.Map[ + java.lang.String, "EmergencyShutdownTestResult.FieldComparison" + ]: ... def getLogicStates(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getSignalStats(self) -> java.util.Map[java.lang.String, 'EmergencyShutdownTestResult.SignalStats']: ... + def getSignalStats( + self, + ) -> java.util.Map[java.lang.String, "EmergencyShutdownTestResult.SignalStats"]: ... def getTestName(self) -> java.lang.String: ... - def getTimeSeries(self) -> java.util.List['EmergencyShutdownTestResult.SignalSample']: ... - def getVerdict(self) -> 'EmergencyShutdownTestResult.Verdict': ... + def getTimeSeries( + self, + ) -> java.util.List["EmergencyShutdownTestResult.SignalSample"]: ... + def getVerdict(self) -> "EmergencyShutdownTestResult.Verdict": ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class FieldComparison(java.io.Serializable): def getAbsoluteDeviation(self) -> float: ... def getLogicalTag(self) -> java.lang.String: ... @@ -138,10 +277,12 @@ class EmergencyShutdownTestResult(java.io.Serializable): def getSignedDeviation(self) -> float: ... def hasBothValues(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SignalSample(java.io.Serializable): def getTimeSeconds(self) -> float: ... def getValues(self) -> java.util.Map[java.lang.String, float]: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SignalStats(java.io.Serializable): def getFinalValue(self) -> float: ... def getInitialValue(self) -> float: ... @@ -149,45 +290,82 @@ class EmergencyShutdownTestResult(java.io.Serializable): def getMinValue(self) -> float: ... def hasSamples(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Verdict(java.lang.Enum['EmergencyShutdownTestResult.Verdict']): - PASS: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... - PASS_WITH_WARNINGS: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... - FAIL: typing.ClassVar['EmergencyShutdownTestResult.Verdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Verdict(java.lang.Enum["EmergencyShutdownTestResult.Verdict"]): + PASS: typing.ClassVar["EmergencyShutdownTestResult.Verdict"] = ... + PASS_WITH_WARNINGS: typing.ClassVar["EmergencyShutdownTestResult.Verdict"] = ... + FAIL: typing.ClassVar["EmergencyShutdownTestResult.Verdict"] = ... + _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: ... + 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]) -> 'EmergencyShutdownTestResult.Verdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EmergencyShutdownTestResult.Verdict": ... @staticmethod - def values() -> typing.MutableSequence['EmergencyShutdownTestResult.Verdict']: ... + def values() -> ( + typing.MutableSequence["EmergencyShutdownTestResult.Verdict"] + ): ... class EmergencyShutdownTestRunner: @typing.overload @staticmethod - def run(processSystem: jneqsim.process.processmodel.ProcessSystem, emergencyShutdownTestPlan: EmergencyShutdownTestPlan, list: java.util.List[jneqsim.process.logic.ProcessLogic]) -> EmergencyShutdownTestResult: ... + def run( + processSystem: jneqsim.process.processmodel.ProcessSystem, + emergencyShutdownTestPlan: EmergencyShutdownTestPlan, + list: java.util.List[jneqsim.process.logic.ProcessLogic], + ) -> EmergencyShutdownTestResult: ... @typing.overload @staticmethod - def run(processSystem: jneqsim.process.processmodel.ProcessSystem, emergencyShutdownTestPlan: EmergencyShutdownTestPlan, *processLogic: jneqsim.process.logic.ProcessLogic) -> EmergencyShutdownTestResult: ... + def run( + processSystem: jneqsim.process.processmodel.ProcessSystem, + emergencyShutdownTestPlan: EmergencyShutdownTestPlan, + *processLogic: jneqsim.process.logic.ProcessLogic, + ) -> EmergencyShutdownTestResult: ... class EsdResponseTimeSimulator(java.io.Serializable): def __init__(self): ... - def add(self, contribution: 'EsdResponseTimeSimulator.Contribution') -> 'EsdResponseTimeSimulator': ... - def addDetection(self, string: typing.Union[java.lang.String, str], double: float) -> 'EsdResponseTimeSimulator': ... - def addLogic(self, string: typing.Union[java.lang.String, str], double: float) -> 'EsdResponseTimeSimulator': ... - def addValve(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'EsdResponseTimeSimulator': ... - def evaluate(self) -> 'EsdResponseTimeSimulator.EsdResponseTimeResult': ... - def setAllowableResponseTimeS(self, double: float) -> 'EsdResponseTimeSimulator': ... - def setSifTag(self, string: typing.Union[java.lang.String, str]) -> 'EsdResponseTimeSimulator': ... + def add( + self, contribution: "EsdResponseTimeSimulator.Contribution" + ) -> "EsdResponseTimeSimulator": ... + def addDetection( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EsdResponseTimeSimulator": ... + def addLogic( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EsdResponseTimeSimulator": ... + def addValve( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "EsdResponseTimeSimulator": ... + def evaluate(self) -> "EsdResponseTimeSimulator.EsdResponseTimeResult": ... + def setAllowableResponseTimeS( + self, double: float + ) -> "EsdResponseTimeSimulator": ... + def setSifTag( + self, string: typing.Union[java.lang.String, str] + ) -> "EsdResponseTimeSimulator": ... + class Contribution(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], stage: 'EsdResponseTimeSimulator.Stage', double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + stage: "EsdResponseTimeSimulator.Stage", + double: float, + ): ... def getName(self) -> java.lang.String: ... - def getStage(self) -> 'EsdResponseTimeSimulator.Stage': ... + def getStage(self) -> "EsdResponseTimeSimulator.Stage": ... def getTimeS(self) -> float: ... + class EsdResponseTimeResult(java.io.Serializable): def getAllowableResponseTimeS(self) -> float: ... - def getContributions(self) -> java.util.List['EsdResponseTimeSimulator.Contribution']: ... + def getContributions( + self, + ) -> java.util.List["EsdResponseTimeSimulator.Contribution"]: ... def getDetectionTimeS(self) -> float: ... def getFinalElementTimeS(self) -> float: ... def getLogicTimeS(self) -> float: ... @@ -196,20 +374,25 @@ class EsdResponseTimeSimulator(java.io.Serializable): def getTotalResponseTimeS(self) -> float: ... def isWithinBudget(self) -> bool: ... def summary(self) -> java.lang.String: ... - class Stage(java.lang.Enum['EsdResponseTimeSimulator.Stage']): - DETECTION: typing.ClassVar['EsdResponseTimeSimulator.Stage'] = ... - LOGIC: typing.ClassVar['EsdResponseTimeSimulator.Stage'] = ... - FINAL_ELEMENT: typing.ClassVar['EsdResponseTimeSimulator.Stage'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Stage(java.lang.Enum["EsdResponseTimeSimulator.Stage"]): + DETECTION: typing.ClassVar["EsdResponseTimeSimulator.Stage"] = ... + LOGIC: typing.ClassVar["EsdResponseTimeSimulator.Stage"] = ... + FINAL_ELEMENT: typing.ClassVar["EsdResponseTimeSimulator.Stage"] = ... + _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: ... + 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]) -> 'EsdResponseTimeSimulator.Stage': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EsdResponseTimeSimulator.Stage": ... @staticmethod - def values() -> typing.MutableSequence['EsdResponseTimeSimulator.Stage']: ... - + def values() -> typing.MutableSequence["EsdResponseTimeSimulator.Stage"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.esd")``. diff --git a/src/jneqsim-stubs/process/safety/fire/__init__.pyi b/src/jneqsim-stubs/process/safety/fire/__init__.pyi index a211ce82..ca905d46 100644 --- a/src/jneqsim-stubs/process/safety/fire/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/fire/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,14 +9,14 @@ import java.io import java.lang import typing - - class Api537FlareFlameModel(java.io.Serializable): FLUX_1_58_KW: typing.ClassVar[float] = ... FLUX_4_73_KW: typing.ClassVar[float] = ... FLUX_6_3_KW: typing.ClassVar[float] = ... FLUX_9_46_KW: typing.ClassVar[float] = ... - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def equivalentFlameTemperatureK(self) -> float: ... def flameCenterHeightM(self) -> float: ... def flameCenterHorizontalM(self) -> float: ... @@ -25,10 +25,10 @@ class Api537FlareFlameModel(java.io.Serializable): def flameTipHeightM(self) -> float: ... def flameTipHorizontalM(self) -> float: ... def heatFluxAtGroundDistance(self, double: float) -> float: ... - def setAcousticEfficiency(self, double: float) -> 'Api537FlareFlameModel': ... - def setStackHeightM(self, double: float) -> 'Api537FlareFlameModel': ... - def setTransmissivity(self, double: float) -> 'Api537FlareFlameModel': ... - def setWindSpeedMPerS(self, double: float) -> 'Api537FlareFlameModel': ... + def setAcousticEfficiency(self, double: float) -> "Api537FlareFlameModel": ... + def setStackHeightM(self, double: float) -> "Api537FlareFlameModel": ... + def setTransmissivity(self, double: float) -> "Api537FlareFlameModel": ... + def setWindSpeedMPerS(self, double: float) -> "Api537FlareFlameModel": ... def soundPowerLevelDb(self) -> float: ... def soundPressureLevelDb(self, double: float) -> float: ... def sterileZoneRadiusM(self, double: float) -> float: ... @@ -42,7 +42,7 @@ class BLEVECalculator(java.io.Serializable): def fireballDiameterM(self) -> float: ... def fireballDurationS(self) -> float: ... def incidentHeatFlux(self, double: float) -> float: ... - def setHumidity(self, double: float) -> 'BLEVECalculator': ... + def setHumidity(self, double: float) -> "BLEVECalculator": ... def surfaceEmissivePowerWPerM2(self) -> float: ... def transmissivity(self, double: float) -> float: ... @@ -50,63 +50,85 @@ class JetFireModel(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def distanceToFlux(self, double: float) -> float: ... def incidentHeatFlux(self, double: float) -> float: ... - def setHumidity(self, double: float) -> 'JetFireModel': ... + def setHumidity(self, double: float) -> "JetFireModel": ... def totalRadiativePowerW(self) -> float: ... def transmissivity(self, double: float) -> float: ... class PfpDemandCalculator(java.io.Serializable): def __init__(self, double: float, double2: float): ... def bareSteelTimeToCriticalS(self) -> float: ... - def evaluate(self, double: float) -> 'PfpDemandCalculator.PfpDemandResult': ... - def setAbsorptivity(self, double: float) -> 'PfpDemandCalculator': ... - def setCriticalTemperatureK(self, double: float) -> 'PfpDemandCalculator': ... - def setFireTemperatureK(self, double: float) -> 'PfpDemandCalculator': ... - def setFireType(self, fireType: 'PfpDemandCalculator.FireType') -> 'PfpDemandCalculator': ... - def setInitialTemperatureK(self, double: float) -> 'PfpDemandCalculator': ... - def setPfpConductivityWPerMK(self, double: float) -> 'PfpDemandCalculator': ... + def evaluate(self, double: float) -> "PfpDemandCalculator.PfpDemandResult": ... + def setAbsorptivity(self, double: float) -> "PfpDemandCalculator": ... + def setCriticalTemperatureK(self, double: float) -> "PfpDemandCalculator": ... + def setFireTemperatureK(self, double: float) -> "PfpDemandCalculator": ... + def setFireType( + self, fireType: "PfpDemandCalculator.FireType" + ) -> "PfpDemandCalculator": ... + def setInitialTemperatureK(self, double: float) -> "PfpDemandCalculator": ... + def setPfpConductivityWPerMK(self, double: float) -> "PfpDemandCalculator": ... def steelMassPerAreaKgPerM2(self) -> float: ... - class FireType(java.lang.Enum['PfpDemandCalculator.FireType']): - POOL: typing.ClassVar['PfpDemandCalculator.FireType'] = ... - JET: typing.ClassVar['PfpDemandCalculator.FireType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FireType(java.lang.Enum["PfpDemandCalculator.FireType"]): + POOL: typing.ClassVar["PfpDemandCalculator.FireType"] = ... + JET: typing.ClassVar["PfpDemandCalculator.FireType"] = ... + _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: ... + 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]) -> 'PfpDemandCalculator.FireType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PfpDemandCalculator.FireType": ... @staticmethod - def values() -> typing.MutableSequence['PfpDemandCalculator.FireType']: ... + def values() -> typing.MutableSequence["PfpDemandCalculator.FireType"]: ... + class PfpDemandResult(java.io.Serializable): def getBareSteelTimeToCriticalS(self) -> float: ... - def getRating(self) -> 'PfpDemandCalculator.PfpRating': ... + def getRating(self) -> "PfpDemandCalculator.PfpRating": ... def getRequiredPfpThicknessM(self) -> float: ... def getRequiredPfpThicknessMm(self) -> float: ... def getRequiredSurvivalTimeS(self) -> float: ... def isPfpRequired(self) -> bool: ... def summary(self) -> java.lang.String: ... - class PfpRating(java.lang.Enum['PfpDemandCalculator.PfpRating']): - NONE: typing.ClassVar['PfpDemandCalculator.PfpRating'] = ... - H60: typing.ClassVar['PfpDemandCalculator.PfpRating'] = ... - H120: typing.ClassVar['PfpDemandCalculator.PfpRating'] = ... - J60: typing.ClassVar['PfpDemandCalculator.PfpRating'] = ... - J120: typing.ClassVar['PfpDemandCalculator.PfpRating'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class PfpRating(java.lang.Enum["PfpDemandCalculator.PfpRating"]): + NONE: typing.ClassVar["PfpDemandCalculator.PfpRating"] = ... + H60: typing.ClassVar["PfpDemandCalculator.PfpRating"] = ... + H120: typing.ClassVar["PfpDemandCalculator.PfpRating"] = ... + J60: typing.ClassVar["PfpDemandCalculator.PfpRating"] = ... + J120: typing.ClassVar["PfpDemandCalculator.PfpRating"] = ... + _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: ... + 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]) -> 'PfpDemandCalculator.PfpRating': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PfpDemandCalculator.PfpRating": ... @staticmethod - def values() -> typing.MutableSequence['PfpDemandCalculator.PfpRating']: ... + def values() -> typing.MutableSequence["PfpDemandCalculator.PfpRating"]: ... class PoolFireModel(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def distanceToFlux(self, double: float) -> float: ... def flameHeightM(self) -> float: ... def incidentHeatFlux(self, double: float) -> float: ... - def setAirDensity(self, double: float) -> 'PoolFireModel': ... + def setAirDensity(self, double: float) -> "PoolFireModel": ... def surfaceEmissivePowerWPerM2(self) -> float: ... def totalBurnRateKgPerS(self) -> float: ... def viewFactorVertical(self, double: float) -> float: ... @@ -118,8 +140,7 @@ class VCEModel(java.io.Serializable): def distanceToOverpressure(self, double: float) -> float: ... def overpressurePa(self, double: float) -> float: ... def scaledDistance(self, double: float) -> float: ... - def setAmbientPressure(self, double: float) -> 'VCEModel': ... - + def setAmbientPressure(self, double: float) -> "VCEModel": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.fire")``. diff --git a/src/jneqsim-stubs/process/safety/hazid/__init__.pyi b/src/jneqsim-stubs/process/safety/hazid/__init__.pyi index 30f8152b..ff312986 100644 --- a/src/jneqsim-stubs/process/safety/hazid/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/hazid/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,14 +13,25 @@ import jneqsim.process.processmodel import jneqsim.process.safety.risk.bowtie import typing - - class FMEAWorksheet(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addEntry(self, 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], int: int, int2: int, int3: int, string5: typing.Union[java.lang.String, str]) -> 'FMEAWorksheet': ... - def entriesAboveRPN(self, int: int) -> java.util.List['FMEAWorksheet.FMEAEntry']: ... + def addEntry( + self, + 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], + int: int, + int2: int, + int3: int, + string5: typing.Union[java.lang.String, str], + ) -> "FMEAWorksheet": ... + def entriesAboveRPN( + self, int: int + ) -> java.util.List["FMEAWorksheet.FMEAEntry"]: ... def report(self) -> java.lang.String: ... - def sortedByRPN(self) -> java.util.List['FMEAWorksheet.FMEAEntry']: ... + def sortedByRPN(self) -> java.util.List["FMEAWorksheet.FMEAEntry"]: ... + class FMEAEntry(java.io.Serializable): component: java.lang.String = ... failureMode: java.lang.String = ... @@ -30,76 +41,156 @@ class FMEAWorksheet(java.io.Serializable): occurrence: int = ... detection: int = ... mitigation: java.lang.String = ... - def __init__(self, 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], int: int, int2: int, int3: int, string5: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + int: int, + int2: int, + int3: int, + string5: typing.Union[java.lang.String, str], + ): ... def rpn(self) -> int: ... class HAZOPTemplate(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def addDeviation(self, guideWord: 'HAZOPTemplate.GuideWord', parameter: 'HAZOPTemplate.Parameter', 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]) -> 'HAZOPTemplate': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def addDeviation( + self, + guideWord: "HAZOPTemplate.GuideWord", + parameter: "HAZOPTemplate.Parameter", + 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], + ) -> "HAZOPTemplate": ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['HAZOPTemplate']: ... - def generateGrid(self, *parameter: 'HAZOPTemplate.Parameter') -> 'HAZOPTemplate': ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> java.util.List["HAZOPTemplate"]: ... + def generateGrid( + self, *parameter: "HAZOPTemplate.Parameter" + ) -> "HAZOPTemplate": ... def getDesignIntent(self) -> java.lang.String: ... - def getDeviations(self) -> java.util.List['HAZOPTemplate.HAZOPDeviation']: ... + def getDeviations(self) -> java.util.List["HAZOPTemplate.HAZOPDeviation"]: ... def getNodeId(self) -> java.lang.String: ... def report(self) -> java.lang.String: ... @staticmethod - def standardParameters() -> java.util.List['HAZOPTemplate.Parameter']: ... - class GuideWord(java.lang.Enum['HAZOPTemplate.GuideWord']): - NO: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - MORE: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - LESS: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - REVERSE: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - AS_WELL_AS: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - PART_OF: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - OTHER_THAN: typing.ClassVar['HAZOPTemplate.GuideWord'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def standardParameters() -> java.util.List["HAZOPTemplate.Parameter"]: ... + + class GuideWord(java.lang.Enum["HAZOPTemplate.GuideWord"]): + NO: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + MORE: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + LESS: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + REVERSE: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + AS_WELL_AS: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + PART_OF: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + OTHER_THAN: typing.ClassVar["HAZOPTemplate.GuideWord"] = ... + _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: ... + 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]) -> 'HAZOPTemplate.GuideWord': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HAZOPTemplate.GuideWord": ... @staticmethod - def values() -> typing.MutableSequence['HAZOPTemplate.GuideWord']: ... + def values() -> typing.MutableSequence["HAZOPTemplate.GuideWord"]: ... + class HAZOPDeviation(java.io.Serializable): - guideWord: 'HAZOPTemplate.GuideWord' = ... - parameter: 'HAZOPTemplate.Parameter' = ... + guideWord: "HAZOPTemplate.GuideWord" = ... + parameter: "HAZOPTemplate.Parameter" = ... cause: java.lang.String = ... consequence: java.lang.String = ... safeguard: java.lang.String = ... recommendation: java.lang.String = ... - def __init__(self, guideWord: 'HAZOPTemplate.GuideWord', parameter: 'HAZOPTemplate.Parameter', 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]): ... - class Parameter(java.lang.Enum['HAZOPTemplate.Parameter']): - FLOW: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - PRESSURE: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - TEMPERATURE: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - LEVEL: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - COMPOSITION: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - REACTION: typing.ClassVar['HAZOPTemplate.Parameter'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + guideWord: "HAZOPTemplate.GuideWord", + parameter: "HAZOPTemplate.Parameter", + 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], + ): ... + + class Parameter(java.lang.Enum["HAZOPTemplate.Parameter"]): + FLOW: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + PRESSURE: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + TEMPERATURE: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + LEVEL: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + COMPOSITION: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + REACTION: typing.ClassVar["HAZOPTemplate.Parameter"] = ... + _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: ... + 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]) -> 'HAZOPTemplate.Parameter': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HAZOPTemplate.Parameter": ... @staticmethod - def values() -> typing.MutableSequence['HAZOPTemplate.Parameter']: ... + def values() -> typing.MutableSequence["HAZOPTemplate.Parameter"]: ... class HazopConsequenceAutoPopulator(java.io.Serializable): def __init__(self): ... - def catalogue(self) -> java.util.List['HazopConsequenceMapping']: ... + def catalogue(self) -> java.util.List["HazopConsequenceMapping"]: ... def catalogueToJson(self) -> java.lang.String: ... - def mappingFor(self, guideWord: HAZOPTemplate.GuideWord, parameter: HAZOPTemplate.Parameter) -> 'HazopConsequenceMapping': ... + def mappingFor( + self, guideWord: HAZOPTemplate.GuideWord, parameter: HAZOPTemplate.Parameter + ) -> "HazopConsequenceMapping": ... def populate(self, hAZOPTemplate: HAZOPTemplate) -> HAZOPTemplate: ... - def quantify(self, processSystem: jneqsim.process.processmodel.ProcessSystem, hazopQuantificationLimits: 'HazopQuantificationLimits') -> java.util.List['HazopConsequenceFinding']: ... + def quantify( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + hazopQuantificationLimits: "HazopQuantificationLimits", + ) -> java.util.List["HazopConsequenceFinding"]: ... class HazopConsequenceFinding(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], guideWord: HAZOPTemplate.GuideWord, parameter: HAZOPTemplate.Parameter, double: float, double2: float, string3: typing.Union[java.lang.String, str], verdict: 'HazopConsequenceFinding.Verdict', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + guideWord: HAZOPTemplate.GuideWord, + parameter: HAZOPTemplate.Parameter, + double: float, + double2: float, + string3: typing.Union[java.lang.String, str], + verdict: "HazopConsequenceFinding.Verdict", + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], guideWord: HAZOPTemplate.GuideWord, parameter: HAZOPTemplate.Parameter, double: float, double2: float, string3: typing.Union[java.lang.String, str], verdict: 'HazopConsequenceFinding.Verdict', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str], string7: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + guideWord: HAZOPTemplate.GuideWord, + parameter: HAZOPTemplate.Parameter, + double: float, + double2: float, + string3: typing.Union[java.lang.String, str], + verdict: "HazopConsequenceFinding.Verdict", + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + string7: typing.Union[java.lang.String, str], + ): ... def exceedsLimit(self) -> bool: ... def getCalculator(self) -> java.lang.String: ... def getComputedValue(self) -> float: ... @@ -112,25 +203,39 @@ class HazopConsequenceFinding(java.io.Serializable): def getStandardReference(self) -> java.lang.String: ... def getUnitName(self) -> java.lang.String: ... def getValueUnit(self) -> java.lang.String: ... - def getVerdict(self) -> 'HazopConsequenceFinding.Verdict': ... + def getVerdict(self) -> "HazopConsequenceFinding.Verdict": ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class Verdict(java.lang.Enum['HazopConsequenceFinding.Verdict']): - PASS: typing.ClassVar['HazopConsequenceFinding.Verdict'] = ... - EXCEEDS: typing.ClassVar['HazopConsequenceFinding.Verdict'] = ... - NOT_EVALUATED: typing.ClassVar['HazopConsequenceFinding.Verdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Verdict(java.lang.Enum["HazopConsequenceFinding.Verdict"]): + PASS: typing.ClassVar["HazopConsequenceFinding.Verdict"] = ... + EXCEEDS: typing.ClassVar["HazopConsequenceFinding.Verdict"] = ... + NOT_EVALUATED: typing.ClassVar["HazopConsequenceFinding.Verdict"] = ... + _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: ... + 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]) -> 'HazopConsequenceFinding.Verdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HazopConsequenceFinding.Verdict": ... @staticmethod - def values() -> typing.MutableSequence['HazopConsequenceFinding.Verdict']: ... + def values() -> typing.MutableSequence["HazopConsequenceFinding.Verdict"]: ... class HazopConsequenceMapping(java.io.Serializable): - def __init__(self, guideWord: HAZOPTemplate.GuideWord, parameter: HAZOPTemplate.Parameter, 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]): ... + def __init__( + self, + guideWord: HAZOPTemplate.GuideWord, + parameter: HAZOPTemplate.Parameter, + 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], + ): ... def getConsequenceMechanism(self) -> java.lang.String: ... def getGuideWord(self) -> HAZOPTemplate.GuideWord: ... def getParameter(self) -> HAZOPTemplate.Parameter: ... @@ -143,18 +248,34 @@ class HazopQuantificationLimits(java.io.Serializable): DEFAULT_MAX_DISCHARGE_TEMPERATURE_C: typing.ClassVar[float] = ... DEFAULT_MIN_DESIGN_METAL_TEMPERATURE_C: typing.ClassVar[float] = ... def __init__(self): ... - def basisForMaxDischargeTemperature(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def basisForMinDesignMetalTemperature(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def maxDischargeTemperatureC(self, string: typing.Union[java.lang.String, str]) -> float: ... - def minDesignMetalTemperatureC(self, string: typing.Union[java.lang.String, str]) -> float: ... + def basisForMaxDischargeTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def basisForMinDesignMetalTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def maxDischargeTemperatureC( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def minDesignMetalTemperatureC( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def setMaxDischargeTemperatureC(self, double: float) -> 'HazopQuantificationLimits': ... + def setMaxDischargeTemperatureC( + self, double: float + ) -> "HazopQuantificationLimits": ... @typing.overload - def setMaxDischargeTemperatureC(self, string: typing.Union[java.lang.String, str], double: float) -> 'HazopQuantificationLimits': ... + def setMaxDischargeTemperatureC( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "HazopQuantificationLimits": ... @typing.overload - def setMinDesignMetalTemperatureC(self, double: float) -> 'HazopQuantificationLimits': ... + def setMinDesignMetalTemperatureC( + self, double: float + ) -> "HazopQuantificationLimits": ... @typing.overload - def setMinDesignMetalTemperatureC(self, string: typing.Union[java.lang.String, str], double: float) -> 'HazopQuantificationLimits': ... + def setMinDesignMetalTemperatureC( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "HazopQuantificationLimits": ... def toJson(self) -> java.lang.String: ... class MahBowTieBuilder(java.io.Serializable): @@ -162,42 +283,46 @@ class MahBowTieBuilder(java.io.Serializable): DEFAULT_BARRIER_PFD: typing.ClassVar[float] = ... DEFAULT_CONSEQUENCE_SEVERITY: typing.ClassVar[int] = ... @staticmethod - def build(mahType: 'MahType') -> jneqsim.process.safety.risk.bowtie.BowTieModel: ... + def build(mahType: "MahType") -> jneqsim.process.safety.risk.bowtie.BowTieModel: ... class MahCatalogue(java.io.Serializable): @staticmethod - def barriersFor(mahType: 'MahType') -> java.util.List[java.lang.String]: ... + def barriersFor(mahType: "MahType") -> java.util.List[java.lang.String]: ... @staticmethod - def consequencesFor(mahType: 'MahType') -> java.util.List[java.lang.String]: ... + def consequencesFor(mahType: "MahType") -> java.util.List[java.lang.String]: ... @staticmethod - def threatsFor(mahType: 'MahType') -> java.util.List[java.lang.String]: ... - -class MahType(java.lang.Enum['MahType']): - TOPSIDE_HYDROCARBON_RELEASE: typing.ClassVar['MahType'] = ... - RISER_LEAK: typing.ClassVar['MahType'] = ... - WELL_BLOWOUT: typing.ClassVar['MahType'] = ... - STRUCTURAL_COLLAPSE: typing.ClassVar['MahType'] = ... - DROPPED_OBJECT: typing.ClassVar['MahType'] = ... - HELICOPTER_LOSS: typing.ClassVar['MahType'] = ... - SHIP_COLLISION: typing.ClassVar['MahType'] = ... - FIRE_EXPLOSION: typing.ClassVar['MahType'] = ... - TOXIC_RELEASE: typing.ClassVar['MahType'] = ... - LOSS_OF_BUOYANCY: typing.ClassVar['MahType'] = ... - EXTREME_WEATHER: typing.ClassVar['MahType'] = ... + def threatsFor(mahType: "MahType") -> java.util.List[java.lang.String]: ... + +class MahType(java.lang.Enum["MahType"]): + TOPSIDE_HYDROCARBON_RELEASE: typing.ClassVar["MahType"] = ... + RISER_LEAK: typing.ClassVar["MahType"] = ... + WELL_BLOWOUT: typing.ClassVar["MahType"] = ... + STRUCTURAL_COLLAPSE: typing.ClassVar["MahType"] = ... + DROPPED_OBJECT: typing.ClassVar["MahType"] = ... + HELICOPTER_LOSS: typing.ClassVar["MahType"] = ... + SHIP_COLLISION: typing.ClassVar["MahType"] = ... + FIRE_EXPLOSION: typing.ClassVar["MahType"] = ... + TOXIC_RELEASE: typing.ClassVar["MahType"] = ... + LOSS_OF_BUOYANCY: typing.ClassVar["MahType"] = ... + EXTREME_WEATHER: typing.ClassVar["MahType"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'MahType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "MahType": ... @staticmethod - def values() -> typing.MutableSequence['MahType']: ... + def values() -> typing.MutableSequence["MahType"]: ... class StidHazopDataSource: NODE_ARRAY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... - DEVIATION_ARRAY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + DEVIATION_ARRAY_KEYS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ( + ... + ) @typing.overload def __init__(self, jsonObject: com.google.gson.JsonObject): ... @typing.overload @@ -206,7 +331,6 @@ class StidHazopDataSource: def getProjectName(self) -> java.lang.String: ... def read(self) -> java.util.List[HAZOPTemplate]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.hazid")``. diff --git a/src/jneqsim-stubs/process/safety/inherent/__init__.pyi b/src/jneqsim-stubs/process/safety/inherent/__init__.pyi index 40c2fa30..8a5ebbac 100644 --- a/src/jneqsim-stubs/process/safety/inherent/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/inherent/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,29 +9,37 @@ import java.io import java.lang import typing - - class InherentSafetyEvaluator(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def getScore(self, pillar: 'InherentSafetyEvaluator.Pillar') -> float: ... + def getScore(self, pillar: "InherentSafetyEvaluator.Pillar") -> float: ... def overallIndex(self) -> float: ... def report(self) -> java.lang.String: ... - def score(self, pillar: 'InherentSafetyEvaluator.Pillar', double: float, string: typing.Union[java.lang.String, str]) -> 'InherentSafetyEvaluator': ... - class Pillar(java.lang.Enum['InherentSafetyEvaluator.Pillar']): - SUBSTITUTE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... - MINIMIZE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... - MODERATE: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... - SIMPLIFY: typing.ClassVar['InherentSafetyEvaluator.Pillar'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def score( + self, + pillar: "InherentSafetyEvaluator.Pillar", + double: float, + string: typing.Union[java.lang.String, str], + ) -> "InherentSafetyEvaluator": ... + + class Pillar(java.lang.Enum["InherentSafetyEvaluator.Pillar"]): + SUBSTITUTE: typing.ClassVar["InherentSafetyEvaluator.Pillar"] = ... + MINIMIZE: typing.ClassVar["InherentSafetyEvaluator.Pillar"] = ... + MODERATE: typing.ClassVar["InherentSafetyEvaluator.Pillar"] = ... + SIMPLIFY: typing.ClassVar["InherentSafetyEvaluator.Pillar"] = ... + _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: ... + 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]) -> 'InherentSafetyEvaluator.Pillar': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "InherentSafetyEvaluator.Pillar": ... @staticmethod - def values() -> typing.MutableSequence['InherentSafetyEvaluator.Pillar']: ... - + def values() -> typing.MutableSequence["InherentSafetyEvaluator.Pillar"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.inherent")``. diff --git a/src/jneqsim-stubs/process/safety/inventory/__init__.pyi b/src/jneqsim-stubs/process/safety/inventory/__init__.pyi index 505cca5e..8ec17ab7 100644 --- a/src/jneqsim-stubs/process/safety/inventory/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/inventory/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,30 +12,72 @@ import jneqsim.process.safety.barrier import jneqsim.thermo.system import typing - - class TrappedInventoryCalculator(java.io.Serializable): def __init__(self): ... - def addEquipmentVolume(self, string: typing.Union[java.lang.String, str], double: float, double2: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + def addEquipmentVolume( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence, + ) -> "TrappedInventoryCalculator": ... @typing.overload - def addPipeSegment(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... + def addPipeSegment( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence, + ) -> "TrappedInventoryCalculator": ... @typing.overload - def addPipeSegment(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], double3: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... - def addVolumeSegment(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator': ... - def calculate(self) -> 'TrappedInventoryCalculator.InventoryResult': ... + def addPipeSegment( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + string3: typing.Union[java.lang.String, str], + double3: float, + documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence, + ) -> "TrappedInventoryCalculator": ... + def addVolumeSegment( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence, + ) -> "TrappedInventoryCalculator": ... + def calculate(self) -> "TrappedInventoryCalculator.InventoryResult": ... def createDepressurizationFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def setFallbackLiquidDensity(self, double: float) -> 'TrappedInventoryCalculator': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TrappedInventoryCalculator': ... + def setFallbackLiquidDensity( + self, double: float + ) -> "TrappedInventoryCalculator": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "TrappedInventoryCalculator": ... @typing.overload - def setOperatingConditions(self, double: float, double2: float) -> 'TrappedInventoryCalculator': ... + def setOperatingConditions( + self, double: float, double2: float + ) -> "TrappedInventoryCalculator": ... @typing.overload - def setOperatingConditions(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'TrappedInventoryCalculator': ... + def setOperatingConditions( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "TrappedInventoryCalculator": ... def toJson(self) -> java.lang.String: ... + class InventoryResult(java.io.Serializable): def getGasDensityKgPerM3(self) -> float: ... def getLiquidDensityKgPerM3(self) -> float: ... def getPressureBara(self) -> float: ... - def getSegmentResults(self) -> java.util.List['TrappedInventoryCalculator.InventorySegmentResult']: ... + def getSegmentResults( + self, + ) -> java.util.List["TrappedInventoryCalculator.InventorySegmentResult"]: ... def getTemperatureK(self) -> float: ... def getTotalGasMassKg(self) -> float: ... def getTotalGasVolumeM3(self) -> float: ... @@ -46,15 +88,21 @@ class TrappedInventoryCalculator(java.io.Serializable): def getWarnings(self) -> java.util.List[java.lang.String]: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class InventorySegment(java.io.Serializable): - def addEvidence(self, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence) -> 'TrappedInventoryCalculator.InventorySegment': ... - def getEvidence(self) -> java.util.List[jneqsim.process.safety.barrier.DocumentEvidence]: ... + def addEvidence( + self, documentEvidence: jneqsim.process.safety.barrier.DocumentEvidence + ) -> "TrappedInventoryCalculator.InventorySegment": ... + def getEvidence( + self, + ) -> java.util.List[jneqsim.process.safety.barrier.DocumentEvidence]: ... def getId(self) -> java.lang.String: ... def getInternalDiameterM(self) -> float: ... def getLengthM(self) -> float: ... def getLiquidFillFraction(self) -> float: ... def getType(self) -> java.lang.String: ... def getVolumeM3(self) -> float: ... + class InventorySegmentResult(java.io.Serializable): def getGasDensityKgPerM3(self) -> float: ... def getGasMassKg(self) -> float: ... @@ -67,7 +115,6 @@ class TrappedInventoryCalculator(java.io.Serializable): def getTotalVolumeM3(self) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.inventory")``. diff --git a/src/jneqsim-stubs/process/safety/leakdetection/__init__.pyi b/src/jneqsim-stubs/process/safety/leakdetection/__init__.pyi index db3eab07..c827b9c5 100644 --- a/src/jneqsim-stubs/process/safety/leakdetection/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/leakdetection/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,30 +13,56 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class MassBalanceLeakDetector(java.io.Serializable): @typing.overload - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def calculateSensitivity(self) -> 'MassBalanceLeakDetector.LeakDetectionSensitivityResult': ... + def calculateSensitivity( + self, + ) -> "MassBalanceLeakDetector.LeakDetectionSensitivityResult": ... @staticmethod - def fromPipe(pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface) -> 'MassBalanceLeakDetector': ... - def setConfidenceMultiplier(self, double: float) -> 'MassBalanceLeakDetector': ... - def setDetectionWindowS(self, double: float) -> 'MassBalanceLeakDetector': ... - def setFlowMeasurementUncertaintyFraction(self, double: float) -> 'MassBalanceLeakDetector': ... - def setLinepackVolumeM3(self, double: float) -> 'MassBalanceLeakDetector': ... - def setPressureUncertaintyBara(self, double: float) -> 'MassBalanceLeakDetector': ... - def setTemperatureUncertaintyK(self, double: float) -> 'MassBalanceLeakDetector': ... + def fromPipe( + pipeLineInterface: jneqsim.process.equipment.pipeline.PipeLineInterface, + ) -> "MassBalanceLeakDetector": ... + def setConfidenceMultiplier(self, double: float) -> "MassBalanceLeakDetector": ... + def setDetectionWindowS(self, double: float) -> "MassBalanceLeakDetector": ... + def setFlowMeasurementUncertaintyFraction( + self, double: float + ) -> "MassBalanceLeakDetector": ... + def setLinepackVolumeM3(self, double: float) -> "MassBalanceLeakDetector": ... + def setPressureUncertaintyBara( + self, double: float + ) -> "MassBalanceLeakDetector": ... + def setTemperatureUncertaintyK( + self, double: float + ) -> "MassBalanceLeakDetector": ... + class LeakDetectionSensitivityResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ): ... def getMinimumDetectableLeakFraction(self) -> float: ... def getMinimumDetectableLeakRateKgPerS(self) -> float: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.leakdetection")``. diff --git a/src/jneqsim-stubs/process/safety/mdmt/__init__.pyi b/src/jneqsim-stubs/process/safety/mdmt/__init__.pyi index 71764c68..8b095797 100644 --- a/src/jneqsim-stubs/process/safety/mdmt/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/mdmt/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,29 +9,34 @@ import java.io import java.lang import typing - - class MDMTCalculator(java.io.Serializable): - def __init__(self, materialCurve: 'MDMTCalculator.MaterialCurve', double: float): ... + def __init__( + self, materialCurve: "MDMTCalculator.MaterialCurve", double: float + ): ... def getMDMT_C(self) -> float: ... def isAcceptable(self, double: float) -> bool: ... def report(self, double: float) -> java.lang.String: ... - def setStressRatio(self, double: float) -> 'MDMTCalculator': ... - class MaterialCurve(java.lang.Enum['MDMTCalculator.MaterialCurve']): - A: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... - B: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... - C: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... - D: typing.ClassVar['MDMTCalculator.MaterialCurve'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setStressRatio(self, double: float) -> "MDMTCalculator": ... + + class MaterialCurve(java.lang.Enum["MDMTCalculator.MaterialCurve"]): + A: typing.ClassVar["MDMTCalculator.MaterialCurve"] = ... + B: typing.ClassVar["MDMTCalculator.MaterialCurve"] = ... + C: typing.ClassVar["MDMTCalculator.MaterialCurve"] = ... + D: typing.ClassVar["MDMTCalculator.MaterialCurve"] = ... + _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: ... + 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]) -> 'MDMTCalculator.MaterialCurve': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MDMTCalculator.MaterialCurve": ... @staticmethod - def values() -> typing.MutableSequence['MDMTCalculator.MaterialCurve']: ... - + def values() -> typing.MutableSequence["MDMTCalculator.MaterialCurve"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.mdmt")``. diff --git a/src/jneqsim-stubs/process/safety/opendrain/__init__.pyi b/src/jneqsim-stubs/process/safety/opendrain/__init__.pyi index cc0c8c6b..d12f2416 100644 --- a/src/jneqsim-stubs/process/safety/opendrain/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/opendrain/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,62 +14,123 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class OpenDrainAssessment(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], status: 'OpenDrainAssessment.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... - def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainAssessment': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + status: "OpenDrainAssessment.Status", + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + ): ... + def addDetail( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "OpenDrainAssessment": ... @staticmethod - def fail(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], string5: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... + def fail( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "OpenDrainAssessment": ... def getClause(self) -> java.lang.String: ... def getRequirementId(self) -> java.lang.String: ... def getStandard(self) -> java.lang.String: ... - def getStatus(self) -> 'OpenDrainAssessment.Status': ... + def getStatus(self) -> "OpenDrainAssessment.Status": ... @staticmethod - def info(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]) -> 'OpenDrainAssessment': ... + def info( + 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], + ) -> "OpenDrainAssessment": ... def isFailing(self) -> bool: ... def isWarning(self) -> bool: ... @staticmethod - def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... + def notApplicable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "OpenDrainAssessment": ... @staticmethod - def pass_(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]) -> 'OpenDrainAssessment': ... + def pass_( + 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], + ) -> "OpenDrainAssessment": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @staticmethod - def warning(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], string5: typing.Union[java.lang.String, str]) -> 'OpenDrainAssessment': ... - class Status(java.lang.Enum['OpenDrainAssessment.Status']): - PASS: typing.ClassVar['OpenDrainAssessment.Status'] = ... - WARNING: typing.ClassVar['OpenDrainAssessment.Status'] = ... - FAIL: typing.ClassVar['OpenDrainAssessment.Status'] = ... - INFO: typing.ClassVar['OpenDrainAssessment.Status'] = ... - NOT_APPLICABLE: typing.ClassVar['OpenDrainAssessment.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def warning( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "OpenDrainAssessment": ... + + class Status(java.lang.Enum["OpenDrainAssessment.Status"]): + PASS: typing.ClassVar["OpenDrainAssessment.Status"] = ... + WARNING: typing.ClassVar["OpenDrainAssessment.Status"] = ... + FAIL: typing.ClassVar["OpenDrainAssessment.Status"] = ... + INFO: typing.ClassVar["OpenDrainAssessment.Status"] = ... + NOT_APPLICABLE: typing.ClassVar["OpenDrainAssessment.Status"] = ... + _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: ... + 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]) -> 'OpenDrainAssessment.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OpenDrainAssessment.Status": ... @staticmethod - def values() -> typing.MutableSequence['OpenDrainAssessment.Status']: ... + def values() -> typing.MutableSequence["OpenDrainAssessment.Status"]: ... class OpenDrainProcessEvidenceCalculator: @staticmethod - def calculateCredibleLiquidLeakRateKgPerS(double: float, double2: float, double3: float) -> float: ... + def calculateCredibleLiquidLeakRateKgPerS( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calculateFireWaterLoadKgPerS(double: float, double2: float, double3: float) -> float: ... + def calculateFireWaterLoadKgPerS( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def calculateGravityDrainCapacityKgPerS(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateGravityDrainCapacityKgPerS( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def createInputFromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewInput': ... + def createInputFromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + designBasis: "OpenDrainProcessEvidenceCalculator.DesignBasis", + ) -> "OpenDrainReviewInput": ... @staticmethod - def createInputFromStream(string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewInput': ... + def createInputFromStream( + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + designBasis: "OpenDrainProcessEvidenceCalculator.DesignBasis", + ) -> "OpenDrainReviewInput": ... @staticmethod - def createItemFromEquipment(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewItem': ... + def createItemFromEquipment( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + designBasis: "OpenDrainProcessEvidenceCalculator.DesignBasis", + ) -> "OpenDrainReviewItem": ... @staticmethod - def createItemFromStream(streamInterface: jneqsim.process.equipment.stream.StreamInterface, designBasis: 'OpenDrainProcessEvidenceCalculator.DesignBasis') -> 'OpenDrainReviewItem': ... + def createItemFromStream( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + designBasis: "OpenDrainProcessEvidenceCalculator.DesignBasis", + ) -> "OpenDrainReviewItem": ... + class DesignBasis(java.io.Serializable): def __init__(self): ... - def copy(self) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def copy(self) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... def getAreaId(self) -> java.lang.String: ... def getAreaType(self) -> java.lang.String: ... def getAvailableDrainHeadM(self) -> float: ... @@ -91,30 +152,72 @@ class OpenDrainProcessEvidenceCalculator: def isOpenDrainDependsOnUtility(self) -> bool: ... def isSealDesignedForMaxBackpressure(self) -> bool: ... def isVentTerminatedSafe(self) -> bool: ... - def setAreaId(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setAreaType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setAvailableDrainHeadM(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setBackflowPrevented(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setClosedOpenDrainInteractionPrevented(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setCredibleLeakFractionOfLiquidFlow(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setDrainBackpressureBarg(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setDrainDischargeCoefficient(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setDrainPipeDiameterM(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setDrainSystemType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setFireWaterApplicationRateLPerMinM2(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setFireWaterAreaM2(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setFireWaterDensityKgPerM3(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setHasOpenDrainMeasures(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setHazardousNonHazardousPhysicallySeparated(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setMaximumCredibleLiquidLeakRateKgPerS(self, double: float) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setOpenDrainDependsOnUtility(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setSealDesignedForMaxBackpressure(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setStandards(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... - def setVentTerminatedSafe(self, boolean: bool) -> 'OpenDrainProcessEvidenceCalculator.DesignBasis': ... + def setAreaId( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setAreaType( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setAvailableDrainHeadM( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setBackflowPrevented( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setClosedOpenDrainInteractionPrevented( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setCredibleLeakFractionOfLiquidFlow( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setDrainBackpressureBarg( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setDrainDischargeCoefficient( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setDrainPipeDiameterM( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setDrainSystemType( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setFireWaterApplicationRateLPerMinM2( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setFireWaterAreaM2( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setFireWaterDensityKgPerM3( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setHasOpenDrainMeasures( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setHazardousNonHazardousPhysicallySeparated( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setMaximumCredibleLiquidLeakRateKgPerS( + self, double: float + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setOpenDrainDependsOnUtility( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setSealDesignedForMaxBackpressure( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setSourceReference( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setStandards( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... + def setVentTerminatedSafe( + self, boolean: bool + ) -> "OpenDrainProcessEvidenceCalculator.DesignBasis": ... class OpenDrainReviewDataSource: - def read(self) -> 'OpenDrainReviewInput': ... + def read(self) -> "OpenDrainReviewInput": ... class OpenDrainReviewEngine: NORSOK_S001: typing.ClassVar[java.lang.String] = ... @@ -122,56 +225,99 @@ class OpenDrainReviewEngine: CLAUSE_9_4_2: typing.ClassVar[java.lang.String] = ... CLAUSE_9_4_3: typing.ClassVar[java.lang.String] = ... def __init__(self): ... - def evaluate(self, openDrainReviewInput: 'OpenDrainReviewInput') -> 'OpenDrainReviewReport': ... - def evaluateItem(self, openDrainReviewItem: 'OpenDrainReviewItem', double: float) -> 'OpenDrainReviewResult': ... + def evaluate( + self, openDrainReviewInput: "OpenDrainReviewInput" + ) -> "OpenDrainReviewReport": ... + def evaluateItem( + self, openDrainReviewItem: "OpenDrainReviewItem", double: float + ) -> "OpenDrainReviewResult": ... class OpenDrainReviewInput(java.io.Serializable): def __init__(self): ... - def addItem(self, openDrainReviewItem: 'OpenDrainReviewItem') -> 'OpenDrainReviewInput': ... + def addItem( + self, openDrainReviewItem: "OpenDrainReviewItem" + ) -> "OpenDrainReviewInput": ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewInput': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewInput": ... @staticmethod - def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'OpenDrainReviewInput': ... + def fromJsonObject( + jsonObject: com.google.gson.JsonObject, + ) -> "OpenDrainReviewInput": ... def getDefaultLiquidLeakRateKgPerS(self) -> float: ... - def getItems(self) -> java.util.List['OpenDrainReviewItem']: ... + def getItems(self) -> java.util.List["OpenDrainReviewItem"]: ... def getProjectName(self) -> java.lang.String: ... - def mergeFrom(self, openDrainReviewInput: 'OpenDrainReviewInput') -> None: ... - def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainReviewInput': ... - def setDefaultLiquidLeakRateKgPerS(self, double: float) -> 'OpenDrainReviewInput': ... - def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewInput': ... + def mergeFrom(self, openDrainReviewInput: "OpenDrainReviewInput") -> None: ... + def putMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "OpenDrainReviewInput": ... + def setDefaultLiquidLeakRateKgPerS( + self, double: float + ) -> "OpenDrainReviewInput": ... + def setProjectName( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewInput": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class OpenDrainReviewItem(java.io.Serializable): def __init__(self): ... - def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + def addSourceReference( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewItem": ... @staticmethod - def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'OpenDrainReviewItem': ... + def fromMap( + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ] + ) -> "OpenDrainReviewItem": ... def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def getAreaId(self) -> java.lang.String: ... def getAreaType(self) -> java.lang.String: ... - def getBoolean(self, boolean: bool, *string: typing.Union[java.lang.String, str]) -> bool: ... - def getBooleanObject(self, *string: typing.Union[java.lang.String, str]) -> bool: ... - def getDouble(self, double: float, *string: typing.Union[java.lang.String, str]) -> float: ... + def getBoolean( + self, boolean: bool, *string: typing.Union[java.lang.String, str] + ) -> bool: ... + def getBooleanObject( + self, *string: typing.Union[java.lang.String, str] + ) -> bool: ... + def getDouble( + self, double: float, *string: typing.Union[java.lang.String, str] + ) -> float: ... def getDrainSystemType(self) -> java.lang.String: ... def getSourceReferences(self) -> java.util.List[java.lang.String]: ... - def getString(self, string: typing.Union[java.lang.String, str], *string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getStringList(self, *string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getString( + self, + string: typing.Union[java.lang.String, str], + *string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def getStringList( + self, *string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hasAny(self, *string: typing.Union[java.lang.String, str]) -> bool: ... - def mergeFrom(self, openDrainReviewItem: 'OpenDrainReviewItem') -> None: ... - def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'OpenDrainReviewItem': ... - def setAreaId(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... - def setAreaType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... - def setDrainSystemType(self, string: typing.Union[java.lang.String, str]) -> 'OpenDrainReviewItem': ... + def mergeFrom(self, openDrainReviewItem: "OpenDrainReviewItem") -> None: ... + def put( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "OpenDrainReviewItem": ... + def setAreaId( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewItem": ... + def setAreaType( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewItem": ... + def setDrainSystemType( + self, string: typing.Union[java.lang.String, str] + ) -> "OpenDrainReviewItem": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class OpenDrainReviewReport(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addResult(self, openDrainReviewResult: 'OpenDrainReviewResult') -> None: ... + def addResult(self, openDrainReviewResult: "OpenDrainReviewResult") -> None: ... def finalizeVerdict(self) -> None: ... def getOverallVerdict(self) -> java.lang.String: ... - def getResults(self) -> java.util.List['OpenDrainReviewResult']: ... + def getResults(self) -> java.util.List["OpenDrainReviewResult"]: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @@ -192,10 +338,11 @@ class StidOpenDrainDataSource(OpenDrainReviewDataSource): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod - def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'StidOpenDrainDataSource': ... + def fromJsonObject( + jsonObject: com.google.gson.JsonObject, + ) -> "StidOpenDrainDataSource": ... def read(self) -> OpenDrainReviewInput: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.opendrain")``. diff --git a/src/jneqsim-stubs/process/safety/overpressure/__init__.pyi b/src/jneqsim-stubs/process/safety/overpressure/__init__.pyi index f6d5ffc6..a65c1aab 100644 --- a/src/jneqsim-stubs/process/safety/overpressure/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/overpressure/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,10 +12,16 @@ import jneqsim.process.util.fire import jneqsim.thermo.system import typing - - class AcceptanceResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, boolean: bool, double4: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + boolean: bool, + double4: float, + string: typing.Union[java.lang.String, str], + ): ... def getAccumulationFraction(self) -> float: ... def getAllowableAccumulatedPressureBara(self) -> float: ... def getBasis(self) -> java.lang.String: ... @@ -25,111 +31,163 @@ class AcceptanceResult(java.io.Serializable): class BlockedOutletRelief: def __init__(self): ... - def calculate(self) -> 'ReliefScenario': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'BlockedOutletRelief': ... - def setInflowRateKgPerHr(self, double: float) -> 'BlockedOutletRelief': ... - def setInflowRateKgPerS(self, double: float) -> 'BlockedOutletRelief': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'BlockedOutletRelief': ... - def setReliefPressureBara(self, double: float) -> 'BlockedOutletRelief': ... - def setReliefTemperatureC(self, double: float) -> 'BlockedOutletRelief': ... + def calculate(self) -> "ReliefScenario": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "BlockedOutletRelief": ... + def setInflowRateKgPerHr(self, double: float) -> "BlockedOutletRelief": ... + def setInflowRateKgPerS(self, double: float) -> "BlockedOutletRelief": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "BlockedOutletRelief": ... + def setReliefPressureBara(self, double: float) -> "BlockedOutletRelief": ... + def setReliefTemperatureC(self, double: float) -> "BlockedOutletRelief": ... class CheckValveLeakRelief: def __init__(self): ... - def calculate(self) -> 'ReliefScenario': ... - def setDischargeCoefficient(self, double: float) -> 'CheckValveLeakRelief': ... - def setDownstreamPressureBara(self, double: float) -> 'CheckValveLeakRelief': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'CheckValveLeakRelief': ... - def setLeakAreaFraction(self, double: float) -> 'CheckValveLeakRelief': ... - def setMolarMassKgPerMol(self, double: float) -> 'CheckValveLeakRelief': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'CheckValveLeakRelief': ... - def setNominalDiameterInch(self, double: float) -> 'CheckValveLeakRelief': ... - def setNominalDiameterM(self, double: float) -> 'CheckValveLeakRelief': ... - def setSpecificHeatRatio(self, double: float) -> 'CheckValveLeakRelief': ... - def setUpstreamPressureBara(self, double: float) -> 'CheckValveLeakRelief': ... - def setUpstreamTemperatureC(self, double: float) -> 'CheckValveLeakRelief': ... + def calculate(self) -> "ReliefScenario": ... + def setDischargeCoefficient(self, double: float) -> "CheckValveLeakRelief": ... + def setDownstreamPressureBara(self, double: float) -> "CheckValveLeakRelief": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "CheckValveLeakRelief": ... + def setLeakAreaFraction(self, double: float) -> "CheckValveLeakRelief": ... + def setMolarMassKgPerMol(self, double: float) -> "CheckValveLeakRelief": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "CheckValveLeakRelief": ... + def setNominalDiameterInch(self, double: float) -> "CheckValveLeakRelief": ... + def setNominalDiameterM(self, double: float) -> "CheckValveLeakRelief": ... + def setSpecificHeatRatio(self, double: float) -> "CheckValveLeakRelief": ... + def setUpstreamPressureBara(self, double: float) -> "CheckValveLeakRelief": ... + def setUpstreamTemperatureC(self, double: float) -> "CheckValveLeakRelief": ... class ComplianceFinding(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], complianceStatus: 'ComplianceStatus', string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + complianceStatus: "ComplianceStatus", + string3: typing.Union[java.lang.String, str], + ): ... def getDetail(self) -> java.lang.String: ... def getRequirementId(self) -> java.lang.String: ... - def getStatus(self) -> 'ComplianceStatus': ... + def getStatus(self) -> "ComplianceStatus": ... def getTitle(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... -class ComplianceStatus(java.lang.Enum['ComplianceStatus']): - PASS: typing.ClassVar['ComplianceStatus'] = ... - FAIL: typing.ClassVar['ComplianceStatus'] = ... - INFO: typing.ClassVar['ComplianceStatus'] = ... - NEEDS_REVIEW: typing.ClassVar['ComplianceStatus'] = ... +class ComplianceStatus(java.lang.Enum["ComplianceStatus"]): + PASS: typing.ClassVar["ComplianceStatus"] = ... + FAIL: typing.ClassVar["ComplianceStatus"] = ... + INFO: typing.ClassVar["ComplianceStatus"] = ... + NEEDS_REVIEW: typing.ClassVar["ComplianceStatus"] = ... def getLabel(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ComplianceStatus': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ComplianceStatus": ... @staticmethod - def values() -> typing.MutableSequence['ComplianceStatus']: ... + def values() -> typing.MutableSequence["ComplianceStatus"]: ... class ControlValveFailureRelief: def __init__(self): ... - def calculate(self) -> 'ReliefScenario': ... - def setCv(self, double: float) -> 'ControlValveFailureRelief': ... - def setCvErosionMargin(self, double: float) -> 'ControlValveFailureRelief': ... - def setDischargeCoefficient(self, double: float) -> 'ControlValveFailureRelief': ... - def setDownstreamPressureBara(self, double: float) -> 'ControlValveFailureRelief': ... - def setEffectiveAreaM2(self, double: float) -> 'ControlValveFailureRelief': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ControlValveFailureRelief': ... - def setMolarMassKgPerMol(self, double: float) -> 'ControlValveFailureRelief': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'ControlValveFailureRelief': ... - def setSpecificHeatRatio(self, double: float) -> 'ControlValveFailureRelief': ... - def setUpstreamPressureBara(self, double: float) -> 'ControlValveFailureRelief': ... - def setUpstreamTemperatureC(self, double: float) -> 'ControlValveFailureRelief': ... + def calculate(self) -> "ReliefScenario": ... + def setCv(self, double: float) -> "ControlValveFailureRelief": ... + def setCvErosionMargin(self, double: float) -> "ControlValveFailureRelief": ... + def setDischargeCoefficient(self, double: float) -> "ControlValveFailureRelief": ... + def setDownstreamPressureBara( + self, double: float + ) -> "ControlValveFailureRelief": ... + def setEffectiveAreaM2(self, double: float) -> "ControlValveFailureRelief": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "ControlValveFailureRelief": ... + def setMolarMassKgPerMol(self, double: float) -> "ControlValveFailureRelief": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "ControlValveFailureRelief": ... + def setSpecificHeatRatio(self, double: float) -> "ControlValveFailureRelief": ... + def setUpstreamPressureBara(self, double: float) -> "ControlValveFailureRelief": ... + def setUpstreamTemperatureC(self, double: float) -> "ControlValveFailureRelief": ... class FireCaseRelief: def __init__(self): ... - def calculate(self) -> 'ReliefScenario': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FireCaseRelief': ... - def setHasDrainage(self, boolean: bool) -> 'FireCaseRelief': ... - def setHasFireFighting(self, boolean: bool) -> 'FireCaseRelief': ... - def setLatentHeatJPerKg(self, double: float) -> 'FireCaseRelief': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'FireCaseRelief': ... - def setReliefPressureBara(self, double: float) -> 'FireCaseRelief': ... - def setReliefTemperatureC(self, double: float) -> 'FireCaseRelief': ... - def setVesselDiameterM(self, double: float) -> 'FireCaseRelief': ... - def setWettedAreaM2(self, double: float) -> 'FireCaseRelief': ... - def setWettedHeightM(self, double: float) -> 'FireCaseRelief': ... + def calculate(self) -> "ReliefScenario": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "FireCaseRelief": ... + def setHasDrainage(self, boolean: bool) -> "FireCaseRelief": ... + def setHasFireFighting(self, boolean: bool) -> "FireCaseRelief": ... + def setLatentHeatJPerKg(self, double: float) -> "FireCaseRelief": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "FireCaseRelief": ... + def setReliefPressureBara(self, double: float) -> "FireCaseRelief": ... + def setReliefTemperatureC(self, double: float) -> "FireCaseRelief": ... + def setVesselDiameterM(self, double: float) -> "FireCaseRelief": ... + def setWettedAreaM2(self, double: float) -> "FireCaseRelief": ... + def setWettedHeightM(self, double: float) -> "FireCaseRelief": ... class OverpressureAcceptanceChecker(java.io.Serializable): SINGLE_NON_FIRE_FACTOR: typing.ClassVar[float] = ... MULTIPLE_NON_FIRE_FACTOR: typing.ClassVar[float] = ... FIRE_FACTOR: typing.ClassVar[float] = ... def __init__(self): ... - def accumulationFactor(self, reliefCause: 'ReliefCause', boolean: bool) -> float: ... - def check(self, double: float, protectedItem: 'ProtectedItem', reliefCause: 'ReliefCause', boolean: bool) -> AcceptanceResult: ... + def accumulationFactor( + self, reliefCause: "ReliefCause", boolean: bool + ) -> float: ... + def check( + self, + double: float, + protectedItem: "ProtectedItem", + reliefCause: "ReliefCause", + boolean: bool, + ) -> AcceptanceResult: ... class OverpressureProtectionStudy(java.io.Serializable): - def __init__(self, protectedItem: 'ProtectedItem'): ... - def addScenario(self, reliefScenario: 'ReliefScenario') -> 'OverpressureProtectionStudy': ... - def evaluate(self) -> 'OverpressureStudyResult': ... - def getItem(self) -> 'ProtectedItem': ... - def getScenarios(self) -> java.util.List['ReliefScenario']: ... - def governingScenario(self) -> 'ReliefScenario': ... - def setMultipleDevices(self, boolean: bool) -> 'OverpressureProtectionStudy': ... + def __init__(self, protectedItem: "ProtectedItem"): ... + def addScenario( + self, reliefScenario: "ReliefScenario" + ) -> "OverpressureProtectionStudy": ... + def evaluate(self) -> "OverpressureStudyResult": ... + def getItem(self) -> "ProtectedItem": ... + def getScenarios(self) -> java.util.List["ReliefScenario"]: ... + def governingScenario(self) -> "ReliefScenario": ... + def setMultipleDevices(self, boolean: bool) -> "OverpressureProtectionStudy": ... class OverpressureStudyResult(java.io.Serializable): - def __init__(self, protectedItem: 'ProtectedItem', reliefScenario: 'ReliefScenario', list: java.util.List['ReliefScenario'], double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float, double4: float, boolean: bool, acceptanceResult: AcceptanceResult, list2: java.util.List[typing.Union[java.lang.String, str]], pSVSizingResult: jneqsim.process.util.fire.ReliefValveSizing.PSVSizingResult): ... + def __init__( + self, + protectedItem: "ProtectedItem", + reliefScenario: "ReliefScenario", + list: java.util.List["ReliefScenario"], + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + double3: float, + double4: float, + boolean: bool, + acceptanceResult: AcceptanceResult, + list2: java.util.List[typing.Union[java.lang.String, str]], + pSVSizingResult: jneqsim.process.util.fire.ReliefValveSizing.PSVSizingResult, + ): ... def getAcceptance(self) -> AcceptanceResult: ... - def getGoverningScenario(self) -> 'ReliefScenario': ... - def getItem(self) -> 'ProtectedItem': ... + def getGoverningScenario(self) -> "ReliefScenario": ... + def getItem(self) -> "ProtectedItem": ... def getRecommendedOrifice(self) -> java.lang.String: ... def getRequiredAreaIn2(self) -> float: ... def getRequiredAreaM2(self) -> float: ... - def getScenarios(self) -> java.util.List['ReliefScenario']: ... + def getScenarios(self) -> java.util.List["ReliefScenario"]: ... def getSelectedAreaIn2(self) -> float: ... def getSelectedOrificeCapacityKgPerS(self) -> float: ... - def getSizingResult(self) -> jneqsim.process.util.fire.ReliefValveSizing.PSVSizingResult: ... + def getSizingResult( + self, + ) -> jneqsim.process.util.fire.ReliefValveSizing.PSVSizingResult: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isCapacityAdequate(self) -> bool: ... def toJson(self) -> java.lang.String: ... @@ -145,7 +203,9 @@ class PipelinePressureProtectionCalculator(java.io.Serializable): def isFullyRated(self) -> bool: ... def isProtectionAdequate(self) -> bool: ... def setBarriers(self, double: float, double2: float) -> None: ... - def setPressureBasis(self, double: float, double2: float, double3: float) -> None: ... + def setPressureBasis( + self, double: float, double2: float, double3: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class ProtectedItem(java.io.Serializable): @@ -155,50 +215,68 @@ class ProtectedItem(java.io.Serializable): def getMaximumAllowableWorkingPressureBara(self) -> float: ... def getName(self) -> java.lang.String: ... def getReliefSetPressureBara(self) -> float: ... - def setBackPressureBara(self, double: float) -> 'ProtectedItem': ... - def setDesignTemperatureC(self, double: float) -> 'ProtectedItem': ... - def setMaximumAllowableWorkingPressureBara(self, double: float) -> 'ProtectedItem': ... - def setReliefSetPressureBara(self, double: float) -> 'ProtectedItem': ... + def setBackPressureBara(self, double: float) -> "ProtectedItem": ... + def setDesignTemperatureC(self, double: float) -> "ProtectedItem": ... + def setMaximumAllowableWorkingPressureBara( + self, double: float + ) -> "ProtectedItem": ... + def setReliefSetPressureBara(self, double: float) -> "ProtectedItem": ... -class ReliefCause(java.lang.Enum['ReliefCause']): - BLOCKED_OUTLET: typing.ClassVar['ReliefCause'] = ... - CHECK_VALVE_LEAKAGE: typing.ClassVar['ReliefCause'] = ... - GAS_BLOW_BY: typing.ClassVar['ReliefCause'] = ... - LIQUID_BLOW_BY: typing.ClassVar['ReliefCause'] = ... - VOLATILE_LIQUID_INGRESS: typing.ClassVar['ReliefCause'] = ... - INADVERTENT_VALVE_OPENING: typing.ClassVar['ReliefCause'] = ... - CONTROL_VALVE_FAILURE: typing.ClassVar['ReliefCause'] = ... - FIRE: typing.ClassVar['ReliefCause'] = ... - THERMAL_EXPANSION: typing.ClassVar['ReliefCause'] = ... - CHOKE_COLLAPSE: typing.ClassVar['ReliefCause'] = ... - TUBE_RUPTURE: typing.ClassVar['ReliefCause'] = ... - VACUUM: typing.ClassVar['ReliefCause'] = ... - OTHER: typing.ClassVar['ReliefCause'] = ... +class ReliefCause(java.lang.Enum["ReliefCause"]): + BLOCKED_OUTLET: typing.ClassVar["ReliefCause"] = ... + CHECK_VALVE_LEAKAGE: typing.ClassVar["ReliefCause"] = ... + GAS_BLOW_BY: typing.ClassVar["ReliefCause"] = ... + LIQUID_BLOW_BY: typing.ClassVar["ReliefCause"] = ... + VOLATILE_LIQUID_INGRESS: typing.ClassVar["ReliefCause"] = ... + INADVERTENT_VALVE_OPENING: typing.ClassVar["ReliefCause"] = ... + CONTROL_VALVE_FAILURE: typing.ClassVar["ReliefCause"] = ... + FIRE: typing.ClassVar["ReliefCause"] = ... + THERMAL_EXPANSION: typing.ClassVar["ReliefCause"] = ... + CHOKE_COLLAPSE: typing.ClassVar["ReliefCause"] = ... + TUBE_RUPTURE: typing.ClassVar["ReliefCause"] = ... + VACUUM: typing.ClassVar["ReliefCause"] = ... + OTHER: typing.ClassVar["ReliefCause"] = ... def getLabel(self) -> java.lang.String: ... def getStandardReference(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ReliefCause': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ReliefCause": ... @staticmethod - def values() -> typing.MutableSequence['ReliefCause']: ... + def values() -> typing.MutableSequence["ReliefCause"]: ... class ReliefDisposalNetwork: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addContribution(self, reliefLoadContribution: 'ReliefLoadContribution') -> 'ReliefDisposalNetwork': ... + def addContribution( + self, reliefLoadContribution: "ReliefLoadContribution" + ) -> "ReliefDisposalNetwork": ... @typing.overload - def addRelief(self, overpressureStudyResult: OverpressureStudyResult) -> 'ReliefDisposalNetwork': ... + def addRelief( + self, overpressureStudyResult: OverpressureStudyResult + ) -> "ReliefDisposalNetwork": ... @typing.overload - def addRelief(self, overpressureStudyResult: OverpressureStudyResult, boolean: bool) -> 'ReliefDisposalNetwork': ... - def calculate(self) -> 'ReliefDisposalResult': ... + def addRelief( + self, overpressureStudyResult: OverpressureStudyResult, boolean: bool + ) -> "ReliefDisposalNetwork": ... + def calculate(self) -> "ReliefDisposalResult": ... def getName(self) -> java.lang.String: ... class ReliefDisposalResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], list: java.util.List['ReliefLoadContribution'], list2: java.util.List[typing.Union[java.lang.String, str]]): ... - def getContributions(self) -> java.util.List['ReliefLoadContribution']: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + list: java.util.List["ReliefLoadContribution"], + list2: java.util.List[typing.Union[java.lang.String, str]], + ): ... + def getContributions(self) -> java.util.List["ReliefLoadContribution"]: ... def getGoverningContributor(self) -> java.lang.String: ... def getNetworkName(self) -> java.lang.String: ... def getPeakSingleKgPerS(self) -> float: ... @@ -208,27 +286,36 @@ class ReliefDisposalResult(java.io.Serializable): def toJson(self) -> java.lang.String: ... class ReliefLoadContribution(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], reliefCause: ReliefCause, reliefPhase: 'ReliefPhase', double: float, boolean: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + reliefCause: ReliefCause, + reliefPhase: "ReliefPhase", + double: float, + boolean: bool, + ): ... def getCause(self) -> ReliefCause: ... def getItemName(self) -> java.lang.String: ... def getMassFlowKgPerHr(self) -> float: ... def getMassFlowKgPerS(self) -> float: ... - def getPhase(self) -> 'ReliefPhase': ... + def getPhase(self) -> "ReliefPhase": ... def isSimultaneous(self) -> bool: ... -class ReliefPhase(java.lang.Enum['ReliefPhase']): - VAPOUR: typing.ClassVar['ReliefPhase'] = ... - LIQUID: typing.ClassVar['ReliefPhase'] = ... - TWO_PHASE: typing.ClassVar['ReliefPhase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class ReliefPhase(java.lang.Enum["ReliefPhase"]): + VAPOUR: typing.ClassVar["ReliefPhase"] = ... + LIQUID: typing.ClassVar["ReliefPhase"] = ... + TWO_PHASE: typing.ClassVar["ReliefPhase"] = ... + _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: ... + 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]) -> 'ReliefPhase': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ReliefPhase": ... @staticmethod - def values() -> typing.MutableSequence['ReliefPhase']: ... + def values() -> typing.MutableSequence["ReliefPhase"]: ... class ReliefScenario(java.io.Serializable): def getAssumptions(self) -> java.util.List[java.lang.String]: ... @@ -251,32 +338,45 @@ class ReliefScenario(java.io.Serializable): def getViscosityPaS(self) -> float: ... def isCredible(self) -> bool: ... def isDynamicallyDetermined(self) -> bool: ... - def withCredible(self, boolean: bool) -> 'ReliefScenario': ... + def withCredible(self, boolean: bool) -> "ReliefScenario": ... + class Builder: - def __init__(self, string: typing.Union[java.lang.String, str], reliefCause: ReliefCause): ... - def addAssumption(self, string: typing.Union[java.lang.String, str]) -> 'ReliefScenario.Builder': ... - def assumptions(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ReliefScenario.Builder': ... - def build(self) -> 'ReliefScenario': ... - def compressibility(self, double: float) -> 'ReliefScenario.Builder': ... - def credible(self, boolean: bool) -> 'ReliefScenario.Builder': ... - def densityKgPerM3(self, double: float) -> 'ReliefScenario.Builder': ... - def dynamicallyDetermined(self, boolean: bool) -> 'ReliefScenario.Builder': ... - def gasDensityKgPerM3(self, double: float) -> 'ReliefScenario.Builder': ... - def gasMassFraction(self, double: float) -> 'ReliefScenario.Builder': ... - def latentHeatJPerKg(self, double: float) -> 'ReliefScenario.Builder': ... - def liquidDensityKgPerM3(self, double: float) -> 'ReliefScenario.Builder': ... - def liquidHeatCapacityJPerKgK(self, double: float) -> 'ReliefScenario.Builder': ... - def molarMassKgPerMol(self, double: float) -> 'ReliefScenario.Builder': ... - def phase(self, reliefPhase: ReliefPhase) -> 'ReliefScenario.Builder': ... - def reliefRateKgPerS(self, double: float) -> 'ReliefScenario.Builder': ... - def reliefTemperatureK(self, double: float) -> 'ReliefScenario.Builder': ... - def specificHeatRatio(self, double: float) -> 'ReliefScenario.Builder': ... - def standardReference(self, string: typing.Union[java.lang.String, str]) -> 'ReliefScenario.Builder': ... - def viscosityPaS(self, double: float) -> 'ReliefScenario.Builder': ... + def __init__( + self, string: typing.Union[java.lang.String, str], reliefCause: ReliefCause + ): ... + def addAssumption( + self, string: typing.Union[java.lang.String, str] + ) -> "ReliefScenario.Builder": ... + def assumptions( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "ReliefScenario.Builder": ... + def build(self) -> "ReliefScenario": ... + def compressibility(self, double: float) -> "ReliefScenario.Builder": ... + def credible(self, boolean: bool) -> "ReliefScenario.Builder": ... + def densityKgPerM3(self, double: float) -> "ReliefScenario.Builder": ... + def dynamicallyDetermined(self, boolean: bool) -> "ReliefScenario.Builder": ... + def gasDensityKgPerM3(self, double: float) -> "ReliefScenario.Builder": ... + def gasMassFraction(self, double: float) -> "ReliefScenario.Builder": ... + def latentHeatJPerKg(self, double: float) -> "ReliefScenario.Builder": ... + def liquidDensityKgPerM3(self, double: float) -> "ReliefScenario.Builder": ... + def liquidHeatCapacityJPerKgK( + self, double: float + ) -> "ReliefScenario.Builder": ... + def molarMassKgPerMol(self, double: float) -> "ReliefScenario.Builder": ... + def phase(self, reliefPhase: ReliefPhase) -> "ReliefScenario.Builder": ... + def reliefRateKgPerS(self, double: float) -> "ReliefScenario.Builder": ... + def reliefTemperatureK(self, double: float) -> "ReliefScenario.Builder": ... + def specificHeatRatio(self, double: float) -> "ReliefScenario.Builder": ... + def standardReference( + self, string: typing.Union[java.lang.String, str] + ) -> "ReliefScenario.Builder": ... + def viscosityPaS(self, double: float) -> "ReliefScenario.Builder": ... class TR3001ComplianceChecker: def __init__(self): ... - def check(self, overpressureStudyResult: OverpressureStudyResult) -> java.util.List[ComplianceFinding]: ... + def check( + self, overpressureStudyResult: OverpressureStudyResult + ) -> java.util.List[ComplianceFinding]: ... @staticmethod def findingsToJson(list: java.util.List[ComplianceFinding]) -> java.lang.String: ... def isCompliant(self, list: java.util.List[ComplianceFinding]) -> bool: ... @@ -284,18 +384,21 @@ class TR3001ComplianceChecker: class TubeRuptureRelief: def __init__(self): ... def calculate(self) -> ReliefScenario: ... - def setDischargeCoefficient(self, double: float) -> 'TubeRuptureRelief': ... - def setHighPressureBara(self, double: float) -> 'TubeRuptureRelief': ... - def setHighPressureFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TubeRuptureRelief': ... - def setHighTemperatureC(self, double: float) -> 'TubeRuptureRelief': ... - def setLowPressureBara(self, double: float) -> 'TubeRuptureRelief': ... - def setMolarMassKgPerMol(self, double: float) -> 'TubeRuptureRelief': ... - def setName(self, string: typing.Union[java.lang.String, str]) -> 'TubeRuptureRelief': ... - def setNumberOfOpenEnds(self, int: int) -> 'TubeRuptureRelief': ... - def setSpecificHeatRatio(self, double: float) -> 'TubeRuptureRelief': ... - def setTubeInnerDiameterM(self, double: float) -> 'TubeRuptureRelief': ... - def setTubeInnerDiameterMm(self, double: float) -> 'TubeRuptureRelief': ... - + def setDischargeCoefficient(self, double: float) -> "TubeRuptureRelief": ... + def setHighPressureBara(self, double: float) -> "TubeRuptureRelief": ... + def setHighPressureFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "TubeRuptureRelief": ... + def setHighTemperatureC(self, double: float) -> "TubeRuptureRelief": ... + def setLowPressureBara(self, double: float) -> "TubeRuptureRelief": ... + def setMolarMassKgPerMol(self, double: float) -> "TubeRuptureRelief": ... + def setName( + self, string: typing.Union[java.lang.String, str] + ) -> "TubeRuptureRelief": ... + def setNumberOfOpenEnds(self, int: int) -> "TubeRuptureRelief": ... + def setSpecificHeatRatio(self, double: float) -> "TubeRuptureRelief": ... + def setTubeInnerDiameterM(self, double: float) -> "TubeRuptureRelief": ... + def setTubeInnerDiameterMm(self, double: float) -> "TubeRuptureRelief": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.overpressure")``. @@ -310,7 +413,9 @@ class __module_protocol__(Protocol): OverpressureAcceptanceChecker: typing.Type[OverpressureAcceptanceChecker] OverpressureProtectionStudy: typing.Type[OverpressureProtectionStudy] OverpressureStudyResult: typing.Type[OverpressureStudyResult] - PipelinePressureProtectionCalculator: typing.Type[PipelinePressureProtectionCalculator] + PipelinePressureProtectionCalculator: typing.Type[ + PipelinePressureProtectionCalculator + ] ProtectedItem: typing.Type[ProtectedItem] ReliefCause: typing.Type[ReliefCause] ReliefDisposalNetwork: typing.Type[ReliefDisposalNetwork] diff --git a/src/jneqsim-stubs/process/safety/processsafetysystem/__init__.pyi b/src/jneqsim-stubs/process/safety/processsafetysystem/__init__.pyi index 8761d451..a87ba2d4 100644 --- a/src/jneqsim-stubs/process/safety/processsafetysystem/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/processsafetysystem/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,41 +11,84 @@ import java.lang import java.util import typing - - class ProcessSafetySystemAssessment(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], status: 'ProcessSafetySystemAssessment.Status', string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], string6: typing.Union[java.lang.String, str]): ... - def addDetail(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemAssessment': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + status: "ProcessSafetySystemAssessment.Status", + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + string6: typing.Union[java.lang.String, str], + ): ... + def addDetail( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "ProcessSafetySystemAssessment": ... @staticmethod - def fail(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], string5: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... + def fail( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "ProcessSafetySystemAssessment": ... def getRequirementId(self) -> java.lang.String: ... - def getStatus(self) -> 'ProcessSafetySystemAssessment.Status': ... + def getStatus(self) -> "ProcessSafetySystemAssessment.Status": ... @staticmethod - def info(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]) -> 'ProcessSafetySystemAssessment': ... + def info( + 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], + ) -> "ProcessSafetySystemAssessment": ... def isFailing(self) -> bool: ... def isWarning(self) -> bool: ... @staticmethod - def notApplicable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... + def notApplicable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ProcessSafetySystemAssessment": ... @staticmethod - def pass_(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]) -> 'ProcessSafetySystemAssessment': ... + def pass_( + 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], + ) -> "ProcessSafetySystemAssessment": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... @staticmethod - def warning(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], string5: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemAssessment': ... - class Status(java.lang.Enum['ProcessSafetySystemAssessment.Status']): - PASS: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... - WARNING: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... - FAIL: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... - INFO: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... - NOT_APPLICABLE: typing.ClassVar['ProcessSafetySystemAssessment.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def warning( + 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], + string5: typing.Union[java.lang.String, str], + ) -> "ProcessSafetySystemAssessment": ... + + class Status(java.lang.Enum["ProcessSafetySystemAssessment.Status"]): + PASS: typing.ClassVar["ProcessSafetySystemAssessment.Status"] = ... + WARNING: typing.ClassVar["ProcessSafetySystemAssessment.Status"] = ... + FAIL: typing.ClassVar["ProcessSafetySystemAssessment.Status"] = ... + INFO: typing.ClassVar["ProcessSafetySystemAssessment.Status"] = ... + NOT_APPLICABLE: typing.ClassVar["ProcessSafetySystemAssessment.Status"] = ... + _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: ... + 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]) -> 'ProcessSafetySystemAssessment.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemAssessment.Status": ... @staticmethod - def values() -> typing.MutableSequence['ProcessSafetySystemAssessment.Status']: ... + def values() -> ( + typing.MutableSequence["ProcessSafetySystemAssessment.Status"] + ): ... class ProcessSafetySystemReviewEngine: NORSOK_S001: typing.ClassVar[java.lang.String] = ... @@ -63,59 +106,108 @@ class ProcessSafetySystemReviewEngine: CLAUSE_10_4_10: typing.ClassVar[java.lang.String] = ... CLAUSE_LIFECYCLE: typing.ClassVar[java.lang.String] = ... def __init__(self): ... - def evaluate(self, processSafetySystemReviewInput: 'ProcessSafetySystemReviewInput') -> 'ProcessSafetySystemReviewReport': ... - def evaluateItem(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> 'ProcessSafetySystemReviewResult': ... + def evaluate( + self, processSafetySystemReviewInput: "ProcessSafetySystemReviewInput" + ) -> "ProcessSafetySystemReviewReport": ... + def evaluateItem( + self, processSafetySystemReviewItem: "ProcessSafetySystemReviewItem" + ) -> "ProcessSafetySystemReviewResult": ... class ProcessSafetySystemReviewInput(java.io.Serializable): def __init__(self): ... - def addItem(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> 'ProcessSafetySystemReviewInput': ... + def addItem( + self, processSafetySystemReviewItem: "ProcessSafetySystemReviewItem" + ) -> "ProcessSafetySystemReviewInput": ... @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewInput': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewInput": ... @staticmethod - def fromJsonObject(jsonObject: com.google.gson.JsonObject) -> 'ProcessSafetySystemReviewInput': ... - def getItems(self) -> java.util.List['ProcessSafetySystemReviewItem']: ... + def fromJsonObject( + jsonObject: com.google.gson.JsonObject, + ) -> "ProcessSafetySystemReviewInput": ... + def getItems(self) -> java.util.List["ProcessSafetySystemReviewItem"]: ... def getProjectName(self) -> java.lang.String: ... - def mergeFrom(self, processSafetySystemReviewInput: 'ProcessSafetySystemReviewInput') -> None: ... - def putMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemReviewInput': ... - def setProjectName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewInput': ... + def mergeFrom( + self, processSafetySystemReviewInput: "ProcessSafetySystemReviewInput" + ) -> None: ... + def putMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "ProcessSafetySystemReviewInput": ... + def setProjectName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewInput": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ProcessSafetySystemReviewItem(java.io.Serializable): def __init__(self): ... - def addSourceReference(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + def addSourceReference( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewItem": ... @staticmethod - def fromMap(map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'ProcessSafetySystemReviewItem': ... + def fromMap( + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ] + ) -> "ProcessSafetySystemReviewItem": ... def get(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... - def getBoolean(self, boolean: bool, *string: typing.Union[java.lang.String, str]) -> bool: ... - def getBooleanObject(self, *string: typing.Union[java.lang.String, str]) -> bool: ... - def getDouble(self, double: float, *string: typing.Union[java.lang.String, str]) -> float: ... + def getBoolean( + self, boolean: bool, *string: typing.Union[java.lang.String, str] + ) -> bool: ... + def getBooleanObject( + self, *string: typing.Union[java.lang.String, str] + ) -> bool: ... + def getDouble( + self, double: float, *string: typing.Union[java.lang.String, str] + ) -> float: ... def getEquipmentTag(self) -> java.lang.String: ... def getFunctionId(self) -> java.lang.String: ... def getFunctionType(self) -> java.lang.String: ... def getSourceReferences(self) -> java.util.List[java.lang.String]: ... - def getString(self, string: typing.Union[java.lang.String, str], *string2: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getString( + self, + string: typing.Union[java.lang.String, str], + *string2: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... def getValues(self) -> java.util.Map[java.lang.String, typing.Any]: ... def has(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hasAny(self, *string: typing.Union[java.lang.String, str]) -> bool: ... - def mergeFrom(self, processSafetySystemReviewItem: 'ProcessSafetySystemReviewItem') -> None: ... - def put(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessSafetySystemReviewItem': ... - def setEquipmentTag(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... - def setFunctionId(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... - def setFunctionType(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetySystemReviewItem': ... + def mergeFrom( + self, processSafetySystemReviewItem: "ProcessSafetySystemReviewItem" + ) -> None: ... + def put( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "ProcessSafetySystemReviewItem": ... + def setEquipmentTag( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewItem": ... + def setFunctionId( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewItem": ... + def setFunctionType( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetySystemReviewItem": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ProcessSafetySystemReviewReport(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addResult(self, processSafetySystemReviewResult: 'ProcessSafetySystemReviewResult') -> None: ... + def addResult( + self, processSafetySystemReviewResult: "ProcessSafetySystemReviewResult" + ) -> None: ... def finalizeVerdict(self) -> None: ... def getOverallVerdict(self) -> java.lang.String: ... - def getResults(self) -> java.util.List['ProcessSafetySystemReviewResult']: ... + def getResults(self) -> java.util.List["ProcessSafetySystemReviewResult"]: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class ProcessSafetySystemReviewResult(java.io.Serializable): - def __init__(self, processSafetySystemReviewItem: ProcessSafetySystemReviewItem): ... - def addAssessment(self, processSafetySystemAssessment: ProcessSafetySystemAssessment) -> None: ... + def __init__( + self, processSafetySystemReviewItem: ProcessSafetySystemReviewItem + ): ... + def addAssessment( + self, processSafetySystemAssessment: ProcessSafetySystemAssessment + ) -> None: ... def finalizeVerdict(self) -> None: ... def getAssessments(self) -> java.util.List[ProcessSafetySystemAssessment]: ... def getItem(self) -> ProcessSafetySystemReviewItem: ... @@ -125,24 +217,61 @@ class ProcessSafetySystemReviewResult(java.io.Serializable): class S001SecondaryPressureProtectionCriteria(java.io.Serializable): def __init__(self): ... - def evaluate(self) -> 'S001SecondaryPressureProtectionResult': ... + def evaluate(self) -> "S001SecondaryPressureProtectionResult": ... @staticmethod - def fromItem(processSafetySystemReviewItem: ProcessSafetySystemReviewItem) -> 'S001SecondaryPressureProtectionCriteria': ... + def fromItem( + processSafetySystemReviewItem: ProcessSafetySystemReviewItem, + ) -> "S001SecondaryPressureProtectionCriteria": ... @staticmethod - def getDefaultTargetFrequencyPerYear(double: float, double2: float, double3: float) -> float: ... + def getDefaultTargetFrequencyPerYear( + double: float, double2: float, double3: float + ) -> float: ... def hasPressureBasis(self) -> bool: ... def isEmpty(self) -> bool: ... - def setDemandFrequencyPerYear(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... - def setDesignPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... - def setMaximumEventPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... - def setProofTestIntervalMonths(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... - def setReliefLeakageAssessed(self, boolean: bool) -> 'S001SecondaryPressureProtectionCriteria': ... - def setReliefLeakageToSafeLocation(self, boolean: bool) -> 'S001SecondaryPressureProtectionCriteria': ... - def setTargetFrequencyPerYear(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... - def setTestPressureBara(self, double: float) -> 'S001SecondaryPressureProtectionCriteria': ... + def setDemandFrequencyPerYear( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setDesignPressureBara( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setMaximumEventPressureBara( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setProofTestIntervalMonths( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setReliefLeakageAssessed( + self, boolean: bool + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setReliefLeakageToSafeLocation( + self, boolean: bool + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setTargetFrequencyPerYear( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... + def setTestPressureBara( + self, double: float + ) -> "S001SecondaryPressureProtectionCriteria": ... class S001SecondaryPressureProtectionResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool, boolean2: bool, boolean3: bool, boolean4: bool, boolean5: bool, boolean6: bool, boolean7: bool, boolean8: bool, boolean9: bool, boolean10: bool): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + boolean2: bool, + boolean3: bool, + boolean4: bool, + boolean5: bool, + boolean6: bool, + boolean7: bool, + boolean8: bool, + boolean9: bool, + boolean10: bool, + ): ... def isAcceptable(self) -> bool: ... def isFrequencyConfigured(self) -> bool: ... def isFrequencyCriterionMet(self) -> bool: ... @@ -160,10 +289,11 @@ class StidProcessSafetySystemDataSource: @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod - def inferFunctionType(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def inferFunctionType( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def read(self) -> ProcessSafetySystemReviewInput: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.processsafetysystem")``. @@ -173,6 +303,10 @@ class __module_protocol__(Protocol): ProcessSafetySystemReviewItem: typing.Type[ProcessSafetySystemReviewItem] ProcessSafetySystemReviewReport: typing.Type[ProcessSafetySystemReviewReport] ProcessSafetySystemReviewResult: typing.Type[ProcessSafetySystemReviewResult] - S001SecondaryPressureProtectionCriteria: typing.Type[S001SecondaryPressureProtectionCriteria] - S001SecondaryPressureProtectionResult: typing.Type[S001SecondaryPressureProtectionResult] + S001SecondaryPressureProtectionCriteria: typing.Type[ + S001SecondaryPressureProtectionCriteria + ] + S001SecondaryPressureProtectionResult: typing.Type[ + S001SecondaryPressureProtectionResult + ] StidProcessSafetySystemDataSource: typing.Type[StidProcessSafetySystemDataSource] diff --git a/src/jneqsim-stubs/process/safety/pump/__init__.pyi b/src/jneqsim-stubs/process/safety/pump/__init__.pyi index a36a4906..72b4672c 100644 --- a/src/jneqsim-stubs/process/safety/pump/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/pump/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,37 +11,80 @@ import java.util import jneqsim.thermo.system import typing - - class PumpDeadheadAnalyzer(java.io.Serializable): def __init__(self): ... - def analyze(self) -> 'PumpDeadheadResult': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'PumpDeadheadAnalyzer': ... - def setLiquidDensity(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setMaxAllowableTemperatureRise(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setMinimumFlowEfficiency(self, double: float) -> 'PumpDeadheadAnalyzer': ... - def setNormalDischargePressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setProtectedPressureRating(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setShutoffHeadRatio(self, double: float) -> 'PumpDeadheadAnalyzer': ... - def setSpecificHeat(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setSuctionPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - def setSuctionTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PumpDeadheadAnalyzer': ... - class DeadheadVerdict(java.lang.Enum['PumpDeadheadAnalyzer.DeadheadVerdict']): - NO_RATING: typing.ClassVar['PumpDeadheadAnalyzer.DeadheadVerdict'] = ... - WITHIN_RATING: typing.ClassVar['PumpDeadheadAnalyzer.DeadheadVerdict'] = ... - EXCEEDS_RATING: typing.ClassVar['PumpDeadheadAnalyzer.DeadheadVerdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def analyze(self) -> "PumpDeadheadResult": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "PumpDeadheadAnalyzer": ... + def setLiquidDensity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setMaxAllowableTemperatureRise( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setMinimumFlowEfficiency(self, double: float) -> "PumpDeadheadAnalyzer": ... + def setNormalDischargePressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setProtectedPressureRating( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setShutoffHeadRatio(self, double: float) -> "PumpDeadheadAnalyzer": ... + def setSpecificHeat( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setSuctionPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + def setSuctionTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer": ... + + class DeadheadVerdict(java.lang.Enum["PumpDeadheadAnalyzer.DeadheadVerdict"]): + NO_RATING: typing.ClassVar["PumpDeadheadAnalyzer.DeadheadVerdict"] = ... + WITHIN_RATING: typing.ClassVar["PumpDeadheadAnalyzer.DeadheadVerdict"] = ... + EXCEEDS_RATING: typing.ClassVar["PumpDeadheadAnalyzer.DeadheadVerdict"] = ... + _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: ... + 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]) -> 'PumpDeadheadAnalyzer.DeadheadVerdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PumpDeadheadAnalyzer.DeadheadVerdict": ... @staticmethod - def values() -> typing.MutableSequence['PumpDeadheadAnalyzer.DeadheadVerdict']: ... + def values() -> ( + typing.MutableSequence["PumpDeadheadAnalyzer.DeadheadVerdict"] + ): ... class PumpDeadheadResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, boolean: bool, double7: float, boolean2: bool, double8: float, double9: float, double10: float, double11: float, double12: float, boolean3: bool, double13: float, boolean4: bool, deadheadVerdict: PumpDeadheadAnalyzer.DeadheadVerdict, list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + boolean: bool, + double7: float, + boolean2: bool, + double8: float, + double9: float, + double10: float, + double11: float, + double12: float, + boolean3: bool, + double13: float, + boolean4: bool, + deadheadVerdict: PumpDeadheadAnalyzer.DeadheadVerdict, + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getDeadheadPressureBara(self) -> float: ... def getLiquidDensityKgPerM3(self) -> float: ... def getMaxAllowableTempRiseK(self) -> float: ... @@ -63,7 +106,6 @@ class PumpDeadheadResult(java.io.Serializable): def isTempRiseExceeded(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.pump")``. diff --git a/src/jneqsim-stubs/process/safety/qra/__init__.pyi b/src/jneqsim-stubs/process/safety/qra/__init__.pyi index 23e9d8ea..3af5e147 100644 --- a/src/jneqsim-stubs/process/safety/qra/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/qra/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,28 +13,62 @@ import jneqsim.process.safety.fire import jneqsim.process.safety.risk.eta import typing - - class ConsequenceAnalysisEngine(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... - def addJetFire(self, double: float, jetFireModel: jneqsim.process.safety.fire.JetFireModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float) -> 'ConsequenceAnalysisEngine': ... - def addOutcome(self, string: typing.Union[java.lang.String, str], double: float, consequence: typing.Union['ConsequenceAnalysisEngine.Consequence', typing.Callable]) -> 'ConsequenceAnalysisEngine': ... - def addPoolFire(self, double: float, poolFireModel: jneqsim.process.safety.fire.PoolFireModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float) -> 'ConsequenceAnalysisEngine': ... - def addToxicDispersion(self, double: float, gaussianPlume: jneqsim.process.safety.dispersion.GaussianPlume, probitModel: jneqsim.process.safety.dispersion.ProbitModel, double2: float, double3: float, double4: float, double5: float) -> 'ConsequenceAnalysisEngine': ... - def addVCE(self, double: float, vCEModel: jneqsim.process.safety.fire.VCEModel, probitModel: jneqsim.process.safety.dispersion.ProbitModel) -> 'ConsequenceAnalysisEngine': ... - def evaluate(self, double: float) -> java.util.List['ConsequenceAnalysisEngine.OutcomeResult']: ... + def addJetFire( + self, + double: float, + jetFireModel: jneqsim.process.safety.fire.JetFireModel, + probitModel: jneqsim.process.safety.dispersion.ProbitModel, + double2: float, + ) -> "ConsequenceAnalysisEngine": ... + def addOutcome( + self, + string: typing.Union[java.lang.String, str], + double: float, + consequence: typing.Union[ + "ConsequenceAnalysisEngine.Consequence", typing.Callable + ], + ) -> "ConsequenceAnalysisEngine": ... + def addPoolFire( + self, + double: float, + poolFireModel: jneqsim.process.safety.fire.PoolFireModel, + probitModel: jneqsim.process.safety.dispersion.ProbitModel, + double2: float, + ) -> "ConsequenceAnalysisEngine": ... + def addToxicDispersion( + self, + double: float, + gaussianPlume: jneqsim.process.safety.dispersion.GaussianPlume, + probitModel: jneqsim.process.safety.dispersion.ProbitModel, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "ConsequenceAnalysisEngine": ... + def addVCE( + self, + double: float, + vCEModel: jneqsim.process.safety.fire.VCEModel, + probitModel: jneqsim.process.safety.dispersion.ProbitModel, + ) -> "ConsequenceAnalysisEngine": ... + def evaluate( + self, double: float + ) -> java.util.List["ConsequenceAnalysisEngine.OutcomeResult"]: ... def individualFatalityRiskPerYear(self, double: float) -> float: ... def report(self, double: float) -> java.lang.String: ... def toEventTree(self) -> jneqsim.process.safety.risk.eta.EventTreeAnalyzer: ... + class Consequence(java.io.Serializable): def fatalityProbabilityAt(self, double: float) -> float: ... + class OutcomeResult(java.io.Serializable): outcomeName: java.lang.String = ... outcomeFrequencyPerYear: float = ... fatalityProbability: float = ... fatalityFrequencyPerYear: float = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.qra")``. diff --git a/src/jneqsim-stubs/process/safety/reaction/__init__.pyi b/src/jneqsim-stubs/process/safety/reaction/__init__.pyi index a6c472d3..43d867fb 100644 --- a/src/jneqsim-stubs/process/safety/reaction/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/reaction/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,39 +11,80 @@ import java.util import jneqsim.thermo.system import typing - - class RunawayReactionAnalyzer: def __init__(self): ... - def analyze(self) -> 'RunawayReactionResult': ... - def setAcceptableMargin(self, double: float) -> 'RunawayReactionAnalyzer': ... - def setActivationEnergy(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'RunawayReactionAnalyzer': ... - def setGassySystem(self, boolean: bool) -> 'RunawayReactionAnalyzer': ... - def setInitialHeatReleaseRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setLimitingReactantMoles(self, double: float) -> 'RunawayReactionAnalyzer': ... - def setMaxAllowableTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setProcessTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setReactionEnthalpy(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setSpecificHeat(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - def setTotalMass(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RunawayReactionAnalyzer': ... - class RunawayVerdict(java.lang.Enum['RunawayReactionAnalyzer.RunawayVerdict']): - NO_RATING: typing.ClassVar['RunawayReactionAnalyzer.RunawayVerdict'] = ... - ACCEPTABLE_MARGIN: typing.ClassVar['RunawayReactionAnalyzer.RunawayVerdict'] = ... - MARGINAL: typing.ClassVar['RunawayReactionAnalyzer.RunawayVerdict'] = ... - RUNAWAY_RISK: typing.ClassVar['RunawayReactionAnalyzer.RunawayVerdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def analyze(self) -> "RunawayReactionResult": ... + def setAcceptableMargin(self, double: float) -> "RunawayReactionAnalyzer": ... + def setActivationEnergy( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "RunawayReactionAnalyzer": ... + def setGassySystem(self, boolean: bool) -> "RunawayReactionAnalyzer": ... + def setInitialHeatReleaseRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setLimitingReactantMoles(self, double: float) -> "RunawayReactionAnalyzer": ... + def setMaxAllowableTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setProcessTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setReactionEnthalpy( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setSpecificHeat( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + def setTotalMass( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer": ... + + class RunawayVerdict(java.lang.Enum["RunawayReactionAnalyzer.RunawayVerdict"]): + NO_RATING: typing.ClassVar["RunawayReactionAnalyzer.RunawayVerdict"] = ... + ACCEPTABLE_MARGIN: typing.ClassVar["RunawayReactionAnalyzer.RunawayVerdict"] = ( + ... + ) + MARGINAL: typing.ClassVar["RunawayReactionAnalyzer.RunawayVerdict"] = ... + RUNAWAY_RISK: typing.ClassVar["RunawayReactionAnalyzer.RunawayVerdict"] = ... + _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: ... + 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]) -> 'RunawayReactionAnalyzer.RunawayVerdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RunawayReactionAnalyzer.RunawayVerdict": ... @staticmethod - def values() -> typing.MutableSequence['RunawayReactionAnalyzer.RunawayVerdict']: ... + def values() -> ( + typing.MutableSequence["RunawayReactionAnalyzer.RunawayVerdict"] + ): ... class RunawayReactionResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool, boolean2: bool, double6: float, double7: float, double8: float, boolean3: bool, double9: float, boolean4: bool, runawayVerdict: RunawayReactionAnalyzer.RunawayVerdict, list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + boolean2: bool, + double6: float, + double7: float, + double8: float, + boolean3: bool, + double9: float, + boolean4: bool, + runawayVerdict: RunawayReactionAnalyzer.RunawayVerdict, + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getAdiabaticTemperatureRiseK(self) -> float: ... def getMaxAllowableTemperatureK(self) -> float: ... def getMtsrK(self) -> float: ... @@ -61,7 +102,6 @@ class RunawayReactionResult(java.io.Serializable): def isTwoPhaseReliefScreeningRequired(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.reaction")``. diff --git a/src/jneqsim-stubs/process/safety/release/__init__.pyi b/src/jneqsim-stubs/process/safety/release/__init__.pyi index 8bd5e0d2..f2ead7fb 100644 --- a/src/jneqsim-stubs/process/safety/release/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/release/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,59 +10,88 @@ import java.lang import jneqsim.thermo.system import typing - - class LeakModel(java.io.Serializable): @staticmethod - def builder() -> 'LeakModel.Builder': ... - def calculateDropletSMD(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... - def calculateJetMomentum(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... - def calculateJetVelocity(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... - def calculateMassFlowRate(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def builder() -> "LeakModel.Builder": ... + def calculateDropletSMD( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... + def calculateJetMomentum( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... + def calculateJetVelocity( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... + def calculateMassFlowRate( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... @typing.overload - def calculateSourceTerm(self, double: float) -> 'SourceTermResult': ... + def calculateSourceTerm(self, double: float) -> "SourceTermResult": ... @typing.overload - def calculateSourceTerm(self, double: float, double2: float) -> 'SourceTermResult': ... + def calculateSourceTerm( + self, double: float, double2: float + ) -> "SourceTermResult": ... + class Builder: def __init__(self): ... @typing.overload - def backPressure(self, double: float) -> 'LeakModel.Builder': ... + def backPressure(self, double: float) -> "LeakModel.Builder": ... @typing.overload - def backPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... - def build(self) -> 'LeakModel': ... - def dischargeCoefficient(self, double: float) -> 'LeakModel.Builder': ... - def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'LeakModel.Builder': ... + def backPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "LeakModel.Builder": ... + def build(self) -> "LeakModel": ... + def dischargeCoefficient(self, double: float) -> "LeakModel.Builder": ... + def fluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "LeakModel.Builder": ... @typing.overload - def holeDiameter(self, double: float) -> 'LeakModel.Builder': ... + def holeDiameter(self, double: float) -> "LeakModel.Builder": ... @typing.overload - def holeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... - def orientation(self, releaseOrientation: 'ReleaseOrientation') -> 'LeakModel.Builder': ... - def scenarioName(self, string: typing.Union[java.lang.String, str]) -> 'LeakModel.Builder': ... - def vesselVolume(self, double: float) -> 'LeakModel.Builder': ... + def holeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "LeakModel.Builder": ... + def orientation( + self, releaseOrientation: "ReleaseOrientation" + ) -> "LeakModel.Builder": ... + def scenarioName( + self, string: typing.Union[java.lang.String, str] + ) -> "LeakModel.Builder": ... + def vesselVolume(self, double: float) -> "LeakModel.Builder": ... -class ReleaseOrientation(java.lang.Enum['ReleaseOrientation']): - HORIZONTAL: typing.ClassVar['ReleaseOrientation'] = ... - VERTICAL_UP: typing.ClassVar['ReleaseOrientation'] = ... - VERTICAL_DOWN: typing.ClassVar['ReleaseOrientation'] = ... - ANGLED_UP_45: typing.ClassVar['ReleaseOrientation'] = ... - ANGLED_DOWN_45: typing.ClassVar['ReleaseOrientation'] = ... +class ReleaseOrientation(java.lang.Enum["ReleaseOrientation"]): + HORIZONTAL: typing.ClassVar["ReleaseOrientation"] = ... + VERTICAL_UP: typing.ClassVar["ReleaseOrientation"] = ... + VERTICAL_DOWN: typing.ClassVar["ReleaseOrientation"] = ... + ANGLED_UP_45: typing.ClassVar["ReleaseOrientation"] = ... + ANGLED_DOWN_45: typing.ClassVar["ReleaseOrientation"] = ... def getAngle(self) -> float: ... def getDescription(self) -> java.lang.String: ... def isHorizontal(self) -> bool: ... def isVertical(self) -> bool: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ReleaseOrientation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReleaseOrientation": ... @staticmethod - def values() -> typing.MutableSequence['ReleaseOrientation']: ... + def values() -> typing.MutableSequence["ReleaseOrientation"]: ... class SourceTermResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, releaseOrientation: ReleaseOrientation, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + releaseOrientation: ReleaseOrientation, + int: int, + ): ... def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToFLACS(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -86,7 +115,6 @@ class SourceTermResult(java.io.Serializable): def getVaporMassFraction(self) -> typing.MutableSequence[float]: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.release")``. diff --git a/src/jneqsim-stubs/process/safety/risk/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/__init__.pyi index f950dfe3..f862df6b 100644 --- a/src/jneqsim-stubs/process/safety/risk/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -25,12 +25,18 @@ import jneqsim.process.safety.risk.realtime import jneqsim.process.safety.risk.sis import typing - - class OperationalRiskResult(java.io.Serializable): def __init__(self): ... - def addEquipmentAvailability(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - 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: ... + def addEquipmentAvailability( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + 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: ... def getAvailability(self) -> float: ... def getBaselineProductionRate(self) -> float: ... def getCoefficientOfVariation(self) -> float: ... @@ -63,151 +69,261 @@ class OperationalRiskResult(java.io.Serializable): class OperationalRiskSimulator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addEquipmentMtbf(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'OperationalRiskSimulator': ... - def addEquipmentReliability(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'OperationalRiskSimulator': ... - def generateForecast(self, int: int, int2: int) -> 'OperationalRiskSimulator.ProductionForecast': ... - def getEquipmentReliability(self) -> java.util.Map[java.lang.String, 'OperationalRiskSimulator.EquipmentReliability']: ... + def addEquipmentMtbf( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "OperationalRiskSimulator": ... + def addEquipmentReliability( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "OperationalRiskSimulator": ... + def generateForecast( + self, int: int, int2: int + ) -> "OperationalRiskSimulator.ProductionForecast": ... + def getEquipmentReliability( + self, + ) -> java.util.Map[ + java.lang.String, "OperationalRiskSimulator.EquipmentReliability" + ]: ... def runSimulation(self, int: int, double: float) -> OperationalRiskResult: ... - def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'OperationalRiskSimulator': ... - def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'OperationalRiskSimulator': ... - def setRandomSeed(self, long: int) -> 'OperationalRiskSimulator': ... + def setFeedStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalRiskSimulator": ... + def setProductStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "OperationalRiskSimulator": ... + def setRandomSeed(self, long: int) -> "OperationalRiskSimulator": ... + class EquipmentReliability(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getAvailability(self) -> float: ... - def getDefaultFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getDefaultFailureMode( + self, + ) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... def getEquipmentName(self) -> java.lang.String: ... def getFailureRate(self) -> float: ... def getMtbf(self) -> float: ... def getMttr(self) -> float: ... - def setDefaultFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setDefaultFailureMode( + self, + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> None: ... + class ForecastPoint(java.io.Serializable): day: int = ... mean: float = ... p10: float = ... p50: float = ... p90: float = ... - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + ): ... + class ProductionForecast(java.io.Serializable): def __init__(self, int: int): ... - def addDataPoint(self, int: int, double: float, double2: float, double3: float, double4: float) -> None: ... + def addDataPoint( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... def getDays(self) -> int: ... - def getPoint(self, int: int) -> 'OperationalRiskSimulator.ForecastPoint': ... - def getPoints(self) -> java.util.List['OperationalRiskSimulator.ForecastPoint']: ... + def getPoint(self, int: int) -> "OperationalRiskSimulator.ForecastPoint": ... + def getPoints( + self, + ) -> java.util.List["OperationalRiskSimulator.ForecastPoint"]: ... class RiskEvent: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], initiatingEvent: jneqsim.process.safety.InitiatingEvent): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + initiatingEvent: jneqsim.process.safety.InitiatingEvent, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], initiatingEvent: jneqsim.process.safety.InitiatingEvent): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + initiatingEvent: jneqsim.process.safety.InitiatingEvent, + ): ... @staticmethod - def builder() -> 'RiskEvent.Builder': ... + def builder() -> "RiskEvent.Builder": ... def getAbsoluteFrequency(self) -> float: ... def getConditionalProbability(self) -> float: ... - def getConsequenceCategory(self) -> 'RiskEvent.ConsequenceCategory': ... + def getConsequenceCategory(self) -> "RiskEvent.ConsequenceCategory": ... def getDescription(self) -> java.lang.String: ... def getFrequency(self) -> float: ... def getInitiatingEvent(self) -> jneqsim.process.safety.InitiatingEvent: ... def getName(self) -> java.lang.String: ... - def getParentEvent(self) -> 'RiskEvent': ... + def getParentEvent(self) -> "RiskEvent": ... def getRiskIndex(self) -> float: ... def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... def isInitiatingEvent(self) -> bool: ... def setConditionalProbability(self, double: float) -> None: ... - def setConsequenceCategory(self, consequenceCategory: 'RiskEvent.ConsequenceCategory') -> None: ... + def setConsequenceCategory( + self, consequenceCategory: "RiskEvent.ConsequenceCategory" + ) -> None: ... def setFrequency(self, double: float) -> None: ... - def setParentEvent(self, riskEvent: 'RiskEvent') -> None: ... - def setScenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> None: ... + def setParentEvent(self, riskEvent: "RiskEvent") -> None: ... + def setScenario( + self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario + ) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'RiskEvent': ... - def conditionalProbability(self, double: float) -> 'RiskEvent.Builder': ... - def consequenceCategory(self, consequenceCategory: 'RiskEvent.ConsequenceCategory') -> 'RiskEvent.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'RiskEvent.Builder': ... - def frequency(self, double: float) -> 'RiskEvent.Builder': ... - def initiatingEvent(self, initiatingEvent: jneqsim.process.safety.InitiatingEvent) -> 'RiskEvent.Builder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'RiskEvent.Builder': ... - def parentEvent(self, riskEvent: 'RiskEvent') -> 'RiskEvent.Builder': ... - def scenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> 'RiskEvent.Builder': ... - class ConsequenceCategory(java.lang.Enum['RiskEvent.ConsequenceCategory']): - NEGLIGIBLE: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... - MINOR: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... - MODERATE: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... - MAJOR: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... - CATASTROPHIC: typing.ClassVar['RiskEvent.ConsequenceCategory'] = ... + def build(self) -> "RiskEvent": ... + def conditionalProbability(self, double: float) -> "RiskEvent.Builder": ... + def consequenceCategory( + self, consequenceCategory: "RiskEvent.ConsequenceCategory" + ) -> "RiskEvent.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskEvent.Builder": ... + def frequency(self, double: float) -> "RiskEvent.Builder": ... + def initiatingEvent( + self, initiatingEvent: jneqsim.process.safety.InitiatingEvent + ) -> "RiskEvent.Builder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskEvent.Builder": ... + def parentEvent(self, riskEvent: "RiskEvent") -> "RiskEvent.Builder": ... + def scenario( + self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario + ) -> "RiskEvent.Builder": ... + + class ConsequenceCategory(java.lang.Enum["RiskEvent.ConsequenceCategory"]): + NEGLIGIBLE: typing.ClassVar["RiskEvent.ConsequenceCategory"] = ... + MINOR: typing.ClassVar["RiskEvent.ConsequenceCategory"] = ... + MODERATE: typing.ClassVar["RiskEvent.ConsequenceCategory"] = ... + MAJOR: typing.ClassVar["RiskEvent.ConsequenceCategory"] = ... + CATASTROPHIC: typing.ClassVar["RiskEvent.ConsequenceCategory"] = ... def getSeverity(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RiskEvent.ConsequenceCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskEvent.ConsequenceCategory": ... @staticmethod - def values() -> typing.MutableSequence['RiskEvent.ConsequenceCategory']: ... + def values() -> typing.MutableSequence["RiskEvent.ConsequenceCategory"]: ... class RiskMatrix(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addEquipmentRisk(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'RiskMatrix': ... - def analyzeEquipment(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addEquipmentRisk( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "RiskMatrix": ... + def analyzeEquipment( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def buildRiskMatrix(self) -> None: ... - def getEquipmentByRiskLevel(self, riskLevel: 'RiskMatrix.RiskLevel') -> java.util.List[java.lang.String]: ... - def getMatrixData(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def getRiskAssessment(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix.RiskAssessment': ... - def getRiskAssessments(self) -> java.util.Map[java.lang.String, 'RiskMatrix.RiskAssessment']: ... - def getRiskAssessmentsSortedByCost(self) -> java.util.List['RiskMatrix.RiskAssessment']: ... - def getRiskAssessmentsSortedByRisk(self) -> java.util.List['RiskMatrix.RiskAssessment']: ... + def getEquipmentByRiskLevel( + self, riskLevel: "RiskMatrix.RiskLevel" + ) -> java.util.List[java.lang.String]: ... + def getMatrixData( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def getRiskAssessment( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix.RiskAssessment": ... + def getRiskAssessments( + self, + ) -> java.util.Map[java.lang.String, "RiskMatrix.RiskAssessment"]: ... + def getRiskAssessmentsSortedByCost( + self, + ) -> java.util.List["RiskMatrix.RiskAssessment"]: ... + def getRiskAssessmentsSortedByRisk( + self, + ) -> java.util.List["RiskMatrix.RiskAssessment"]: ... def getTotalAnnualRiskCost(self) -> float: ... - def setDowntimeCostPerHour(self, double: float) -> 'RiskMatrix': ... - def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... - def setOperatingHoursPerYear(self, double: float) -> 'RiskMatrix': ... - def setProductPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... - def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'RiskMatrix': ... + def setDowntimeCostPerHour(self, double: float) -> "RiskMatrix": ... + def setFeedStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix": ... + def setOperatingHoursPerYear(self, double: float) -> "RiskMatrix": ... + def setProductPrice( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix": ... + def setProductStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class ConsequenceCategory(java.lang.Enum['RiskMatrix.ConsequenceCategory']): - NEGLIGIBLE: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... - MINOR: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... - MODERATE: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... - MAJOR: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... - CATASTROPHIC: typing.ClassVar['RiskMatrix.ConsequenceCategory'] = ... + + class ConsequenceCategory(java.lang.Enum["RiskMatrix.ConsequenceCategory"]): + NEGLIGIBLE: typing.ClassVar["RiskMatrix.ConsequenceCategory"] = ... + MINOR: typing.ClassVar["RiskMatrix.ConsequenceCategory"] = ... + MODERATE: typing.ClassVar["RiskMatrix.ConsequenceCategory"] = ... + MAJOR: typing.ClassVar["RiskMatrix.ConsequenceCategory"] = ... + CATASTROPHIC: typing.ClassVar["RiskMatrix.ConsequenceCategory"] = ... @staticmethod - def fromProductionLoss(double: float) -> 'RiskMatrix.ConsequenceCategory': ... + def fromProductionLoss(double: float) -> "RiskMatrix.ConsequenceCategory": ... def getLevel(self) -> int: ... def getName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RiskMatrix.ConsequenceCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix.ConsequenceCategory": ... @staticmethod - def values() -> typing.MutableSequence['RiskMatrix.ConsequenceCategory']: ... - class ProbabilityCategory(java.lang.Enum['RiskMatrix.ProbabilityCategory']): - VERY_LOW: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... - LOW: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... - MEDIUM: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... - HIGH: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... - VERY_HIGH: typing.ClassVar['RiskMatrix.ProbabilityCategory'] = ... + def values() -> typing.MutableSequence["RiskMatrix.ConsequenceCategory"]: ... + + class ProbabilityCategory(java.lang.Enum["RiskMatrix.ProbabilityCategory"]): + VERY_LOW: typing.ClassVar["RiskMatrix.ProbabilityCategory"] = ... + LOW: typing.ClassVar["RiskMatrix.ProbabilityCategory"] = ... + MEDIUM: typing.ClassVar["RiskMatrix.ProbabilityCategory"] = ... + HIGH: typing.ClassVar["RiskMatrix.ProbabilityCategory"] = ... + VERY_HIGH: typing.ClassVar["RiskMatrix.ProbabilityCategory"] = ... @staticmethod - def fromFrequency(double: float) -> 'RiskMatrix.ProbabilityCategory': ... + def fromFrequency(double: float) -> "RiskMatrix.ProbabilityCategory": ... def getLevel(self) -> int: ... def getName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RiskMatrix.ProbabilityCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix.ProbabilityCategory": ... @staticmethod - def values() -> typing.MutableSequence['RiskMatrix.ProbabilityCategory']: ... + def values() -> typing.MutableSequence["RiskMatrix.ProbabilityCategory"]: ... + class RiskAssessment(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAnnualRiskCost(self) -> float: ... - def getConsequenceCategory(self) -> 'RiskMatrix.ConsequenceCategory': ... + def getConsequenceCategory(self) -> "RiskMatrix.ConsequenceCategory": ... def getCostPerFailure(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... @@ -215,71 +331,105 @@ class RiskMatrix(java.io.Serializable): def getFailuresPerYear(self) -> float: ... def getMtbf(self) -> float: ... def getMttr(self) -> float: ... - def getProbabilityCategory(self) -> 'RiskMatrix.ProbabilityCategory': ... + def getProbabilityCategory(self) -> "RiskMatrix.ProbabilityCategory": ... def getProductionLossKgHr(self) -> float: ... def getProductionLossPercent(self) -> float: ... - def getRiskLevel(self) -> 'RiskMatrix.RiskLevel': ... + def getRiskLevel(self) -> "RiskMatrix.RiskLevel": ... def getRiskScore(self) -> int: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class RiskLevel(java.lang.Enum['RiskMatrix.RiskLevel']): - LOW: typing.ClassVar['RiskMatrix.RiskLevel'] = ... - MEDIUM: typing.ClassVar['RiskMatrix.RiskLevel'] = ... - HIGH: typing.ClassVar['RiskMatrix.RiskLevel'] = ... - CRITICAL: typing.ClassVar['RiskMatrix.RiskLevel'] = ... + + class RiskLevel(java.lang.Enum["RiskMatrix.RiskLevel"]): + LOW: typing.ClassVar["RiskMatrix.RiskLevel"] = ... + MEDIUM: typing.ClassVar["RiskMatrix.RiskLevel"] = ... + HIGH: typing.ClassVar["RiskMatrix.RiskLevel"] = ... + CRITICAL: typing.ClassVar["RiskMatrix.RiskLevel"] = ... @staticmethod - def fromScore(int: int) -> 'RiskMatrix.RiskLevel': ... + def fromScore(int: int) -> "RiskMatrix.RiskLevel": ... def getColor(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RiskMatrix.RiskLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskMatrix.RiskLevel": ... @staticmethod - def values() -> typing.MutableSequence['RiskMatrix.RiskLevel']: ... + def values() -> typing.MutableSequence["RiskMatrix.RiskLevel"]: ... class RiskModel: def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addConditionalEvent(self, string: typing.Union[java.lang.String, str], riskEvent: RiskEvent, double: float, consequenceCategory: RiskEvent.ConsequenceCategory) -> RiskEvent: ... + def addConditionalEvent( + self, + string: typing.Union[java.lang.String, str], + riskEvent: RiskEvent, + double: float, + consequenceCategory: RiskEvent.ConsequenceCategory, + ) -> RiskEvent: ... def addEvent(self, riskEvent: RiskEvent) -> None: ... - def addInitiatingEvent(self, string: typing.Union[java.lang.String, str], double: float, consequenceCategory: RiskEvent.ConsequenceCategory) -> RiskEvent: ... + def addInitiatingEvent( + self, + string: typing.Union[java.lang.String, str], + double: float, + consequenceCategory: RiskEvent.ConsequenceCategory, + ) -> RiskEvent: ... @staticmethod - def builder() -> 'RiskModel.Builder': ... + def builder() -> "RiskModel.Builder": ... def getEvents(self) -> java.util.List[RiskEvent]: ... def getInitiatingEvents(self) -> java.util.List[RiskEvent]: ... def getName(self) -> java.lang.String: ... - def runDeterministicAnalysis(self) -> 'RiskResult': ... - def runMonteCarloAnalysis(self, int: int) -> 'RiskResult': ... + def runDeterministicAnalysis(self) -> "RiskResult": ... + def runMonteCarloAnalysis(self, int: int) -> "RiskResult": ... @typing.overload - def runSensitivityAnalysis(self, double: float, double2: float) -> 'SensitivityResult': ... + def runSensitivityAnalysis( + self, double: float, double2: float + ) -> "SensitivityResult": ... @typing.overload - def runSensitivityAnalysis(self, double: float, double2: float, int: int) -> 'SensitivityResult': ... - def runSimulationBasedAnalysis(self) -> 'RiskResult': ... + def runSensitivityAnalysis( + self, double: float, double2: float, int: int + ) -> "SensitivityResult": ... + def runSimulationBasedAnalysis(self) -> "RiskResult": ... def setFrequencyUncertaintyFactor(self, double: float) -> None: ... def setProbabilityUncertaintyStdDev(self, double: float) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setRandomSeed(self, long: int) -> None: ... def setStoreMonteCarloSamples(self, boolean: bool) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'RiskModel': ... - def frequencyUncertaintyFactor(self, double: float) -> 'RiskModel.Builder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'RiskModel.Builder': ... - def processSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'RiskModel.Builder': ... - def seed(self, long: int) -> 'RiskModel.Builder': ... + def build(self) -> "RiskModel": ... + def frequencyUncertaintyFactor(self, double: float) -> "RiskModel.Builder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskModel.Builder": ... + def processSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "RiskModel.Builder": ... + def seed(self, long: int) -> "RiskModel.Builder": ... class RiskResult: - def __init__(self, string: typing.Union[java.lang.String, str], int: int, long: int): ... + def __init__( + self, string: typing.Union[java.lang.String, str], int: int, long: int + ): ... def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... def getAnalysisName(self) -> java.lang.String: ... - def getCategoryFrequency(self, consequenceCategory: RiskEvent.ConsequenceCategory) -> float: ... - def getEventResults(self) -> java.util.List['RiskResult.EventResult']: ... - def getFNCurveData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCategoryFrequency( + self, consequenceCategory: RiskEvent.ConsequenceCategory + ) -> float: ... + def getEventResults(self) -> java.util.List["RiskResult.EventResult"]: ... + def getFNCurveData( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getIterations(self) -> int: ... def getMaxConsequence(self) -> float: ... def getMeanConsequence(self) -> float: ... @@ -291,8 +441,16 @@ class RiskResult: def getTotalFrequency(self) -> float: ... def getTotalRiskIndex(self) -> float: ... def toString(self) -> java.lang.String: ... + class EventResult: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, consequenceCategory: RiskEvent.ConsequenceCategory): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + consequenceCategory: RiskEvent.ConsequenceCategory, + ): ... def getCategory(self) -> RiskEvent.ConsequenceCategory: ... def getEventName(self) -> java.lang.String: ... def getFrequency(self) -> float: ... @@ -300,7 +458,11 @@ class RiskResult: def getRiskContribution(self) -> float: ... class SensitivityResult: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... def getAnalysisName(self) -> java.lang.String: ... @@ -309,12 +471,17 @@ class SensitivityResult: def getBaseRiskIndex(self) -> float: ... def getMostSensitiveParameter(self) -> java.lang.String: ... def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getParameterSensitivity(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getSensitivityIndex(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTornadoData(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def getParameterSensitivity( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSensitivityIndex( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTornadoData( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk")``. diff --git a/src/jneqsim-stubs/process/safety/risk/bowtie/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/bowtie/__init__.pyi index dceb4bbe..78c02095 100644 --- a/src/jneqsim-stubs/process/safety/risk/bowtie/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/bowtie/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,51 +12,107 @@ import jneqsim.process.processmodel import jneqsim.process.safety.risk.sis import typing - - class BowTieAnalyzer(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addAvailableSIF(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> None: ... - def autoGenerateFromProcess(self) -> java.util.List['BowTieModel']: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + ): ... + def addAvailableSIF( + self, + safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction, + ) -> None: ... + def autoGenerateFromProcess(self) -> java.util.List["BowTieModel"]: ... def calculateRisk(self) -> None: ... - def createBowTie(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'BowTieModel': ... + def createBowTie( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "BowTieModel": ... def generateReport(self) -> java.lang.String: ... - def getBowTie(self, string: typing.Union[java.lang.String, str]) -> 'BowTieModel': ... - def getBowTieModels(self) -> java.util.List['BowTieModel']: ... + def getBowTie( + self, string: typing.Union[java.lang.String, str] + ) -> "BowTieModel": ... + def getBowTieModels(self) -> java.util.List["BowTieModel"]: ... def getName(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class ConsequenceTemplate(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], consequenceCategory: 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory', int: int): ... - def addRecommendedMitigation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getCategory(self) -> 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + consequenceCategory: "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory", + int: int, + ): ... + def addRecommendedMitigation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def getCategory( + self, + ) -> "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory": ... def getDefaultSeverity(self) -> int: ... def getDescription(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... def getRecommendedMitigations(self) -> java.util.List[java.lang.String]: ... - class ConsequenceCategory(java.lang.Enum['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory']): - SAFETY: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... - ENVIRONMENTAL: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... - ASSET: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... - PRODUCTION: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... - REPUTATION: typing.ClassVar['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ConsequenceCategory( + java.lang.Enum["BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory"] + ): + SAFETY: typing.ClassVar[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] = ... + ENVIRONMENTAL: typing.ClassVar[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] = ... + ASSET: typing.ClassVar[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] = ... + PRODUCTION: typing.ClassVar[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] = ... + REPUTATION: typing.ClassVar[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] = ... + _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: ... + 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]) -> 'BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory": ... @staticmethod - def values() -> typing.MutableSequence['BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory']: ... + def values() -> ( + typing.MutableSequence[ + "BowTieAnalyzer.ConsequenceTemplate.ConsequenceCategory" + ] + ): ... + class ThreatTemplate(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], double: float): ... - def addApplicableEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addRecommendedBarrier(self, string: typing.Union[java.lang.String, str]) -> None: ... + 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, + ): ... + def addApplicableEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def addRecommendedBarrier( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getApplicableEquipment(self) -> java.util.List[java.lang.String]: ... def getBaseFrequency(self) -> float: ... def getCategory(self) -> java.lang.String: ... @@ -65,64 +121,101 @@ class BowTieAnalyzer(java.io.Serializable): def getRecommendedBarriers(self) -> java.util.List[java.lang.String]: ... class BowTieModel(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def addBarrier(self, barrier: 'BowTieModel.Barrier') -> None: ... - def addConsequence(self, consequence: 'BowTieModel.Consequence') -> None: ... - def addThreat(self, threat: 'BowTieModel.Threat') -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def addBarrier(self, barrier: "BowTieModel.Barrier") -> None: ... + def addConsequence(self, consequence: "BowTieModel.Consequence") -> None: ... + def addThreat(self, threat: "BowTieModel.Threat") -> None: ... def calculateRisk(self) -> None: ... - def getBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... - def getConsequences(self) -> java.util.List['BowTieModel.Consequence']: ... + def getBarriers(self) -> java.util.List["BowTieModel.Barrier"]: ... + def getConsequences(self) -> java.util.List["BowTieModel.Consequence"]: ... def getHazardDescription(self) -> java.lang.String: ... def getHazardId(self) -> java.lang.String: ... def getHazardType(self) -> java.lang.String: ... def getMaxSeverity(self) -> int: ... def getMitigatedFrequency(self) -> float: ... - def getMitigationBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... - def getPreventionBarriers(self) -> java.util.List['BowTieModel.Barrier']: ... - def getThreats(self) -> java.util.List['BowTieModel.Threat']: ... + def getMitigationBarriers(self) -> java.util.List["BowTieModel.Barrier"]: ... + def getPreventionBarriers(self) -> java.util.List["BowTieModel.Barrier"]: ... + def getThreats(self) -> java.util.List["BowTieModel.Threat"]: ... def getTotalRRF(self) -> float: ... def getUnmitigatedFrequency(self) -> float: ... - def linkBarrierToConsequence(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def linkBarrierToThreat(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def linkBarrierToConsequence( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def linkBarrierToThreat( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setHazardType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... def toVisualization(self) -> java.lang.String: ... + class Barrier(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... - def getBarrierType(self) -> 'BowTieModel.BarrierType': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... + def getBarrierType(self) -> "BowTieModel.BarrierType": ... def getDescription(self) -> java.lang.String: ... def getEffectiveness(self) -> float: ... def getId(self) -> java.lang.String: ... def getOwner(self) -> java.lang.String: ... def getPfd(self) -> float: ... def getRRF(self) -> float: ... - def getSif(self) -> jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction: ... + def getSif( + self, + ) -> jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction: ... def getVerificationStatus(self) -> java.lang.String: ... def isFunctional(self) -> bool: ... - def setBarrierType(self, barrierType: 'BowTieModel.BarrierType') -> None: ... + def setBarrierType(self, barrierType: "BowTieModel.BarrierType") -> None: ... def setFunctional(self, boolean: bool) -> None: ... def setOwner(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPfd(self, double: float) -> None: ... - def setSif(self, safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction) -> None: ... - def setVerificationStatus(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSif( + self, + safetyInstrumentedFunction: jneqsim.process.safety.risk.sis.SafetyInstrumentedFunction, + ) -> None: ... + def setVerificationStatus( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class BarrierType(java.lang.Enum['BowTieModel.BarrierType']): - PREVENTION: typing.ClassVar['BowTieModel.BarrierType'] = ... - MITIGATION: typing.ClassVar['BowTieModel.BarrierType'] = ... - BOTH: typing.ClassVar['BowTieModel.BarrierType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class BarrierType(java.lang.Enum["BowTieModel.BarrierType"]): + PREVENTION: typing.ClassVar["BowTieModel.BarrierType"] = ... + MITIGATION: typing.ClassVar["BowTieModel.BarrierType"] = ... + BOTH: typing.ClassVar["BowTieModel.BarrierType"] = ... + _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: ... + 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]) -> 'BowTieModel.BarrierType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BowTieModel.BarrierType": ... @staticmethod - def values() -> typing.MutableSequence['BowTieModel.BarrierType']: ... + def values() -> typing.MutableSequence["BowTieModel.BarrierType"]: ... + class Consequence(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ): ... def getCategory(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... @@ -134,8 +227,14 @@ class BowTieModel(java.io.Serializable): def setProbability(self, double: float) -> None: ... def setSeverity(self, int: int) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Threat(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... def getDescription(self) -> java.lang.String: ... def getFrequency(self) -> float: ... def getId(self) -> java.lang.String: ... @@ -158,7 +257,6 @@ class BowTieSvgExporter(java.io.Serializable): def setHeight(self, int: int) -> None: ... def setWidth(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.bowtie")``. diff --git a/src/jneqsim-stubs/process/safety/risk/condition/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/condition/__init__.pyi index 15f33253..937ad34b 100644 --- a/src/jneqsim-stubs/process/safety/risk/condition/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/condition/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,23 +13,48 @@ import java.util import jneqsim.process.equipment import typing - - class ConditionBasedReliability(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... - def addIndicator(self, conditionIndicator: 'ConditionBasedReliability.ConditionIndicator') -> None: ... - def addTemperatureIndicator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ConditionBasedReliability.ConditionIndicator': ... - def addVibrationIndicator(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'ConditionBasedReliability.ConditionIndicator': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... + def addIndicator( + self, conditionIndicator: "ConditionBasedReliability.ConditionIndicator" + ) -> None: ... + def addTemperatureIndicator( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "ConditionBasedReliability.ConditionIndicator": ... + def addVibrationIndicator( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "ConditionBasedReliability.ConditionIndicator": ... def getAdjustedFailureRate(self) -> float: ... - def getAlarmingIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... + def getAlarmingIndicators( + self, + ) -> java.util.List["ConditionBasedReliability.ConditionIndicator"]: ... def getBaseFailureRate(self) -> float: ... - def getCriticalIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... - def getDegradationModel(self) -> 'ConditionBasedReliability.DegradationModel': ... + def getCriticalIndicators( + self, + ) -> java.util.List["ConditionBasedReliability.ConditionIndicator"]: ... + def getDegradationModel(self) -> "ConditionBasedReliability.DegradationModel": ... def getEquipmentId(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... def getFailureRateMultiplier(self) -> float: ... def getHealthIndex(self) -> float: ... - def getIndicators(self) -> java.util.List['ConditionBasedReliability.ConditionIndicator']: ... + def getIndicators( + self, + ) -> java.util.List["ConditionBasedReliability.ConditionIndicator"]: ... def getLastUpdated(self) -> java.time.Instant: ... def getMTTF(self) -> float: ... def getProbabilityOfFailure(self, double: float) -> float: ... @@ -37,67 +62,139 @@ class ConditionBasedReliability(java.io.Serializable): def getRemainingUsefulLife(self) -> float: ... def recalculateHealth(self) -> None: ... def setBaseFailureRate(self, double: float) -> None: ... - def setDegradationModel(self, degradationModel: 'ConditionBasedReliability.DegradationModel') -> None: ... + def setDegradationModel( + self, degradationModel: "ConditionBasedReliability.DegradationModel" + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toReport(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - def updateIndicator(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def updateIndicators(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def updateIndicator( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def updateIndicators( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + class ConditionIndicator(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], indicatorType: 'ConditionBasedReliability.ConditionIndicator.IndicatorType'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + indicatorType: "ConditionBasedReliability.ConditionIndicator.IndicatorType", + ): ... def getCriticalThreshold(self) -> float: ... def getCurrentValue(self) -> float: ... def getHealthContribution(self) -> float: ... def getIndicatorId(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def getNormalValue(self) -> float: ... - def getType(self) -> 'ConditionBasedReliability.ConditionIndicator.IndicatorType': ... + def getType( + self, + ) -> "ConditionBasedReliability.ConditionIndicator.IndicatorType": ... def getWarningThreshold(self) -> float: ... def getWeight(self) -> float: ... def isAlarming(self) -> bool: ... def isCritical(self) -> bool: ... - def setThresholds(self, double: float, double2: float, double3: float) -> None: ... + def setThresholds( + self, double: float, double2: float, double3: float + ) -> None: ... def setWeight(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def updateValue(self, double: float) -> None: ... - class IndicatorType(java.lang.Enum['ConditionBasedReliability.ConditionIndicator.IndicatorType']): - VIBRATION: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - TEMPERATURE: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - PRESSURE: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - FLOW: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - CURRENT: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - WEAR: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - CORROSION: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - EFFICIENCY: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - ACOUSTIC: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - OIL_ANALYSIS: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - CUSTOM: typing.ClassVar['ConditionBasedReliability.ConditionIndicator.IndicatorType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class IndicatorType( + java.lang.Enum["ConditionBasedReliability.ConditionIndicator.IndicatorType"] + ): + VIBRATION: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + TEMPERATURE: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + PRESSURE: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + FLOW: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + CURRENT: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + WEAR: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + CORROSION: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + EFFICIENCY: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + ACOUSTIC: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + OIL_ANALYSIS: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + CUSTOM: typing.ClassVar[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] = ... + _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: ... + 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]) -> 'ConditionBasedReliability.ConditionIndicator.IndicatorType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConditionBasedReliability.ConditionIndicator.IndicatorType": ... @staticmethod - def values() -> typing.MutableSequence['ConditionBasedReliability.ConditionIndicator.IndicatorType']: ... - class DegradationModel(java.lang.Enum['ConditionBasedReliability.DegradationModel']): - LINEAR: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... - EXPONENTIAL: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... - WEIBULL: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... - MACHINE_LEARNING: typing.ClassVar['ConditionBasedReliability.DegradationModel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence[ + "ConditionBasedReliability.ConditionIndicator.IndicatorType" + ] + ): ... + + class DegradationModel( + java.lang.Enum["ConditionBasedReliability.DegradationModel"] + ): + LINEAR: typing.ClassVar["ConditionBasedReliability.DegradationModel"] = ... + EXPONENTIAL: typing.ClassVar["ConditionBasedReliability.DegradationModel"] = ... + WEIBULL: typing.ClassVar["ConditionBasedReliability.DegradationModel"] = ... + MACHINE_LEARNING: typing.ClassVar[ + "ConditionBasedReliability.DegradationModel" + ] = ... + _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: ... + 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]) -> 'ConditionBasedReliability.DegradationModel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConditionBasedReliability.DegradationModel": ... @staticmethod - def values() -> typing.MutableSequence['ConditionBasedReliability.DegradationModel']: ... + def values() -> ( + typing.MutableSequence["ConditionBasedReliability.DegradationModel"] + ): ... + class HealthRecord(java.io.Serializable): - def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float): ... + def __init__( + self, + instant: typing.Union[java.time.Instant, datetime.datetime], + double: float, + double2: float, + ): ... def getAdjustedFailureRate(self) -> float: ... def getHealthIndex(self) -> float: ... def getTimestamp(self) -> java.time.Instant: ... @@ -106,7 +203,10 @@ class ProcessEquipmentMonitor(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... def getAdjustedFailureRate(self) -> float: ... def getBaseFailureRate(self) -> float: ... def getBottleneckConstraint(self) -> java.lang.String: ... @@ -117,20 +217,36 @@ class ProcessEquipmentMonitor(java.io.Serializable): def getEquipmentName(self) -> java.lang.String: ... def getFailureProbability(self, double: float) -> float: ... def getHealthIndex(self) -> float: ... - def getHistory(self) -> java.util.List['ProcessEquipmentMonitor.MonitorReading']: ... + def getHistory( + self, + ) -> java.util.List["ProcessEquipmentMonitor.MonitorReading"]: ... def getLastUpdated(self) -> java.time.Instant: ... def getRemainingUsefulLife(self) -> float: ... def setBaseFailureRate(self, double: float) -> None: ... - def setCurrentValues(self, double: float, double2: float, double3: float) -> None: ... + def setCurrentValues( + self, double: float, double2: float, double3: float + ) -> None: ... def setDesignPressureRange(self, double: float, double2: float) -> None: ... def setDesignTemperatureRange(self, double: float, double2: float) -> None: ... - def setEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> None: ... + def setEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> None: ... def setMaxCapacityUtilization(self, double: float) -> None: ... def setWeights(self, double: float, double2: float, double3: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def update(self) -> None: ... + class MonitorReading(java.io.Serializable): - def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + instant: typing.Union[java.time.Instant, datetime.datetime], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getAdjustedFailureRate(self) -> float: ... def getCapacityUtilization(self) -> float: ... def getHealthIndex(self) -> float: ... @@ -139,7 +255,6 @@ class ProcessEquipmentMonitor(java.io.Serializable): def getTimestamp(self) -> java.time.Instant: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.condition")``. diff --git a/src/jneqsim-stubs/process/safety/risk/data/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/data/__init__.pyi index 8b94af06..0fe90402 100644 --- a/src/jneqsim-stubs/process/safety/risk/data/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/data/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,45 +12,99 @@ import java.util import jpype.protocol import typing - - class OREDADataImporter(java.io.Serializable): def __init__(self): ... - def addRecord(self, reliabilityRecord: 'OREDADataImporter.ReliabilityRecord') -> None: ... + def addRecord( + self, reliabilityRecord: "OREDADataImporter.ReliabilityRecord" + ) -> None: ... def clear(self) -> None: ... @staticmethod - def createForElectricalEquipment() -> 'OREDADataImporter': ... + def createForElectricalEquipment() -> "OREDADataImporter": ... @staticmethod - def createForOilAndGas() -> 'OREDADataImporter': ... + def createForOilAndGas() -> "OREDADataImporter": ... @staticmethod - def createWithAllPublicData() -> 'OREDADataImporter': ... + def createWithAllPublicData() -> "OREDADataImporter": ... @staticmethod - def createWithDefaults() -> 'OREDADataImporter': ... - def getAllRecords(self) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + def createWithDefaults() -> "OREDADataImporter": ... + def getAllRecords( + self, + ) -> java.util.List["OREDADataImporter.ReliabilityRecord"]: ... def getDataSource(self) -> java.lang.String: ... - def getDataSourceForRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def getEquipmentClasses(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getDataSourceForRecord( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> java.lang.String: ... + def getEquipmentClasses( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... def getEquipmentTypes(self) -> java.util.List[java.lang.String]: ... - def getFailureModes(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getFailureRate(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getMTBF(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... - def getMTTR(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> float: ... + def getFailureModes( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.List[java.lang.String]: ... + def getFailureRate( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getMTBF( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... + def getMTTR( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload - def getRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'OREDADataImporter.ReliabilityRecord': ... + def getRecord( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "OREDADataImporter.ReliabilityRecord": ... @typing.overload - def getRecord(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'OREDADataImporter.ReliabilityRecord': ... + def getRecord( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "OREDADataImporter.ReliabilityRecord": ... def getRecordCount(self) -> int: ... - def getRecordsByType(self, string: typing.Union[java.lang.String, str]) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + def getRecordsByType( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["OREDADataImporter.ReliabilityRecord"]: ... def loadAllPublicDataSources(self) -> None: ... def loadFromCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... - def loadFromFile(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def loadFromFile( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... def loadFromResource(self, string: typing.Union[java.lang.String, str]) -> None: ... def loadGenericLiteratureData(self) -> None: ... def loadIEEE493Data(self) -> None: ... def loadIOGPData(self) -> None: ... - def search(self, string: typing.Union[java.lang.String, str]) -> java.util.List['OREDADataImporter.ReliabilityRecord']: ... + def search( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["OREDADataImporter.ReliabilityRecord"]: ... + class ReliabilityRecord(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], double: float, double2: float, double3: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + 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, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + ): ... def getAvailability(self) -> float: ... def getConfidence(self) -> java.lang.String: ... def getDataSource(self) -> java.lang.String: ... @@ -67,7 +121,6 @@ class OREDADataImporter(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.data")``. diff --git a/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi index d89440e3..dc8fdfb5 100644 --- a/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/dynamic/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,15 +14,31 @@ import jneqsim.process.processmodel import jneqsim.process.safety.risk import typing - - -class DynamicRiskResult(jneqsim.process.safety.risk.OperationalRiskResult, java.io.Serializable): +class DynamicRiskResult( + jneqsim.process.safety.risk.OperationalRiskResult, java.io.Serializable +): 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: ... + 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: ... @typing.overload - def calculateStatistics(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], intArray: typing.Union[typing.List[int], jpype.JArray], intArray2: typing.Union[typing.List[int], jpype.JArray]) -> None: ... - def compareWithStatic(self, operationalRiskResult: jneqsim.process.safety.risk.OperationalRiskResult) -> java.util.Map[java.lang.String, typing.Any]: ... + def calculateStatistics( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + intArray: typing.Union[typing.List[int], jpype.JArray], + intArray2: typing.Union[typing.List[int], jpype.JArray], + ) -> None: ... + def compareWithStatic( + self, operationalRiskResult: jneqsim.process.safety.risk.OperationalRiskResult + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getMeanSteadyStateLoss(self) -> float: ... def getMeanTransientCount(self) -> float: ... def getMeanTransientLoss(self) -> float: ... @@ -43,40 +59,60 @@ 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, java.io.Serializable +): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def getProductionProfiles(self) -> java.util.List['ProductionProfile']: ... + def getProductionProfiles(self) -> java.util.List["ProductionProfile"]: ... def getRampUpTimeHours(self) -> float: ... def getTimestepHours(self) -> float: ... - def getTransientStats(self) -> 'TransientLossStatistics': ... + def getTransientStats(self) -> "TransientLossStatistics": ... def runDynamicSimulation(self, int: int, double: float) -> DynamicRiskResult: ... - def setRampUpProfile(self, rampProfile: 'DynamicRiskSimulator.RampProfile') -> 'DynamicRiskSimulator': ... - def setRampUpTimeHours(self, double: float) -> 'DynamicRiskSimulator': ... - def setShutdownProfile(self, rampProfile: 'DynamicRiskSimulator.RampProfile') -> 'DynamicRiskSimulator': ... - def setShutdownTimeHours(self, double: float) -> 'DynamicRiskSimulator': ... - def setSimulateTransients(self, boolean: bool) -> 'DynamicRiskSimulator': ... - def setTimestepHours(self, double: float) -> 'DynamicRiskSimulator': ... - def simulateFailureEvent(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, double: float) -> 'ProductionProfile': ... - class RampProfile(java.lang.Enum['DynamicRiskSimulator.RampProfile']): - LINEAR: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... - EXPONENTIAL: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... - S_CURVE: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... - STEP: typing.ClassVar['DynamicRiskSimulator.RampProfile'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setRampUpProfile( + self, rampProfile: "DynamicRiskSimulator.RampProfile" + ) -> "DynamicRiskSimulator": ... + def setRampUpTimeHours(self, double: float) -> "DynamicRiskSimulator": ... + def setShutdownProfile( + self, rampProfile: "DynamicRiskSimulator.RampProfile" + ) -> "DynamicRiskSimulator": ... + def setShutdownTimeHours(self, double: float) -> "DynamicRiskSimulator": ... + def setSimulateTransients(self, boolean: bool) -> "DynamicRiskSimulator": ... + def setTimestepHours(self, double: float) -> "DynamicRiskSimulator": ... + def simulateFailureEvent( + self, + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + double: float, + ) -> "ProductionProfile": ... + + class RampProfile(java.lang.Enum["DynamicRiskSimulator.RampProfile"]): + LINEAR: typing.ClassVar["DynamicRiskSimulator.RampProfile"] = ... + EXPONENTIAL: typing.ClassVar["DynamicRiskSimulator.RampProfile"] = ... + S_CURVE: typing.ClassVar["DynamicRiskSimulator.RampProfile"] = ... + STEP: typing.ClassVar["DynamicRiskSimulator.RampProfile"] = ... + _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: ... + 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]) -> 'DynamicRiskSimulator.RampProfile': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DynamicRiskSimulator.RampProfile": ... @staticmethod - def values() -> typing.MutableSequence['DynamicRiskSimulator.RampProfile']: ... + def values() -> typing.MutableSequence["DynamicRiskSimulator.RampProfile"]: ... class ProductionProfile(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def calculateTotals(self) -> None: ... def getBaselineProduction(self) -> float: ... def getDegradedProduction(self) -> float: ... @@ -90,7 +126,7 @@ class ProductionProfile(java.io.Serializable): def getShutdownTransientLoss(self) -> float: ... def getSteadyStateDuration(self) -> float: ... def getSteadyStateLoss(self) -> float: ... - def getTimeSeries(self) -> java.util.List['ProductionProfile.TimePoint']: ... + def getTimeSeries(self) -> java.util.List["ProductionProfile.TimePoint"]: ... def getTotalLoss(self) -> float: ... def getTotalProduction(self) -> float: ... def getTotalTransientLoss(self) -> float: ... @@ -108,8 +144,14 @@ class ProductionProfile(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class TimePoint(java.io.Serializable): - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def getPhase(self) -> java.lang.String: ... def getProductionRate(self) -> float: ... def getTime(self) -> float: ... @@ -135,7 +177,6 @@ class TransientLossStatistics(java.io.Serializable): def toString(self) -> java.lang.String: ... def update(self, dynamicRiskResult: DynamicRiskResult) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.dynamic")``. diff --git a/src/jneqsim-stubs/process/safety/risk/eta/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/eta/__init__.pyi index 6aba43b1..89c3b389 100644 --- a/src/jneqsim-stubs/process/safety/risk/eta/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/eta/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,19 +10,19 @@ import java.lang import java.util import typing - - class EventTreeAnalyzer(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... - def addBranch(self, string: typing.Union[java.lang.String, str], double: float) -> 'EventTreeAnalyzer': ... - def evaluate(self) -> java.util.List['EventTreeAnalyzer.Outcome']: ... + def addBranch( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "EventTreeAnalyzer": ... + def evaluate(self) -> java.util.List["EventTreeAnalyzer.Outcome"]: ... def report(self) -> java.lang.String: ... + class Outcome(java.io.Serializable): path: java.lang.String = ... probability: float = ... frequencyPerYear: float = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.eta")``. diff --git a/src/jneqsim-stubs/process/safety/risk/examples/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/examples/__init__.pyi index a870416d..cb584886 100644 --- a/src/jneqsim-stubs/process/safety/risk/examples/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/examples/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,8 +9,6 @@ import java.lang import jpype import typing - - class RiskFrameworkQuickStart: def __init__(self): ... @staticmethod @@ -30,8 +28,9 @@ class RiskFrameworkQuickStart: @staticmethod def exampleSISIntegration() -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.examples")``. diff --git a/src/jneqsim-stubs/process/safety/risk/fta/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/fta/__init__.pyi index 296fe29d..e313c9d2 100644 --- a/src/jneqsim-stubs/process/safety/risk/fta/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/fta/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,31 @@ import java.lang import java.util import typing - - class FaultTreeAnalyzer(java.io.Serializable): def __init__(self): ... - def minimalCutSets(self, faultTreeNode: 'FaultTreeNode', int: int) -> java.util.Set[java.util.List[java.lang.String]]: ... - def topEventProbability(self, faultTreeNode: 'FaultTreeNode') -> float: ... - class GateType(java.lang.Enum['FaultTreeAnalyzer.GateType']): - AND: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... - OR: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... - VOTING: typing.ClassVar['FaultTreeAnalyzer.GateType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def minimalCutSets( + self, faultTreeNode: "FaultTreeNode", int: int + ) -> java.util.Set[java.util.List[java.lang.String]]: ... + def topEventProbability(self, faultTreeNode: "FaultTreeNode") -> float: ... + + class GateType(java.lang.Enum["FaultTreeAnalyzer.GateType"]): + AND: typing.ClassVar["FaultTreeAnalyzer.GateType"] = ... + OR: typing.ClassVar["FaultTreeAnalyzer.GateType"] = ... + VOTING: typing.ClassVar["FaultTreeAnalyzer.GateType"] = ... + _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: ... + 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]) -> 'FaultTreeAnalyzer.GateType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FaultTreeAnalyzer.GateType": ... @staticmethod - def values() -> typing.MutableSequence['FaultTreeAnalyzer.GateType']: ... + def values() -> typing.MutableSequence["FaultTreeAnalyzer.GateType"]: ... class FaultTreeNode(java.io.Serializable): name: java.lang.String = ... @@ -38,16 +44,25 @@ class FaultTreeNode(java.io.Serializable): kOfN: int = ... betaCCF: float = ... @staticmethod - def and_(string: typing.Union[java.lang.String, str], *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... + def and_( + string: typing.Union[java.lang.String, str], *faultTreeNode: "FaultTreeNode" + ) -> "FaultTreeNode": ... @staticmethod - def basic(string: typing.Union[java.lang.String, str], double: float) -> 'FaultTreeNode': ... + def basic( + string: typing.Union[java.lang.String, str], double: float + ) -> "FaultTreeNode": ... def isBasic(self) -> bool: ... @staticmethod - def or_(string: typing.Union[java.lang.String, str], *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... + def or_( + string: typing.Union[java.lang.String, str], *faultTreeNode: "FaultTreeNode" + ) -> "FaultTreeNode": ... @staticmethod - def voting(string: typing.Union[java.lang.String, str], int: int, *faultTreeNode: 'FaultTreeNode') -> 'FaultTreeNode': ... - def withCCF(self, double: float) -> 'FaultTreeNode': ... - + def voting( + string: typing.Union[java.lang.String, str], + int: int, + *faultTreeNode: "FaultTreeNode", + ) -> "FaultTreeNode": ... + def withCCF(self, double: float) -> "FaultTreeNode": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.fta")``. diff --git a/src/jneqsim-stubs/process/safety/risk/ml/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/ml/__init__.pyi index f26dd071..1b845868 100644 --- a/src/jneqsim-stubs/process/safety/risk/ml/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/ml/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,66 +14,138 @@ import jpype import neqsim import typing - - class RiskMLInterface(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def createAnomalyDetectionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... - def createFailurePredictionModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... - def createRULModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... - def getActiveModels(self) -> java.util.List['RiskMLInterface.MLModel']: ... - def getModel(self, string: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.MLModel': ... - def getModelPerformance(self, string: typing.Union[java.lang.String, str]) -> 'RiskMLInterface.ModelPerformanceMetrics': ... - def getModels(self) -> java.util.List['RiskMLInterface.MLModel']: ... + def createAnomalyDetectionModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "RiskMLInterface.MLModel": ... + def createFailurePredictionModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "RiskMLInterface.MLModel": ... + def createRULModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "RiskMLInterface.MLModel": ... + def getActiveModels(self) -> java.util.List["RiskMLInterface.MLModel"]: ... + def getModel( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskMLInterface.MLModel": ... + def getModelPerformance( + self, string: typing.Union[java.lang.String, str] + ) -> "RiskMLInterface.ModelPerformanceMetrics": ... + def getModels(self) -> java.util.List["RiskMLInterface.MLModel"]: ... def getName(self) -> java.lang.String: ... - def predict(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'RiskMLInterface.MLPrediction': ... - def predictWithExtraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'RiskMLInterface.MLPrediction': ... - def provideFeedback(self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float) -> None: ... - def registerFeatureExtractor(self, string: typing.Union[java.lang.String, str], featureExtractor: typing.Union['RiskMLInterface.FeatureExtractor', typing.Callable]) -> None: ... - def registerModel(self, mLModel: 'RiskMLInterface.MLModel') -> None: ... + def predict( + self, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "RiskMLInterface.MLPrediction": ... + def predictWithExtraction( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "RiskMLInterface.MLPrediction": ... + def provideFeedback( + self, instant: typing.Union[java.time.Instant, datetime.datetime], double: float + ) -> None: ... + def registerFeatureExtractor( + self, + string: typing.Union[java.lang.String, str], + featureExtractor: typing.Union[ + "RiskMLInterface.FeatureExtractor", typing.Callable + ], + ) -> None: ... + def registerModel(self, mLModel: "RiskMLInterface.MLModel") -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class FeatureExtractor: - def extractFeatures(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> java.util.Map[java.lang.String, float]: ... + def extractFeatures( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> java.util.Map[java.lang.String, float]: ... + class MLModel(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], modelType: 'RiskMLInterface.MLModel.ModelType'): ... - def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + modelType: "RiskMLInterface.MLModel.ModelType", + ): ... + def addMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def getAccuracy(self) -> float: ... def getMetadata(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getModelId(self) -> java.lang.String: ... def getModelName(self) -> java.lang.String: ... - def getModelType(self) -> 'RiskMLInterface.MLModel.ModelType': ... - def getPredictor(self) -> 'RiskMLInterface.MLPredictor': ... + def getModelType(self) -> "RiskMLInterface.MLModel.ModelType": ... + def getPredictor(self) -> "RiskMLInterface.MLPredictor": ... def getTrainedDate(self) -> java.time.Instant: ... def getVersion(self) -> java.lang.String: ... def isActive(self) -> bool: ... def setAccuracy(self, double: float) -> None: ... def setActive(self, boolean: bool) -> None: ... - def setPredictor(self, mLPredictor: typing.Union['RiskMLInterface.MLPredictor', typing.Callable]) -> None: ... - def setTrainedDate(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... + def setPredictor( + self, + mLPredictor: typing.Union["RiskMLInterface.MLPredictor", typing.Callable], + ) -> None: ... + def setTrainedDate( + self, instant: typing.Union[java.time.Instant, datetime.datetime] + ) -> None: ... def setVersion(self, string: typing.Union[java.lang.String, str]) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ModelType(java.lang.Enum['RiskMLInterface.MLModel.ModelType']): - FAILURE_PREDICTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - ANOMALY_DETECTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - RUL_PREDICTION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - RISK_SCORING: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - OPTIMIZATION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - CLASSIFICATION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - REGRESSION: typing.ClassVar['RiskMLInterface.MLModel.ModelType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ModelType(java.lang.Enum["RiskMLInterface.MLModel.ModelType"]): + FAILURE_PREDICTION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ( + ... + ) + ANOMALY_DETECTION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ( + ... + ) + RUL_PREDICTION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ... + RISK_SCORING: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ... + OPTIMIZATION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ... + CLASSIFICATION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ... + REGRESSION: typing.ClassVar["RiskMLInterface.MLModel.ModelType"] = ... + _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: ... + 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]) -> 'RiskMLInterface.MLModel.ModelType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RiskMLInterface.MLModel.ModelType": ... @staticmethod - def values() -> typing.MutableSequence['RiskMLInterface.MLModel.ModelType']: ... + def values() -> ( + typing.MutableSequence["RiskMLInterface.MLModel.ModelType"] + ): ... + class MLPrediction(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def addMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def getConfidence(self) -> float: ... def getFeatureImportance(self) -> java.util.Map[java.lang.String, float]: ... def getLabel(self) -> java.lang.String: ... @@ -83,27 +155,73 @@ class RiskMLInterface(java.io.Serializable): def getProbabilities(self) -> typing.MutableSequence[float]: ... def getTimestamp(self) -> java.time.Instant: ... def setConfidence(self, double: float) -> None: ... - def setFeatureImportance(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setFeatureImportance( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setLabel(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPrediction(self, double: float) -> None: ... - def setProbabilities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setProbabilities( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class MLPredictor: - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'RiskMLInterface.MLPrediction': ... - def predictBatch(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]]]) -> java.util.List['RiskMLInterface.MLPrediction']: ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "RiskMLInterface.MLPrediction": ... + def predictBatch( + 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], + ] + ], + ) -> java.util.List["RiskMLInterface.MLPrediction"]: ... + class ModelPerformanceMetrics(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['RiskMLInterface.PredictionRecord']): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List["RiskMLInterface.PredictionRecord"], + ): ... def getMeanAbsoluteError(self) -> float: ... def getMeanAbsolutePercentageError(self) -> float: ... def getModelId(self) -> java.lang.String: ... def getRootMeanSquareError(self) -> float: ... def getValidatedPredictions(self) -> int: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class PredictionRecord(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + instant: typing.Union[java.time.Instant, datetime.datetime], + ): ... def getActualValue(self) -> float: ... def getModelId(self) -> java.lang.String: ... def getPrediction(self) -> float: ... @@ -115,44 +233,118 @@ class RiskMLInterface(java.io.Serializable): class MLIntegrationExamples: def __init__(self): ... @staticmethod - def createOnnxFailurePredictor(string: typing.Union[java.lang.String, str]) -> 'MLIntegrationExamples.OnnxAdapter': ... + def createOnnxFailurePredictor( + string: typing.Union[java.lang.String, str] + ) -> "MLIntegrationExamples.OnnxAdapter": ... @staticmethod - def createRestAnomalyDetector(string: typing.Union[java.lang.String, str]) -> 'MLIntegrationExamples.RestApiAdapter': ... + def createRestAnomalyDetector( + string: typing.Union[java.lang.String, str] + ) -> "MLIntegrationExamples.RestApiAdapter": ... @staticmethod - def createTestAnomalyDetector() -> 'MLIntegrationExamples.ThresholdModel': ... + def createTestAnomalyDetector() -> "MLIntegrationExamples.ThresholdModel": ... @staticmethod - def createTestFailurePredictor() -> 'MLIntegrationExamples.ThresholdModel': ... + def createTestFailurePredictor() -> "MLIntegrationExamples.ThresholdModel": ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - class BaseMLAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.MLModelAdapter): + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + + class BaseMLAdapter( + jneqsim.process.safety.risk.ml.MLIntegrationExamples.MLModelAdapter + ): def getInputFeatures(self) -> java.util.List[java.lang.String]: ... def getModelName(self) -> java.lang.String: ... def isLoaded(self) -> bool: ... + class MLModelAdapter(java.io.Serializable): def getInputFeatures(self) -> java.util.List[java.lang.String]: ... def getModelName(self) -> java.lang.String: ... - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... - class OnnxAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... + + class OnnxAdapter( + jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter + ): + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getModelPath(self) -> java.lang.String: ... def load(self) -> None: ... - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... - class RestApiAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... - def addHeader(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... + + class RestApiAdapter( + jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter + ): + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... + def addHeader( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def getEndpoint(self) -> java.lang.String: ... def getTimeoutMs(self) -> int: ... - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... def setTimeout(self, int: int) -> None: ... - class TensorFlowAdapter(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): - def __init__(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], string3: typing.Union[java.lang.String, str]): ... + + class TensorFlowAdapter( + jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter + ): + def __init__( + 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], + string3: typing.Union[java.lang.String, str], + ): ... def load(self) -> None: ... - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... - class ThresholdModel(jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter): - def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addThreshold(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def predict(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> float: ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... + class ThresholdModel( + jneqsim.process.safety.risk.ml.MLIntegrationExamples.BaseMLAdapter + ): + def __init__(self, string: typing.Union[java.lang.String, str]): ... + def addThreshold( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> None: ... + def predict( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.ml")``. diff --git a/src/jneqsim-stubs/process/safety/risk/portfolio/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/portfolio/__init__.pyi index 262ae4d9..aa2cd0ef 100644 --- a/src/jneqsim-stubs/process/safety/risk/portfolio/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/portfolio/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,27 +11,42 @@ import java.util import jneqsim.process.processmodel import typing - - class PortfolioRiskAnalyzer(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addAsset(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> 'PortfolioRiskAnalyzer.Asset': ... + def addAsset( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> "PortfolioRiskAnalyzer.Asset": ... @typing.overload - def addAsset(self, asset: 'PortfolioRiskAnalyzer.Asset') -> None: ... - def addCommonCauseScenario(self, commonCauseScenario: 'PortfolioRiskAnalyzer.CommonCauseScenario') -> None: ... - def createRegionalWeatherScenario(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'PortfolioRiskAnalyzer.CommonCauseScenario': ... - def getAssets(self) -> java.util.List['PortfolioRiskAnalyzer.Asset']: ... - def getCommonCauseScenarios(self) -> java.util.List['PortfolioRiskAnalyzer.CommonCauseScenario']: ... - def getLastResult(self) -> 'PortfolioRiskResult': ... + def addAsset(self, asset: "PortfolioRiskAnalyzer.Asset") -> None: ... + def addCommonCauseScenario( + self, commonCauseScenario: "PortfolioRiskAnalyzer.CommonCauseScenario" + ) -> None: ... + def createRegionalWeatherScenario( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "PortfolioRiskAnalyzer.CommonCauseScenario": ... + def getAssets(self) -> java.util.List["PortfolioRiskAnalyzer.Asset"]: ... + def getCommonCauseScenarios( + self, + ) -> java.util.List["PortfolioRiskAnalyzer.CommonCauseScenario"]: ... + def getLastResult(self) -> "PortfolioRiskResult": ... def getName(self) -> java.lang.String: ... - def run(self) -> 'PortfolioRiskResult': ... + def run(self) -> "PortfolioRiskResult": ... def setNumberOfSimulations(self, int: int) -> None: ... def setSimulationPeriodYears(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class Asset(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... def getAssetId(self) -> java.lang.String: ... def getAssetName(self) -> java.lang.String: ... def getAssetType(self) -> java.lang.String: ... @@ -45,46 +60,89 @@ class PortfolioRiskAnalyzer(java.io.Serializable): def setAssetType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setExpectedProductionLoss(self, double: float) -> None: ... def setInsuranceValue(self, double: float) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setRegion(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSystemAvailability(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class CommonCauseScenario(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], commonCauseType: 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType', double: float): ... - def addAffectedAsset(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + commonCauseType: "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType", + double: float, + ): ... + def addAffectedAsset( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getAffectedAssetIds(self) -> java.util.List[java.lang.String]: ... - def getAssetImpact(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getAssetImpact( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDescription(self) -> java.lang.String: ... def getDuration(self) -> float: ... def getFrequency(self) -> float: ... def getScenarioId(self) -> java.lang.String: ... - def getType(self) -> 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType': ... + def getType( + self, + ) -> "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType": ... def setDuration(self, double: float) -> None: ... def setFrequency(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class CommonCauseType(java.lang.Enum['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType']): - WEATHER: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - REGIONAL_INFRASTRUCTURE: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - SUPPLY_CHAIN: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - MARKET: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - CYBER: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - PANDEMIC: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - GEOPOLITICAL: typing.ClassVar['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CommonCauseType( + java.lang.Enum["PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType"] + ): + WEATHER: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + REGIONAL_INFRASTRUCTURE: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + SUPPLY_CHAIN: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + MARKET: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + CYBER: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + PANDEMIC: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + GEOPOLITICAL: typing.ClassVar[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] = ... + _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: ... + 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]) -> 'PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType": ... @staticmethod - def values() -> typing.MutableSequence['PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType']: ... + def values() -> ( + typing.MutableSequence[ + "PortfolioRiskAnalyzer.CommonCauseScenario.CommonCauseType" + ] + ): ... class PortfolioRiskResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAssetResult(self, assetResult: 'PortfolioRiskResult.AssetResult') -> None: ... + def addAssetResult( + self, assetResult: "PortfolioRiskResult.AssetResult" + ) -> None: ... def getAnalysisName(self) -> java.lang.String: ... - def getAssetResults(self) -> java.util.List['PortfolioRiskResult.AssetResult']: ... + def getAssetResults(self) -> java.util.List["PortfolioRiskResult.AssetResult"]: ... def getCommonCauseFraction(self) -> float: ... def getDiversificationBenefit(self) -> float: ... def getExpectedCommonCauseLoss(self) -> float: ... @@ -120,6 +178,7 @@ class PortfolioRiskResult(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toReport(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class AssetResult(java.io.Serializable): def __init__(self): ... def getAssetId(self) -> java.lang.String: ... @@ -140,7 +199,6 @@ class PortfolioRiskResult(java.io.Serializable): def setP90Loss(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.portfolio")``. diff --git a/src/jneqsim-stubs/process/safety/risk/realtime/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/realtime/__init__.pyi index 7adf9f88..38cb4976 100644 --- a/src/jneqsim-stubs/process/safety/risk/realtime/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/realtime/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,37 +15,58 @@ import jneqsim.process.safety.risk import jneqsim.process.safety.risk.condition import typing - - class PhysicsBasedRiskMonitor(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def assess(self) -> 'PhysicsBasedRiskMonitor.PhysicsBasedRiskAssessment': ... - def getEquipmentMonitor(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor: ... - def getEquipmentMonitors(self) -> java.util.Map[java.lang.String, jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor]: ... + def assess(self) -> "PhysicsBasedRiskMonitor.PhysicsBasedRiskAssessment": ... + def getEquipmentMonitor( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor: ... + def getEquipmentMonitors( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.safety.risk.condition.ProcessEquipmentMonitor + ]: ... def getLastAssessment(self) -> java.time.Instant: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def setBaseFailureRate(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setDesignPressureRange(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def setDesignTemperatureRange(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setBaseFailureRate( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setDesignPressureRange( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def setDesignTemperatureRange( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + class PhysicsBasedRiskAssessment(java.io.Serializable): def __init__(self): ... def getBottleneckConstraint(self) -> java.lang.String: ... def getBottleneckEquipment(self) -> java.lang.String: ... def getBottleneckUtilization(self) -> float: ... def getCriticalEquipment(self) -> java.util.List[java.lang.String]: ... - def getEquipmentHealthIndices(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentHealthIndices( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getEquipmentRiskScores(self) -> java.util.Map[java.lang.String, float]: ... - def getEquipmentUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentUtilizations( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getHighestRiskEquipment(self) -> java.lang.String: ... def getHighestRiskScore(self) -> float: ... def getOverallRiskScore(self) -> float: ... def getSystemCapacityMargin(self) -> float: ... def getTimestamp(self) -> java.time.Instant: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... - def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setBottleneckEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBottleneckUtilization(self, double: float) -> None: ... - def setHighestRiskEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHighestRiskEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHighestRiskScore(self, double: float) -> None: ... def setOverallRiskScore(self, double: float) -> None: ... def setSystemCapacityMargin(self, double: float) -> None: ... @@ -53,34 +74,63 @@ class PhysicsBasedRiskMonitor(java.io.Serializable): class RealTimeRiskAssessment(java.io.Serializable): def __init__(self): ... - def addKRI(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addProcessVariable(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def getAlarmingVariables(self) -> java.util.List['RealTimeRiskAssessment.ProcessVariableStatus']: ... + def addKRI( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addProcessVariable( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def getAlarmingVariables( + self, + ) -> java.util.List["RealTimeRiskAssessment.ProcessVariableStatus"]: ... def getAvailability(self) -> float: ... - def getEquipmentStatuses(self) -> java.util.List['RealTimeRiskMonitor.EquipmentRiskStatus']: ... + def getEquipmentStatuses( + self, + ) -> java.util.List["RealTimeRiskMonitor.EquipmentRiskStatus"]: ... def getExpectedProductionLoss(self) -> float: ... def getKRIs(self) -> java.util.Map[java.lang.String, float]: ... def getOverallRiskScore(self) -> float: ... - def getProcessVariables(self) -> java.util.Map[java.lang.String, 'RealTimeRiskAssessment.ProcessVariableStatus']: ... + def getProcessVariables( + self, + ) -> java.util.Map[ + java.lang.String, "RealTimeRiskAssessment.ProcessVariableStatus" + ]: ... def getRiskCategory(self) -> jneqsim.process.safety.risk.RiskMatrix.RiskLevel: ... def getRiskTrend(self) -> java.lang.String: ... - def getSafetyStatus(self) -> 'RealTimeRiskAssessment.SafetySystemStatus': ... + def getSafetyStatus(self) -> "RealTimeRiskAssessment.SafetySystemStatus": ... def getTimestamp(self) -> java.time.Instant: ... def getTrendSlope(self) -> float: ... def setAvailability(self, double: float) -> None: ... - def setEquipmentStatuses(self, list: java.util.List['RealTimeRiskMonitor.EquipmentRiskStatus']) -> None: ... + def setEquipmentStatuses( + self, list: java.util.List["RealTimeRiskMonitor.EquipmentRiskStatus"] + ) -> None: ... def setExpectedProductionLoss(self, double: float) -> None: ... def setOverallRiskScore(self, double: float) -> None: ... def setRiskTrend(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSafetyStatus(self, safetySystemStatus: 'RealTimeRiskAssessment.SafetySystemStatus') -> None: ... - def setTimestamp(self, instant: typing.Union[java.time.Instant, datetime.datetime]) -> None: ... + def setSafetyStatus( + self, safetySystemStatus: "RealTimeRiskAssessment.SafetySystemStatus" + ) -> None: ... + def setTimestamp( + self, instant: typing.Union[java.time.Instant, datetime.datetime] + ) -> None: ... def setTrendSlope(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... def toSummary(self) -> java.lang.String: ... + class ProcessVariableStatus(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... def getCurrentValue(self) -> float: ... def getDeviation(self) -> float: ... def getDeviationPercent(self) -> float: ... @@ -89,6 +139,7 @@ class RealTimeRiskAssessment(java.io.Serializable): def getVariableName(self) -> java.lang.String: ... def isAlarming(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SafetySystemStatus(java.io.Serializable): def __init__(self): ... def getAvailableSIFs(self) -> int: ... @@ -107,30 +158,47 @@ class RealTimeRiskMonitor(java.io.Serializable, java.lang.Runnable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + ): ... def acknowledgeAlert(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addAlertListener(self, alertListener: typing.Union['RealTimeRiskMonitor.AlertListener', typing.Callable]) -> None: ... + def addAlertListener( + self, + alertListener: typing.Union[ + "RealTimeRiskMonitor.AlertListener", typing.Callable + ], + ) -> None: ... def assess(self) -> RealTimeRiskAssessment: ... def calculateBaseline(self) -> None: ... def clearAcknowledgedAlerts(self) -> None: ... - def getActiveAlerts(self) -> java.util.List['RealTimeRiskMonitor.RiskAlert']: ... - def getAlertThresholds(self) -> 'RealTimeRiskMonitor.AlertThresholds': ... + def getActiveAlerts(self) -> java.util.List["RealTimeRiskMonitor.RiskAlert"]: ... + def getAlertThresholds(self) -> "RealTimeRiskMonitor.AlertThresholds": ... def getAssessmentHistory(self) -> java.util.List[RealTimeRiskAssessment]: ... def getCurrentAssessment(self) -> RealTimeRiskAssessment: ... - def getEquipmentStatus(self) -> java.util.Map[java.lang.String, 'RealTimeRiskMonitor.EquipmentRiskStatus']: ... + def getEquipmentStatus( + self, + ) -> java.util.Map[java.lang.String, "RealTimeRiskMonitor.EquipmentRiskStatus"]: ... def getName(self) -> java.lang.String: ... - def getUnacknowledgedAlerts(self) -> java.util.List['RealTimeRiskMonitor.RiskAlert']: ... + def getUnacknowledgedAlerts( + self, + ) -> java.util.List["RealTimeRiskMonitor.RiskAlert"]: ... def isMonitoringActive(self) -> bool: ... def run(self) -> None: ... def setBaseline(self, double: float, double2: float) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setUpdateIntervalSeconds(self, int: int) -> None: ... def startMonitoring(self) -> None: ... def stopMonitoring(self) -> None: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class AlertListener: - def onAlert(self, riskAlert: 'RealTimeRiskMonitor.RiskAlert') -> None: ... + def onAlert(self, riskAlert: "RealTimeRiskMonitor.RiskAlert") -> None: ... + class AlertThresholds(java.io.Serializable): def __init__(self): ... def getAnomalyStdDevs(self) -> float: ... @@ -143,8 +211,13 @@ class RealTimeRiskMonitor(java.io.Serializable, java.lang.Runnable): def setHighRiskLevel(self, double: float) -> None: ... def setTrendChangePercent(self, double: float) -> None: ... def setWarningRiskLevel(self, double: float) -> None: ... + class EquipmentRiskStatus(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> jneqsim.process.safety.risk.RiskMatrix.RiskLevel: ... def getEquipmentId(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... @@ -152,57 +225,97 @@ class RealTimeRiskMonitor(java.io.Serializable, java.lang.Runnable): def getHealthStatus(self) -> java.lang.String: ... def getLastUpdated(self) -> java.time.Instant: ... def getRiskScore(self) -> float: ... - def setCategory(self, riskLevel: jneqsim.process.safety.risk.RiskMatrix.RiskLevel) -> None: ... + def setCategory( + self, riskLevel: jneqsim.process.safety.risk.RiskMatrix.RiskLevel + ) -> None: ... def setFailureProbability(self, double: float) -> None: ... - def setHealthStatus(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setHealthStatus( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setRiskScore(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class RiskAlert(java.io.Serializable): - def __init__(self, alertSeverity: 'RealTimeRiskMonitor.RiskAlert.AlertSeverity', alertType: 'RealTimeRiskMonitor.RiskAlert.AlertType', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + alertSeverity: "RealTimeRiskMonitor.RiskAlert.AlertSeverity", + alertType: "RealTimeRiskMonitor.RiskAlert.AlertType", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def acknowledge(self) -> None: ... def getAlertId(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'RealTimeRiskMonitor.RiskAlert.AlertSeverity': ... + def getSeverity(self) -> "RealTimeRiskMonitor.RiskAlert.AlertSeverity": ... def getSource(self) -> java.lang.String: ... def getThresholdValue(self) -> float: ... def getTimestamp(self) -> java.time.Instant: ... - def getType(self) -> 'RealTimeRiskMonitor.RiskAlert.AlertType': ... + def getType(self) -> "RealTimeRiskMonitor.RiskAlert.AlertType": ... def isAcknowledged(self) -> bool: ... def setCurrentValue(self, double: float) -> None: ... def setThresholdValue(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class AlertSeverity(java.lang.Enum['RealTimeRiskMonitor.RiskAlert.AlertSeverity']): - INFO: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... - WARNING: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... - HIGH: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... - CRITICAL: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AlertSeverity( + java.lang.Enum["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] + ): + INFO: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] = ... + WARNING: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] = ( + ... + ) + HIGH: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] = ... + CRITICAL: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] = ( + ... + ) + _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: ... + 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]) -> 'RealTimeRiskMonitor.RiskAlert.AlertSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RealTimeRiskMonitor.RiskAlert.AlertSeverity": ... @staticmethod - def values() -> typing.MutableSequence['RealTimeRiskMonitor.RiskAlert.AlertSeverity']: ... - class AlertType(java.lang.Enum['RealTimeRiskMonitor.RiskAlert.AlertType']): - RISK_THRESHOLD_EXCEEDED: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - RISK_TRENDING_UP: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - EQUIPMENT_DEGRADATION: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - ANOMALY_DETECTED: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - SIF_DEMAND: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - NEAR_MISS: typing.ClassVar['RealTimeRiskMonitor.RiskAlert.AlertType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["RealTimeRiskMonitor.RiskAlert.AlertSeverity"] + ): ... + + class AlertType(java.lang.Enum["RealTimeRiskMonitor.RiskAlert.AlertType"]): + RISK_THRESHOLD_EXCEEDED: typing.ClassVar[ + "RealTimeRiskMonitor.RiskAlert.AlertType" + ] = ... + RISK_TRENDING_UP: typing.ClassVar[ + "RealTimeRiskMonitor.RiskAlert.AlertType" + ] = ... + EQUIPMENT_DEGRADATION: typing.ClassVar[ + "RealTimeRiskMonitor.RiskAlert.AlertType" + ] = ... + ANOMALY_DETECTED: typing.ClassVar[ + "RealTimeRiskMonitor.RiskAlert.AlertType" + ] = ... + SIF_DEMAND: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertType"] = ... + NEAR_MISS: typing.ClassVar["RealTimeRiskMonitor.RiskAlert.AlertType"] = ... + _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: ... + 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]) -> 'RealTimeRiskMonitor.RiskAlert.AlertType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RealTimeRiskMonitor.RiskAlert.AlertType": ... @staticmethod - def values() -> typing.MutableSequence['RealTimeRiskMonitor.RiskAlert.AlertType']: ... - + def values() -> ( + typing.MutableSequence["RealTimeRiskMonitor.RiskAlert.AlertType"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.realtime")``. diff --git a/src/jneqsim-stubs/process/safety/risk/sis/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/sis/__init__.pyi index 1141eb78..b872190d 100644 --- a/src/jneqsim-stubs/process/safety/risk/sis/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/sis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,21 +12,29 @@ import jneqsim.process.safety.risk import jneqsim.process.safety.risk.sis.nog070 import typing - - class LOPAResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addLayer( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... def getGapToTarget(self) -> float: ... def getInitiatingEventFrequency(self) -> float: ... - def getLayers(self) -> java.util.List['LOPAResult.ProtectionLayer']: ... + def getLayers(self) -> java.util.List["LOPAResult.ProtectionLayer"]: ... def getMitigatedFrequency(self) -> float: ... def getRequiredAdditionalRRF(self) -> float: ... def getRequiredAdditionalSIL(self) -> int: ... @staticmethod - def getSTS0131OverpressureTargetFrequency(double: float, double2: float, double3: float) -> float: ... + def getSTS0131OverpressureTargetFrequency( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def getSTS0131PressureCategory(double: float, double2: float, double3: float) -> 'LOPAResult.STS0131PressureCategory': ... + def getSTS0131PressureCategory( + double: float, double2: float, double3: float + ) -> "LOPAResult.STS0131PressureCategory": ... def getScenarioName(self) -> java.lang.String: ... def getTargetFrequency(self) -> float: ... def getTotalRRF(self) -> float: ... @@ -34,49 +42,89 @@ class LOPAResult(java.io.Serializable): def setInitiatingEventFrequency(self, double: float) -> None: ... def setMitigatedFrequency(self, double: float) -> None: ... def setTargetFrequency(self, double: float) -> None: ... - def setTargetFrequencyFromSTS0131Overpressure(self, double: float, double2: float, double3: float) -> 'LOPAResult': ... + def setTargetFrequencyFromSTS0131Overpressure( + self, double: float, double2: float, double3: float + ) -> "LOPAResult": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... def toVisualization(self) -> java.lang.String: ... + class ProtectionLayer(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getContribution(self) -> float: ... def getFrequencyAfter(self) -> float: ... def getFrequencyBefore(self) -> float: ... def getName(self) -> java.lang.String: ... def getPfd(self) -> float: ... def getRRF(self) -> float: ... - class STS0131PressureCategory(java.lang.Enum['LOPAResult.STS0131PressureCategory']): - BELOW_OR_AT_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... - ABOVE_DESIGN_TO_TEST_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... - ABOVE_TEST_TO_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... - ABOVE_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar['LOPAResult.STS0131PressureCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class STS0131PressureCategory(java.lang.Enum["LOPAResult.STS0131PressureCategory"]): + BELOW_OR_AT_DESIGN_PRESSURE: typing.ClassVar[ + "LOPAResult.STS0131PressureCategory" + ] = ... + ABOVE_DESIGN_TO_TEST_PRESSURE: typing.ClassVar[ + "LOPAResult.STS0131PressureCategory" + ] = ... + ABOVE_TEST_TO_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar[ + "LOPAResult.STS0131PressureCategory" + ] = ... + ABOVE_TWO_TIMES_DESIGN_PRESSURE: typing.ClassVar[ + "LOPAResult.STS0131PressureCategory" + ] = ... + _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: ... + 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]) -> 'LOPAResult.STS0131PressureCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LOPAResult.STS0131PressureCategory": ... @staticmethod - def values() -> typing.MutableSequence['LOPAResult.STS0131PressureCategory']: ... + def values() -> ( + typing.MutableSequence["LOPAResult.STS0131PressureCategory"] + ): ... class SILVerificationResult(java.io.Serializable): - def __init__(self, safetyInstrumentedFunction: 'SafetyInstrumentedFunction'): ... - def addComponentContribution(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def __init__(self, safetyInstrumentedFunction: "SafetyInstrumentedFunction"): ... + def addComponentContribution( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... def getAchievedSIL(self) -> int: ... def getClaimedSIL(self) -> int: ... - def getComponentContributions(self) -> java.util.List['SILVerificationResult.ComponentContribution']: ... + def getComponentContributions( + self, + ) -> java.util.List["SILVerificationResult.ComponentContribution"]: ... def getDiagnosticCoverage(self) -> float: ... - def getErrors(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def getErrors( + self, + ) -> java.util.List["SILVerificationResult.VerificationIssue"]: ... def getHardwareFaultTolerance(self) -> int: ... - def getIssues(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def getIssues( + self, + ) -> java.util.List["SILVerificationResult.VerificationIssue"]: ... def getPfdAverage(self) -> float: ... def getPfdUpper(self) -> float: ... - def getSif(self) -> 'SafetyInstrumentedFunction': ... + def getSif(self) -> "SafetyInstrumentedFunction": ... def getSystematicCapability(self) -> int: ... - def getWarnings(self) -> java.util.List['SILVerificationResult.VerificationIssue']: ... + def getWarnings( + self, + ) -> java.util.List["SILVerificationResult.VerificationIssue"]: ... def hasErrors(self) -> bool: ... def isSilAchieved(self) -> bool: ... def setDiagnosticCoverage(self, double: float) -> None: ... @@ -84,117 +132,256 @@ class SILVerificationResult(java.io.Serializable): def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toReport(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ComponentContribution(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getComponentName(self) -> java.lang.String: ... def getComponentType(self) -> java.lang.String: ... def getFailureRate(self) -> float: ... def getPercentOfTotal(self) -> float: ... def getPfdContribution(self) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class VerificationIssue(java.io.Serializable): - def __init__(self, issueSeverity: 'SILVerificationResult.VerificationIssue.IssueSeverity', issueCategory: 'SILVerificationResult.VerificationIssue.IssueCategory', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def getCategory(self) -> 'SILVerificationResult.VerificationIssue.IssueCategory': ... + def __init__( + self, + issueSeverity: "SILVerificationResult.VerificationIssue.IssueSeverity", + issueCategory: "SILVerificationResult.VerificationIssue.IssueCategory", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def getCategory( + self, + ) -> "SILVerificationResult.VerificationIssue.IssueCategory": ... def getDescription(self) -> java.lang.String: ... def getRecommendation(self) -> java.lang.String: ... - def getSeverity(self) -> 'SILVerificationResult.VerificationIssue.IssueSeverity': ... + def getSeverity( + self, + ) -> "SILVerificationResult.VerificationIssue.IssueSeverity": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class IssueCategory(java.lang.Enum['SILVerificationResult.VerificationIssue.IssueCategory']): - PFD_EXCEEDED: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - ARCHITECTURE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - DIAGNOSTIC_COVERAGE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - PROOF_TEST_INTERVAL: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - COMMON_CAUSE: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - SYSTEMATIC: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class IssueCategory( + java.lang.Enum["SILVerificationResult.VerificationIssue.IssueCategory"] + ): + PFD_EXCEEDED: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + ARCHITECTURE: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + DIAGNOSTIC_COVERAGE: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + PROOF_TEST_INTERVAL: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + COMMON_CAUSE: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + SYSTEMATIC: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] = ... + _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: ... + 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]) -> 'SILVerificationResult.VerificationIssue.IssueCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SILVerificationResult.VerificationIssue.IssueCategory": ... @staticmethod - def values() -> typing.MutableSequence['SILVerificationResult.VerificationIssue.IssueCategory']: ... - class IssueSeverity(java.lang.Enum['SILVerificationResult.VerificationIssue.IssueSeverity']): - WARNING: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... - ERROR: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... - INFO: typing.ClassVar['SILVerificationResult.VerificationIssue.IssueSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence[ + "SILVerificationResult.VerificationIssue.IssueCategory" + ] + ): ... + + class IssueSeverity( + java.lang.Enum["SILVerificationResult.VerificationIssue.IssueSeverity"] + ): + WARNING: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueSeverity" + ] = ... + ERROR: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueSeverity" + ] = ... + INFO: typing.ClassVar[ + "SILVerificationResult.VerificationIssue.IssueSeverity" + ] = ... + _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: ... + 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]) -> 'SILVerificationResult.VerificationIssue.IssueSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SILVerificationResult.VerificationIssue.IssueSeverity": ... @staticmethod - def values() -> typing.MutableSequence['SILVerificationResult.VerificationIssue.IssueSeverity']: ... + def values() -> ( + typing.MutableSequence[ + "SILVerificationResult.VerificationIssue.IssueSeverity" + ] + ): ... -class SISIntegratedRiskModel(jneqsim.process.safety.risk.RiskModel, java.io.Serializable): +class SISIntegratedRiskModel( + jneqsim.process.safety.risk.RiskModel, java.io.Serializable +): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addIPL(self, independentProtectionLayer: 'SISIntegratedRiskModel.IndependentProtectionLayer') -> None: ... - def addSIF(self, safetyInstrumentedFunction: 'SafetyInstrumentedFunction') -> None: ... - def calculateResidualRisk(self) -> 'SISRiskResult': ... - def determineRequiredSIL(self, string: typing.Union[java.lang.String, str], consequenceType: 'SISIntegratedRiskModel.ConsequenceType') -> int: ... - def getIPLs(self) -> java.util.List['SISIntegratedRiskModel.IndependentProtectionLayer']: ... - def getSIFs(self) -> java.util.List['SafetyInstrumentedFunction']: ... - def getSIFsForEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyInstrumentedFunction']: ... - def getSIFsForEvent(self, string: typing.Union[java.lang.String, str]) -> java.util.List['SafetyInstrumentedFunction']: ... - def getToleranceCriteria(self) -> 'SISIntegratedRiskModel.RiskToleranceCriteria': ... - def performLOPA(self, string: typing.Union[java.lang.String, str]) -> LOPAResult: ... - def setToleranceCriteria(self, riskToleranceCriteria: 'SISIntegratedRiskModel.RiskToleranceCriteria') -> None: ... + def addIPL( + self, + independentProtectionLayer: "SISIntegratedRiskModel.IndependentProtectionLayer", + ) -> None: ... + def addSIF( + self, safetyInstrumentedFunction: "SafetyInstrumentedFunction" + ) -> None: ... + def calculateResidualRisk(self) -> "SISRiskResult": ... + def determineRequiredSIL( + self, + string: typing.Union[java.lang.String, str], + consequenceType: "SISIntegratedRiskModel.ConsequenceType", + ) -> int: ... + def getIPLs( + self, + ) -> java.util.List["SISIntegratedRiskModel.IndependentProtectionLayer"]: ... + def getSIFs(self) -> java.util.List["SafetyInstrumentedFunction"]: ... + def getSIFsForEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SafetyInstrumentedFunction"]: ... + def getSIFsForEvent( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List["SafetyInstrumentedFunction"]: ... + def getToleranceCriteria( + self, + ) -> "SISIntegratedRiskModel.RiskToleranceCriteria": ... + def performLOPA( + self, string: typing.Union[java.lang.String, str] + ) -> LOPAResult: ... + def setToleranceCriteria( + self, riskToleranceCriteria: "SISIntegratedRiskModel.RiskToleranceCriteria" + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def verifySILRequirements(self) -> java.util.Map[java.lang.String, SILVerificationResult]: ... - class ConsequenceType(java.lang.Enum['SISIntegratedRiskModel.ConsequenceType']): - FATALITY: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... - INJURY: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... - ENVIRONMENT: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... - ASSET: typing.ClassVar['SISIntegratedRiskModel.ConsequenceType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def verifySILRequirements( + self, + ) -> java.util.Map[java.lang.String, SILVerificationResult]: ... + + class ConsequenceType(java.lang.Enum["SISIntegratedRiskModel.ConsequenceType"]): + FATALITY: typing.ClassVar["SISIntegratedRiskModel.ConsequenceType"] = ... + INJURY: typing.ClassVar["SISIntegratedRiskModel.ConsequenceType"] = ... + ENVIRONMENT: typing.ClassVar["SISIntegratedRiskModel.ConsequenceType"] = ... + ASSET: typing.ClassVar["SISIntegratedRiskModel.ConsequenceType"] = ... + _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: ... + 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]) -> 'SISIntegratedRiskModel.ConsequenceType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SISIntegratedRiskModel.ConsequenceType": ... @staticmethod - def values() -> typing.MutableSequence['SISIntegratedRiskModel.ConsequenceType']: ... + def values() -> ( + typing.MutableSequence["SISIntegratedRiskModel.ConsequenceType"] + ): ... + class IndependentProtectionLayer(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, iPLType: 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'): ... - def addApplicableEvent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + iPLType: "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType", + ): ... + def addApplicableEvent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getApplicableEvents(self) -> java.util.List[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getPfd(self) -> float: ... def getRiskReductionFactor(self) -> float: ... - def getType(self) -> 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType': ... - class IPLType(java.lang.Enum['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType']): - BPCS: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - ALARM: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - MECHANICAL: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - PHYSICAL: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - EMERGENCY_RESPONSE: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - OTHER: typing.ClassVar['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getType( + self, + ) -> "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType": ... + + class IPLType( + java.lang.Enum["SISIntegratedRiskModel.IndependentProtectionLayer.IPLType"] + ): + BPCS: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + ALARM: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + MECHANICAL: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + PHYSICAL: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + EMERGENCY_RESPONSE: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + OTHER: typing.ClassVar[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] = ... + _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: ... + 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]) -> 'SISIntegratedRiskModel.IndependentProtectionLayer.IPLType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType": ... @staticmethod - def values() -> typing.MutableSequence['SISIntegratedRiskModel.IndependentProtectionLayer.IPLType']: ... + def values() -> ( + typing.MutableSequence[ + "SISIntegratedRiskModel.IndependentProtectionLayer.IPLType" + ] + ): ... + class RiskToleranceCriteria(java.io.Serializable): def __init__(self): ... def getALARP(self) -> float: ... - def getTolerableFrequency(self, consequenceType: 'SISIntegratedRiskModel.ConsequenceType') -> float: ... + def getTolerableFrequency( + self, consequenceType: "SISIntegratedRiskModel.ConsequenceType" + ) -> float: ... def setTolerableFrequencyAsset(self, double: float) -> None: ... def setTolerableFrequencyFatality(self, double: float) -> None: ... class SISRiskResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addEventResult(self, string: typing.Union[java.lang.String, str], double: float, double2: float, list: java.util.List['SafetyInstrumentedFunction']) -> None: ... + def addEventResult( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + list: java.util.List["SafetyInstrumentedFunction"], + ) -> None: ... def calculateTotals(self) -> None: ... - def getEventResults(self) -> java.util.List['SISRiskResult.EventMitigationResult']: ... + def getEventResults( + self, + ) -> java.util.List["SISRiskResult.EventMitigationResult"]: ... def getOverallRRF(self) -> float: ... def getResidualFrequency(self) -> float: ... def getRiskReductionPercent(self) -> float: ... @@ -205,6 +392,7 @@ class SISRiskResult(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class EventMitigationResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getAppliedSIFs(self) -> java.util.List[java.lang.String]: ... @@ -218,10 +406,14 @@ class SafetyInstrumentedFunction(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], int: int, double: float): ... - def addProtectedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, string: typing.Union[java.lang.String, str], int: int, double: float + ): ... + def addProtectedEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @staticmethod - def builder() -> 'SafetyInstrumentedFunction.Builder': ... + def builder() -> "SafetyInstrumentedFunction.Builder": ... @staticmethod def calculatePfd1oo1(double: float, double2: float) -> float: ... @staticmethod @@ -231,8 +423,10 @@ class SafetyInstrumentedFunction(java.io.Serializable): @staticmethod def calculateRequiredPfd(double: float, double2: float) -> float: ... def getArchitecture(self) -> java.lang.String: ... - def getAvailabilityWithSpuriousTrips(self, double: float, double2: float) -> float: ... - def getCategory(self) -> 'SafetyInstrumentedFunction.SIFCategory': ... + def getAvailabilityWithSpuriousTrips( + self, double: float, double2: float + ) -> float: ... + def getCategory(self) -> "SafetyInstrumentedFunction.SIFCategory": ... def getDescription(self) -> java.lang.String: ... def getId(self) -> java.lang.String: ... def getInitiatingEvent(self) -> java.lang.String: ... @@ -253,15 +447,21 @@ class SafetyInstrumentedFunction(java.io.Serializable): def getSpuriousTripRate(self) -> float: ... def getTestIntervalHours(self) -> float: ... def setArchitecture(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setCategory(self, sIFCategory: 'SafetyInstrumentedFunction.SIFCategory') -> None: ... + def setCategory( + self, sIFCategory: "SafetyInstrumentedFunction.SIFCategory" + ) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... def setId(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInitiatingEvent(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInitiatingEvent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMttr(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPfdAvg(self, double: float) -> None: ... - def setProtectedEquipment(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + def setProtectedEquipment( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> None: ... def setSafeState(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSil(self, int: int) -> None: ... def setSpuriousTripRate(self, double: float) -> None: ... @@ -269,42 +469,74 @@ class SafetyInstrumentedFunction(java.io.Serializable): def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addProtectedEquipment(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def architecture(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def build(self) -> 'SafetyInstrumentedFunction': ... - def category(self, sIFCategory: 'SafetyInstrumentedFunction.SIFCategory') -> 'SafetyInstrumentedFunction.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def id(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def initiatingEvent(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def mttr(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def notes(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def pfd(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... - def protectedEquipment(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'SafetyInstrumentedFunction.Builder': ... - def safeState(self, string: typing.Union[java.lang.String, str]) -> 'SafetyInstrumentedFunction.Builder': ... - def sil(self, int: int) -> 'SafetyInstrumentedFunction.Builder': ... - def spuriousTripRate(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... - def testIntervalHours(self, double: float) -> 'SafetyInstrumentedFunction.Builder': ... - class SIFCategory(java.lang.Enum['SafetyInstrumentedFunction.SIFCategory']): - ESD: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... - HIPPS: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... - FIRE_GAS: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... - BLOWDOWN: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... - PSD: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... - OTHER: typing.ClassVar['SafetyInstrumentedFunction.SIFCategory'] = ... + def addProtectedEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def architecture( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def build(self) -> "SafetyInstrumentedFunction": ... + def category( + self, sIFCategory: "SafetyInstrumentedFunction.SIFCategory" + ) -> "SafetyInstrumentedFunction.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def id( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def initiatingEvent( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def mttr(self, double: float) -> "SafetyInstrumentedFunction.Builder": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def notes( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def pfd(self, double: float) -> "SafetyInstrumentedFunction.Builder": ... + def protectedEquipment( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "SafetyInstrumentedFunction.Builder": ... + def safeState( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.Builder": ... + def sil(self, int: int) -> "SafetyInstrumentedFunction.Builder": ... + def spuriousTripRate( + self, double: float + ) -> "SafetyInstrumentedFunction.Builder": ... + def testIntervalHours( + self, double: float + ) -> "SafetyInstrumentedFunction.Builder": ... + + class SIFCategory(java.lang.Enum["SafetyInstrumentedFunction.SIFCategory"]): + ESD: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... + HIPPS: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... + FIRE_GAS: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... + BLOWDOWN: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... + PSD: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... + OTHER: typing.ClassVar["SafetyInstrumentedFunction.SIFCategory"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'SafetyInstrumentedFunction.SIFCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyInstrumentedFunction.SIFCategory": ... @staticmethod - def values() -> typing.MutableSequence['SafetyInstrumentedFunction.SIFCategory']: ... - + def values() -> ( + typing.MutableSequence["SafetyInstrumentedFunction.SIFCategory"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.sis")``. diff --git a/src/jneqsim-stubs/process/safety/risk/sis/nog070/__init__.pyi b/src/jneqsim-stubs/process/safety/risk/sis/nog070/__init__.pyi index 74e7cec8..d3ad272b 100644 --- a/src/jneqsim-stubs/process/safety/risk/sis/nog070/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/risk/sis/nog070/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,37 +10,37 @@ import java.lang import java.util import typing - - -class Nog070SifType(java.lang.Enum['Nog070SifType']): - PSD_PROCESS_SEGMENT: typing.ClassVar['Nog070SifType'] = ... - ESD_TOPSIDE_ISOLATION: typing.ClassVar['Nog070SifType'] = ... - ESD_SUBSEA_ISOLATION: typing.ClassVar['Nog070SifType'] = ... - HIPPS_PIPELINE: typing.ClassVar['Nog070SifType'] = ... - BLOWDOWN_HYDROCARBON_SEGMENT: typing.ClassVar['Nog070SifType'] = ... - FG_GAS_DETECTION_ESD: typing.ClassVar['Nog070SifType'] = ... - FG_FIRE_DETECTION_ESD: typing.ClassVar['Nog070SifType'] = ... - FG_HVAC_SHUTDOWN: typing.ClassVar['Nog070SifType'] = ... - FG_DELUGE_RELEASE: typing.ClassVar['Nog070SifType'] = ... - PSD_COMPRESSOR_ANTI_SURGE: typing.ClassVar['Nog070SifType'] = ... - PSD_HIGH_VIBRATION: typing.ClassVar['Nog070SifType'] = ... - PSD_HIGH_LEVEL: typing.ClassVar['Nog070SifType'] = ... - PSD_LOW_LOW_LEVEL: typing.ClassVar['Nog070SifType'] = ... - PSD_BURNER_MANAGEMENT: typing.ClassVar['Nog070SifType'] = ... - ESD_RISER: typing.ClassVar['Nog070SifType'] = ... - ESD_WELLHEAD: typing.ClassVar['Nog070SifType'] = ... - ESD_LOADING_RELEASE: typing.ClassVar['Nog070SifType'] = ... - CUSTOM: typing.ClassVar['Nog070SifType'] = ... +class Nog070SifType(java.lang.Enum["Nog070SifType"]): + PSD_PROCESS_SEGMENT: typing.ClassVar["Nog070SifType"] = ... + ESD_TOPSIDE_ISOLATION: typing.ClassVar["Nog070SifType"] = ... + ESD_SUBSEA_ISOLATION: typing.ClassVar["Nog070SifType"] = ... + HIPPS_PIPELINE: typing.ClassVar["Nog070SifType"] = ... + BLOWDOWN_HYDROCARBON_SEGMENT: typing.ClassVar["Nog070SifType"] = ... + FG_GAS_DETECTION_ESD: typing.ClassVar["Nog070SifType"] = ... + FG_FIRE_DETECTION_ESD: typing.ClassVar["Nog070SifType"] = ... + FG_HVAC_SHUTDOWN: typing.ClassVar["Nog070SifType"] = ... + FG_DELUGE_RELEASE: typing.ClassVar["Nog070SifType"] = ... + PSD_COMPRESSOR_ANTI_SURGE: typing.ClassVar["Nog070SifType"] = ... + PSD_HIGH_VIBRATION: typing.ClassVar["Nog070SifType"] = ... + PSD_HIGH_LEVEL: typing.ClassVar["Nog070SifType"] = ... + PSD_LOW_LOW_LEVEL: typing.ClassVar["Nog070SifType"] = ... + PSD_BURNER_MANAGEMENT: typing.ClassVar["Nog070SifType"] = ... + ESD_RISER: typing.ClassVar["Nog070SifType"] = ... + ESD_WELLHEAD: typing.ClassVar["Nog070SifType"] = ... + ESD_LOADING_RELEASE: typing.ClassVar["Nog070SifType"] = ... + CUSTOM: typing.ClassVar["Nog070SifType"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Nog070SifType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "Nog070SifType": ... @staticmethod - def values() -> typing.MutableSequence['Nog070SifType']: ... + def values() -> typing.MutableSequence["Nog070SifType"]: ... class Nog070SilCatalogue(java.io.Serializable): @staticmethod @@ -49,13 +49,25 @@ class Nog070SilCatalogue(java.io.Serializable): def getMinimumSil(nog070SifType: Nog070SifType) -> int: ... class Nog070SilDetermination(java.io.Serializable): - def __init__(self, nog070SifType: Nog070SifType, double: float, int: int, int2: int, boolean: bool, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + nog070SifType: Nog070SifType, + double: float, + int: int, + int2: int, + boolean: bool, + string: typing.Union[java.lang.String, str], + ): ... @typing.overload @staticmethod - def evaluate(nog070SifType: Nog070SifType, double: float) -> 'Nog070SilDetermination': ... + def evaluate( + nog070SifType: Nog070SifType, double: float + ) -> "Nog070SilDetermination": ... @typing.overload @staticmethod - def evaluate(nog070SifType: Nog070SifType, double: float, int: int) -> 'Nog070SilDetermination': ... + def evaluate( + nog070SifType: Nog070SifType, double: float, int: int + ) -> "Nog070SilDetermination": ... def getAchievedSil(self) -> int: ... def getMessage(self) -> java.lang.String: ... def getMinimumSil(self) -> int: ... @@ -66,7 +78,6 @@ class Nog070SilDetermination(java.io.Serializable): def pfdToSil(double: float) -> int: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.risk.sis.nog070")``. diff --git a/src/jneqsim-stubs/process/safety/rupture/__init__.pyi b/src/jneqsim-stubs/process/safety/rupture/__init__.pyi index 60444c1f..49fc47db 100644 --- a/src/jneqsim-stubs/process/safety/rupture/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/rupture/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,85 +16,152 @@ import jneqsim.process.safety.release import jneqsim.thermo.system import typing - - class BlowdownPressureProfile(java.io.Serializable): - def __init__(self, list: java.util.List[float], list2: java.util.List[float], interpolationMode: 'BlowdownPressureProfile.InterpolationMode', double: float): ... + def __init__( + self, + list: java.util.List[float], + list2: java.util.List[float], + interpolationMode: "BlowdownPressureProfile.InterpolationMode", + double: float, + ): ... @staticmethod - def builder() -> 'BlowdownPressureProfile.Builder': ... + def builder() -> "BlowdownPressureProfile.Builder": ... @typing.overload @staticmethod - def fromDepressurizationResult(depressurizationResult: jneqsim.process.safety.depressurization.DepressurizationSimulator.DepressurizationResult) -> 'BlowdownPressureProfile': ... + def fromDepressurizationResult( + depressurizationResult: jneqsim.process.safety.depressurization.DepressurizationSimulator.DepressurizationResult, + ) -> "BlowdownPressureProfile": ... @typing.overload @staticmethod - def fromDepressurizationResult(depressurizationResult: jneqsim.process.safety.depressurization.DepressurizationSimulator.DepressurizationResult, interpolationMode: 'BlowdownPressureProfile.InterpolationMode') -> 'BlowdownPressureProfile': ... + def fromDepressurizationResult( + depressurizationResult: jneqsim.process.safety.depressurization.DepressurizationSimulator.DepressurizationResult, + interpolationMode: "BlowdownPressureProfile.InterpolationMode", + ) -> "BlowdownPressureProfile": ... @staticmethod - def fromMinutesAndBara(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> 'BlowdownPressureProfile': ... + def fromMinutesAndBara( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> "BlowdownPressureProfile": ... def getGaugeOffsetBara(self) -> float: ... - def getInterpolationMode(self) -> 'BlowdownPressureProfile.InterpolationMode': ... + def getInterpolationMode(self) -> "BlowdownPressureProfile.InterpolationMode": ... def getPressureBara(self) -> java.util.List[float]: ... def getTimeSeconds(self) -> java.util.List[float]: ... def pressureBaraAt(self, double: float) -> float: ... def pressureBargAt(self, double: float) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: def __init__(self): ... - def addPoint(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'BlowdownPressureProfile.Builder': ... - def build(self) -> 'BlowdownPressureProfile': ... - def gaugeOffsetBara(self, double: float) -> 'BlowdownPressureProfile.Builder': ... - def interpolationMode(self, interpolationMode: 'BlowdownPressureProfile.InterpolationMode') -> 'BlowdownPressureProfile.Builder': ... - class InterpolationMode(java.lang.Enum['BlowdownPressureProfile.InterpolationMode']): - STEP_PREVIOUS: typing.ClassVar['BlowdownPressureProfile.InterpolationMode'] = ... - LINEAR: typing.ClassVar['BlowdownPressureProfile.InterpolationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def addPoint( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "BlowdownPressureProfile.Builder": ... + def build(self) -> "BlowdownPressureProfile": ... + def gaugeOffsetBara( + self, double: float + ) -> "BlowdownPressureProfile.Builder": ... + def interpolationMode( + self, interpolationMode: "BlowdownPressureProfile.InterpolationMode" + ) -> "BlowdownPressureProfile.Builder": ... + + class InterpolationMode( + java.lang.Enum["BlowdownPressureProfile.InterpolationMode"] + ): + STEP_PREVIOUS: typing.ClassVar["BlowdownPressureProfile.InterpolationMode"] = ( + ... + ) + LINEAR: typing.ClassVar["BlowdownPressureProfile.InterpolationMode"] = ... + _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: ... + 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]) -> 'BlowdownPressureProfile.InterpolationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BlowdownPressureProfile.InterpolationMode": ... @staticmethod - def values() -> typing.MutableSequence['BlowdownPressureProfile.InterpolationMode']: ... + def values() -> ( + typing.MutableSequence["BlowdownPressureProfile.InterpolationMode"] + ): ... class FireExposureScenario(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], fireType: 'FireExposureScenario.FireType', double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + fireType: "FireExposureScenario.FireType", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + ): ... @staticmethod - def api521PoolFire(double: float, double2: float) -> 'FireExposureScenario': ... + def api521PoolFire(double: float, double2: float) -> "FireExposureScenario": ... @staticmethod - def fixedHeatFlux(double: float, double2: float) -> 'FireExposureScenario': ... + def fixedHeatFlux(double: float, double2: float) -> "FireExposureScenario": ... def getAmbientTemperatureK(self) -> float: ... def getExposedAreaM2(self) -> float: ... - def getFireType(self) -> 'FireExposureScenario.FireType': ... + def getFireType(self) -> "FireExposureScenario.FireType": ... def getName(self) -> java.lang.String: ... def getPassiveProtectionHeatFluxFactor(self) -> float: ... def heatInputW(self, double: float) -> float: ... def incidentHeatFlux(self, double: float) -> float: ... @staticmethod - def radiativeFire(double: float, double2: float, double3: float, double4: float, double5: float) -> 'FireExposureScenario': ... + def radiativeFire( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> "FireExposureScenario": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def withPassiveProtectionFactor(self, double: float) -> 'FireExposureScenario': ... - class FireType(java.lang.Enum['FireExposureScenario.FireType']): - API_521_POOL_FIRE: typing.ClassVar['FireExposureScenario.FireType'] = ... - FIXED_HEAT_FLUX: typing.ClassVar['FireExposureScenario.FireType'] = ... - RADIATIVE_FIRE: typing.ClassVar['FireExposureScenario.FireType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def withPassiveProtectionFactor(self, double: float) -> "FireExposureScenario": ... + + class FireType(java.lang.Enum["FireExposureScenario.FireType"]): + API_521_POOL_FIRE: typing.ClassVar["FireExposureScenario.FireType"] = ... + FIXED_HEAT_FLUX: typing.ClassVar["FireExposureScenario.FireType"] = ... + RADIATIVE_FIRE: typing.ClassVar["FireExposureScenario.FireType"] = ... + _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: ... + 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]) -> 'FireExposureScenario.FireType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FireExposureScenario.FireType": ... @staticmethod - def values() -> typing.MutableSequence['FireExposureScenario.FireType']: ... + def values() -> typing.MutableSequence["FireExposureScenario.FireType"]: ... class MaterialStrengthCurve(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ): ... def allowableRuptureStressAt(self, double: float, double2: float) -> float: ... @staticmethod - def carbonSteel(string: typing.Union[java.lang.String, str], double: float, double2: float) -> 'MaterialStrengthCurve': ... + def carbonSteel( + string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> "MaterialStrengthCurve": ... @staticmethod - def forApi5LPipeGrade(string: typing.Union[java.lang.String, str]) -> 'MaterialStrengthCurve': ... + def forApi5LPipeGrade( + string: typing.Union[java.lang.String, str] + ) -> "MaterialStrengthCurve": ... def getAmbientTensileStrengthPa(self) -> float: ... def getAmbientYieldStrengthPa(self) -> float: ... def getDataSource(self) -> java.lang.String: ... @@ -107,39 +174,80 @@ class MaterialStrengthCurve(java.io.Serializable): class PidTopologyEvidence(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "PidTopologyEvidence.Builder": ... def isSimulationReady(self) -> bool: ... - def readiness(self) -> 'SafetyStudyReadiness': ... + def readiness(self) -> "SafetyStudyReadiness": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def addBoundaryTag(self, string: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... - def addEdge(self, 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], string5: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... - def addInScopeTag(self, string: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... - def addMissingTag(self, string: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... - def addNode(self, 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]) -> 'PidTopologyEvidence.Builder': ... - def boundaryVerified(self, boolean: bool) -> 'PidTopologyEvidence.Builder': ... - def build(self) -> 'PidTopologyEvidence': ... - def embeddedTextRead(self, boolean: bool) -> 'PidTopologyEvidence.Builder': ... - def ocrFallbackUsed(self, boolean: bool) -> 'PidTopologyEvidence.Builder': ... - def overlayGenerated(self, boolean: bool) -> 'PidTopologyEvidence.Builder': ... - def revision(self, string: typing.Union[java.lang.String, str]) -> 'PidTopologyEvidence.Builder': ... + def addBoundaryTag( + self, string: typing.Union[java.lang.String, str] + ) -> "PidTopologyEvidence.Builder": ... + def addEdge( + self, + 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], + string5: typing.Union[java.lang.String, str], + ) -> "PidTopologyEvidence.Builder": ... + def addInScopeTag( + self, string: typing.Union[java.lang.String, str] + ) -> "PidTopologyEvidence.Builder": ... + def addMissingTag( + self, string: typing.Union[java.lang.String, str] + ) -> "PidTopologyEvidence.Builder": ... + def addNode( + self, + 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], + ) -> "PidTopologyEvidence.Builder": ... + def boundaryVerified(self, boolean: bool) -> "PidTopologyEvidence.Builder": ... + def build(self) -> "PidTopologyEvidence": ... + def embeddedTextRead(self, boolean: bool) -> "PidTopologyEvidence.Builder": ... + def ocrFallbackUsed(self, boolean: bool) -> "PidTopologyEvidence.Builder": ... + def overlayGenerated(self, boolean: bool) -> "PidTopologyEvidence.Builder": ... + def revision( + self, string: typing.Union[java.lang.String, str] + ) -> "PidTopologyEvidence.Builder": ... + class TopologyEdge(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + ): ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class TopologyNode(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], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + ): ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class PipeFireRuptureDataSource(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureDataSource.Builder': ... - def getAllEvidenceReferences(self) -> java.util.List['SafetyEvidenceReference']: ... - def getInput(self) -> 'PipeFireRuptureInput': ... - def getMaterial(self) -> 'PipeFireRuptureMaterial': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureDataSource.Builder": ... + def getAllEvidenceReferences(self) -> java.util.List["SafetyEvidenceReference"]: ... + def getInput(self) -> "PipeFireRuptureInput": ... + def getMaterial(self) -> "PipeFireRuptureMaterial": ... def getPidTopologyEvidence(self) -> PidTopologyEvidence: ... def getPressureProfile(self) -> BlowdownPressureProfile: ... - def getScenario(self) -> 'PipeFireRuptureScenario': ... + def getScenario(self) -> "PipeFireRuptureScenario": ... def getStudyId(self) -> java.lang.String: ... def isBlowdownProfileVerified(self) -> bool: ... def isFireScenarioReviewed(self) -> bool: ... @@ -148,37 +256,78 @@ class PipeFireRuptureDataSource(java.io.Serializable): def isPipingSpecificationRowsReviewed(self) -> bool: ... def isSourceDiagramsReviewed(self) -> bool: ... def isStandardsReviewed(self) -> bool: ... - def readiness(self) -> 'SafetyStudyReadiness': ... + def readiness(self) -> "SafetyStudyReadiness": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def addAssumption(self, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureDataSource.Builder': ... - def addFireScenarioEvidence(self, safetyEvidenceReference: 'SafetyEvidenceReference') -> 'PipeFireRuptureDataSource.Builder': ... - def addGap(self, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureDataSource.Builder': ... - def addPipingSpecificationEvidence(self, safetyEvidenceReference: 'SafetyEvidenceReference') -> 'PipeFireRuptureDataSource.Builder': ... - def addProcessEvidence(self, safetyEvidenceReference: 'SafetyEvidenceReference') -> 'PipeFireRuptureDataSource.Builder': ... - def addSourceDocumentEvidence(self, safetyEvidenceReference: 'SafetyEvidenceReference') -> 'PipeFireRuptureDataSource.Builder': ... - def blowdownProfileVerified(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def build(self) -> 'PipeFireRuptureDataSource': ... - def fireScenarioReviewed(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def humanReviewRequired(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def input(self, pipeFireRuptureInput: 'PipeFireRuptureInput') -> 'PipeFireRuptureDataSource.Builder': ... - def material(self, pipeFireRuptureMaterial: 'PipeFireRuptureMaterial') -> 'PipeFireRuptureDataSource.Builder': ... - def materialCertificateReviewed(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def pidTopologyEvidence(self, pidTopologyEvidence: PidTopologyEvidence) -> 'PipeFireRuptureDataSource.Builder': ... - def pidTopologyVerified(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def pipingSpecificationRowsReviewed(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def pressureProfile(self, blowdownPressureProfile: BlowdownPressureProfile) -> 'PipeFireRuptureDataSource.Builder': ... - def scenario(self, pipeFireRuptureScenario: 'PipeFireRuptureScenario') -> 'PipeFireRuptureDataSource.Builder': ... - def sourceDiagramsReviewed(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... - def standardsReviewed(self, boolean: bool) -> 'PipeFireRuptureDataSource.Builder': ... + def addAssumption( + self, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureDataSource.Builder": ... + def addFireScenarioEvidence( + self, safetyEvidenceReference: "SafetyEvidenceReference" + ) -> "PipeFireRuptureDataSource.Builder": ... + def addGap( + self, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureDataSource.Builder": ... + def addPipingSpecificationEvidence( + self, safetyEvidenceReference: "SafetyEvidenceReference" + ) -> "PipeFireRuptureDataSource.Builder": ... + def addProcessEvidence( + self, safetyEvidenceReference: "SafetyEvidenceReference" + ) -> "PipeFireRuptureDataSource.Builder": ... + def addSourceDocumentEvidence( + self, safetyEvidenceReference: "SafetyEvidenceReference" + ) -> "PipeFireRuptureDataSource.Builder": ... + def blowdownProfileVerified( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def build(self) -> "PipeFireRuptureDataSource": ... + def fireScenarioReviewed( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def humanReviewRequired( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def input( + self, pipeFireRuptureInput: "PipeFireRuptureInput" + ) -> "PipeFireRuptureDataSource.Builder": ... + def material( + self, pipeFireRuptureMaterial: "PipeFireRuptureMaterial" + ) -> "PipeFireRuptureDataSource.Builder": ... + def materialCertificateReviewed( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def pidTopologyEvidence( + self, pidTopologyEvidence: PidTopologyEvidence + ) -> "PipeFireRuptureDataSource.Builder": ... + def pidTopologyVerified( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def pipingSpecificationRowsReviewed( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def pressureProfile( + self, blowdownPressureProfile: BlowdownPressureProfile + ) -> "PipeFireRuptureDataSource.Builder": ... + def scenario( + self, pipeFireRuptureScenario: "PipeFireRuptureScenario" + ) -> "PipeFireRuptureDataSource.Builder": ... + def sourceDiagramsReviewed( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... + def standardsReviewed( + self, boolean: bool + ) -> "PipeFireRuptureDataSource.Builder": ... class PipeFireRuptureInput(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... def getCorrosionAllowanceM(self) -> float: ... def getEffectiveWallThicknessM(self) -> float: ... - def getEvidenceReferences(self) -> java.util.List['SafetyEvidenceReference']: ... + def getEvidenceReferences(self) -> java.util.List["SafetyEvidenceReference"]: ... def getExposedAreaM2(self) -> float: ... def getExposedLengthM(self) -> float: ... def getFluidDensityKgPerM3(self) -> float: ... @@ -195,47 +344,91 @@ class PipeFireRuptureInput(java.io.Serializable): def getWallThicknessUndertoleranceFraction(self) -> float: ... def getWeightStressMPa(self) -> float: ... def getWeldFactor(self) -> float: ... - def toBuilder(self) -> 'PipeFireRuptureInput.Builder': ... + def toBuilder(self) -> "PipeFireRuptureInput.Builder": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def build(self) -> 'PipeFireRuptureInput': ... - def corrosionAllowance(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... - def evidenceReference(self, safetyEvidenceReference: 'SafetyEvidenceReference') -> 'PipeFireRuptureInput.Builder': ... - def exposedLength(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... - def fluidDensityKgPerM3(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def fluidHeatCapacityJPerKgK(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def gasMolecularWeightKgPerKmol(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def initialTemperatureC(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def nominalDiameterInches(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def nominalWallThickness(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... - def outsideDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... - def pipeClass(self, string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureInput.Builder': ... - def wallThicknessUndertoleranceFraction(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def weightStressMPa(self, double: float) -> 'PipeFireRuptureInput.Builder': ... - def weldFactor(self, double: float) -> 'PipeFireRuptureInput.Builder': ... + def build(self) -> "PipeFireRuptureInput": ... + def corrosionAllowance( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... + def evidenceReference( + self, safetyEvidenceReference: "SafetyEvidenceReference" + ) -> "PipeFireRuptureInput.Builder": ... + def exposedLength( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... + def fluidDensityKgPerM3( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def fluidHeatCapacityJPerKgK( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def gasMolecularWeightKgPerKmol( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def initialTemperatureC( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def nominalDiameterInches( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def nominalWallThickness( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... + def outsideDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... + def pipeClass( + self, string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureInput.Builder": ... + def wallThicknessUndertoleranceFraction( + self, double: float + ) -> "PipeFireRuptureInput.Builder": ... + def weightStressMPa(self, double: float) -> "PipeFireRuptureInput.Builder": ... + def weldFactor(self, double: float) -> "PipeFireRuptureInput.Builder": ... class PipeFireRuptureMaterial(java.io.Serializable): - def __init__(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray], double7: float, double8: float, double9: float, double10: float, double11: float, double12: float, double13: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + doubleArray6: typing.Union[typing.List[float], jpype.JArray], + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + double12: float, + double13: float, + string2: typing.Union[java.lang.String, str], + ): ... @staticmethod - def fromSpreadsheetMaterialName(string: typing.Union[java.lang.String, str]) -> 'PipeFireRuptureMaterial': ... + def fromSpreadsheetMaterialName( + string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureMaterial": ... def getDataSource(self) -> java.lang.String: ... def getDensityKgPerM3(self) -> float: ... def getMaterialName(self) -> java.lang.String: ... def heatCapacityAt(self, double: float) -> float: ... def ruptureStrainLimitAt(self, double: float) -> float: ... @staticmethod - def spreadsheet6Mo() -> 'PipeFireRuptureMaterial': ... + def spreadsheet6Mo() -> "PipeFireRuptureMaterial": ... @staticmethod - def spreadsheetCarbonSteel235() -> 'PipeFireRuptureMaterial': ... + def spreadsheetCarbonSteel235() -> "PipeFireRuptureMaterial": ... @staticmethod - def spreadsheetCarbonSteel360Api5lX52() -> 'PipeFireRuptureMaterial': ... + def spreadsheetCarbonSteel360Api5lX52() -> "PipeFireRuptureMaterial": ... @staticmethod - def spreadsheetDuplex22Cr() -> 'PipeFireRuptureMaterial': ... + def spreadsheetDuplex22Cr() -> "PipeFireRuptureMaterial": ... @staticmethod - def spreadsheetSs316() -> 'PipeFireRuptureMaterial': ... + def spreadsheetSs316() -> "PipeFireRuptureMaterial": ... @staticmethod - def spreadsheetSuperduplex() -> 'PipeFireRuptureMaterial': ... + def spreadsheetSuperduplex() -> "PipeFireRuptureMaterial": ... def strainEffectAt(self, double: float) -> float: ... def strainRatePerMinute(self, double: float, double2: float) -> float: ... def temperatureCorrectionFactor(self, double: float) -> float: ... @@ -247,41 +440,66 @@ class PipeFireRuptureMaterial(java.io.Serializable): class PipeFireRuptureResult(java.io.Serializable): def getPressureBarg(self) -> java.util.List[float]: ... def getRecommendations(self) -> java.util.List[java.lang.String]: ... - def getReleaseEstimate(self) -> 'PipeFireRuptureResult.ReleaseEstimate': ... + def getReleaseEstimate(self) -> "PipeFireRuptureResult.ReleaseEstimate": ... def getRuptureAccumulatedStrain(self) -> float: ... def getRuptureMeanWallTemperatureC(self) -> float: ... def getRuptureOuterSurfaceTemperatureC(self) -> float: ... def getRupturePressureBarg(self) -> float: ... def getRuptureStrainLimitValue(self) -> float: ... def getRuptureTimeSeconds(self) -> float: ... - def getStatus(self) -> 'PipeFireRuptureResult.Status': ... + def getStatus(self) -> "PipeFireRuptureResult.Status": ... def getTimeSeconds(self) -> java.util.List[float]: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... def isRupturePredicted(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ReleaseEstimate(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + string: typing.Union[java.lang.String, str], + ): ... def getLiquidOneSideKgPerS(self) -> float: ... def getLongPipeGasOneSideKgPerS(self) -> float: ... def getLongPipeGasTwoSidesKgPerS(self) -> float: ... def getShortPipeGasOneSideKgPerS(self) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Status(java.lang.Enum['PipeFireRuptureResult.Status']): - NO_RUPTURE: typing.ClassVar['PipeFireRuptureResult.Status'] = ... - RUPTURE: typing.ClassVar['PipeFireRuptureResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Status(java.lang.Enum["PipeFireRuptureResult.Status"]): + NO_RUPTURE: typing.ClassVar["PipeFireRuptureResult.Status"] = ... + RUPTURE: typing.ClassVar["PipeFireRuptureResult.Status"] = ... + _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: ... + 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]) -> 'PipeFireRuptureResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipeFireRuptureResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['PipeFireRuptureResult.Status']: ... + def values() -> typing.MutableSequence["PipeFireRuptureResult.Status"]: ... class PipeFireRuptureScenario(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ): ... def getConvectiveHeatTransferCoefficientWPerM2K(self) -> float: ... def getFireEmissivity(self) -> float: ... def getFireTemperatureC(self) -> float: ... @@ -293,150 +511,288 @@ class PipeFireRuptureScenario(java.io.Serializable): def heatFluxKWPerM2(self, double: float) -> float: ... def heatFluxWPerM2(self, double: float) -> float: ... @staticmethod - def spreadsheetLargeJetFire() -> 'PipeFireRuptureScenario': ... + def spreadsheetLargeJetFire() -> "PipeFireRuptureScenario": ... @staticmethod - def spreadsheetPoolFire() -> 'PipeFireRuptureScenario': ... + def spreadsheetPoolFire() -> "PipeFireRuptureScenario": ... @staticmethod - def spreadsheetSmallJetFire() -> 'PipeFireRuptureScenario': ... + def spreadsheetSmallJetFire() -> "PipeFireRuptureScenario": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def withPassiveProtectionFactor(self, double: float) -> 'PipeFireRuptureScenario': ... + def withPassiveProtectionFactor( + self, double: float + ) -> "PipeFireRuptureScenario": ... class PipeFireRuptureStandardsValidator(java.io.Serializable): def __init__(self): ... def getStandardsApplied(self) -> java.util.List[java.lang.String]: ... - def validate(self, pipeFireRuptureDataSource: PipeFireRuptureDataSource, pipeFireRuptureResult: PipeFireRuptureResult) -> 'SafetyStudyReadiness': ... + def validate( + self, + pipeFireRuptureDataSource: PipeFireRuptureDataSource, + pipeFireRuptureResult: PipeFireRuptureResult, + ) -> "SafetyStudyReadiness": ... class PipeFireRuptureStudy(java.io.Serializable): @staticmethod - def builder(pipeFireRuptureInput: PipeFireRuptureInput, pipeFireRuptureMaterial: PipeFireRuptureMaterial, pipeFireRuptureScenario: PipeFireRuptureScenario, blowdownPressureProfile: BlowdownPressureProfile) -> 'PipeFireRuptureStudy.Builder': ... + def builder( + pipeFireRuptureInput: PipeFireRuptureInput, + pipeFireRuptureMaterial: PipeFireRuptureMaterial, + pipeFireRuptureScenario: PipeFireRuptureScenario, + blowdownPressureProfile: BlowdownPressureProfile, + ) -> "PipeFireRuptureStudy.Builder": ... def run(self) -> PipeFireRuptureResult: ... + class Builder: - def build(self) -> 'PipeFireRuptureStudy': ... - def maxTimeSeconds(self, double: float) -> 'PipeFireRuptureStudy.Builder': ... - def spreadsheetGasThermalMass(self, boolean: bool) -> 'PipeFireRuptureStudy.Builder': ... - def timeStepSeconds(self, double: float) -> 'PipeFireRuptureStudy.Builder': ... + def build(self) -> "PipeFireRuptureStudy": ... + def maxTimeSeconds(self, double: float) -> "PipeFireRuptureStudy.Builder": ... + def spreadsheetGasThermalMass( + self, boolean: bool + ) -> "PipeFireRuptureStudy.Builder": ... + def timeStepSeconds(self, double: float) -> "PipeFireRuptureStudy.Builder": ... class PipeFireRuptureStudyHandoff(java.io.Serializable): @staticmethod - def builder(pipeFireRuptureDataSource: PipeFireRuptureDataSource) -> 'PipeFireRuptureStudyHandoff.Builder': ... - def getCalculationReadiness(self) -> 'SafetyStudyReadiness': ... + def builder( + pipeFireRuptureDataSource: PipeFireRuptureDataSource, + ) -> "PipeFireRuptureStudyHandoff.Builder": ... + def getCalculationReadiness(self) -> "SafetyStudyReadiness": ... def getResult(self) -> PipeFireRuptureResult: ... def getSourceTermHandoff(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def getStandardsReadiness(self) -> 'SafetyStudyReadiness': ... - def getUncertaintySummary(self) -> 'PipeFireRuptureUncertaintyRunner.UncertaintySummary': ... + def getStandardsReadiness(self) -> "SafetyStudyReadiness": ... + def getUncertaintySummary( + self, + ) -> "PipeFireRuptureUncertaintyRunner.UncertaintySummary": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def build(self) -> 'PipeFireRuptureStudyHandoff': ... - def calculationReadiness(self, safetyStudyReadiness: 'SafetyStudyReadiness') -> 'PipeFireRuptureStudyHandoff.Builder': ... - def result(self, pipeFireRuptureResult: PipeFireRuptureResult) -> 'PipeFireRuptureStudyHandoff.Builder': ... - def sourceTermHandoff(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Any], typing.Mapping[typing.Union[java.lang.String, str], typing.Any]]) -> 'PipeFireRuptureStudyHandoff.Builder': ... - def standardsReadiness(self, safetyStudyReadiness: 'SafetyStudyReadiness') -> 'PipeFireRuptureStudyHandoff.Builder': ... - def uncertaintySummary(self, uncertaintySummary: 'PipeFireRuptureUncertaintyRunner.UncertaintySummary') -> 'PipeFireRuptureStudyHandoff.Builder': ... + def build(self) -> "PipeFireRuptureStudyHandoff": ... + def calculationReadiness( + self, safetyStudyReadiness: "SafetyStudyReadiness" + ) -> "PipeFireRuptureStudyHandoff.Builder": ... + def result( + self, pipeFireRuptureResult: PipeFireRuptureResult + ) -> "PipeFireRuptureStudyHandoff.Builder": ... + def sourceTermHandoff( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], typing.Any], + typing.Mapping[typing.Union[java.lang.String, str], typing.Any], + ], + ) -> "PipeFireRuptureStudyHandoff.Builder": ... + def standardsReadiness( + self, safetyStudyReadiness: "SafetyStudyReadiness" + ) -> "PipeFireRuptureStudyHandoff.Builder": ... + def uncertaintySummary( + self, + uncertaintySummary: "PipeFireRuptureUncertaintyRunner.UncertaintySummary", + ) -> "PipeFireRuptureStudyHandoff.Builder": ... class PipeFireRuptureStudyRunner(java.io.Serializable): @staticmethod - def builder() -> 'PipeFireRuptureStudyRunner.Builder': ... - def run(self, pipeFireRuptureDataSource: PipeFireRuptureDataSource) -> PipeFireRuptureStudyHandoff: ... + def builder() -> "PipeFireRuptureStudyRunner.Builder": ... + def run( + self, pipeFireRuptureDataSource: PipeFireRuptureDataSource + ) -> PipeFireRuptureStudyHandoff: ... + class Builder: - def build(self) -> 'PipeFireRuptureStudyRunner': ... - def maxTimeSeconds(self, double: float) -> 'PipeFireRuptureStudyRunner.Builder': ... - def runUncertainty(self, boolean: bool) -> 'PipeFireRuptureStudyRunner.Builder': ... - def spreadsheetGasThermalMass(self, boolean: bool) -> 'PipeFireRuptureStudyRunner.Builder': ... - def standardsValidator(self, pipeFireRuptureStandardsValidator: PipeFireRuptureStandardsValidator) -> 'PipeFireRuptureStudyRunner.Builder': ... - def timeStepSeconds(self, double: float) -> 'PipeFireRuptureStudyRunner.Builder': ... + def build(self) -> "PipeFireRuptureStudyRunner": ... + def maxTimeSeconds( + self, double: float + ) -> "PipeFireRuptureStudyRunner.Builder": ... + def runUncertainty( + self, boolean: bool + ) -> "PipeFireRuptureStudyRunner.Builder": ... + def spreadsheetGasThermalMass( + self, boolean: bool + ) -> "PipeFireRuptureStudyRunner.Builder": ... + def standardsValidator( + self, pipeFireRuptureStandardsValidator: PipeFireRuptureStandardsValidator + ) -> "PipeFireRuptureStudyRunner.Builder": ... + def timeStepSeconds( + self, double: float + ) -> "PipeFireRuptureStudyRunner.Builder": ... class PipeFireRuptureUncertaintyRunner(java.io.Serializable): def __init__(self, double: float, double2: float, boolean: bool): ... - def run(self, pipeFireRuptureDataSource: PipeFireRuptureDataSource) -> 'PipeFireRuptureUncertaintyRunner.UncertaintySummary': ... + def run( + self, pipeFireRuptureDataSource: PipeFireRuptureDataSource + ) -> "PipeFireRuptureUncertaintyRunner.UncertaintySummary": ... + class CaseResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getRuptureTimeSeconds(self) -> float: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class UncertaintySummary(java.io.Serializable): - def __init__(self, list: java.util.List['PipeFireRuptureUncertaintyRunner.CaseResult'], string: typing.Union[java.lang.String, str]): ... - def getCases(self) -> java.util.List['PipeFireRuptureUncertaintyRunner.CaseResult']: ... + def __init__( + self, + list: java.util.List["PipeFireRuptureUncertaintyRunner.CaseResult"], + string: typing.Union[java.lang.String, str], + ): ... + def getCases( + self, + ) -> java.util.List["PipeFireRuptureUncertaintyRunner.CaseResult"]: ... def getP50RuptureTimeSeconds(self) -> float: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class SafetyEvidenceReference(java.io.Serializable): @staticmethod - def builder(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... + def builder( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SafetyEvidenceReference.Builder": ... def getFieldName(self) -> java.lang.String: ... def getSourceSystem(self) -> java.lang.String: ... def getStatus(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def build(self) -> 'SafetyEvidenceReference': ... - def confidence(self, double: float) -> 'SafetyEvidenceReference.Builder': ... - def documentId(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def documentTitle(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def location(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def notes(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def revision(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def status(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def unit(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... - def valueText(self, string: typing.Union[java.lang.String, str]) -> 'SafetyEvidenceReference.Builder': ... + def build(self) -> "SafetyEvidenceReference": ... + def confidence(self, double: float) -> "SafetyEvidenceReference.Builder": ... + def documentId( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def documentTitle( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def location( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def notes( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def revision( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def status( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def unit( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... + def valueText( + self, string: typing.Union[java.lang.String, str] + ) -> "SafetyEvidenceReference.Builder": ... class SafetyStudyReadiness(java.io.Serializable): @staticmethod - def builder() -> 'SafetyStudyReadiness.Builder': ... + def builder() -> "SafetyStudyReadiness.Builder": ... def getEvidenceReferences(self) -> java.util.List[SafetyEvidenceReference]: ... - def getFindings(self) -> java.util.List['SafetyStudyReadiness.Finding']: ... - def getVerdict(self) -> 'SafetyStudyReadiness.Verdict': ... + def getFindings(self) -> java.util.List["SafetyStudyReadiness.Finding"]: ... + def getVerdict(self) -> "SafetyStudyReadiness.Verdict": ... def isDesignGrade(self) -> bool: ... def isReadyForCalculation(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class Builder: - def addBlocker(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SafetyStudyReadiness.Builder': ... - def addEvidenceReference(self, safetyEvidenceReference: SafetyEvidenceReference) -> 'SafetyStudyReadiness.Builder': ... - def addFinding(self, severity: 'SafetyStudyReadiness.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SafetyStudyReadiness.Builder': ... - def addInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SafetyStudyReadiness.Builder': ... - def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'SafetyStudyReadiness.Builder': ... - def build(self) -> 'SafetyStudyReadiness': ... - def merge(self, safetyStudyReadiness: 'SafetyStudyReadiness') -> 'SafetyStudyReadiness.Builder': ... - def verdict(self, verdict: 'SafetyStudyReadiness.Verdict') -> 'SafetyStudyReadiness.Builder': ... + def addBlocker( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SafetyStudyReadiness.Builder": ... + def addEvidenceReference( + self, safetyEvidenceReference: SafetyEvidenceReference + ) -> "SafetyStudyReadiness.Builder": ... + def addFinding( + self, + severity: "SafetyStudyReadiness.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SafetyStudyReadiness.Builder": ... + def addInfo( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SafetyStudyReadiness.Builder": ... + def addWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "SafetyStudyReadiness.Builder": ... + def build(self) -> "SafetyStudyReadiness": ... + def merge( + self, safetyStudyReadiness: "SafetyStudyReadiness" + ) -> "SafetyStudyReadiness.Builder": ... + def verdict( + self, verdict: "SafetyStudyReadiness.Verdict" + ) -> "SafetyStudyReadiness.Builder": ... + class Finding(java.io.Serializable): - def __init__(self, severity: 'SafetyStudyReadiness.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - def getSeverity(self) -> 'SafetyStudyReadiness.Severity': ... + def __init__( + self, + severity: "SafetyStudyReadiness.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + def getSeverity(self) -> "SafetyStudyReadiness.Severity": ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class Severity(java.lang.Enum['SafetyStudyReadiness.Severity']): - INFO: typing.ClassVar['SafetyStudyReadiness.Severity'] = ... - WARNING: typing.ClassVar['SafetyStudyReadiness.Severity'] = ... - BLOCKER: typing.ClassVar['SafetyStudyReadiness.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["SafetyStudyReadiness.Severity"]): + INFO: typing.ClassVar["SafetyStudyReadiness.Severity"] = ... + WARNING: typing.ClassVar["SafetyStudyReadiness.Severity"] = ... + BLOCKER: typing.ClassVar["SafetyStudyReadiness.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: ... + 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]) -> 'SafetyStudyReadiness.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyStudyReadiness.Severity": ... @staticmethod - def values() -> typing.MutableSequence['SafetyStudyReadiness.Severity']: ... - class Verdict(java.lang.Enum['SafetyStudyReadiness.Verdict']): - NOT_READY: typing.ClassVar['SafetyStudyReadiness.Verdict'] = ... - SCREENING: typing.ClassVar['SafetyStudyReadiness.Verdict'] = ... - DESIGN_GRADE: typing.ClassVar['SafetyStudyReadiness.Verdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["SafetyStudyReadiness.Severity"]: ... + + class Verdict(java.lang.Enum["SafetyStudyReadiness.Verdict"]): + NOT_READY: typing.ClassVar["SafetyStudyReadiness.Verdict"] = ... + SCREENING: typing.ClassVar["SafetyStudyReadiness.Verdict"] = ... + DESIGN_GRADE: typing.ClassVar["SafetyStudyReadiness.Verdict"] = ... + _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: ... + 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]) -> 'SafetyStudyReadiness.Verdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SafetyStudyReadiness.Verdict": ... @staticmethod - def values() -> typing.MutableSequence['SafetyStudyReadiness.Verdict']: ... + def values() -> typing.MutableSequence["SafetyStudyReadiness.Verdict"]: ... class TrappedLiquidFireRuptureResult(java.io.Serializable): - def createRuptureSourceTerm(self, systemInterface: jneqsim.thermo.system.SystemInterface, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, double: float, double2: float) -> jneqsim.process.safety.release.SourceTermResult: ... + def createRuptureSourceTerm( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, + double: float, + double2: float, + ) -> jneqsim.process.safety.release.SourceTermResult: ... def getFinalLiquidTemperatureK(self) -> float: ... def getFinalOuterWallTemperatureK(self) -> float: ... def getFinalPressureBara(self) -> float: ... - def getLimitingFailureMode(self) -> 'TrappedLiquidFireRuptureResult.FailureMode': ... + def getLimitingFailureMode( + self, + ) -> "TrappedLiquidFireRuptureResult.FailureMode": ... def getMinimumFailureTimeSeconds(self) -> float: ... def getPressureBara(self) -> java.util.List[float]: ... def getRecommendations(self) -> java.util.List[java.lang.String]: ... @@ -450,56 +806,126 @@ class TrappedLiquidFireRuptureResult(java.io.Serializable): def isRupturePredicted(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - def toPassiveFireProtectionDemand(self, string: typing.Union[java.lang.String, str], double: float) -> jneqsim.process.safety.barrier.SafetySystemDemand: ... - class FailureMode(java.lang.Enum['TrappedLiquidFireRuptureResult.FailureMode']): - NONE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... - RELIEF_SET_PRESSURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... - VAPOR_POCKET: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... - PIPE_RUPTURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... - FLANGE_FAILURE: typing.ClassVar['TrappedLiquidFireRuptureResult.FailureMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toPassiveFireProtectionDemand( + self, string: typing.Union[java.lang.String, str], double: float + ) -> jneqsim.process.safety.barrier.SafetySystemDemand: ... + + class FailureMode(java.lang.Enum["TrappedLiquidFireRuptureResult.FailureMode"]): + NONE: typing.ClassVar["TrappedLiquidFireRuptureResult.FailureMode"] = ... + RELIEF_SET_PRESSURE: typing.ClassVar[ + "TrappedLiquidFireRuptureResult.FailureMode" + ] = ... + VAPOR_POCKET: typing.ClassVar["TrappedLiquidFireRuptureResult.FailureMode"] = ( + ... + ) + PIPE_RUPTURE: typing.ClassVar["TrappedLiquidFireRuptureResult.FailureMode"] = ( + ... + ) + FLANGE_FAILURE: typing.ClassVar[ + "TrappedLiquidFireRuptureResult.FailureMode" + ] = ... + _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: ... + 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]) -> 'TrappedLiquidFireRuptureResult.FailureMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TrappedLiquidFireRuptureResult.FailureMode": ... @staticmethod - def values() -> typing.MutableSequence['TrappedLiquidFireRuptureResult.FailureMode']: ... + def values() -> ( + typing.MutableSequence["TrappedLiquidFireRuptureResult.FailureMode"] + ): ... class TrappedLiquidFireRuptureStudy(java.io.Serializable): @staticmethod - def builder() -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def builder() -> "TrappedLiquidFireRuptureStudy.Builder": ... def run(self) -> TrappedLiquidFireRuptureResult: ... + class Builder: def __init__(self): ... - def api5lMaterial(self, string: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def build(self) -> 'TrappedLiquidFireRuptureStudy': ... - def fireScenario(self, fireExposureScenario: FireExposureScenario) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def flangeClass(self, int: int) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def fluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def heatTransferCoefficients(self, double: float, double2: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def inventory(self, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def liquidThermalProperties(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def material(self, materialStrengthCurve: MaterialStrengthCurve) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def api5lMaterial( + self, string: typing.Union[java.lang.String, str] + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def build(self) -> "TrappedLiquidFireRuptureStudy": ... + def fireScenario( + self, fireExposureScenario: FireExposureScenario + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def flangeClass(self, int: int) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def fluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def heatTransferCoefficients( + self, double: float, double2: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def inventory( + self, + inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult, + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def liquidThermalProperties( + self, double: float, double2: float, double3: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def material( + self, materialStrengthCurve: MaterialStrengthCurve + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... @typing.overload - def pipeGeometry(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def pipeGeometry( + self, double: float, double2: float, double3: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... @typing.overload - def pipeGeometry(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str], double3: float, string3: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def reliefSetPressure(self, double: float, string: typing.Union[java.lang.String, str], boolean: bool) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def segmentId(self, string: typing.Union[java.lang.String, str]) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def tensileStrengthFactor(self, double: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def timeControls(self, double: float, double2: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def vaporPocketDetectionEnabled(self, boolean: bool) -> 'TrappedLiquidFireRuptureStudy.Builder': ... - def wallThermalProperties(self, double: float, double2: float, double3: float) -> 'TrappedLiquidFireRuptureStudy.Builder': ... + def pipeGeometry( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + double3: float, + string3: typing.Union[java.lang.String, str], + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def reliefSetPressure( + self, + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def segmentId( + self, string: typing.Union[java.lang.String, str] + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def tensileStrengthFactor( + self, double: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def timeControls( + self, double: float, double2: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def vaporPocketDetectionEnabled( + self, boolean: bool + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... + def wallThermalProperties( + self, double: float, double2: float, double3: float + ) -> "TrappedLiquidFireRuptureStudy.Builder": ... class VesselRuptureAnalyzer(java.io.Serializable): - def __init__(self, double: float, double2: float, materialStrengthCurve: MaterialStrengthCurve): ... + def __init__( + self, + double: float, + double2: float, + materialStrengthCurve: MaterialStrengthCurve, + ): ... def allowableStressPa(self, double: float) -> float: ... - def analyze(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]) -> 'VesselRuptureAnalyzer.VesselRuptureResult': ... + def analyze( + 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], + ) -> "VesselRuptureAnalyzer.VesselRuptureResult": ... def getMaterial(self) -> MaterialStrengthCurve: ... - def setTensileStrengthFactor(self, double: float) -> 'VesselRuptureAnalyzer': ... + def setTensileStrengthFactor(self, double: float) -> "VesselRuptureAnalyzer": ... def wallStressPa(self, double: float) -> float: ... + class VesselRuptureResult(java.io.Serializable): timeS: java.util.List = ... vonMisesStressPa: java.util.List = ... @@ -514,7 +940,6 @@ class VesselRuptureAnalyzer(java.io.Serializable): minMarginTimeS: float = ... def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.rupture")``. diff --git a/src/jneqsim-stubs/process/safety/scenario/__init__.pyi b/src/jneqsim-stubs/process/safety/scenario/__init__.pyi index a9cbe1f0..f1facb82 100644 --- a/src/jneqsim-stubs/process/safety/scenario/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/scenario/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -16,80 +16,148 @@ import jneqsim.process.safety.inventory import jneqsim.process.safety.release import typing - - class AutomaticScenarioGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addFailureModes(self, *failureMode: 'AutomaticScenarioGenerator.FailureMode') -> 'AutomaticScenarioGenerator': ... - def enableAllFailureModes(self) -> 'AutomaticScenarioGenerator': ... - def generateCombinations(self, int: int) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... - def generateSingleFailures(self) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def addFailureModes( + self, *failureMode: "AutomaticScenarioGenerator.FailureMode" + ) -> "AutomaticScenarioGenerator": ... + def enableAllFailureModes(self) -> "AutomaticScenarioGenerator": ... + def generateCombinations( + self, int: int + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... + def generateSingleFailures( + self, + ) -> java.util.List[jneqsim.process.safety.ProcessSafetyScenario]: ... def getFailureModeSummary(self) -> java.lang.String: ... - def getIdentifiedFailures(self) -> java.util.List['AutomaticScenarioGenerator.EquipmentFailure']: ... - def runAllSingleFailures(self) -> java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']: ... - def runScenarios(self, list: java.util.List[jneqsim.process.safety.ProcessSafetyScenario]) -> java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']: ... + def getIdentifiedFailures( + self, + ) -> java.util.List["AutomaticScenarioGenerator.EquipmentFailure"]: ... + def runAllSingleFailures( + self, + ) -> java.util.List["AutomaticScenarioGenerator.ScenarioRunResult"]: ... + def runScenarios( + self, list: java.util.List[jneqsim.process.safety.ProcessSafetyScenario] + ) -> java.util.List["AutomaticScenarioGenerator.ScenarioRunResult"]: ... @staticmethod - def summarizeResults(list: java.util.List['AutomaticScenarioGenerator.ScenarioRunResult']) -> java.lang.String: ... + def summarizeResults( + list: java.util.List["AutomaticScenarioGenerator.ScenarioRunResult"], + ) -> java.lang.String: ... + class EquipmentFailure(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], failureMode: 'AutomaticScenarioGenerator.FailureMode'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + failureMode: "AutomaticScenarioGenerator.FailureMode", + ): ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... - def getMode(self) -> 'AutomaticScenarioGenerator.FailureMode': ... + def getMode(self) -> "AutomaticScenarioGenerator.FailureMode": ... def toString(self) -> java.lang.String: ... - class FailureMode(java.lang.Enum['AutomaticScenarioGenerator.FailureMode']): - COOLING_LOSS: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - HEATING_LOSS: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - VALVE_STUCK_CLOSED: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - VALVE_STUCK_OPEN: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - VALVE_CONTROL_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - COMPRESSOR_TRIP: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - PUMP_TRIP: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - BLOCKED_OUTLET: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - POWER_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - INSTRUMENT_FAILURE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - EXTERNAL_FIRE: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... - LOSS_OF_CONTAINMENT: typing.ClassVar['AutomaticScenarioGenerator.FailureMode'] = ... + + class FailureMode(java.lang.Enum["AutomaticScenarioGenerator.FailureMode"]): + COOLING_LOSS: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + HEATING_LOSS: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + VALVE_STUCK_CLOSED: typing.ClassVar[ + "AutomaticScenarioGenerator.FailureMode" + ] = ... + VALVE_STUCK_OPEN: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ( + ... + ) + VALVE_CONTROL_FAILURE: typing.ClassVar[ + "AutomaticScenarioGenerator.FailureMode" + ] = ... + COMPRESSOR_TRIP: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + PUMP_TRIP: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + BLOCKED_OUTLET: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + POWER_FAILURE: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + INSTRUMENT_FAILURE: typing.ClassVar[ + "AutomaticScenarioGenerator.FailureMode" + ] = ... + EXTERNAL_FIRE: typing.ClassVar["AutomaticScenarioGenerator.FailureMode"] = ... + LOSS_OF_CONTAINMENT: typing.ClassVar[ + "AutomaticScenarioGenerator.FailureMode" + ] = ... def getCategory(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... - def getHazopDeviation(self) -> 'AutomaticScenarioGenerator.HazopDeviation': ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getHazopDeviation(self) -> "AutomaticScenarioGenerator.HazopDeviation": ... + _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: ... + 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]) -> 'AutomaticScenarioGenerator.FailureMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AutomaticScenarioGenerator.FailureMode": ... @staticmethod - def values() -> typing.MutableSequence['AutomaticScenarioGenerator.FailureMode']: ... - class HazopDeviation(java.lang.Enum['AutomaticScenarioGenerator.HazopDeviation']): - NO_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - LESS_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - MORE_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - REVERSE_FLOW: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - HIGH_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - LOW_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - LESS_PRESSURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - HIGH_TEMPERATURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - LOW_TEMPERATURE: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - HIGH_LEVEL: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - LOW_LEVEL: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - CONTAMINATION: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - CORROSION: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - OTHER: typing.ClassVar['AutomaticScenarioGenerator.HazopDeviation'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["AutomaticScenarioGenerator.FailureMode"] + ): ... + + class HazopDeviation(java.lang.Enum["AutomaticScenarioGenerator.HazopDeviation"]): + NO_FLOW: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + LESS_FLOW: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + MORE_FLOW: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + REVERSE_FLOW: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + HIGH_PRESSURE: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ( + ... + ) + LOW_PRESSURE: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + LESS_PRESSURE: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ( + ... + ) + HIGH_TEMPERATURE: typing.ClassVar[ + "AutomaticScenarioGenerator.HazopDeviation" + ] = ... + LOW_TEMPERATURE: typing.ClassVar[ + "AutomaticScenarioGenerator.HazopDeviation" + ] = ... + HIGH_LEVEL: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + LOW_LEVEL: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + CONTAMINATION: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ( + ... + ) + CORROSION: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + OTHER: typing.ClassVar["AutomaticScenarioGenerator.HazopDeviation"] = ... + _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: ... + 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]) -> 'AutomaticScenarioGenerator.HazopDeviation': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AutomaticScenarioGenerator.HazopDeviation": ... @staticmethod - def values() -> typing.MutableSequence['AutomaticScenarioGenerator.HazopDeviation']: ... + def values() -> ( + typing.MutableSequence["AutomaticScenarioGenerator.HazopDeviation"] + ): ... + class ScenarioRunResult(java.io.Serializable): @typing.overload - def __init__(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string: typing.Union[java.lang.String, str], long: int): ... + def __init__( + self, + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + string: typing.Union[java.lang.String, str], + long: int, + ): ... @typing.overload - def __init__(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], long: int): ... + def __init__( + self, + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + long: int, + ): ... def getErrorMessage(self) -> java.lang.String: ... def getExecutionTimeMs(self) -> int: ... def getResultValues(self) -> java.util.Map[java.lang.String, float]: ... @@ -98,76 +166,196 @@ class AutomaticScenarioGenerator(java.io.Serializable): class ReleaseDispersionScenarioGenerator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addWeatherCase(self, string: typing.Union[java.lang.String, str], boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'ReleaseDispersionScenarioGenerator': ... - def backPressure(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... - def boundaryConditions(self, boundaryConditions: jneqsim.process.safety.BoundaryConditions) -> 'ReleaseDispersionScenarioGenerator': ... - def consequenceBranches(self, list: java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']) -> 'ReleaseDispersionScenarioGenerator': ... + def addWeatherCase( + self, + string: typing.Union[java.lang.String, str], + boundaryConditions: jneqsim.process.safety.BoundaryConditions, + ) -> "ReleaseDispersionScenarioGenerator": ... + def backPressure(self, double: float) -> "ReleaseDispersionScenarioGenerator": ... + def boundaryConditions( + self, boundaryConditions: jneqsim.process.safety.BoundaryConditions + ) -> "ReleaseDispersionScenarioGenerator": ... + def consequenceBranches( + self, + list: java.util.List["ReleaseDispersionScenarioGenerator.ConsequenceBranch"], + ) -> "ReleaseDispersionScenarioGenerator": ... @staticmethod - def defaultConsequenceBranches() -> java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']: ... + def defaultConsequenceBranches() -> ( + java.util.List["ReleaseDispersionScenarioGenerator.ConsequenceBranch"] + ): ... @staticmethod - def defaultReleaseTaxonomy() -> java.util.List['ReleaseDispersionScenarioGenerator.ReleaseCase']: ... + def defaultReleaseTaxonomy() -> ( + java.util.List["ReleaseDispersionScenarioGenerator.ReleaseCase"] + ): ... @staticmethod - def defaultWeatherEnvelope() -> java.util.List['ReleaseDispersionScenarioGenerator.WeatherCase']: ... - def fullBoreDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReleaseDispersionScenarioGenerator': ... - def generateCfdSourceTermCases(self) -> java.util.List[jneqsim.process.safety.cfd.CfdSourceTermCase]: ... - def generateScenarios(self) -> java.util.List['ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario']: ... + def defaultWeatherEnvelope() -> ( + java.util.List["ReleaseDispersionScenarioGenerator.WeatherCase"] + ): ... + def fullBoreDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ReleaseDispersionScenarioGenerator": ... + def generateCfdSourceTermCases( + self, + ) -> java.util.List[jneqsim.process.safety.cfd.CfdSourceTermCase]: ... + def generateScenarios( + self, + ) -> java.util.List[ + "ReleaseDispersionScenarioGenerator.ReleaseDispersionScenario" + ]: ... @typing.overload - def holeDiameter(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def holeDiameter(self, double: float) -> "ReleaseDispersionScenarioGenerator": ... @typing.overload - def holeDiameter(self, double: float, string: typing.Union[java.lang.String, str]) -> 'ReleaseDispersionScenarioGenerator': ... - def inventoryVolume(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... - def minimumMassFlowRate(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... - def minimumPressure(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... - def modelSelection(self, modelSelection: jneqsim.process.safety.dispersion.GasDispersionAnalyzer.ModelSelection) -> 'ReleaseDispersionScenarioGenerator': ... - def releaseCases(self, *releaseCase: 'ReleaseDispersionScenarioGenerator.ReleaseCase') -> 'ReleaseDispersionScenarioGenerator': ... - def releaseDuration(self, double: float, double2: float) -> 'ReleaseDispersionScenarioGenerator': ... - def releaseHeight(self, double: float) -> 'ReleaseDispersionScenarioGenerator': ... - def releaseOrientation(self, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation) -> 'ReleaseDispersionScenarioGenerator': ... - def toxicEndpoint(self, string: typing.Union[java.lang.String, str], double: float) -> 'ReleaseDispersionScenarioGenerator': ... + def holeDiameter( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "ReleaseDispersionScenarioGenerator": ... + def inventoryVolume( + self, double: float + ) -> "ReleaseDispersionScenarioGenerator": ... + def minimumMassFlowRate( + self, double: float + ) -> "ReleaseDispersionScenarioGenerator": ... + def minimumPressure( + self, double: float + ) -> "ReleaseDispersionScenarioGenerator": ... + def modelSelection( + self, + modelSelection: jneqsim.process.safety.dispersion.GasDispersionAnalyzer.ModelSelection, + ) -> "ReleaseDispersionScenarioGenerator": ... + def releaseCases( + self, *releaseCase: "ReleaseDispersionScenarioGenerator.ReleaseCase" + ) -> "ReleaseDispersionScenarioGenerator": ... + def releaseDuration( + self, double: float, double2: float + ) -> "ReleaseDispersionScenarioGenerator": ... + def releaseHeight(self, double: float) -> "ReleaseDispersionScenarioGenerator": ... + def releaseOrientation( + self, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation + ) -> "ReleaseDispersionScenarioGenerator": ... + def toxicEndpoint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ReleaseDispersionScenarioGenerator": ... @typing.overload - def trappedInventory(self, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult) -> 'ReleaseDispersionScenarioGenerator': ... + def trappedInventory( + self, + inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult, + ) -> "ReleaseDispersionScenarioGenerator": ... @typing.overload - def trappedInventory(self, trappedInventoryCalculator: jneqsim.process.safety.inventory.TrappedInventoryCalculator) -> 'ReleaseDispersionScenarioGenerator': ... - def useDefaultConsequenceBranches(self) -> 'ReleaseDispersionScenarioGenerator': ... - def useDefaultScenarioTaxonomy(self) -> 'ReleaseDispersionScenarioGenerator': ... - def useDefaultWeatherEnvelope(self) -> 'ReleaseDispersionScenarioGenerator': ... - def weatherCases(self, list: java.util.List['ReleaseDispersionScenarioGenerator.WeatherCase']) -> 'ReleaseDispersionScenarioGenerator': ... + def trappedInventory( + self, + trappedInventoryCalculator: jneqsim.process.safety.inventory.TrappedInventoryCalculator, + ) -> "ReleaseDispersionScenarioGenerator": ... + def useDefaultConsequenceBranches(self) -> "ReleaseDispersionScenarioGenerator": ... + def useDefaultScenarioTaxonomy(self) -> "ReleaseDispersionScenarioGenerator": ... + def useDefaultWeatherEnvelope(self) -> "ReleaseDispersionScenarioGenerator": ... + def weatherCases( + self, list: java.util.List["ReleaseDispersionScenarioGenerator.WeatherCase"] + ) -> "ReleaseDispersionScenarioGenerator": ... + class ConsequenceBranch(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def getBranchId(self) -> java.lang.String: ... def getConditionalProbability(self) -> float: ... def getConsequenceType(self) -> java.lang.String: ... def getIgnitionTiming(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class ReleaseCase(java.lang.Enum['ReleaseDispersionScenarioGenerator.ReleaseCase']): - CONFIGURED: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - FIVE_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - TEN_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - TWENTY_FIVE_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - FIFTY_MM_HOLE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - FULL_BORE_RUPTURE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - FLANGE_LEAK: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - INSTRUMENT_LEAK: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... - DROPPED_OBJECT_DAMAGE: typing.ClassVar['ReleaseDispersionScenarioGenerator.ReleaseCase'] = ... + + class ReleaseCase(java.lang.Enum["ReleaseDispersionScenarioGenerator.ReleaseCase"]): + CONFIGURED: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + FIVE_MM_HOLE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + TEN_MM_HOLE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + TWENTY_FIVE_MM_HOLE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + FIFTY_MM_HOLE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + FULL_BORE_RUPTURE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + FLANGE_LEAK: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + INSTRUMENT_LEAK: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... + DROPPED_OBJECT_DAMAGE: typing.ClassVar[ + "ReleaseDispersionScenarioGenerator.ReleaseCase" + ] = ... def getCaseName(self) -> java.lang.String: ... def getCategory(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getScreeningFrequencyPerYear(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ReleaseDispersionScenarioGenerator.ReleaseCase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReleaseDispersionScenarioGenerator.ReleaseCase": ... @staticmethod - def values() -> typing.MutableSequence['ReleaseDispersionScenarioGenerator.ReleaseCase']: ... + def values() -> ( + typing.MutableSequence["ReleaseDispersionScenarioGenerator.ReleaseCase"] + ): ... + class ReleaseDispersionScenario(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, releaseCase: 'ReleaseDispersionScenarioGenerator.ReleaseCase', weatherCase: 'ReleaseDispersionScenarioGenerator.WeatherCase', sourceTermResult: jneqsim.process.safety.release.SourceTermResult, gasDispersionResult: jneqsim.process.safety.dispersion.GasDispersionResult, inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']): ... - def getBoundaryConditions(self) -> jneqsim.process.safety.BoundaryConditions: ... - def getComponentMoleFractions(self) -> java.util.Map[java.lang.String, float]: ... - def getConsequenceBranches(self) -> java.util.List['ReleaseDispersionScenarioGenerator.ConsequenceBranch']: ... - def getDispersionResult(self) -> jneqsim.process.safety.dispersion.GasDispersionResult: ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + releaseOrientation: jneqsim.process.safety.release.ReleaseOrientation, + releaseCase: "ReleaseDispersionScenarioGenerator.ReleaseCase", + weatherCase: "ReleaseDispersionScenarioGenerator.WeatherCase", + sourceTermResult: jneqsim.process.safety.release.SourceTermResult, + gasDispersionResult: jneqsim.process.safety.dispersion.GasDispersionResult, + inventoryResult: jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + list: java.util.List[ + "ReleaseDispersionScenarioGenerator.ConsequenceBranch" + ], + ): ... + def getBoundaryConditions( + self, + ) -> jneqsim.process.safety.BoundaryConditions: ... + def getComponentMoleFractions( + self, + ) -> java.util.Map[java.lang.String, float]: ... + def getConsequenceBranches( + self, + ) -> java.util.List["ReleaseDispersionScenarioGenerator.ConsequenceBranch"]: ... + def getDispersionResult( + self, + ) -> jneqsim.process.safety.dispersion.GasDispersionResult: ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... def getHoleDiameterM(self) -> float: ... @@ -178,27 +366,41 @@ class ReleaseDispersionScenarioGenerator(java.io.Serializable): def getReleaseDurationSeconds(self) -> float: ... def getReleaseFrequencyPerYear(self) -> float: ... def getReleaseHeightM(self) -> float: ... - def getReleaseOrientation(self) -> jneqsim.process.safety.release.ReleaseOrientation: ... + def getReleaseOrientation( + self, + ) -> jneqsim.process.safety.release.ReleaseOrientation: ... def getScenarioName(self) -> java.lang.String: ... def getSourceTerm(self) -> jneqsim.process.safety.release.SourceTermResult: ... def getStreamMassFlowRateKgPerS(self) -> float: ... def getStreamName(self) -> java.lang.String: ... def getStreamPressureBara(self) -> float: ... def getStreamTemperatureK(self) -> float: ... - def getTrappedInventoryResult(self) -> jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult: ... + def getTrappedInventoryResult( + self, + ) -> ( + jneqsim.process.safety.inventory.TrappedInventoryCalculator.InventoryResult + ): ... def getWeatherCaseName(self) -> java.lang.String: ... def hasFlammableCloud(self) -> bool: ... def hasToxicEndpoint(self) -> bool: ... - def toCfdSourceTermCase(self) -> jneqsim.process.safety.cfd.CfdSourceTermCase: ... + def toCfdSourceTermCase( + self, + ) -> jneqsim.process.safety.cfd.CfdSourceTermCase: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class WeatherCase(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], boundaryConditions: jneqsim.process.safety.BoundaryConditions): ... - def getBoundaryConditions(self) -> jneqsim.process.safety.BoundaryConditions: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + boundaryConditions: jneqsim.process.safety.BoundaryConditions, + ): ... + def getBoundaryConditions( + self, + ) -> jneqsim.process.safety.BoundaryConditions: ... def getName(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.scenario")``. diff --git a/src/jneqsim-stubs/process/safety/settleout/__init__.pyi b/src/jneqsim-stubs/process/safety/settleout/__init__.pyi index 579b6e30..26d1d2b2 100644 --- a/src/jneqsim-stubs/process/safety/settleout/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/settleout/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,32 +11,77 @@ import java.util import jneqsim.thermo.system import typing - - class SettleOutPressureAnalyzer(java.io.Serializable): def __init__(self): ... - def addVolume(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], double3: float, string4: typing.Union[java.lang.String, str]) -> 'SettleOutPressureAnalyzer': ... - def analyze(self) -> 'SettleOutPressureResult': ... - def setGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'SettleOutPressureAnalyzer': ... - def setProtectedPressureRating(self, double: float, string: typing.Union[java.lang.String, str]) -> 'SettleOutPressureAnalyzer': ... - def setSettleOutTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'SettleOutPressureAnalyzer': ... - class SettleOutVerdict(java.lang.Enum['SettleOutPressureAnalyzer.SettleOutVerdict']): - NO_RATING: typing.ClassVar['SettleOutPressureAnalyzer.SettleOutVerdict'] = ... - WITHIN_RATING: typing.ClassVar['SettleOutPressureAnalyzer.SettleOutVerdict'] = ... - EXCEEDS_RATING: typing.ClassVar['SettleOutPressureAnalyzer.SettleOutVerdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def addVolume( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + string3: typing.Union[java.lang.String, str], + double3: float, + string4: typing.Union[java.lang.String, str], + ) -> "SettleOutPressureAnalyzer": ... + def analyze(self) -> "SettleOutPressureResult": ... + def setGas( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "SettleOutPressureAnalyzer": ... + def setProtectedPressureRating( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "SettleOutPressureAnalyzer": ... + def setSettleOutTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "SettleOutPressureAnalyzer": ... + + class SettleOutVerdict( + java.lang.Enum["SettleOutPressureAnalyzer.SettleOutVerdict"] + ): + NO_RATING: typing.ClassVar["SettleOutPressureAnalyzer.SettleOutVerdict"] = ... + WITHIN_RATING: typing.ClassVar["SettleOutPressureAnalyzer.SettleOutVerdict"] = ( + ... + ) + EXCEEDS_RATING: typing.ClassVar[ + "SettleOutPressureAnalyzer.SettleOutVerdict" + ] = ... + _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: ... + 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]) -> 'SettleOutPressureAnalyzer.SettleOutVerdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SettleOutPressureAnalyzer.SettleOutVerdict": ... @staticmethod - def values() -> typing.MutableSequence['SettleOutPressureAnalyzer.SettleOutVerdict']: ... + def values() -> ( + typing.MutableSequence["SettleOutPressureAnalyzer.SettleOutVerdict"] + ): ... class SettleOutPressureResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, double9: float, boolean2: bool, settleOutVerdict: SettleOutPressureAnalyzer.SettleOutVerdict, list: java.util.List['SettleOutPressureResult.CompartmentResult'], list2: java.util.List[typing.Union[java.lang.String, str]]): ... - def getCompartments(self) -> java.util.List['SettleOutPressureResult.CompartmentResult']: ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + double9: float, + boolean2: bool, + settleOutVerdict: SettleOutPressureAnalyzer.SettleOutVerdict, + list: java.util.List["SettleOutPressureResult.CompartmentResult"], + list2: java.util.List[typing.Union[java.lang.String, str]], + ): ... + def getCompartments( + self, + ) -> java.util.List["SettleOutPressureResult.CompartmentResult"]: ... def getMarginToRatingBar(self) -> float: ... def getMaxCompartmentPressureBara(self) -> float: ... def getMinCompartmentPressureBara(self) -> float: ... @@ -51,6 +96,7 @@ class SettleOutPressureResult(java.io.Serializable): def isExceedsRating(self) -> bool: ... def isRatingProvided(self) -> bool: ... def toJson(self) -> java.lang.String: ... + class CompartmentResult(java.io.Serializable): name: java.lang.String = ... volumeM3: float = ... @@ -58,8 +104,15 @@ class SettleOutPressureResult(java.io.Serializable): temperatureK: float = ... zFactor: float = ... moles: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float): ... - + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.settleout")``. diff --git a/src/jneqsim-stubs/process/safety/vacuum/__init__.pyi b/src/jneqsim-stubs/process/safety/vacuum/__init__.pyi index 2bec6451..c79f53fc 100644 --- a/src/jneqsim-stubs/process/safety/vacuum/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/vacuum/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,42 +11,93 @@ import java.util import jneqsim.thermo.system import typing - - class VacuumCollapseAnalyzer(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - def analyze(self) -> 'VacuumCollapseResult': ... - def setAtmosphericPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VacuumCollapseAnalyzer': ... - def setColdEndTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VacuumCollapseAnalyzer': ... - def setCoolingSteps(self, int: int) -> 'VacuumCollapseAnalyzer': ... - def setExternalPressureRating(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VacuumCollapseAnalyzer': ... - def setInitialConditions(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'VacuumCollapseAnalyzer': ... - def setMakeupGasMolarMass(self, double: float) -> 'VacuumCollapseAnalyzer': ... - def setMakeupSetpoint(self, double: float, string: typing.Union[java.lang.String, str]) -> 'VacuumCollapseAnalyzer': ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + def analyze(self) -> "VacuumCollapseResult": ... + def setAtmosphericPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VacuumCollapseAnalyzer": ... + def setColdEndTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VacuumCollapseAnalyzer": ... + def setCoolingSteps(self, int: int) -> "VacuumCollapseAnalyzer": ... + def setExternalPressureRating( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VacuumCollapseAnalyzer": ... + def setInitialConditions( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "VacuumCollapseAnalyzer": ... + def setMakeupGasMolarMass(self, double: float) -> "VacuumCollapseAnalyzer": ... + def setMakeupSetpoint( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "VacuumCollapseAnalyzer": ... + class CoolingPoint(java.io.Serializable): temperatureK: float = ... pressureBara: float = ... vaporMoleFraction: float = ... def __init__(self, double: float, double2: float, double3: float): ... - class VacuumVerdict(java.lang.Enum['VacuumCollapseAnalyzer.VacuumVerdict']): - NO_VACUUM: typing.ClassVar['VacuumCollapseAnalyzer.VacuumVerdict'] = ... - VACUUM_WITHIN_RATING: typing.ClassVar['VacuumCollapseAnalyzer.VacuumVerdict'] = ... - VACUUM_EXCEEDS_RATING: typing.ClassVar['VacuumCollapseAnalyzer.VacuumVerdict'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class VacuumVerdict(java.lang.Enum["VacuumCollapseAnalyzer.VacuumVerdict"]): + NO_VACUUM: typing.ClassVar["VacuumCollapseAnalyzer.VacuumVerdict"] = ... + VACUUM_WITHIN_RATING: typing.ClassVar[ + "VacuumCollapseAnalyzer.VacuumVerdict" + ] = ... + VACUUM_EXCEEDS_RATING: typing.ClassVar[ + "VacuumCollapseAnalyzer.VacuumVerdict" + ] = ... + _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: ... + 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]) -> 'VacuumCollapseAnalyzer.VacuumVerdict': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "VacuumCollapseAnalyzer.VacuumVerdict": ... @staticmethod - def values() -> typing.MutableSequence['VacuumCollapseAnalyzer.VacuumVerdict']: ... + def values() -> ( + typing.MutableSequence["VacuumCollapseAnalyzer.VacuumVerdict"] + ): ... class VacuumCollapseResult(java.io.Serializable): - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, double9: float, double10: float, boolean2: bool, boolean3: bool, vacuumVerdict: VacuumCollapseAnalyzer.VacuumVerdict, double11: float, double12: float, double13: float, double14: float, list: java.util.List[VacuumCollapseAnalyzer.CoolingPoint], list2: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + double9: float, + double10: float, + boolean2: bool, + boolean3: bool, + vacuumVerdict: VacuumCollapseAnalyzer.VacuumVerdict, + double11: float, + double12: float, + double13: float, + double14: float, + list: java.util.List[VacuumCollapseAnalyzer.CoolingPoint], + list2: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getAtmosphericPressureBara(self) -> float: ... def getColdEndTemperatureK(self) -> float: ... - def getCoolingCurve(self) -> java.util.List[VacuumCollapseAnalyzer.CoolingPoint]: ... + def getCoolingCurve( + self, + ) -> java.util.List[VacuumCollapseAnalyzer.CoolingPoint]: ... def getExternalRatingBara(self) -> float: ... def getFinalPressureBara(self) -> float: ... def getInitialPressureBara(self) -> float: ... @@ -66,7 +117,6 @@ class VacuumCollapseResult(java.io.Serializable): def isWithinRating(self) -> bool: ... def toJson(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.vacuum")``. diff --git a/src/jneqsim-stubs/process/safety/vibration/__init__.pyi b/src/jneqsim-stubs/process/safety/vibration/__init__.pyi index 9fcd23e3..33652263 100644 --- a/src/jneqsim-stubs/process/safety/vibration/__init__.pyi +++ b/src/jneqsim-stubs/process/safety/vibration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,14 +10,24 @@ import java.lang import java.util import typing - - class AcousticInducedVibrationResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, pipingFivLikelihood: 'PipingFivLikelihood', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + pipingFivLikelihood: "PipingFivLikelihood", + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + string2: typing.Union[java.lang.String, str], + ): ... def getAllowablePwlDb(self) -> float: ... def getCircuitName(self) -> java.lang.String: ... def getContributingFactors(self) -> java.util.Map[java.lang.String, float]: ... - def getLikelihood(self) -> 'PipingFivLikelihood': ... + def getLikelihood(self) -> "PipingFivLikelihood": ... def getMarginDb(self) -> float: ... def getPwlDb(self) -> float: ... def getRecommendation(self) -> java.lang.String: ... @@ -25,35 +35,60 @@ class AcousticInducedVibrationResult(java.io.Serializable): class AcousticInducedVibrationScreening(java.io.Serializable): @staticmethod - def bandFor(double: float) -> 'PipingFivLikelihood': ... + def bandFor(double: float) -> "PipingFivLikelihood": ... @staticmethod - def recommendation(pipingFivLikelihood: 'PipingFivLikelihood') -> java.lang.String: ... + def recommendation( + pipingFivLikelihood: "PipingFivLikelihood", + ) -> java.lang.String: ... @staticmethod - def screen(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> AcousticInducedVibrationResult: ... + def screen( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> AcousticInducedVibrationResult: ... class FivLikelihoodResult(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, pipingFivLikelihood: 'PipingFivLikelihood', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + pipingFivLikelihood: "PipingFivLikelihood", + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + string2: typing.Union[java.lang.String, str], + ): ... def getCircuitName(self) -> java.lang.String: ... def getContributingFactors(self) -> java.util.Map[java.lang.String, float]: ... - def getLikelihood(self) -> 'PipingFivLikelihood': ... + def getLikelihood(self) -> "PipingFivLikelihood": ... def getLofScore(self) -> float: ... def getRecommendation(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... -class PipingFivLikelihood(java.lang.Enum['PipingFivLikelihood']): - LOW: typing.ClassVar['PipingFivLikelihood'] = ... - MEDIUM: typing.ClassVar['PipingFivLikelihood'] = ... - HIGH: typing.ClassVar['PipingFivLikelihood'] = ... - VERY_HIGH: typing.ClassVar['PipingFivLikelihood'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class PipingFivLikelihood(java.lang.Enum["PipingFivLikelihood"]): + LOW: typing.ClassVar["PipingFivLikelihood"] = ... + MEDIUM: typing.ClassVar["PipingFivLikelihood"] = ... + HIGH: typing.ClassVar["PipingFivLikelihood"] = ... + VERY_HIGH: typing.ClassVar["PipingFivLikelihood"] = ... + _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: ... + 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]) -> 'PipingFivLikelihood': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PipingFivLikelihood": ... @staticmethod - def values() -> typing.MutableSequence['PipingFivLikelihood']: ... + def values() -> typing.MutableSequence["PipingFivLikelihood"]: ... class PipingFivScreening(java.io.Serializable): REFERENCE_GAS_RHO_V2: typing.ClassVar[float] = ... @@ -61,12 +96,29 @@ class PipingFivScreening(java.io.Serializable): @staticmethod def bandFor(double: float) -> PipingFivLikelihood: ... @staticmethod - def recommendation(pipingFivLikelihood: PipingFivLikelihood) -> java.lang.String: ... + def recommendation( + pipingFivLikelihood: PipingFivLikelihood, + ) -> java.lang.String: ... @staticmethod - def screenGas(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, int: int, double5: float, double6: float) -> FivLikelihoodResult: ... + def screenGas( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + int: int, + double5: float, + double6: float, + ) -> FivLikelihoodResult: ... @staticmethod - def screenLiquid(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, int: int, double4: float) -> FivLikelihoodResult: ... - + def screenLiquid( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + int: int, + double4: float, + ) -> FivLikelihoodResult: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.safety.vibration")``. diff --git a/src/jneqsim-stubs/process/streaming/__init__.pyi b/src/jneqsim-stubs/process/streaming/__init__.pyi index 8a47f9d6..e7ff02fe 100644 --- a/src/jneqsim-stubs/process/streaming/__init__.pyi +++ b/src/jneqsim-stubs/process/streaming/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,53 +14,97 @@ import java.util.function import jneqsim.process.processmodel import typing - - class StreamingDataInterface: def clearHistory(self) -> None: ... - def getCurrentValue(self, string: typing.Union[java.lang.String, str]) -> 'TimestampedValue': ... - def getHistory(self, string: typing.Union[java.lang.String, str], duration: java.time.Duration) -> java.util.List['TimestampedValue']: ... - def getHistoryBatch(self, list: java.util.List[typing.Union[java.lang.String, str]], duration: java.time.Duration) -> java.util.Map[java.lang.String, java.util.List['TimestampedValue']]: ... + def getCurrentValue( + self, string: typing.Union[java.lang.String, str] + ) -> "TimestampedValue": ... + def getHistory( + self, string: typing.Union[java.lang.String, str], duration: java.time.Duration + ) -> java.util.List["TimestampedValue"]: ... + def getHistoryBatch( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + duration: java.time.Duration, + ) -> java.util.Map[java.lang.String, java.util.List["TimestampedValue"]]: ... def getMonitoredTags(self) -> java.util.List[java.lang.String]: ... def getStateVector(self) -> typing.MutableSequence[float]: ... def getStateVectorLabels(self) -> typing.MutableSequence[java.lang.String]: ... def isMonitored(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def publish(self, string: typing.Union[java.lang.String, str], timestampedValue: 'TimestampedValue') -> None: ... - def publishBatch(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'TimestampedValue'], typing.Mapping[typing.Union[java.lang.String, str], 'TimestampedValue']]) -> None: ... + def publish( + self, + string: typing.Union[java.lang.String, str], + timestampedValue: "TimestampedValue", + ) -> None: ... + def publishBatch( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], "TimestampedValue"], + typing.Mapping[typing.Union[java.lang.String, str], "TimestampedValue"], + ], + ) -> None: ... def setHistoryBufferSize(self, int: int) -> None: ... - def subscribeToUpdates(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer['TimestampedValue'], typing.Callable[['TimestampedValue'], None]]) -> None: ... - def unsubscribeFromUpdates(self, string: typing.Union[java.lang.String, str]) -> None: ... + def subscribeToUpdates( + self, + string: typing.Union[java.lang.String, str], + consumer: typing.Union[ + java.util.function.Consumer["TimestampedValue"], + typing.Callable[["TimestampedValue"], None], + ], + ) -> None: ... + def unsubscribeFromUpdates( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class TimestampedValue(java.io.Serializable): @typing.overload def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, double: float, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + instant: typing.Union[java.time.Instant, datetime.datetime], + ): ... @typing.overload - def __init__(self, double: float, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime], quality: 'TimestampedValue.Quality'): ... - def getQuality(self) -> 'TimestampedValue.Quality': ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + instant: typing.Union[java.time.Instant, datetime.datetime], + quality: "TimestampedValue.Quality", + ): ... + def getQuality(self) -> "TimestampedValue.Quality": ... def getTimestamp(self) -> java.time.Instant: ... def getUnit(self) -> java.lang.String: ... def getValue(self) -> float: ... def isUsable(self) -> bool: ... @staticmethod - def simulated(double: float, string: typing.Union[java.lang.String, str]) -> 'TimestampedValue': ... + def simulated( + double: float, string: typing.Union[java.lang.String, str] + ) -> "TimestampedValue": ... def toString(self) -> java.lang.String: ... - class Quality(java.lang.Enum['TimestampedValue.Quality']): - GOOD: typing.ClassVar['TimestampedValue.Quality'] = ... - UNCERTAIN: typing.ClassVar['TimestampedValue.Quality'] = ... - BAD: typing.ClassVar['TimestampedValue.Quality'] = ... - SIMULATED: typing.ClassVar['TimestampedValue.Quality'] = ... - ESTIMATED: typing.ClassVar['TimestampedValue.Quality'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Quality(java.lang.Enum["TimestampedValue.Quality"]): + GOOD: typing.ClassVar["TimestampedValue.Quality"] = ... + UNCERTAIN: typing.ClassVar["TimestampedValue.Quality"] = ... + BAD: typing.ClassVar["TimestampedValue.Quality"] = ... + SIMULATED: typing.ClassVar["TimestampedValue.Quality"] = ... + ESTIMATED: typing.ClassVar["TimestampedValue.Quality"] = ... + _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: ... + 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]) -> 'TimestampedValue.Quality': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "TimestampedValue.Quality": ... @staticmethod - def values() -> typing.MutableSequence['TimestampedValue.Quality']: ... + def values() -> typing.MutableSequence["TimestampedValue.Quality"]: ... class ProcessDataPublisher(StreamingDataInterface): @typing.overload @@ -69,22 +113,48 @@ class ProcessDataPublisher(StreamingDataInterface): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def addToStateVector(self, string: typing.Union[java.lang.String, str]) -> None: ... def clearHistory(self) -> None: ... - def exportHistoryMatrix(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getCurrentValue(self, string: typing.Union[java.lang.String, str]) -> TimestampedValue: ... - def getHistory(self, string: typing.Union[java.lang.String, str], duration: java.time.Duration) -> java.util.List[TimestampedValue]: ... - def getHistoryBatch(self, list: java.util.List[typing.Union[java.lang.String, str]], duration: java.time.Duration) -> java.util.Map[java.lang.String, java.util.List[TimestampedValue]]: ... + def exportHistoryMatrix( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCurrentValue( + self, string: typing.Union[java.lang.String, str] + ) -> TimestampedValue: ... + def getHistory( + self, string: typing.Union[java.lang.String, str], duration: java.time.Duration + ) -> java.util.List[TimestampedValue]: ... + def getHistoryBatch( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + duration: java.time.Duration, + ) -> java.util.Map[java.lang.String, java.util.List[TimestampedValue]]: ... def getHistorySize(self, string: typing.Union[java.lang.String, str]) -> int: ... def getMonitoredTags(self) -> java.util.List[java.lang.String]: ... def getStateVector(self) -> typing.MutableSequence[float]: ... def getStateVectorLabels(self) -> typing.MutableSequence[java.lang.String]: ... def isMonitored(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def publishBatch(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], TimestampedValue], typing.Mapping[typing.Union[java.lang.String, str], TimestampedValue]]) -> None: ... + def publishBatch( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], TimestampedValue], + typing.Mapping[typing.Union[java.lang.String, str], TimestampedValue], + ], + ) -> None: ... def publishFromProcessSystem(self) -> None: ... def setHistoryBufferSize(self, int: int) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - def subscribeToUpdates(self, string: typing.Union[java.lang.String, str], consumer: typing.Union[java.util.function.Consumer[TimestampedValue], typing.Callable[[TimestampedValue], None]]) -> None: ... - def unsubscribeFromUpdates(self, string: typing.Union[java.lang.String, str]) -> None: ... - + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... + def subscribeToUpdates( + self, + string: typing.Union[java.lang.String, str], + consumer: typing.Union[ + java.util.function.Consumer[TimestampedValue], + typing.Callable[[TimestampedValue], None], + ], + ) -> None: ... + def unsubscribeFromUpdates( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.streaming")``. diff --git a/src/jneqsim-stubs/process/sustainability/__init__.pyi b/src/jneqsim-stubs/process/sustainability/__init__.pyi index 75b89bf0..611b1b61 100644 --- a/src/jneqsim-stubs/process/sustainability/__init__.pyi +++ b/src/jneqsim-stubs/process/sustainability/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,39 +12,44 @@ import java.util import jneqsim.process.processmodel import typing - - class EmissionsTracker(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def calculateEmissions(self) -> 'EmissionsTracker.EmissionsReport': ... + def calculateEmissions(self) -> "EmissionsTracker.EmissionsReport": ... def getCumulativeCO2e(self) -> float: ... def getGridEmissionFactor(self) -> float: ... - def getHistory(self) -> java.util.List['EmissionsTracker.EmissionsSnapshot']: ... + def getHistory(self) -> java.util.List["EmissionsTracker.EmissionsSnapshot"]: ... def getNaturalGasEmissionFactor(self) -> float: ... def isIncludeIndirectEmissions(self) -> bool: ... def recordSnapshot(self) -> None: ... def setGridEmissionFactor(self, double: float) -> None: ... def setIncludeIndirectEmissions(self, boolean: bool) -> None: ... def setNaturalGasEmissionFactor(self, double: float) -> None: ... - class EmissionCategory(java.lang.Enum['EmissionsTracker.EmissionCategory']): - FLARING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - COMBUSTION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - COMPRESSION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - EXPANSION: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - PUMPING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - HEATING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - COOLING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - VENTING: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - OTHER: typing.ClassVar['EmissionsTracker.EmissionCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EmissionCategory(java.lang.Enum["EmissionsTracker.EmissionCategory"]): + FLARING: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + COMBUSTION: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + COMPRESSION: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + EXPANSION: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + PUMPING: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + HEATING: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + COOLING: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + VENTING: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + OTHER: typing.ClassVar["EmissionsTracker.EmissionCategory"] = ... + _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: ... + 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]) -> 'EmissionsTracker.EmissionCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EmissionsTracker.EmissionCategory": ... @staticmethod - def values() -> typing.MutableSequence['EmissionsTracker.EmissionCategory']: ... + def values() -> typing.MutableSequence["EmissionsTracker.EmissionCategory"]: ... + class EmissionsReport(java.io.Serializable): timestamp: java.time.Instant = ... processName: java.lang.String = ... @@ -55,21 +60,31 @@ class EmissionsTracker(java.io.Serializable): def __init__(self): ... def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getEmissionsByCategory(self) -> java.util.Map['EmissionsTracker.EmissionCategory', float]: ... - def getFlaringCO2e(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getEmissionsByCategory( + self, + ) -> java.util.Map["EmissionsTracker.EmissionCategory", float]: ... + def getFlaringCO2e( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSummary(self) -> java.lang.String: ... - def getTotalCO2e(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalCO2e( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTotalPower( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def toJson(self) -> java.lang.String: ... + class EmissionsSnapshot(java.io.Serializable): timestamp: java.time.Instant = ... totalCO2eKgPerHr: float = ... totalPowerKW: float = ... def __init__(self): ... + class EquipmentEmissions(java.io.Serializable): equipmentName: java.lang.String = ... equipmentType: java.lang.String = ... - category: 'EmissionsTracker.EmissionCategory' = ... + category: "EmissionsTracker.EmissionCategory" = ... directCO2eKgPerHr: float = ... indirectCO2eKgPerHr: float = ... powerConsumptionKW: float = ... @@ -77,7 +92,6 @@ class EmissionsTracker(java.io.Serializable): def __init__(self): ... def getTotalCO2e(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.sustainability")``. diff --git a/src/jneqsim-stubs/process/synthesis/__init__.pyi b/src/jneqsim-stubs/process/synthesis/__init__.pyi index 7bdb590e..f14921cf 100644 --- a/src/jneqsim-stubs/process/synthesis/__init__.pyi +++ b/src/jneqsim-stubs/process/synthesis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,10 +13,13 @@ import jneqsim.process.equipment.stream import jneqsim.process.processmodel import typing - - class CompressionDuty(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ): ... def getDischargePressureBara(self) -> float: ... def getFeed(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getFinalCoolerTemperatureC(self) -> float: ... @@ -25,13 +28,20 @@ class CompressionDuty(java.io.Serializable): def getName(self) -> java.lang.String: ... def getPolytropicEfficiency(self) -> float: ... def hasAfterCooler(self) -> bool: ... - def setAfterCooler(self, boolean: bool, double: float) -> 'CompressionDuty': ... - def setInterstageCoolerTemperatureC(self, double: float) -> 'CompressionDuty': ... - def setMaxStageRatio(self, double: float) -> 'CompressionDuty': ... - def setPolytropicEfficiency(self, double: float) -> 'CompressionDuty': ... + def setAfterCooler(self, boolean: bool, double: float) -> "CompressionDuty": ... + def setInterstageCoolerTemperatureC(self, double: float) -> "CompressionDuty": ... + def setMaxStageRatio(self, double: float) -> "CompressionDuty": ... + def setPolytropicEfficiency(self, double: float) -> "CompressionDuty": ... class CompressionProposal(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, int: int, double: float, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + int: int, + double: float, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def getPerStagePressureRatio(self) -> float: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getRationale(self) -> java.lang.String: ... @@ -40,30 +50,51 @@ class CompressionProposal(java.io.Serializable): def toJson(self) -> java.lang.String: ... class FlowsheetProposal(java.io.Serializable): - def __init__(self, strategy: 'FlowsheetProposal.Strategy', string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, 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]], list: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + def __init__( + self, + strategy: "FlowsheetProposal.Strategy", + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + 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], + ], + list: java.util.List[typing.Union[java.lang.String, str]], + boolean: bool, + ): ... def getAlternatives(self) -> java.util.List[java.lang.String]: ... def getBottomProductPredicted(self) -> java.util.Map[java.lang.String, float]: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getRationale(self) -> java.lang.String: ... - def getStrategy(self) -> 'FlowsheetProposal.Strategy': ... + def getStrategy(self) -> "FlowsheetProposal.Strategy": ... def getTopProductPredicted(self) -> java.util.Map[java.lang.String, float]: ... def isSpecsMet(self) -> bool: ... def toJson(self) -> com.google.gson.JsonObject: ... - class Strategy(java.lang.Enum['FlowsheetProposal.Strategy']): - SINGLE_FLASH: typing.ClassVar['FlowsheetProposal.Strategy'] = ... - TWO_STAGE_FLASH: typing.ClassVar['FlowsheetProposal.Strategy'] = ... - DISTILLATION: typing.ClassVar['FlowsheetProposal.Strategy'] = ... - STRIPPER: typing.ClassVar['FlowsheetProposal.Strategy'] = ... - INFEASIBLE: typing.ClassVar['FlowsheetProposal.Strategy'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Strategy(java.lang.Enum["FlowsheetProposal.Strategy"]): + SINGLE_FLASH: typing.ClassVar["FlowsheetProposal.Strategy"] = ... + TWO_STAGE_FLASH: typing.ClassVar["FlowsheetProposal.Strategy"] = ... + DISTILLATION: typing.ClassVar["FlowsheetProposal.Strategy"] = ... + STRIPPER: typing.ClassVar["FlowsheetProposal.Strategy"] = ... + INFEASIBLE: typing.ClassVar["FlowsheetProposal.Strategy"] = ... + _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: ... + 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]) -> 'FlowsheetProposal.Strategy': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowsheetProposal.Strategy": ... @staticmethod - def values() -> typing.MutableSequence['FlowsheetProposal.Strategy']: ... + def values() -> typing.MutableSequence["FlowsheetProposal.Strategy"]: ... class FlowsheetSynthesisEngine: ALPHA_DISTILLATION_THRESHOLD: typing.ClassVar[float] = ... @@ -71,19 +102,37 @@ class FlowsheetSynthesisEngine: MAX_TRAYS: typing.ClassVar[int] = ... def __init__(self): ... @staticmethod - def ensureRun(streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.process.equipment.stream.StreamInterface: ... - def proposeAndBuild(self, separationDuty: 'SeparationDuty') -> FlowsheetProposal: ... - def proposeAndBuildCompression(self, compressionDuty: CompressionDuty) -> CompressionProposal: ... + def ensureRun( + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> jneqsim.process.equipment.stream.StreamInterface: ... + def proposeAndBuild( + self, separationDuty: "SeparationDuty" + ) -> FlowsheetProposal: ... + def proposeAndBuildCompression( + self, compressionDuty: CompressionDuty + ) -> CompressionProposal: ... class SeparationDuty(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], streamInterface: jneqsim.process.equipment.stream.StreamInterface, 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]], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + 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], + ], + double: float, + ): ... def getBottomProductSpecs(self) -> java.util.Map[java.lang.String, float]: ... def getFeed(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getName(self) -> java.lang.String: ... def getOperatingPressureBara(self) -> float: ... def getTopProductSpecs(self) -> java.util.Map[java.lang.String, float]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.synthesis")``. diff --git a/src/jneqsim-stubs/process/util/__init__.pyi b/src/jneqsim-stubs/process/util/__init__.pyi index 98ce1fc5..983604be 100644 --- a/src/jneqsim-stubs/process/util/__init__.pyi +++ b/src/jneqsim-stubs/process/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -37,22 +37,26 @@ import jneqsim.process.util.utilitydesign import jneqsim.thermo.system import typing - - class DualEosComparison(java.io.Serializable): @typing.overload - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def addCondition(self, double: float, double2: float) -> None: ... def addConditionCelsius(self, double: float, double2: float) -> None: ... def getAllFlags(self) -> java.util.List[java.lang.String]: ... def getDeviationThreshold(self) -> float: ... - def getResults(self) -> java.util.List['DualEosComparison.ComparisonResult']: ... + def getResults(self) -> java.util.List["DualEosComparison.ComparisonResult"]: ... def hasSignificantDeviations(self) -> bool: ... def run(self) -> None: ... def setDeviationThreshold(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class ComparisonResult(java.io.Serializable): temperatureK: float = ... pressureBara: float = ... @@ -85,23 +89,51 @@ class DualEosComparison(java.io.Serializable): class DynamicProcessHelper: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addFlowController(self, string: typing.Union[java.lang.String, str], throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, string2: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def addTemperatureController(self, string: typing.Union[java.lang.String, str], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def exportDexpi(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... - def getController(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... - def getControllers(self) -> java.util.Map[java.lang.String, jneqsim.process.controllerdevice.ControllerDeviceInterface]: ... + def addFlowController( + self, + string: typing.Union[java.lang.String, str], + throttlingValve: jneqsim.process.equipment.valve.ThrottlingValve, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def addTemperatureController( + self, + string: typing.Union[java.lang.String, str], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def exportDexpi( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... + def getController( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.controllerdevice.ControllerDeviceInterface: ... + def getControllers( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.controllerdevice.ControllerDeviceInterface + ]: ... def getDefaultTimeStep(self) -> float: ... - def getTransmitter(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... - def getTransmitters(self) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.MeasurementDeviceInterface]: ... + def getTransmitter( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.MeasurementDeviceInterface: ... + def getTransmitters( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.measurementdevice.MeasurementDeviceInterface + ]: ... def instrumentAndControl(self) -> None: ... - def readDexpiInstruments(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.util.List[jneqsim.process.processmodel.dexpi.DexpiInstrumentInfo]: ... + def readDexpiInstruments( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> java.util.List[jneqsim.process.processmodel.dexpi.DexpiInstrumentInfo]: ... def setDefaultTimeStep(self, double: float) -> None: ... def setFlowTuning(self, double: float, double2: float) -> None: ... def setLevelTuning(self, double: float, double2: float) -> None: ... def setPressureTuning(self, double: float, double2: float) -> None: ... def setTemperatureTuning(self, double: float, double2: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util")``. diff --git a/src/jneqsim-stubs/process/util/event/__init__.pyi b/src/jneqsim-stubs/process/util/event/__init__.pyi index 0a2c96bd..af8beb4d 100644 --- a/src/jneqsim-stubs/process/util/event/__init__.pyi +++ b/src/jneqsim-stubs/process/util/event/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,103 +11,177 @@ import java.time import java.util import typing - - class ProcessEvent(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], eventType: 'ProcessEvent.EventType', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], severity: 'ProcessEvent.Severity'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + eventType: "ProcessEvent.EventType", + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + severity: "ProcessEvent.Severity", + ): ... @staticmethod - def alarm(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + def alarm( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessEvent": ... @staticmethod def generateId() -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getEventId(self) -> java.lang.String: ... def getProperties(self) -> java.util.Map[java.lang.String, typing.Any]: ... - _getProperty_1__T = typing.TypeVar('_getProperty_1__T') # + _getProperty_1__T = typing.TypeVar("_getProperty_1__T") # @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getProperty( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], class_: typing.Type[_getProperty_1__T]) -> _getProperty_1__T: ... - def getSeverity(self) -> 'ProcessEvent.Severity': ... + def getProperty( + self, + string: typing.Union[java.lang.String, str], + class_: typing.Type[_getProperty_1__T], + ) -> _getProperty_1__T: ... + def getSeverity(self) -> "ProcessEvent.Severity": ... def getSource(self) -> java.lang.String: ... def getTimestamp(self) -> java.time.Instant: ... - def getType(self) -> 'ProcessEvent.EventType': ... + def getType(self) -> "ProcessEvent.EventType": ... @staticmethod - def info(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... + def info( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessEvent": ... @staticmethod - def modelDeviation(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ProcessEvent': ... - def setProperty(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> 'ProcessEvent': ... + def modelDeviation( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ProcessEvent": ... + def setProperty( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> "ProcessEvent": ... @staticmethod - def thresholdCrossed(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool) -> 'ProcessEvent': ... + def thresholdCrossed( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ) -> "ProcessEvent": ... def toString(self) -> java.lang.String: ... @staticmethod - def warning(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessEvent': ... - class EventType(java.lang.Enum['ProcessEvent.EventType']): - THRESHOLD_CROSSED: typing.ClassVar['ProcessEvent.EventType'] = ... - STATE_CHANGE: typing.ClassVar['ProcessEvent.EventType'] = ... - ALARM: typing.ClassVar['ProcessEvent.EventType'] = ... - CALIBRATION: typing.ClassVar['ProcessEvent.EventType'] = ... - SIMULATION_COMPLETE: typing.ClassVar['ProcessEvent.EventType'] = ... - ERROR: typing.ClassVar['ProcessEvent.EventType'] = ... - WARNING: typing.ClassVar['ProcessEvent.EventType'] = ... - INFO: typing.ClassVar['ProcessEvent.EventType'] = ... - MEASUREMENT_UPDATE: typing.ClassVar['ProcessEvent.EventType'] = ... - MODEL_DEVIATION: typing.ClassVar['ProcessEvent.EventType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def warning( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessEvent": ... + + class EventType(java.lang.Enum["ProcessEvent.EventType"]): + THRESHOLD_CROSSED: typing.ClassVar["ProcessEvent.EventType"] = ... + STATE_CHANGE: typing.ClassVar["ProcessEvent.EventType"] = ... + ALARM: typing.ClassVar["ProcessEvent.EventType"] = ... + CALIBRATION: typing.ClassVar["ProcessEvent.EventType"] = ... + SIMULATION_COMPLETE: typing.ClassVar["ProcessEvent.EventType"] = ... + ERROR: typing.ClassVar["ProcessEvent.EventType"] = ... + WARNING: typing.ClassVar["ProcessEvent.EventType"] = ... + INFO: typing.ClassVar["ProcessEvent.EventType"] = ... + MEASUREMENT_UPDATE: typing.ClassVar["ProcessEvent.EventType"] = ... + MODEL_DEVIATION: typing.ClassVar["ProcessEvent.EventType"] = ... + _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: ... + 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]) -> 'ProcessEvent.EventType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessEvent.EventType": ... @staticmethod - def values() -> typing.MutableSequence['ProcessEvent.EventType']: ... - class Severity(java.lang.Enum['ProcessEvent.Severity']): - DEBUG: typing.ClassVar['ProcessEvent.Severity'] = ... - INFO: typing.ClassVar['ProcessEvent.Severity'] = ... - WARNING: typing.ClassVar['ProcessEvent.Severity'] = ... - ERROR: typing.ClassVar['ProcessEvent.Severity'] = ... - CRITICAL: typing.ClassVar['ProcessEvent.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["ProcessEvent.EventType"]: ... + + class Severity(java.lang.Enum["ProcessEvent.Severity"]): + DEBUG: typing.ClassVar["ProcessEvent.Severity"] = ... + INFO: typing.ClassVar["ProcessEvent.Severity"] = ... + WARNING: typing.ClassVar["ProcessEvent.Severity"] = ... + ERROR: typing.ClassVar["ProcessEvent.Severity"] = ... + CRITICAL: typing.ClassVar["ProcessEvent.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: ... + 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]) -> 'ProcessEvent.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessEvent.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ProcessEvent.Severity']: ... + def values() -> typing.MutableSequence["ProcessEvent.Severity"]: ... class ProcessEventBus(java.io.Serializable): def __init__(self): ... def clearHistory(self) -> None: ... - def getEventsBySeverity(self, severity: ProcessEvent.Severity, int: int) -> java.util.List[ProcessEvent]: ... - def getEventsByType(self, eventType: ProcessEvent.EventType, int: int) -> java.util.List[ProcessEvent]: ... + def getEventsBySeverity( + self, severity: ProcessEvent.Severity, int: int + ) -> java.util.List[ProcessEvent]: ... + def getEventsByType( + self, eventType: ProcessEvent.EventType, int: int + ) -> java.util.List[ProcessEvent]: ... def getHistorySize(self) -> int: ... @staticmethod - def getInstance() -> 'ProcessEventBus': ... + def getInstance() -> "ProcessEventBus": ... def getRecentEvents(self, int: int) -> java.util.List[ProcessEvent]: ... def publish(self, processEvent: ProcessEvent) -> None: ... - def publishAlarm(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def publishInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def publishWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def publishAlarm( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def publishInfo( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def publishWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod def resetInstance() -> None: ... def setAsyncDelivery(self, boolean: bool) -> None: ... def setMaxHistorySize(self, int: int) -> None: ... def shutdown(self) -> None: ... @typing.overload - def subscribe(self, eventType: ProcessEvent.EventType, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + def subscribe( + self, + eventType: ProcessEvent.EventType, + processEventListener: typing.Union["ProcessEventListener", typing.Callable], + ) -> None: ... @typing.overload - def subscribe(self, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + def subscribe( + self, + processEventListener: typing.Union["ProcessEventListener", typing.Callable], + ) -> None: ... @typing.overload - def unsubscribe(self, eventType: ProcessEvent.EventType, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + def unsubscribe( + self, + eventType: ProcessEvent.EventType, + processEventListener: typing.Union["ProcessEventListener", typing.Callable], + ) -> None: ... @typing.overload - def unsubscribe(self, processEventListener: typing.Union['ProcessEventListener', typing.Callable]) -> None: ... + def unsubscribe( + self, + processEventListener: typing.Union["ProcessEventListener", typing.Callable], + ) -> None: ... class ProcessEventListener: def onEvent(self, processEvent: ProcessEvent) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.event")``. diff --git a/src/jneqsim-stubs/process/util/exergy/__init__.pyi b/src/jneqsim-stubs/process/util/exergy/__init__.pyi index ed716f7d..87e9096e 100644 --- a/src/jneqsim-stubs/process/util/exergy/__init__.pyi +++ b/src/jneqsim-stubs/process/util/exergy/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,35 +10,56 @@ import java.lang import java.util import typing - - class ExergyAnalysisReport(java.io.Serializable): def __init__(self, double: float): ... - def addEntry(self, entry: 'ExergyAnalysisReport.Entry') -> None: ... - def getDestructionByArea(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def getDestructionByType(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def getEntries(self) -> java.util.List['ExergyAnalysisReport.Entry']: ... + def addEntry(self, entry: "ExergyAnalysisReport.Entry") -> None: ... + def getDestructionByArea( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... + def getDestructionByType( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... + def getEntries(self) -> java.util.List["ExergyAnalysisReport.Entry"]: ... def getSurroundingTemperatureK(self) -> float: ... - def getTopDestructionHotspots(self, int: int) -> java.util.List['ExergyAnalysisReport.Entry']: ... - def getTotalExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTopDestructionHotspots( + self, int: int + ) -> java.util.List["ExergyAnalysisReport.Entry"]: ... + def getTotalExergyChange( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getTotalExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def size(self) -> int: ... def toJson(self) -> java.lang.String: ... @typing.overload def toString(self) -> java.lang.String: ... @typing.overload - def toString(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def toString( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + class Entry(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], double: float, double2: float): ... + 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, + ): ... def getArea(self) -> java.lang.String: ... - def getExergyChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyChange( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getExergyChangeJ(self) -> float: ... - def getExergyDestruction(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergyDestruction( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getExergyDestructionJ(self) -> float: ... def getName(self) -> java.lang.String: ... def getType(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.exergy")``. diff --git a/src/jneqsim-stubs/process/util/export/__init__.pyi b/src/jneqsim-stubs/process/util/export/__init__.pyi index 45830704..158bc0a0 100644 --- a/src/jneqsim-stubs/process/util/export/__init__.pyi +++ b/src/jneqsim-stubs/process/util/export/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,21 +13,31 @@ import java.util import jneqsim.process.processmodel import typing - - class ProcessDelta(java.io.Serializable): - def __init__(self, processSnapshot: 'ProcessSnapshot', processSnapshot2: 'ProcessSnapshot'): ... - def apply(self, processSnapshot: 'ProcessSnapshot', string: typing.Union[java.lang.String, str]) -> 'ProcessSnapshot': ... + def __init__( + self, processSnapshot: "ProcessSnapshot", processSnapshot2: "ProcessSnapshot" + ): ... + def apply( + self, + processSnapshot: "ProcessSnapshot", + string: typing.Union[java.lang.String, str], + ) -> "ProcessSnapshot": ... def getAllChanges(self) -> java.util.Map[java.lang.String, float]: ... def getChange(self, string: typing.Union[java.lang.String, str]) -> float: ... def getChangeCount(self) -> int: ... def getChangedMeasurements(self) -> java.util.Set[java.lang.String]: ... def getFromSnapshotId(self) -> java.lang.String: ... def getNewValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getPreviousValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getRelativeChange(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getPreviousValue( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getRelativeChange( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getToSnapshotId(self) -> java.lang.String: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def hasChanges(self) -> bool: ... def toString(self) -> java.lang.String: ... @@ -35,42 +45,75 @@ class ProcessSnapshot(java.io.Serializable): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], instant: typing.Union[java.time.Instant, datetime.datetime]): ... - def diff(self, processSnapshot: 'ProcessSnapshot') -> ProcessDelta: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + instant: typing.Union[java.time.Instant, datetime.datetime], + ): ... + def diff(self, processSnapshot: "ProcessSnapshot") -> ProcessDelta: ... def getAllMeasurements(self) -> java.util.Map[java.lang.String, float]: ... def getDescription(self) -> java.lang.String: ... def getMeasurement(self, string: typing.Union[java.lang.String, str]) -> float: ... def getMeasurementNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getMeasurementUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getMeasurementUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getSnapshotId(self) -> java.lang.String: ... def getState(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... def getTimestamp(self) -> java.time.Instant: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMeasurement(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - def setState(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... + def setMeasurement( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setState( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... def toString(self) -> java.lang.String: ... class TimeSeriesExporter: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def clearData(self) -> None: ... def collectSnapshot(self) -> None: ... - def createSnapshot(self, string: typing.Union[java.lang.String, str]) -> ProcessSnapshot: ... - def exportForAIPlatform(self, list: java.util.List[typing.Union[java.lang.String, str]], instant: typing.Union[java.time.Instant, datetime.datetime]) -> java.lang.String: ... - def exportMatrix(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def createSnapshot( + self, string: typing.Union[java.lang.String, str] + ) -> ProcessSnapshot: ... + def exportForAIPlatform( + self, + list: java.util.List[typing.Union[java.lang.String, str]], + instant: typing.Union[java.time.Instant, datetime.datetime], + ) -> java.lang.String: ... + def exportMatrix( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def exportToCsv(self) -> java.lang.String: ... def exportToJson(self) -> java.lang.String: ... - def getCollectedData(self) -> java.util.List['TimeSeriesExporter.TimeSeriesPoint']: ... + def getCollectedData( + self, + ) -> java.util.List["TimeSeriesExporter.TimeSeriesPoint"]: ... def getDataPointCount(self) -> int: ... - def importFromHistorian(self, string: typing.Union[java.lang.String, str]) -> None: ... + def importFromHistorian( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + class TimeSeriesPoint: - def __init__(self, instant: typing.Union[java.time.Instant, datetime.datetime]): ... - def addValue(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def __init__( + self, instant: typing.Union[java.time.Instant, datetime.datetime] + ): ... + def addValue( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... def getQualities(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getTimestampMillis(self) -> int: ... def getUnits(self) -> java.util.Map[java.lang.String, java.lang.String]: ... def getValues(self) -> java.util.Map[java.lang.String, float]: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.export")``. diff --git a/src/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi b/src/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi index 0d66f63b..a47108d5 100644 --- a/src/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi +++ b/src/jneqsim-stubs/process/util/fielddevelopment/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,13 +18,19 @@ import jneqsim.process.processmodel import jneqsim.process.util.optimizer import typing - - class BiorefineryCostEstimator(java.io.Serializable): def __init__(self): ... - def addEquipment(self, biorefineryEquipment: 'BiorefineryCostEstimator.BiorefineryEquipment', double: float) -> None: ... + def addEquipment( + self, + biorefineryEquipment: "BiorefineryCostEstimator.BiorefineryEquipment", + double: float, + ) -> None: ... def calculate(self) -> None: ... - def calculateEquipmentCost(self, biorefineryEquipment: 'BiorefineryCostEstimator.BiorefineryEquipment', double: float) -> float: ... + def calculateEquipmentCost( + self, + biorefineryEquipment: "BiorefineryCostEstimator.BiorefineryEquipment", + double: float, + ) -> float: ... def getAnnualFeedstockCostUSD(self) -> float: ... def getAnnualOpexUSD(self) -> float: ... def getAnnualRevenueUSD(self) -> float: ... @@ -44,42 +50,80 @@ class BiorefineryCostEstimator(java.io.Serializable): def setLabourCostFraction(self, double: float) -> None: ... def setLocationFactor(self, double: float) -> None: ... def setMaintenanceCostFraction(self, double: float) -> None: ... - def setProduct(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setProduct( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setProductPrice(self, double: float) -> None: ... def setUtilityCost(self, double: float, double2: float) -> None: ... - def toDCFCalculator(self, int: int, double: float) -> 'DCFCalculator': ... + def toDCFCalculator(self, int: int, double: float) -> "DCFCalculator": ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class BiorefineryEquipment(java.lang.Enum['BiorefineryCostEstimator.BiorefineryEquipment']): - ANAEROBIC_DIGESTER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - BIOGAS_UPGRADER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - BIOMASS_GASIFIER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - PYROLYSIS_REACTOR: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - BIOMASS_DRYER: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - GAS_CLEANUP: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - CHP_ENGINE: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... - FEEDSTOCK_HANDLING: typing.ClassVar['BiorefineryCostEstimator.BiorefineryEquipment'] = ... + + class BiorefineryEquipment( + java.lang.Enum["BiorefineryCostEstimator.BiorefineryEquipment"] + ): + ANAEROBIC_DIGESTER: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + BIOGAS_UPGRADER: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + BIOMASS_GASIFIER: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + PYROLYSIS_REACTOR: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + BIOMASS_DRYER: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + GAS_CLEANUP: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... + CHP_ENGINE: typing.ClassVar["BiorefineryCostEstimator.BiorefineryEquipment"] = ( + ... + ) + FEEDSTOCK_HANDLING: typing.ClassVar[ + "BiorefineryCostEstimator.BiorefineryEquipment" + ] = ... def getBaseCapacity(self) -> float: ... def getBaseCostUSD(self) -> float: ... def getCapacityUnit(self) -> java.lang.String: ... def getDisplayName(self) -> java.lang.String: ... def getInstallationFactor(self) -> float: ... def getScalingExponent(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'BiorefineryCostEstimator.BiorefineryEquipment': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BiorefineryCostEstimator.BiorefineryEquipment": ... @staticmethod - def values() -> typing.MutableSequence['BiorefineryCostEstimator.BiorefineryEquipment']: ... + def values() -> ( + typing.MutableSequence["BiorefineryCostEstimator.BiorefineryEquipment"] + ): ... class DCFCalculator(java.io.Serializable): def __init__(self): ... def addCapex(self, int: int, double: float) -> None: ... - def addProduct(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... - def addVariableCost(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> None: ... + def addProduct( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> None: ... + def addVariableCost( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> None: ... def calculate(self) -> None: ... def getAnnualCashFlow(self) -> typing.MutableSequence[float]: ... def getCumulativeCashFlow(self) -> typing.MutableSequence[float]: ... @@ -89,15 +133,23 @@ class DCFCalculator(java.io.Serializable): def getNPV(self) -> float: ... def getPaybackYear(self) -> int: ... def getProductNames(self) -> java.util.List[java.lang.String]: ... - def getProductRevenue(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + def getProductRevenue( + self, string: typing.Union[java.lang.String, str], int: int + ) -> float: ... def getProfitabilityIndex(self) -> float: ... def setAnnualOpex(self, double: float) -> None: ... - def setAnnualProduction(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setCapexByYear(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setAnnualProduction( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setCapexByYear( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDepreciationYears(self, double: float) -> None: ... def setDiscountRate(self, double: float) -> None: ... def setInflationRate(self, double: float) -> None: ... - def setOpexByYear(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOpexByYear( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setProductPrice(self, double: float) -> None: ... def setProjectLifeYears(self, int: int) -> None: ... def setRoyaltyRate(self, double: float) -> None: ... @@ -108,35 +160,108 @@ class FacilityCapacity(java.io.Serializable): DEFAULT_NEAR_BOTTLENECK_THRESHOLD: typing.ClassVar[float] = ... DEFAULT_CAPACITY_INCREASE_FACTOR: typing.ClassVar[float] = ... def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def analyzeOverFieldLife(self, productionForecast: 'ProductionProfile.ProductionForecast', streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.util.List['FacilityCapacity.CapacityPeriod']: ... - def assess(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'FacilityCapacity.CapacityAssessment': ... - def calculateDebottleneckNPV(self, debottleneckOption: 'FacilityCapacity.DebottleneckOption', double: float, double2: float, double3: float, int: int) -> float: ... - def compareDebottleneckScenarios(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['FacilityCapacity.DebottleneckOption'], double: float, double2: float, string: typing.Union[java.lang.String, str]) -> jneqsim.process.util.optimizer.ProductionOptimizer.ScenarioComparisonResult: ... + def analyzeOverFieldLife( + self, + productionForecast: "ProductionProfile.ProductionForecast", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> java.util.List["FacilityCapacity.CapacityPeriod"]: ... + def assess( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ) -> "FacilityCapacity.CapacityAssessment": ... + def calculateDebottleneckNPV( + self, + debottleneckOption: "FacilityCapacity.DebottleneckOption", + double: float, + double2: float, + double3: float, + int: int, + ) -> float: ... + def compareDebottleneckScenarios( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List["FacilityCapacity.DebottleneckOption"], + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ) -> ( + jneqsim.process.util.optimizer.ProductionOptimizer.ScenarioComparisonResult + ): ... def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getNearBottleneckThreshold(self) -> float: ... def setCapacityIncreaseFactor(self, double: float) -> None: ... - def setCostFactorForName(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def setCostFactorForType(self, class_: typing.Type[typing.Any], double: float) -> None: ... + def setCostFactorForName( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def setCostFactorForType( + self, class_: typing.Type[typing.Any], double: float + ) -> None: ... def setNearBottleneckThreshold(self, double: float) -> None: ... + class CapacityAssessment(java.io.Serializable): - def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float, list: java.util.List[jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord], list2: java.util.List[typing.Union[java.lang.String, str]], list3: java.util.List['FacilityCapacity.DebottleneckOption'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double2: float, + list: java.util.List[ + jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord + ], + list2: java.util.List[typing.Union[java.lang.String, str]], + list3: java.util.List["FacilityCapacity.DebottleneckOption"], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + boolean: bool, + ): ... def getBottleneckUtilization(self) -> float: ... def getCurrentBottleneck(self) -> java.lang.String: ... def getCurrentMaxRate(self) -> float: ... - def getDebottleneckOptions(self) -> java.util.List['FacilityCapacity.DebottleneckOption']: ... + def getDebottleneckOptions( + self, + ) -> java.util.List["FacilityCapacity.DebottleneckOption"]: ... def getEquipmentHeadroom(self) -> java.util.Map[java.lang.String, float]: ... def getNearBottlenecks(self) -> java.util.List[java.lang.String]: ... def getRateUnit(self) -> java.lang.String: ... - def getTopOptions(self, int: int) -> java.util.List['FacilityCapacity.DebottleneckOption']: ... + def getTopOptions( + self, int: int + ) -> java.util.List["FacilityCapacity.DebottleneckOption"]: ... def getTotalPotentialGain(self) -> float: ... - def getUtilizationRecords(self) -> java.util.List[jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord]: ... + def getUtilizationRecords( + self, + ) -> java.util.List[ + jneqsim.process.util.optimizer.ProductionOptimizer.UtilizationRecord + ]: ... def isFeasible(self) -> bool: ... def toMarkdown(self) -> java.lang.String: ... + class CapacityPeriod(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], double2: float, string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str], double3: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List[typing.Union[java.lang.String, str]], boolean: bool): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + double2: float, + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + double3: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + list: java.util.List[typing.Union[java.lang.String, str]], + boolean: bool, + ): ... def getBottleneckEquipment(self) -> java.lang.String: ... def getBottleneckUtilization(self) -> float: ... - def getEquipmentUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentUtilizations( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getMaxFacilityRate(self) -> float: ... def getNearBottlenecks(self) -> java.util.List[java.lang.String]: ... def getPeriodName(self) -> java.lang.String: ... @@ -144,9 +269,29 @@ class FacilityCapacity(java.io.Serializable): def getTime(self) -> float: ... def getTimeUnit(self) -> java.lang.String: ... def isFacilityConstrained(self) -> bool: ... - class DebottleneckOption(java.io.Serializable, java.lang.Comparable['FacilityCapacity.DebottleneckOption']): - def __init__(self, string: typing.Union[java.lang.String, str], class_: typing.Type[typing.Any], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, string3: typing.Union[java.lang.String, str], double5: float, string4: typing.Union[java.lang.String, str], double6: float, double7: float): ... - def compareTo(self, debottleneckOption: 'FacilityCapacity.DebottleneckOption') -> int: ... + + class DebottleneckOption( + java.io.Serializable, + java.lang.Comparable["FacilityCapacity.DebottleneckOption"], + ): + def __init__( + self, + string: typing.Union[java.lang.String, str], + class_: typing.Type[typing.Any], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + string3: typing.Union[java.lang.String, str], + double5: float, + string4: typing.Union[java.lang.String, str], + double6: float, + double7: float, + ): ... + def compareTo( + self, debottleneckOption: "FacilityCapacity.DebottleneckOption" + ) -> int: ... def getCapacityIncreasePercent(self) -> float: ... def getCapex(self) -> float: ... def getCurrency(self) -> java.lang.String: ... @@ -164,34 +309,65 @@ class FacilityCapacity(java.io.Serializable): class FieldDevelopmentCostEstimator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def compareConceptCosts(self, list: java.util.List[jneqsim.process.processmodel.ProcessSystem]) -> java.util.List['FieldDevelopmentCostEstimator.FieldDevelopmentCostReport']: ... - def estimateDevelopmentCosts(self) -> 'FieldDevelopmentCostEstimator.FieldDevelopmentCostReport': ... - def getCostCalculator(self) -> jneqsim.process.costestimation.CostEstimationCalculator: ... - def getFidelityLevel(self) -> 'FieldDevelopmentCostEstimator.FidelityLevel': ... - def scaleCapexByCapacity(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]) -> float: ... + def compareConceptCosts( + self, list: java.util.List[jneqsim.process.processmodel.ProcessSystem] + ) -> java.util.List["FieldDevelopmentCostEstimator.FieldDevelopmentCostReport"]: ... + def estimateDevelopmentCosts( + self, + ) -> "FieldDevelopmentCostEstimator.FieldDevelopmentCostReport": ... + def getCostCalculator( + self, + ) -> jneqsim.process.costestimation.CostEstimationCalculator: ... + def getFidelityLevel(self) -> "FieldDevelopmentCostEstimator.FidelityLevel": ... + def scaleCapexByCapacity( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ) -> float: ... def setComplexityFactor(self, double: float) -> None: ... - def setConceptType(self, conceptType: 'FieldDevelopmentCostEstimator.ConceptType') -> None: ... - def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentCostEstimator.FidelityLevel') -> None: ... + def setConceptType( + self, conceptType: "FieldDevelopmentCostEstimator.ConceptType" + ) -> None: ... + def setFidelityLevel( + self, fidelityLevel: "FieldDevelopmentCostEstimator.FidelityLevel" + ) -> None: ... def setLocationFactor(self, double: float) -> None: ... def setSubseaParameters(self, double: float, double2: float) -> None: ... def setWellParameters(self, int: int, int2: int, double: float) -> None: ... - class ConceptType(java.lang.Enum['FieldDevelopmentCostEstimator.ConceptType']): - FIXED_PLATFORM: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... - FPSO: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... - SEMI_SUBMERSIBLE: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... - TLP: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... - SUBSEA_TIEBACK: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... - ONSHORE: typing.ClassVar['FieldDevelopmentCostEstimator.ConceptType'] = ... + + class ConceptType(java.lang.Enum["FieldDevelopmentCostEstimator.ConceptType"]): + FIXED_PLATFORM: typing.ClassVar["FieldDevelopmentCostEstimator.ConceptType"] = ( + ... + ) + FPSO: typing.ClassVar["FieldDevelopmentCostEstimator.ConceptType"] = ... + SEMI_SUBMERSIBLE: typing.ClassVar[ + "FieldDevelopmentCostEstimator.ConceptType" + ] = ... + TLP: typing.ClassVar["FieldDevelopmentCostEstimator.ConceptType"] = ... + SUBSEA_TIEBACK: typing.ClassVar["FieldDevelopmentCostEstimator.ConceptType"] = ( + ... + ) + ONSHORE: typing.ClassVar["FieldDevelopmentCostEstimator.ConceptType"] = ... def getCostFactor(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FieldDevelopmentCostEstimator.ConceptType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentCostEstimator.ConceptType": ... @staticmethod - def values() -> typing.MutableSequence['FieldDevelopmentCostEstimator.ConceptType']: ... + def values() -> ( + typing.MutableSequence["FieldDevelopmentCostEstimator.ConceptType"] + ): ... + class EquipmentCostItem(java.io.Serializable): def __init__(self): ... def getInstalledCost(self) -> float: ... @@ -207,98 +383,194 @@ class FieldDevelopmentCostEstimator(java.io.Serializable): def setType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWeight(self, double: float) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class FidelityLevel(java.lang.Enum['FieldDevelopmentCostEstimator.FidelityLevel']): - SCREENING: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... - CONCEPTUAL: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... - PRE_FEED: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... - FEED: typing.ClassVar['FieldDevelopmentCostEstimator.FidelityLevel'] = ... + + class FidelityLevel(java.lang.Enum["FieldDevelopmentCostEstimator.FidelityLevel"]): + SCREENING: typing.ClassVar["FieldDevelopmentCostEstimator.FidelityLevel"] = ... + CONCEPTUAL: typing.ClassVar["FieldDevelopmentCostEstimator.FidelityLevel"] = ... + PRE_FEED: typing.ClassVar["FieldDevelopmentCostEstimator.FidelityLevel"] = ... + FEED: typing.ClassVar["FieldDevelopmentCostEstimator.FidelityLevel"] = ... def getAccuracyBand(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FieldDevelopmentCostEstimator.FidelityLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FieldDevelopmentCostEstimator.FidelityLevel": ... @staticmethod - def values() -> typing.MutableSequence['FieldDevelopmentCostEstimator.FidelityLevel']: ... + def values() -> ( + typing.MutableSequence["FieldDevelopmentCostEstimator.FidelityLevel"] + ): ... + class FieldDevelopmentCostReport(java.io.Serializable): def __init__(self): ... - def addEquipmentItem(self, equipmentCostItem: 'FieldDevelopmentCostEstimator.EquipmentCostItem') -> None: ... + def addEquipmentItem( + self, equipmentCostItem: "FieldDevelopmentCostEstimator.EquipmentCostItem" + ) -> None: ... def calculateTotals(self) -> None: ... def getAccuracyBand(self) -> float: ... def getConceptName(self) -> java.lang.String: ... def getCostByCategory(self) -> java.util.Map[java.lang.String, float]: ... def getDrilexCapex(self) -> float: ... - def getEquipmentCostByCategory(self) -> java.util.Map[java.lang.String, float]: ... - def getEquipmentItems(self) -> java.util.List['FieldDevelopmentCostEstimator.EquipmentCostItem']: ... + def getEquipmentCostByCategory( + self, + ) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentItems( + self, + ) -> java.util.List["FieldDevelopmentCostEstimator.EquipmentCostItem"]: ... def getFacilitiesCapex(self) -> float: ... def getFootprintArea(self) -> float: ... def getHighEstimate(self) -> float: ... def getLowEstimate(self) -> float: ... def getSubseaCapex(self) -> float: ... def getSurfCapex(self) -> float: ... - def getTopsidesDetailedEstimateResult(self) -> jneqsim.process.costestimation.CostEstimateResult: ... + def getTopsidesDetailedEstimateResult( + self, + ) -> jneqsim.process.costestimation.CostEstimateResult: ... def getTotalCapex(self) -> float: ... def getTotalManHours(self) -> float: ... def getTotalWeight(self) -> float: ... def setAccuracyBand(self, double: float) -> None: ... - def setConceptName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setConceptType(self, conceptType: 'FieldDevelopmentCostEstimator.ConceptType') -> None: ... + def setConceptName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setConceptType( + self, conceptType: "FieldDevelopmentCostEstimator.ConceptType" + ) -> None: ... def setDrilexCapex(self, double: float) -> None: ... def setFacilitiesCapex(self, double: float) -> None: ... - def setFidelityLevel(self, fidelityLevel: 'FieldDevelopmentCostEstimator.FidelityLevel') -> None: ... + def setFidelityLevel( + self, fidelityLevel: "FieldDevelopmentCostEstimator.FidelityLevel" + ) -> None: ... def setSubseaCapex(self, double: float) -> None: ... def setSurfCapex(self, double: float) -> None: ... - def setTopsidesDetailedEstimateResult(self, costEstimateResult: jneqsim.process.costestimation.CostEstimateResult) -> None: ... + def setTopsidesDetailedEstimateResult( + self, costEstimateResult: jneqsim.process.costestimation.CostEstimateResult + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMarkdownTable(self) -> java.lang.String: ... class FieldProductionScheduler(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir) -> 'FieldProductionScheduler': ... + def addReservoir( + self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir + ) -> "FieldProductionScheduler": ... @typing.overload - def addReservoir(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def generateSchedule(self, localDate: java.time.LocalDate, double: float, double2: float) -> 'FieldProductionScheduler.ProductionSchedule': ... + def addReservoir( + self, + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + string: typing.Union[java.lang.String, str], + ) -> "FieldProductionScheduler": ... + def generateSchedule( + self, localDate: java.time.LocalDate, double: float, double2: float + ) -> "FieldProductionScheduler.ProductionSchedule": ... def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getName(self) -> java.lang.String: ... - def getReservoirs(self) -> java.util.List['FieldProductionScheduler.ReservoirRecord']: ... - def getWellScheduler(self) -> 'WellScheduler': ... - def setDiscountRate(self, double: float) -> 'FieldProductionScheduler': ... - def setFacility(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'FieldProductionScheduler': ... - def setGasPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setLowPressureLimit(self, double: float) -> 'FieldProductionScheduler': ... - def setMinimumRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setOilPrice(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setOperatingCost(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setPlateauDuration(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setPlateauRate(self, double: float, string: typing.Union[java.lang.String, str]) -> 'FieldProductionScheduler': ... - def setRespectFacilityConstraints(self, boolean: bool) -> 'FieldProductionScheduler': ... - def setTrackReservoirDepletion(self, boolean: bool) -> 'FieldProductionScheduler': ... - def setWellScheduler(self, wellScheduler: 'WellScheduler') -> 'FieldProductionScheduler': ... + def getReservoirs( + self, + ) -> java.util.List["FieldProductionScheduler.ReservoirRecord"]: ... + def getWellScheduler(self) -> "WellScheduler": ... + def setDiscountRate(self, double: float) -> "FieldProductionScheduler": ... + def setFacility( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "FieldProductionScheduler": ... + def setGasPrice( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setLowPressureLimit(self, double: float) -> "FieldProductionScheduler": ... + def setMinimumRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setOilPrice( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setOperatingCost( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setPlateauDuration( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setPlateauRate( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "FieldProductionScheduler": ... + def setRespectFacilityConstraints( + self, boolean: bool + ) -> "FieldProductionScheduler": ... + def setTrackReservoirDepletion( + self, boolean: bool + ) -> "FieldProductionScheduler": ... + def setWellScheduler( + self, wellScheduler: "WellScheduler" + ) -> "FieldProductionScheduler": ... + class ProductionSchedule(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], localDate: java.time.LocalDate, string2: typing.Union[java.lang.String, str]): ... - def getCumulativeGas(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getCumulativeOil(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getFieldLife(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + localDate: java.time.LocalDate, + string2: typing.Union[java.lang.String, str], + ): ... + def getCumulativeGas( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getCumulativeOil( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getFieldLife( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFieldName(self) -> java.lang.String: ... def getGrossRevenue(self) -> float: ... def getNPV(self) -> float: ... def getRateUnit(self) -> java.lang.String: ... def getStartDate(self) -> java.time.LocalDate: ... - def getSteps(self) -> java.util.List['FieldProductionScheduler.ScheduleStep']: ... + def getSteps( + self, + ) -> java.util.List["FieldProductionScheduler.ScheduleStep"]: ... def toCsv(self) -> java.lang.String: ... def toMarkdownTable(self) -> java.lang.String: ... + class ReservoirRecord(java.io.Serializable): - def __init__(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + string: typing.Union[java.lang.String, str], + ): ... def getCurrentPressure(self) -> float: ... def getFluidType(self) -> java.lang.String: ... def getInitialPressure(self) -> float: ... - def getReservoir(self) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + def getReservoir( + self, + ) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... + class ScheduleStep(java.io.Serializable): - def __init__(self, localDate: java.time.LocalDate, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, string: typing.Union[java.lang.String, str], double10: float, double11: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def __init__( + self, + localDate: java.time.LocalDate, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + string: typing.Union[java.lang.String, str], + double10: float, + double11: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ): ... def getCumulativeGas(self) -> float: ... def getCumulativeOil(self) -> float: ... def getCumulativeWater(self) -> float: ... @@ -320,55 +592,128 @@ class ProductionProfile(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @staticmethod - def calculateCumulativeProduction(declineParameters: 'ProductionProfile.DeclineParameters', double: float) -> float: ... + def calculateCumulativeProduction( + declineParameters: "ProductionProfile.DeclineParameters", double: float + ) -> float: ... @staticmethod - def calculateRate(declineParameters: 'ProductionProfile.DeclineParameters', double: float) -> float: ... - def fitDecline(self, list: java.util.List[float], list2: java.util.List[float], declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]) -> 'ProductionProfile.DeclineParameters': ... - def forecast(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, declineParameters: 'ProductionProfile.DeclineParameters', double: float, double2: float, double3: float, double4: float, double5: float) -> 'ProductionProfile.ProductionForecast': ... + def calculateRate( + declineParameters: "ProductionProfile.DeclineParameters", double: float + ) -> float: ... + def fitDecline( + self, + list: java.util.List[float], + list2: java.util.List[float], + declineType: "ProductionProfile.DeclineType", + string: typing.Union[java.lang.String, str], + ) -> "ProductionProfile.DeclineParameters": ... + def forecast( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + declineParameters: "ProductionProfile.DeclineParameters", + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> "ProductionProfile.ProductionForecast": ... def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... + class DeclineParameters(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, double3: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + declineType: "ProductionProfile.DeclineType", + string: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + declineType: "ProductionProfile.DeclineType", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, double: float, double2: float, declineType: 'ProductionProfile.DeclineType', string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + declineType: "ProductionProfile.DeclineType", + string: typing.Union[java.lang.String, str], + ): ... def getDeclineRate(self) -> float: ... def getHyperbolicExponent(self) -> float: ... def getInitialRate(self) -> float: ... def getRateUnit(self) -> java.lang.String: ... def getTimeUnit(self) -> java.lang.String: ... - def getType(self) -> 'ProductionProfile.DeclineType': ... + def getType(self) -> "ProductionProfile.DeclineType": ... def toString(self) -> java.lang.String: ... - def withInitialRate(self, double: float) -> 'ProductionProfile.DeclineParameters': ... - class DeclineType(java.lang.Enum['ProductionProfile.DeclineType']): - EXPONENTIAL: typing.ClassVar['ProductionProfile.DeclineType'] = ... - HYPERBOLIC: typing.ClassVar['ProductionProfile.DeclineType'] = ... - HARMONIC: typing.ClassVar['ProductionProfile.DeclineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def withInitialRate( + self, double: float + ) -> "ProductionProfile.DeclineParameters": ... + + class DeclineType(java.lang.Enum["ProductionProfile.DeclineType"]): + EXPONENTIAL: typing.ClassVar["ProductionProfile.DeclineType"] = ... + HYPERBOLIC: typing.ClassVar["ProductionProfile.DeclineType"] = ... + HARMONIC: typing.ClassVar["ProductionProfile.DeclineType"] = ... + _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: ... + 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]) -> 'ProductionProfile.DeclineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionProfile.DeclineType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionProfile.DeclineType']: ... + def values() -> typing.MutableSequence["ProductionProfile.DeclineType"]: ... + class ProductionForecast(java.io.Serializable): - def __init__(self, list: java.util.List['ProductionProfile.ProductionPoint'], double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, declineParameters: 'ProductionProfile.DeclineParameters'): ... + def __init__( + self, + list: java.util.List["ProductionProfile.ProductionPoint"], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + declineParameters: "ProductionProfile.DeclineParameters", + ): ... def getActualPlateauDuration(self) -> float: ... def getActualPlateauRate(self) -> float: ... - def getDeclineParams(self) -> 'ProductionProfile.DeclineParameters': ... + def getDeclineParams(self) -> "ProductionProfile.DeclineParameters": ... def getEconomicLifeYears(self) -> float: ... def getEconomicLimit(self) -> float: ... def getPlateauDuration(self) -> float: ... def getPlateauRate(self) -> float: ... - def getProfile(self) -> java.util.List['ProductionProfile.ProductionPoint']: ... + def getProfile(self) -> java.util.List["ProductionProfile.ProductionPoint"]: ... def getTotalRecovery(self) -> float: ... def toCSV(self) -> java.lang.String: ... def toMarkdownTable(self) -> java.lang.String: ... + class ProductionPoint(java.io.Serializable): - def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double4: float, boolean: bool, boolean2: bool): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + double3: float, + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double4: float, + boolean: bool, + boolean2: bool, + ): ... def getBottleneckEquipment(self) -> java.lang.String: ... def getCumulativeProduction(self) -> float: ... def getFacilityUtilization(self) -> float: ... @@ -384,34 +729,111 @@ class SensitivityAnalysis(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, random: java.util.Random): ... - def addParameter(self, uncertainParameter: 'SensitivityAnalysis.UncertainParameter') -> 'SensitivityAnalysis': ... - def clearParameters(self) -> 'SensitivityAnalysis': ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + random: java.util.Random, + ): ... + def addParameter( + self, uncertainParameter: "SensitivityAnalysis.UncertainParameter" + ) -> "SensitivityAnalysis": ... + def clearParameters(self) -> "SensitivityAnalysis": ... def getBaseProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getParameters(self) -> java.util.List['SensitivityAnalysis.UncertainParameter']: ... - def runMonteCarloOptimization(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]], sensitivityConfig: 'SensitivityAnalysis.SensitivityConfig') -> 'SensitivityAnalysis.MonteCarloResult': ... - def runSpiderAnalysis(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], int: int, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]]) -> java.util.Map[java.lang.String, java.util.List['SensitivityAnalysis.SpiderPoint']]: ... - def runTornadoAnalysis(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], typing.Callable[[jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], float]]) -> java.util.Map[java.lang.String, float]: ... + def getParameters( + self, + ) -> java.util.List["SensitivityAnalysis.UncertainParameter"]: ... + def runMonteCarloOptimization( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], + float, + ], + ], + sensitivityConfig: "SensitivityAnalysis.SensitivityConfig", + ) -> "SensitivityAnalysis.MonteCarloResult": ... + def runSpiderAnalysis( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + int: int, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], + float, + ], + ], + ) -> java.util.Map[ + java.lang.String, java.util.List["SensitivityAnalysis.SpiderPoint"] + ]: ... + def runTornadoAnalysis( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult + ], + typing.Callable[ + [jneqsim.process.util.optimizer.ProductionOptimizer.OptimizationResult], + float, + ], + ], + ) -> java.util.Map[java.lang.String, float]: ... def setRng(self, random: java.util.Random) -> None: ... - class DistributionType(java.lang.Enum['SensitivityAnalysis.DistributionType']): - NORMAL: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... - LOGNORMAL: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... - TRIANGULAR: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... - UNIFORM: typing.ClassVar['SensitivityAnalysis.DistributionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DistributionType(java.lang.Enum["SensitivityAnalysis.DistributionType"]): + NORMAL: typing.ClassVar["SensitivityAnalysis.DistributionType"] = ... + LOGNORMAL: typing.ClassVar["SensitivityAnalysis.DistributionType"] = ... + TRIANGULAR: typing.ClassVar["SensitivityAnalysis.DistributionType"] = ... + UNIFORM: typing.ClassVar["SensitivityAnalysis.DistributionType"] = ... + _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: ... + 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]) -> 'SensitivityAnalysis.DistributionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SensitivityAnalysis.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['SensitivityAnalysis.DistributionType']: ... + def values() -> ( + typing.MutableSequence["SensitivityAnalysis.DistributionType"] + ): ... + class MonteCarloResult(java.io.Serializable): - def __init__(self, list: java.util.List['SensitivityAnalysis.TrialResult'], 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], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + list: java.util.List["SensitivityAnalysis.TrialResult"], + 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], + string2: typing.Union[java.lang.String, str], + ): ... def getConvergedCount(self) -> int: ... def getFeasibleCount(self) -> int: ... - def getHistogramData(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHistogramData( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMax(self) -> float: ... def getMean(self) -> float: ... def getMin(self) -> float: ... @@ -424,41 +846,88 @@ class SensitivityAnalysis(java.io.Serializable): def getPercentile(self, double: float) -> float: ... def getStdDev(self) -> float: ... def getTornadoSensitivities(self) -> java.util.Map[java.lang.String, float]: ... - def getTrials(self) -> java.util.List['SensitivityAnalysis.TrialResult']: ... - def toCSV(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> java.lang.String: ... + def getTrials(self) -> java.util.List["SensitivityAnalysis.TrialResult"]: ... + def toCSV( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> java.lang.String: ... def toSummaryMarkdown(self) -> java.lang.String: ... def toTornadoMarkdown(self) -> java.lang.String: ... + class SensitivityConfig(java.io.Serializable): def __init__(self): ... def getNumberOfTrials(self) -> int: ... def getParallelThreads(self) -> int: ... def getRandomSeed(self) -> int: ... - def includeBaseCase(self, boolean: bool) -> 'SensitivityAnalysis.SensitivityConfig': ... + def includeBaseCase( + self, boolean: bool + ) -> "SensitivityAnalysis.SensitivityConfig": ... def isIncludeBaseCase(self) -> bool: ... def isParallel(self) -> bool: ... def isUseFixedSeed(self) -> bool: ... - def numberOfTrials(self, int: int) -> 'SensitivityAnalysis.SensitivityConfig': ... - def parallel(self, boolean: bool) -> 'SensitivityAnalysis.SensitivityConfig': ... - def parallelThreads(self, int: int) -> 'SensitivityAnalysis.SensitivityConfig': ... - def randomSeed(self, long: int) -> 'SensitivityAnalysis.SensitivityConfig': ... + def numberOfTrials( + self, int: int + ) -> "SensitivityAnalysis.SensitivityConfig": ... + def parallel( + self, boolean: bool + ) -> "SensitivityAnalysis.SensitivityConfig": ... + def parallelThreads( + self, int: int + ) -> "SensitivityAnalysis.SensitivityConfig": ... + def randomSeed(self, long: int) -> "SensitivityAnalysis.SensitivityConfig": ... + class SpiderPoint(java.io.Serializable): def __init__(self, double: float, double2: float, double3: float): ... def getNormalizedParameter(self) -> float: ... def getOutputValue(self) -> float: ... def getParameterValue(self) -> float: ... - class TrialResult(java.io.Serializable, java.lang.Comparable['SensitivityAnalysis.TrialResult']): - def __init__(self, int: int, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, string: typing.Union[java.lang.String, str], boolean: bool, boolean2: bool): ... - def compareTo(self, trialResult: 'SensitivityAnalysis.TrialResult') -> int: ... + + class TrialResult( + java.io.Serializable, java.lang.Comparable["SensitivityAnalysis.TrialResult"] + ): + def __init__( + self, + int: int, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + string: typing.Union[java.lang.String, str], + boolean: bool, + boolean2: bool, + ): ... + def compareTo(self, trialResult: "SensitivityAnalysis.TrialResult") -> int: ... def getBottleneck(self) -> java.lang.String: ... def getOutputValue(self) -> float: ... def getSampledParameters(self) -> java.util.Map[java.lang.String, float]: ... def getTrialNumber(self) -> int: ... def isConverged(self) -> bool: ... def isFeasible(self) -> bool: ... + class UncertainParameter(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, distributionType: 'SensitivityAnalysis.DistributionType', string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]): ... - def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... - def getDistribution(self) -> 'SensitivityAnalysis.DistributionType': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + distributionType: "SensitivityAnalysis.DistributionType", + string2: typing.Union[java.lang.String, str], + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ): ... + def apply( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + double: float, + ) -> None: ... + def getDistribution(self) -> "SensitivityAnalysis.DistributionType": ... def getName(self) -> java.lang.String: ... def getP10(self) -> float: ... def getP50(self) -> float: ... @@ -466,23 +935,93 @@ class SensitivityAnalysis(java.io.Serializable): def getRange(self) -> float: ... def getUnit(self) -> java.lang.String: ... @staticmethod - def lognormal(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def lognormal( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> "SensitivityAnalysis.UncertainParameter": ... @staticmethod - def normal(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def normal( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> "SensitivityAnalysis.UncertainParameter": ... def sample(self, random: java.util.Random) -> float: ... def toString(self) -> java.lang.String: ... @typing.overload @staticmethod - def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def triangular( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + string2: typing.Union[java.lang.String, str], + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> "SensitivityAnalysis.UncertainParameter": ... @typing.overload @staticmethod - def triangular(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def triangular( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> "SensitivityAnalysis.UncertainParameter": ... @staticmethod - def uniform(string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis.UncertainParameter': ... + def uniform( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> "SensitivityAnalysis.UncertainParameter": ... class SustainabilityMetrics(java.io.Serializable): def __init__(self): ... - def addEmission(self, emissionSource: 'SustainabilityMetrics.EmissionSource', string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addEmission( + self, + emissionSource: "SustainabilityMetrics.EmissionSource", + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def calculate(self) -> None: ... def clearCustomEmissions(self) -> None: ... def getCarbonIntensityKgCO2PerMWh(self) -> float: ... @@ -513,44 +1052,78 @@ class SustainabilityMetrics(java.io.Serializable): def setParasiticHeatMWhPerYear(self, double: float) -> None: ... def setTransportEmissionFactor(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... - class EmissionSource(java.lang.Enum['SustainabilityMetrics.EmissionSource']): - METHANE_SLIP: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - FLARING: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - GRID_ELECTRICITY: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - DIESEL_TRANSPORT: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - N2O_DIGESTATE: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - FEEDSTOCK_TRANSPORT: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - CUSTOM: typing.ClassVar['SustainabilityMetrics.EmissionSource'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class EmissionSource(java.lang.Enum["SustainabilityMetrics.EmissionSource"]): + METHANE_SLIP: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + FLARING: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + GRID_ELECTRICITY: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + DIESEL_TRANSPORT: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + N2O_DIGESTATE: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + FEEDSTOCK_TRANSPORT: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ( + ... + ) + CUSTOM: typing.ClassVar["SustainabilityMetrics.EmissionSource"] = ... + _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: ... + 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]) -> 'SustainabilityMetrics.EmissionSource': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SustainabilityMetrics.EmissionSource": ... @staticmethod - def values() -> typing.MutableSequence['SustainabilityMetrics.EmissionSource']: ... + def values() -> ( + typing.MutableSequence["SustainabilityMetrics.EmissionSource"] + ): ... class WellScheduler(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addWell(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> 'WellScheduler.WellRecord': ... - def calculateSystemAvailability(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> float: ... - def getAllInterventions(self) -> java.util.List['WellScheduler.Intervention']: ... - def getAllWells(self) -> java.util.Collection['WellScheduler.WellRecord']: ... + def __init__( + self, + simpleReservoir: jneqsim.process.equipment.reservoir.SimpleReservoir, + processSystem: jneqsim.process.processmodel.ProcessSystem, + ): ... + def addWell( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> "WellScheduler.WellRecord": ... + def calculateSystemAvailability( + self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate + ) -> float: ... + def getAllInterventions(self) -> java.util.List["WellScheduler.Intervention"]: ... + def getAllWells(self) -> java.util.Collection["WellScheduler.WellRecord"]: ... def getFacility(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getReservoir(self) -> jneqsim.process.equipment.reservoir.SimpleReservoir: ... def getTotalPotentialOn(self, localDate: java.time.LocalDate) -> float: ... - def getWell(self, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.WellRecord': ... - def optimizeSchedule(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate, int: int) -> 'WellScheduler.ScheduleResult': ... - def scheduleIntervention(self, intervention: 'WellScheduler.Intervention') -> None: ... - def setDefaultRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - class Intervention(java.io.Serializable, java.lang.Comparable['WellScheduler.Intervention']): + def getWell( + self, string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.WellRecord": ... + def optimizeSchedule( + self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate, int: int + ) -> "WellScheduler.ScheduleResult": ... + def scheduleIntervention( + self, intervention: "WellScheduler.Intervention" + ) -> None: ... + def setDefaultRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class Intervention( + java.io.Serializable, java.lang.Comparable["WellScheduler.Intervention"] + ): @staticmethod - def builder(string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... - def compareTo(self, intervention: 'WellScheduler.Intervention') -> int: ... + def builder( + string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.Intervention.Builder": ... + def compareTo(self, intervention: "WellScheduler.Intervention") -> int: ... def getCost(self) -> float: ... def getCurrency(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... @@ -559,88 +1132,160 @@ class WellScheduler(java.io.Serializable): def getExpectedProductionGain(self) -> float: ... def getPriority(self) -> int: ... def getStartDate(self) -> java.time.LocalDate: ... - def getType(self) -> 'WellScheduler.InterventionType': ... + def getType(self) -> "WellScheduler.InterventionType": ... def getWellName(self) -> java.lang.String: ... def isActiveOn(self, localDate: java.time.LocalDate) -> bool: ... - def overlaps(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> bool: ... + def overlaps( + self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate + ) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: - def build(self) -> 'WellScheduler.Intervention': ... - def cost(self, double: float, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'WellScheduler.Intervention.Builder': ... - def durationDays(self, int: int) -> 'WellScheduler.Intervention.Builder': ... - def expectedGain(self, double: float) -> 'WellScheduler.Intervention.Builder': ... - def priority(self, int: int) -> 'WellScheduler.Intervention.Builder': ... - def startDate(self, localDate: java.time.LocalDate) -> 'WellScheduler.Intervention.Builder': ... - def type(self, interventionType: 'WellScheduler.InterventionType') -> 'WellScheduler.Intervention.Builder': ... - class InterventionType(java.lang.Enum['WellScheduler.InterventionType']): - COILED_TUBING: typing.ClassVar['WellScheduler.InterventionType'] = ... - WIRELINE: typing.ClassVar['WellScheduler.InterventionType'] = ... - HYDRAULIC_WORKOVER: typing.ClassVar['WellScheduler.InterventionType'] = ... - RIG_WORKOVER: typing.ClassVar['WellScheduler.InterventionType'] = ... - STIMULATION: typing.ClassVar['WellScheduler.InterventionType'] = ... - ARTIFICIAL_LIFT_INSTALL: typing.ClassVar['WellScheduler.InterventionType'] = ... - WATER_SHUT_OFF: typing.ClassVar['WellScheduler.InterventionType'] = ... - SCALE_TREATMENT: typing.ClassVar['WellScheduler.InterventionType'] = ... - PLUG_AND_ABANDON: typing.ClassVar['WellScheduler.InterventionType'] = ... + def build(self) -> "WellScheduler.Intervention": ... + def cost( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.Intervention.Builder": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.Intervention.Builder": ... + def durationDays( + self, int: int + ) -> "WellScheduler.Intervention.Builder": ... + def expectedGain( + self, double: float + ) -> "WellScheduler.Intervention.Builder": ... + def priority(self, int: int) -> "WellScheduler.Intervention.Builder": ... + def startDate( + self, localDate: java.time.LocalDate + ) -> "WellScheduler.Intervention.Builder": ... + def type( + self, interventionType: "WellScheduler.InterventionType" + ) -> "WellScheduler.Intervention.Builder": ... + + class InterventionType(java.lang.Enum["WellScheduler.InterventionType"]): + COILED_TUBING: typing.ClassVar["WellScheduler.InterventionType"] = ... + WIRELINE: typing.ClassVar["WellScheduler.InterventionType"] = ... + HYDRAULIC_WORKOVER: typing.ClassVar["WellScheduler.InterventionType"] = ... + RIG_WORKOVER: typing.ClassVar["WellScheduler.InterventionType"] = ... + STIMULATION: typing.ClassVar["WellScheduler.InterventionType"] = ... + ARTIFICIAL_LIFT_INSTALL: typing.ClassVar["WellScheduler.InterventionType"] = ... + WATER_SHUT_OFF: typing.ClassVar["WellScheduler.InterventionType"] = ... + SCALE_TREATMENT: typing.ClassVar["WellScheduler.InterventionType"] = ... + PLUG_AND_ABANDON: typing.ClassVar["WellScheduler.InterventionType"] = ... def getDisplayName(self) -> java.lang.String: ... def getMaxDurationDays(self) -> int: ... def getMinDurationDays(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'WellScheduler.InterventionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.InterventionType": ... @staticmethod - def values() -> typing.MutableSequence['WellScheduler.InterventionType']: ... + def values() -> typing.MutableSequence["WellScheduler.InterventionType"]: ... + class ScheduleResult(java.io.Serializable): - def __init__(self, list: java.util.List['WellScheduler.Intervention'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float, double2: float, map2: typing.Union[java.util.Map[java.time.LocalDate, float], typing.Mapping[java.time.LocalDate, float]], map3: typing.Union[java.util.Map[java.time.LocalDate, typing.Union[java.lang.String, str]], typing.Mapping[java.time.LocalDate, typing.Union[java.lang.String, str]]], double3: float, string: typing.Union[java.lang.String, str]): ... - def getDailyBottleneck(self) -> java.util.Map[java.time.LocalDate, java.lang.String]: ... + def __init__( + self, + list: java.util.List["WellScheduler.Intervention"], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + double2: float, + map2: typing.Union[ + java.util.Map[java.time.LocalDate, float], + typing.Mapping[java.time.LocalDate, float], + ], + map3: typing.Union[ + java.util.Map[java.time.LocalDate, typing.Union[java.lang.String, str]], + typing.Mapping[ + java.time.LocalDate, typing.Union[java.lang.String, str] + ], + ], + double3: float, + string: typing.Union[java.lang.String, str], + ): ... + def getDailyBottleneck( + self, + ) -> java.util.Map[java.time.LocalDate, java.lang.String]: ... def getDailyFacilityRate(self) -> java.util.Map[java.time.LocalDate, float]: ... def getNetProductionImpact(self) -> float: ... - def getOptimizedSchedule(self) -> java.util.List['WellScheduler.Intervention']: ... + def getOptimizedSchedule( + self, + ) -> java.util.List["WellScheduler.Intervention"]: ... def getOverallAvailability(self) -> float: ... def getTotalDeferredProduction(self) -> float: ... def getTotalProductionGain(self) -> float: ... def getWellUptime(self) -> java.util.Map[java.lang.String, float]: ... def toGanttMarkdown(self) -> java.lang.String: ... def toMarkdownTable(self) -> java.lang.String: ... + class WellRecord(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]): ... - def addIntervention(self, intervention: 'WellScheduler.Intervention') -> None: ... - def calculateAvailability(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ): ... + def addIntervention( + self, intervention: "WellScheduler.Intervention" + ) -> None: ... + def calculateAvailability( + self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate + ) -> float: ... def getCurrentPotential(self) -> float: ... - def getCurrentStatus(self) -> 'WellScheduler.WellStatus': ... - def getInterventionsInRange(self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate) -> java.util.List['WellScheduler.Intervention']: ... + def getCurrentStatus(self) -> "WellScheduler.WellStatus": ... + def getInterventionsInRange( + self, localDate: java.time.LocalDate, localDate2: java.time.LocalDate + ) -> java.util.List["WellScheduler.Intervention"]: ... def getOriginalPotential(self) -> float: ... def getRateUnit(self) -> java.lang.String: ... - def getScheduledInterventions(self) -> java.util.List['WellScheduler.Intervention']: ... - def getStatusOn(self, localDate: java.time.LocalDate) -> 'WellScheduler.WellStatus': ... + def getScheduledInterventions( + self, + ) -> java.util.List["WellScheduler.Intervention"]: ... + def getStatusOn( + self, localDate: java.time.LocalDate + ) -> "WellScheduler.WellStatus": ... def getWellName(self) -> java.lang.String: ... - def recordProduction(self, localDate: java.time.LocalDate, double: float) -> None: ... + def recordProduction( + self, localDate: java.time.LocalDate, double: float + ) -> None: ... def setCurrentPotential(self, double: float) -> None: ... - def setStatus(self, wellStatus: 'WellScheduler.WellStatus', localDate: java.time.LocalDate) -> None: ... - class WellStatus(java.lang.Enum['WellScheduler.WellStatus']): - PRODUCING: typing.ClassVar['WellScheduler.WellStatus'] = ... - SHUT_IN: typing.ClassVar['WellScheduler.WellStatus'] = ... - WORKOVER: typing.ClassVar['WellScheduler.WellStatus'] = ... - WAITING_ON_WEATHER: typing.ClassVar['WellScheduler.WellStatus'] = ... - DRILLING: typing.ClassVar['WellScheduler.WellStatus'] = ... - PLUGGED: typing.ClassVar['WellScheduler.WellStatus'] = ... + def setStatus( + self, wellStatus: "WellScheduler.WellStatus", localDate: java.time.LocalDate + ) -> None: ... + + class WellStatus(java.lang.Enum["WellScheduler.WellStatus"]): + PRODUCING: typing.ClassVar["WellScheduler.WellStatus"] = ... + SHUT_IN: typing.ClassVar["WellScheduler.WellStatus"] = ... + WORKOVER: typing.ClassVar["WellScheduler.WellStatus"] = ... + WAITING_ON_WEATHER: typing.ClassVar["WellScheduler.WellStatus"] = ... + DRILLING: typing.ClassVar["WellScheduler.WellStatus"] = ... + PLUGGED: typing.ClassVar["WellScheduler.WellStatus"] = ... def getDisplayName(self) -> java.lang.String: ... def isProducing(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'WellScheduler.WellStatus': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "WellScheduler.WellStatus": ... @staticmethod - def values() -> typing.MutableSequence['WellScheduler.WellStatus']: ... - + def values() -> typing.MutableSequence["WellScheduler.WellStatus"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fielddevelopment")``. diff --git a/src/jneqsim-stubs/process/util/fire/__init__.pyi b/src/jneqsim-stubs/process/util/fire/__init__.pyi index 700d5aae..866ed1fb 100644 --- a/src/jneqsim-stubs/process/util/fire/__init__.pyi +++ b/src/jneqsim-stubs/process/util/fire/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,98 +12,197 @@ import jneqsim.process.equipment.separator import jneqsim.thermo.system import typing - - class BlockedInLiquidExpansionAnalysis: @staticmethod - def computeIsochoricPressureProfile(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def computeIsochoricPressureProfile( + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def estimateIsothermalCompressibility(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... + def estimateIsothermalCompressibility( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> float: ... @staticmethod - def estimateThermalExpansionCoefficient(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> float: ... + def estimateThermalExpansionCoefficient( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> float: ... @staticmethod - def simplifiedPressureRise(double: float, double2: float, double3: float) -> float: ... + def simplifiedPressureRise( + double: float, double2: float, double3: float + ) -> float: ... class FireHeatLoadCalculator: STEFAN_BOLTZMANN: typing.ClassVar[float] = ... @staticmethod def api521PoolFireHeatLoad(double: float, double2: float) -> float: ... @staticmethod - def generalizedStefanBoltzmannHeatFlux(double: float, double2: float, double3: float, double4: float) -> float: ... + def generalizedStefanBoltzmannHeatFlux( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class FireHeatTransferCalculator: @staticmethod - def calculateWallTemperatures(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> 'FireHeatTransferCalculator.SurfaceTemperatureResult': ... + def calculateWallTemperatures( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> "FireHeatTransferCalculator.SurfaceTemperatureResult": ... + class SurfaceTemperatureResult: def __init__(self, double: float, double2: float, double3: float): ... def heatFlux(self) -> float: ... def innerWallTemperatureK(self) -> float: ... def outerWallTemperatureK(self) -> float: ... -class FirePreset(java.lang.Enum['FirePreset']): - POOL_FIRE_PEAK: typing.ClassVar['FirePreset'] = ... - POOL_FIRE_BACKGROUND: typing.ClassVar['FirePreset'] = ... - JET_FIRE_PEAK: typing.ClassVar['FirePreset'] = ... - JET_FIRE_BACKGROUND: typing.ClassVar['FirePreset'] = ... +class FirePreset(java.lang.Enum["FirePreset"]): + POOL_FIRE_PEAK: typing.ClassVar["FirePreset"] = ... + POOL_FIRE_BACKGROUND: typing.ClassVar["FirePreset"] = ... + JET_FIRE_PEAK: typing.ClassVar["FirePreset"] = ... + JET_FIRE_BACKGROUND: typing.ClassVar["FirePreset"] = ... def getConvectiveCoefficient(self) -> float: ... def getDisplayName(self) -> java.lang.String: ... def getFlameEmissivity(self) -> float: ... def getFlameTemperatureK(self) -> float: ... - def getKind(self) -> 'FirePreset.FireKind': ... + def getKind(self) -> "FirePreset.FireKind": ... def incidentHeatFlux(self, double: float) -> float: ... def nominalAbsorbedFluxWPerM2(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'FirePreset': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "FirePreset": ... @staticmethod - def values() -> typing.MutableSequence['FirePreset']: ... - class FireKind(java.lang.Enum['FirePreset.FireKind']): - POOL: typing.ClassVar['FirePreset.FireKind'] = ... - JET: typing.ClassVar['FirePreset.FireKind'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["FirePreset"]: ... + + class FireKind(java.lang.Enum["FirePreset.FireKind"]): + POOL: typing.ClassVar["FirePreset.FireKind"] = ... + JET: typing.ClassVar["FirePreset.FireKind"] = ... + _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: ... + 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]) -> 'FirePreset.FireKind': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FirePreset.FireKind": ... @staticmethod - def values() -> typing.MutableSequence['FirePreset.FireKind']: ... + def values() -> typing.MutableSequence["FirePreset.FireKind"]: ... class ReliefValveSizing: R_GAS: typing.ClassVar[float] = ... STANDARD_ORIFICE_AREAS_IN2: typing.ClassVar[typing.MutableSequence[float]] = ... - STANDARD_ORIFICE_LETTERS: typing.ClassVar[typing.MutableSequence[java.lang.String]] = ... + STANDARD_ORIFICE_LETTERS: typing.ClassVar[ + typing.MutableSequence[java.lang.String] + ] = ... @staticmethod - def calculateAPI521FireHeatInput(double: float, boolean: bool, boolean2: bool) -> float: ... + def calculateAPI521FireHeatInput( + double: float, boolean: bool, boolean2: bool + ) -> float: ... @staticmethod def calculateBlowdownPressure(double: float, double2: float) -> float: ... @staticmethod def calculateCv(double: float, double2: float) -> float: ... @staticmethod - def calculateLiquidReliefArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, boolean: bool) -> 'ReliefValveSizing.LiquidPSVSizingResult': ... - @staticmethod - def calculateMassFlowCapacity(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + def calculateLiquidReliefArea( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + boolean: bool, + ) -> "ReliefValveSizing.LiquidPSVSizingResult": ... + @staticmethod + def calculateMassFlowCapacity( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> float: ... @staticmethod def calculateMaxHeatAbsorption(double: float, double2: float) -> float: ... @staticmethod - def calculateRequiredArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool, boolean2: bool) -> 'ReliefValveSizing.PSVSizingResult': ... - @staticmethod - def calculateTwoPhaseReliefArea(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> float: ... - @staticmethod - def dynamicFireSizing(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> 'ReliefValveSizing.PSVSizingResult': ... - @staticmethod - def getNextLargerOrifice(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - @staticmethod - def getStandardOrificeArea(string: typing.Union[java.lang.String, str]) -> float: ... - @staticmethod - def validateSizing(pSVSizingResult: 'ReliefValveSizing.PSVSizingResult', boolean: bool) -> java.lang.String: ... + def calculateRequiredArea( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + boolean2: bool, + ) -> "ReliefValveSizing.PSVSizingResult": ... + @staticmethod + def calculateTwoPhaseReliefArea( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ) -> float: ... + @staticmethod + def dynamicFireSizing( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + ) -> "ReliefValveSizing.PSVSizingResult": ... + @staticmethod + def getNextLargerOrifice( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + @staticmethod + def getStandardOrificeArea( + string: typing.Union[java.lang.String, str] + ) -> float: ... + @staticmethod + def validateSizing( + pSVSizingResult: "ReliefValveSizing.PSVSizingResult", boolean: bool + ) -> java.lang.String: ... + class LiquidPSVSizingResult: - def __init__(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str], double5: float, double6: float, double7: float, double8: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + string: typing.Union[java.lang.String, str], + double5: float, + double6: float, + double7: float, + double8: float, + ): ... def getBackPressureCorrectionFactor(self) -> float: ... def getDischargeCoefficient(self) -> float: ... def getMassFlowRate(self) -> float: ... @@ -113,8 +212,22 @@ class ReliefValveSizing: def getSelectedAreaIn2(self) -> float: ... def getViscosityCorrectionFactor(self) -> float: ... def getVolumeFlowRate(self) -> float: ... + class PSVSizingResult: - def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str], double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ): ... def getBackPressureCorrectionFactor(self) -> float: ... def getBackPressureFraction(self) -> float: ... def getCombinationCorrectionFactor(self) -> float: ... @@ -129,15 +242,43 @@ class ReliefValveSizing: class SeparatorFireExposure: @staticmethod - def applyFireHeating(separator: jneqsim.process.equipment.separator.Separator, fireExposureResult: 'SeparatorFireExposure.FireExposureResult', double: float) -> float: ... + def applyFireHeating( + separator: jneqsim.process.equipment.separator.Separator, + fireExposureResult: "SeparatorFireExposure.FireExposureResult", + double: float, + ) -> float: ... @typing.overload @staticmethod - def evaluate(separator: jneqsim.process.equipment.separator.Separator, fireScenarioConfig: 'SeparatorFireExposure.FireScenarioConfig') -> 'SeparatorFireExposure.FireExposureResult': ... + def evaluate( + separator: jneqsim.process.equipment.separator.Separator, + fireScenarioConfig: "SeparatorFireExposure.FireScenarioConfig", + ) -> "SeparatorFireExposure.FireExposureResult": ... @typing.overload @staticmethod - def evaluate(separator: jneqsim.process.equipment.separator.Separator, fireScenarioConfig: 'SeparatorFireExposure.FireScenarioConfig', flare: jneqsim.process.equipment.flare.Flare, double: float) -> 'SeparatorFireExposure.FireExposureResult': ... + def evaluate( + separator: jneqsim.process.equipment.separator.Separator, + fireScenarioConfig: "SeparatorFireExposure.FireScenarioConfig", + flare: jneqsim.process.equipment.flare.Flare, + double: float, + ) -> "SeparatorFireExposure.FireExposureResult": ... + class FireExposureResult: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, surfaceTemperatureResult: FireHeatTransferCalculator.SurfaceTemperatureResult, surfaceTemperatureResult2: FireHeatTransferCalculator.SurfaceTemperatureResult, double9: float, double10: float, boolean: bool): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + surfaceTemperatureResult: FireHeatTransferCalculator.SurfaceTemperatureResult, + surfaceTemperatureResult2: FireHeatTransferCalculator.SurfaceTemperatureResult, + double9: float, + double10: float, + boolean: bool, + ): ... def flareRadiativeFlux(self) -> float: ... def flareRadiativeHeat(self) -> float: ... def isRuptureLikely(self) -> bool: ... @@ -147,10 +288,13 @@ class SeparatorFireExposure: def totalFireHeat(self) -> float: ... def unwettedArea(self) -> float: ... def unwettedRadiativeHeat(self) -> float: ... - def unwettedWall(self) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + def unwettedWall( + self, + ) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... def vonMisesStressPa(self) -> float: ... def wettedArea(self) -> float: ... def wettedWall(self) -> FireHeatTransferCalculator.SurfaceTemperatureResult: ... + class FireScenarioConfig: def __init__(self): ... def allowableTensileStrengthPa(self) -> float: ... @@ -158,16 +302,36 @@ class SeparatorFireExposure: def environmentalFactor(self) -> float: ... def externalFilmCoefficientWPerM2K(self) -> float: ... def fireTemperatureK(self) -> float: ... - def setAllowableTensileStrengthPa(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setEmissivity(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setEnvironmentalFactor(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setExternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setFireTemperatureK(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setThermalConductivityWPerMPerK(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setUnwettedInternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setViewFactor(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setWallThicknessM(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... - def setWettedInternalFilmCoefficientWPerM2K(self, double: float) -> 'SeparatorFireExposure.FireScenarioConfig': ... + def setAllowableTensileStrengthPa( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setEmissivity( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setEnvironmentalFactor( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setExternalFilmCoefficientWPerM2K( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setFireTemperatureK( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setThermalConductivityWPerMPerK( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setUnwettedInternalFilmCoefficientWPerM2K( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setViewFactor( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setWallThicknessM( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... + def setWettedInternalFilmCoefficientWPerM2K( + self, double: float + ) -> "SeparatorFireExposure.FireScenarioConfig": ... def thermalConductivityWPerMPerK(self) -> float: ... def unwettedInternalFilmCoefficientWPerM2K(self) -> float: ... def viewFactor(self) -> float: ... @@ -176,13 +340,48 @@ class SeparatorFireExposure: class TransientWallHeatTransfer: @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, int: int): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + int: int, + ): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, int: int): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + int: int, + ): ... @typing.overload - def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float) -> None: ... + def advanceTimeStep( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> None: ... @typing.overload - def advanceTimeStep(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def advanceTimeStep( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... def getHeatAbsorbed(self, double: float, double2: float) -> float: ... def getHeatFlux(self) -> float: ... def getInnerWallTemperature(self) -> float: ... @@ -200,53 +399,189 @@ class VesselHeatTransferCalculator: GRAVITY: typing.ClassVar[float] = ... @typing.overload @staticmethod - def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... + def calculateCompleteHeatTransfer( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + ) -> "VesselHeatTransferCalculator.HeatTransferResult": ... @typing.overload @staticmethod - def calculateCompleteHeatTransfer(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool, double8: float) -> 'VesselHeatTransferCalculator.HeatTransferResult': ... + def calculateCompleteHeatTransfer( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + double8: float, + ) -> "VesselHeatTransferCalculator.HeatTransferResult": ... @typing.overload @staticmethod - def calculateDischargeConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + def calculateDischargeConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + ) -> float: ... @typing.overload @staticmethod - def calculateDischargeConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool, double11: float) -> float: ... - @staticmethod - def calculateGrashofNumber(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateDischargeConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + double11: float, + ) -> float: ... + @staticmethod + def calculateGrashofNumber( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload @staticmethod - def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool) -> float: ... + def calculateInternalFilmCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + ) -> float: ... @typing.overload @staticmethod - def calculateInternalFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool, double8: float) -> float: ... + def calculateInternalFilmCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + double8: float, + ) -> float: ... @typing.overload @staticmethod - def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, boolean: bool) -> float: ... + def calculateMixedConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + boolean: bool, + ) -> float: ... @typing.overload @staticmethod - def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool) -> float: ... + def calculateMixedConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + ) -> float: ... @typing.overload @staticmethod - def calculateMixedConvectionCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, boolean: bool, double11: float) -> float: ... - @staticmethod - def calculateNucleateBoilingHeatFlux(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> float: ... + def calculateMixedConvectionCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + boolean: bool, + double11: float, + ) -> float: ... + @staticmethod + def calculateNucleateBoilingHeatFlux( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> float: ... @staticmethod def calculateNusseltForcedConvection(double: float, double2: float) -> float: ... @staticmethod def calculateNusseltHorizontalCylinder(double: float, double2: float) -> float: ... @staticmethod - def calculateNusseltImpingingJet(double: float, double2: float, double3: float, double4: float) -> float: ... + def calculateNusseltImpingingJet( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def calculateNusseltVerticalSurface(double: float, double2: float) -> float: ... @staticmethod - def calculatePrandtlNumber(double: float, double2: float, double3: float) -> float: ... + def calculatePrandtlNumber( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def calculateRayleighNumber(double: float, double2: float) -> float: ... @staticmethod - def calculateReynoldsNumber(double: float, double2: float, double3: float, double4: float) -> float: ... - @staticmethod - def calculateWettedWallFilmCoefficient(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, boolean: bool) -> float: ... + def calculateReynoldsNumber( + double: float, double2: float, double3: float, double4: float + ) -> float: ... + @staticmethod + def calculateWettedWallFilmCoefficient( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + boolean: bool, + ) -> float: ... + class HeatTransferResult: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getFilmCoefficient(self) -> float: ... def getGrashofNumber(self) -> float: ... def getHeatFlux(self) -> float: ... @@ -262,7 +597,6 @@ class VesselRuptureCalculator: @staticmethod def vonMisesStress(double: float, double2: float, double3: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.fire")``. diff --git a/src/jneqsim-stubs/process/util/heatintegration/__init__.pyi b/src/jneqsim-stubs/process/util/heatintegration/__init__.pyi index 66a3c586..6d6e657e 100644 --- a/src/jneqsim-stubs/process/util/heatintegration/__init__.pyi +++ b/src/jneqsim-stubs/process/util/heatintegration/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,21 +11,35 @@ import java.util import jneqsim.process.processmodel import typing - - class PinchAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addColdStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addHotStream(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def addColdStream( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addHotStream( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... def analyze(self) -> None: ... def extractStreams(self) -> None: ... - def getColdCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... - def getColdStreams(self) -> java.util.List['PinchAnalyzer.HeatStream']: ... + def getColdCompositeCurve( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... + def getColdStreams(self) -> java.util.List["PinchAnalyzer.HeatStream"]: ... def getEnergyRecoveryFraction(self) -> float: ... - def getGrandCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getGrandCompositeCurve( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... def getHotCompositeCurve(self) -> java.util.List[typing.MutableSequence[float]]: ... - def getHotStreams(self) -> java.util.List['PinchAnalyzer.HeatStream']: ... - def getMatches(self) -> java.util.List['PinchAnalyzer.HeatExchangerMatch']: ... + def getHotStreams(self) -> java.util.List["PinchAnalyzer.HeatStream"]: ... + def getMatches(self) -> java.util.List["PinchAnalyzer.HeatExchangerMatch"]: ... def getMinApproachTemperature(self) -> float: ... def getMinColdUtilityDuty(self) -> float: ... def getMinHotUtilityDuty(self) -> float: ... @@ -33,12 +47,20 @@ class PinchAnalyzer(java.io.Serializable): def getTotalRecoverableEnergy(self) -> float: ... def setMinApproachTemperature(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class HeatExchangerMatch(java.io.Serializable): hotStreamName: java.lang.String = ... coldStreamName: java.lang.String = ... recoverableDuty: float = ... lmtd: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... + class HeatStream(java.io.Serializable): name: java.lang.String = ... supplyTemperature: float = ... @@ -46,8 +68,14 @@ class PinchAnalyzer(java.io.Serializable): duty: float = ... heatCapacityFlowRate: float = ... isHot: bool = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, boolean: bool): ... - + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + boolean: bool, + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.heatintegration")``. diff --git a/src/jneqsim-stubs/process/util/heattransfer/__init__.pyi b/src/jneqsim-stubs/process/util/heattransfer/__init__.pyi index 66a260eb..a1f82f65 100644 --- a/src/jneqsim-stubs/process/util/heattransfer/__init__.pyi +++ b/src/jneqsim-stubs/process/util/heattransfer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,25 +9,32 @@ import java.io import java.lang import typing - - class BoilOffCalculator(java.io.Serializable): def __init__(self): ... def boilOffRateKgPerH(self, double: float) -> float: ... def boilOffRateKgPerS(self, double: float) -> float: ... def effectiveHeatTransferCoefficient(self, double: float) -> float: ... def heatIngressW(self, double: float) -> float: ... - def setAmbientTemperatureK(self, double: float) -> 'BoilOffCalculator': ... - def setFluidTemperatureK(self, double: float) -> 'BoilOffCalculator': ... - def setInsulationConductivity(self, double: float) -> 'BoilOffCalculator': ... - def setLatentHeat(self, double: float) -> 'BoilOffCalculator': ... - def setOuterFilmCoefficient(self, double: float) -> 'BoilOffCalculator': ... - def setSurfaceArea(self, double: float) -> 'BoilOffCalculator': ... - def sweepInsulationThickness(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setAmbientTemperatureK(self, double: float) -> "BoilOffCalculator": ... + def setFluidTemperatureK(self, double: float) -> "BoilOffCalculator": ... + def setInsulationConductivity(self, double: float) -> "BoilOffCalculator": ... + def setLatentHeat(self, double: float) -> "BoilOffCalculator": ... + def setOuterFilmCoefficient(self, double: float) -> "BoilOffCalculator": ... + def setSurfaceArea(self, double: float) -> "BoilOffCalculator": ... + def sweepInsulationThickness( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... class CompositeWallConduction(java.io.Serializable): def __init__(self, int: int): ... - def addLayer(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> 'CompositeWallConduction': ... + def addLayer( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> "CompositeWallConduction": ... @staticmethod def biotNumber(double: float, double2: float, double3: float) -> float: ... def getInnerSurfaceTemperatureK(self) -> float: ... @@ -36,25 +43,43 @@ class CompositeWallConduction(java.io.Serializable): def getOuterSurfaceTemperatureK(self) -> float: ... def getTemperaturesK(self) -> typing.MutableSequence[float]: ... def getTotalThicknessM(self) -> float: ... - def initialize(self, double: float) -> 'CompositeWallConduction': ... - def step(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def initialize(self, double: float) -> "CompositeWallConduction": ... + def step( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... class VesselHeatTransferCorrelations: GRAVITY: typing.ClassVar[float] = ... @staticmethod def churchillChuNusselt(double: float, double2: float) -> float: ... @staticmethod - def heatTransferCoefficient(double: float, double2: float, double3: float) -> float: ... + def heatTransferCoefficient( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def rayleigh(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def rayleigh( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def reynolds(double: float, double2: float, double3: float, double4: float) -> float: ... + def reynolds( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def rohsenowNucleateBoilingHeatFlux(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float) -> float: ... + def rohsenowNucleateBoilingHeatFlux( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + ) -> float: ... @staticmethod def woodfieldFillingNusselt(double: float, double2: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.heattransfer")``. diff --git a/src/jneqsim-stubs/process/util/monitor/__init__.pyi b/src/jneqsim-stubs/process/util/monitor/__init__.pyi index 8107c45c..33b0c849 100644 --- a/src/jneqsim-stubs/process/util/monitor/__init__.pyi +++ b/src/jneqsim-stubs/process/util/monitor/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -31,18 +31,24 @@ import jneqsim.process.util.report import jneqsim.thermo.system import typing - - class BaseResponse: tagName: java.lang.String = ... name: java.lang.String = ... @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface): ... + def __init__( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ): ... @typing.overload - def __init__(self, measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface): ... - def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + def __init__( + self, + measurementDeviceInterface: jneqsim.process.measurementdevice.MeasurementDeviceInterface, + ): ... + def applyConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> None: ... class FluidComponentResponse: name: java.lang.String = ... @@ -50,7 +56,11 @@ class FluidComponentResponse: @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def print_(self) -> None: ... @@ -63,14 +73,20 @@ class FluidResponse: @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def print_(self) -> None: ... class KPIDashboard: def __init__(self): ... - def addScenario(self, string: typing.Union[java.lang.String, str], scenarioKPI: 'ScenarioKPI') -> None: ... + def addScenario( + self, string: typing.Union[java.lang.String, str], scenarioKPI: "ScenarioKPI" + ) -> None: ... def clear(self) -> None: ... def getScenarioCount(self) -> int: ... def printDashboard(self) -> None: ... @@ -78,7 +94,7 @@ class KPIDashboard: class ScenarioKPI: def __init__(self): ... @staticmethod - def builder() -> 'ScenarioKPI.Builder': ... + def builder() -> "ScenarioKPI.Builder": ... def calculateEnvironmentalScore(self) -> float: ... def calculateOverallScore(self) -> float: ... def calculateProcessScore(self) -> float: ... @@ -105,45 +121,56 @@ class ScenarioKPI: def getWarningCount(self) -> int: ... def isHippsTripped(self) -> bool: ... def isPsvActivated(self) -> bool: ... + class Builder: def __init__(self): ... - def averageFlowRate(self, double: float) -> 'ScenarioKPI.Builder': ... - def build(self) -> 'ScenarioKPI': ... - def co2Emissions(self, double: float) -> 'ScenarioKPI.Builder': ... - def energyConsumption(self, double: float) -> 'ScenarioKPI.Builder': ... - def errorCount(self, int: int) -> 'ScenarioKPI.Builder': ... - def finalStatus(self, string: typing.Union[java.lang.String, str]) -> 'ScenarioKPI.Builder': ... - def flareGasVolume(self, double: float) -> 'ScenarioKPI.Builder': ... - def flaringDuration(self, double: float) -> 'ScenarioKPI.Builder': ... - def hippsTripped(self, boolean: bool) -> 'ScenarioKPI.Builder': ... - def lostProductionValue(self, double: float) -> 'ScenarioKPI.Builder': ... - def operatingCost(self, double: float) -> 'ScenarioKPI.Builder': ... - def peakPressure(self, double: float) -> 'ScenarioKPI.Builder': ... - def peakTemperature(self, double: float) -> 'ScenarioKPI.Builder': ... - def productionLoss(self, double: float) -> 'ScenarioKPI.Builder': ... - def psvActivated(self, boolean: bool) -> 'ScenarioKPI.Builder': ... - def recoveryTime(self, double: float) -> 'ScenarioKPI.Builder': ... - def safetyMarginToMAWP(self, double: float) -> 'ScenarioKPI.Builder': ... - def safetySystemActuations(self, int: int) -> 'ScenarioKPI.Builder': ... - def simulationDuration(self, double: float) -> 'ScenarioKPI.Builder': ... - def steadyStateDeviation(self, double: float) -> 'ScenarioKPI.Builder': ... - def timeToESDActivation(self, double: float) -> 'ScenarioKPI.Builder': ... - def ventedMass(self, double: float) -> 'ScenarioKPI.Builder': ... - def warningCount(self, int: int) -> 'ScenarioKPI.Builder': ... + def averageFlowRate(self, double: float) -> "ScenarioKPI.Builder": ... + def build(self) -> "ScenarioKPI": ... + def co2Emissions(self, double: float) -> "ScenarioKPI.Builder": ... + def energyConsumption(self, double: float) -> "ScenarioKPI.Builder": ... + def errorCount(self, int: int) -> "ScenarioKPI.Builder": ... + def finalStatus( + self, string: typing.Union[java.lang.String, str] + ) -> "ScenarioKPI.Builder": ... + def flareGasVolume(self, double: float) -> "ScenarioKPI.Builder": ... + def flaringDuration(self, double: float) -> "ScenarioKPI.Builder": ... + def hippsTripped(self, boolean: bool) -> "ScenarioKPI.Builder": ... + def lostProductionValue(self, double: float) -> "ScenarioKPI.Builder": ... + def operatingCost(self, double: float) -> "ScenarioKPI.Builder": ... + def peakPressure(self, double: float) -> "ScenarioKPI.Builder": ... + def peakTemperature(self, double: float) -> "ScenarioKPI.Builder": ... + def productionLoss(self, double: float) -> "ScenarioKPI.Builder": ... + def psvActivated(self, boolean: bool) -> "ScenarioKPI.Builder": ... + def recoveryTime(self, double: float) -> "ScenarioKPI.Builder": ... + def safetyMarginToMAWP(self, double: float) -> "ScenarioKPI.Builder": ... + def safetySystemActuations(self, int: int) -> "ScenarioKPI.Builder": ... + def simulationDuration(self, double: float) -> "ScenarioKPI.Builder": ... + def steadyStateDeviation(self, double: float) -> "ScenarioKPI.Builder": ... + def timeToESDActivation(self, double: float) -> "ScenarioKPI.Builder": ... + def ventedMass(self, double: float) -> "ScenarioKPI.Builder": ... + def warningCount(self, int: int) -> "ScenarioKPI.Builder": ... class Value: value: java.lang.String = ... unit: java.lang.String = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... class WellAllocatorResponse: name: java.lang.String = ... data: java.util.HashMap = ... - def __init__(self, wellAllocator: jneqsim.process.measurementdevice.WellAllocator): ... + def __init__( + self, wellAllocator: jneqsim.process.measurementdevice.WellAllocator + ): ... class ComponentSplitterResponse(BaseResponse): data: java.util.HashMap = ... - def __init__(self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter): ... + def __init__( + self, componentSplitter: jneqsim.process.equipment.splitter.ComponentSplitter + ): ... class CompressorResponse(BaseResponse): suctionTemperature: float = ... @@ -166,7 +193,9 @@ class CompressorResponse(BaseResponse): def __init__(self): ... @typing.overload def __init__(self, compressor: jneqsim.process.equipment.compressor.Compressor): ... - def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + def applyConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> None: ... class DistillationColumnResponse(BaseResponse): massBalanceError: float = ... @@ -177,7 +206,10 @@ class DistillationColumnResponse(BaseResponse): trayLiquidFlowRate: typing.MutableSequence[float] = ... trayFeedFlow: typing.MutableSequence[float] = ... trayMassBalance: typing.MutableSequence[float] = ... - def __init__(self, distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn): ... + def __init__( + self, + distillationColumn: jneqsim.process.equipment.distillation.DistillationColumn, + ): ... class EjectorResponse(BaseResponse): data: java.util.HashMap = ... @@ -193,7 +225,9 @@ class FlareResponse(BaseResponse): class FurnaceBurnerResponse(BaseResponse): data: java.util.HashMap = ... - def __init__(self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner): ... + def __init__( + self, furnaceBurner: jneqsim.process.equipment.reactor.FurnaceBurner + ): ... class HXResponse(BaseResponse): feedTemperature1: float = ... @@ -207,7 +241,9 @@ class HXResponse(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger): ... + def __init__( + self, heatExchanger: jneqsim.process.equipment.heatexchanger.HeatExchanger + ): ... class HeaterResponse(BaseResponse): data: java.util.HashMap = ... @@ -220,7 +256,9 @@ class MPMResponse(BaseResponse): gasDensity: float = ... oilDensity: float = ... waterDensity: float = ... - def __init__(self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter): ... + def __init__( + self, multiPhaseMeter: jneqsim.process.measurementdevice.MultiPhaseMeter + ): ... class ManifoldResponse(BaseResponse): data: java.util.HashMap = ... @@ -237,7 +275,10 @@ class MultiStreamHeatExchanger2Response(BaseResponse): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2): ... + def __init__( + self, + multiStreamHeatExchanger2: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger2, + ): ... class MultiStreamHeatExchangerResponse(BaseResponse): data: java.util.HashMap = ... @@ -245,7 +286,10 @@ class MultiStreamHeatExchangerResponse(BaseResponse): dischargeTemperature: typing.MutableSequence[float] = ... duty: typing.MutableSequence[float] = ... flowRate: typing.MutableSequence[float] = ... - def __init__(self, multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger): ... + def __init__( + self, + multiStreamHeatExchanger: jneqsim.process.equipment.heatexchanger.MultiStreamHeatExchanger, + ): ... class PipeBeggsBrillsResponse(BaseResponse): inletPressure: float = ... @@ -258,7 +302,9 @@ class PipeBeggsBrillsResponse(BaseResponse): outletVolumeFlow: float = ... inletMassFlow: float = ... outletMassFlow: float = ... - def __init__(self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills): ... + def __init__( + self, pipeBeggsAndBrills: jneqsim.process.equipment.pipeline.PipeBeggsAndBrills + ): ... class PipelineResponse(BaseResponse): data: java.util.HashMap = ... @@ -288,16 +334,20 @@ class RecycleResponse(BaseResponse): class SeparatorResponse(BaseResponse): gasLoadFactor: float = ... - feed: 'StreamResponse' = ... - gas: 'StreamResponse' = ... - liquid: 'StreamResponse' = ... - oil: 'StreamResponse' = ... - water: 'StreamResponse' = ... - performanceMetrics: 'SeparatorResponse.PerformanceMetrics' = ... + feed: "StreamResponse" = ... + gas: "StreamResponse" = ... + liquid: "StreamResponse" = ... + oil: "StreamResponse" = ... + water: "StreamResponse" = ... + performanceMetrics: "SeparatorResponse.PerformanceMetrics" = ... @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... + class PerformanceMetrics: kValueAtHLL: float = ... kValueLimit: float = ... @@ -325,8 +375,12 @@ class StreamResponse(BaseResponse): properties: java.util.HashMap = ... conditions: java.util.HashMap = ... composition: java.util.HashMap = ... - def __init__(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface): ... - def applyConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> None: ... + def __init__( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ): ... + def applyConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> None: ... def print_(self) -> None: ... class TankResponse(BaseResponse): @@ -341,17 +395,24 @@ class ThreePhaseSeparatorResponse(BaseResponse): @typing.overload def __init__(self, separator: jneqsim.process.equipment.separator.Separator): ... @typing.overload - def __init__(self, threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator): ... + def __init__( + self, + threePhaseSeparator: jneqsim.process.equipment.separator.ThreePhaseSeparator, + ): ... class TurboExpanderCompressorResponse(BaseResponse): - def __init__(self, turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor): ... + def __init__( + self, + turboExpanderCompressor: jneqsim.process.equipment.expander.TurboExpanderCompressor, + ): ... class ValveResponse(BaseResponse): data: java.util.HashMap = ... - def __init__(self, valveInterface: jneqsim.process.equipment.valve.ValveInterface): ... + def __init__( + self, valveInterface: jneqsim.process.equipment.valve.ValveInterface + ): ... def print_(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.monitor")``. diff --git a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi index 36f5ef84..d112c7dd 100644 --- a/src/jneqsim-stubs/process/util/optimizer/__init__.pyi +++ b/src/jneqsim-stubs/process/util/optimizer/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -24,107 +24,246 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class BatchStudy(java.io.Serializable): @staticmethod - def builder(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'BatchStudy.Builder': ... + def builder( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "BatchStudy.Builder": ... def getTotalCases(self) -> int: ... - def run(self) -> 'BatchStudy.BatchStudyResult': ... + def run(self) -> "BatchStudy.BatchStudyResult": ... + class BatchStudyResult(java.io.Serializable): def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportToJSON(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getAllResults(self) -> java.util.List['BatchStudy.CaseResult']: ... - def getBestCase(self, string: typing.Union[java.lang.String, str]) -> 'BatchStudy.CaseResult': ... + def getAllResults(self) -> java.util.List["BatchStudy.CaseResult"]: ... + def getBestCase( + self, string: typing.Union[java.lang.String, str] + ) -> "BatchStudy.CaseResult": ... def getFailureCount(self) -> int: ... - def getParetoFront(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> java.util.List['BatchStudy.CaseResult']: ... + def getParetoFront( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.util.List["BatchStudy.CaseResult"]: ... def getSuccessCount(self) -> int: ... - def getSuccessfulResults(self) -> java.util.List['BatchStudy.CaseResult']: ... + def getSuccessfulResults(self) -> java.util.List["BatchStudy.CaseResult"]: ... def getSummary(self) -> java.lang.String: ... def getTotalCases(self) -> int: ... def toJson(self) -> java.lang.String: ... + class Builder: - def addObjective(self, string: typing.Union[java.lang.String, str], objective: 'BatchStudy.Objective', function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'BatchStudy.Builder': ... - def build(self) -> 'BatchStudy': ... - def name(self, string: typing.Union[java.lang.String, str]) -> 'BatchStudy.Builder': ... - def parallelism(self, int: int) -> 'BatchStudy.Builder': ... - def stopOnFailure(self, boolean: bool) -> 'BatchStudy.Builder': ... + def addObjective( + self, + string: typing.Union[java.lang.String, str], + objective: "BatchStudy.Objective", + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> "BatchStudy.Builder": ... + def build(self) -> "BatchStudy": ... + def name( + self, string: typing.Union[java.lang.String, str] + ) -> "BatchStudy.Builder": ... + def parallelism(self, int: int) -> "BatchStudy.Builder": ... + def stopOnFailure(self, boolean: bool) -> "BatchStudy.Builder": ... @typing.overload - def vary(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> 'BatchStudy.Builder': ... + def vary( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> "BatchStudy.Builder": ... @typing.overload - def vary(self, string: typing.Union[java.lang.String, str], *double: float) -> 'BatchStudy.Builder': ... + def vary( + self, string: typing.Union[java.lang.String, str], *double: float + ) -> "BatchStudy.Builder": ... + class CaseResult(java.io.Serializable): - parameters: 'BatchStudy.ParameterSet' = ... + parameters: "BatchStudy.ParameterSet" = ... failed: bool = ... errorMessage: java.lang.String = ... objectiveValues: java.util.Map = ... runtime: java.time.Duration = ... - def __init__(self, parameterSet: 'BatchStudy.ParameterSet', boolean: bool, string: typing.Union[java.lang.String, str]): ... - class Objective(java.lang.Enum['BatchStudy.Objective']): - MINIMIZE: typing.ClassVar['BatchStudy.Objective'] = ... - MAXIMIZE: typing.ClassVar['BatchStudy.Objective'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + parameterSet: "BatchStudy.ParameterSet", + boolean: bool, + string: typing.Union[java.lang.String, str], + ): ... + + class Objective(java.lang.Enum["BatchStudy.Objective"]): + MINIMIZE: typing.ClassVar["BatchStudy.Objective"] = ... + MAXIMIZE: typing.ClassVar["BatchStudy.Objective"] = ... + _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: ... + 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]) -> 'BatchStudy.Objective': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BatchStudy.Objective": ... @staticmethod - def values() -> typing.MutableSequence['BatchStudy.Objective']: ... + def values() -> typing.MutableSequence["BatchStudy.Objective"]: ... + class ObjectiveDefinition(java.io.Serializable): name: java.lang.String = ... - direction: 'BatchStudy.Objective' = ... - def __init__(self, string: typing.Union[java.lang.String, str], objective: 'BatchStudy.Objective'): ... + direction: "BatchStudy.Objective" = ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + objective: "BatchStudy.Objective", + ): ... + class ParameterSet(java.io.Serializable): caseId: java.lang.String = ... values: java.util.Map = ... - def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]): ... + def __init__( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ): ... def toString(self) -> java.lang.String: ... class CompressorOptimizationHelper: def __init__(self): ... @staticmethod - def createEfficiencyObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + def createEfficiencyObjective( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + double: float, + ) -> "ProductionOptimizer.OptimizationObjective": ... @staticmethod - def createOutletPressureVariable(compressor: jneqsim.process.equipment.compressor.Compressor, double: float, double2: float) -> 'ProductionOptimizer.ManipulatedVariable': ... + def createOutletPressureVariable( + compressor: jneqsim.process.equipment.compressor.Compressor, + double: float, + double2: float, + ) -> "ProductionOptimizer.ManipulatedVariable": ... @staticmethod - def createPowerObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + def createPowerObjective( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + double: float, + ) -> "ProductionOptimizer.OptimizationObjective": ... @staticmethod - def createSpeedVariable(compressor: jneqsim.process.equipment.compressor.Compressor, double: float, double2: float) -> 'ProductionOptimizer.ManipulatedVariable': ... + def createSpeedVariable( + compressor: jneqsim.process.equipment.compressor.Compressor, + double: float, + double2: float, + ) -> "ProductionOptimizer.ManipulatedVariable": ... @staticmethod - def createSpeedVariables(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... + def createSpeedVariables( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + ) -> java.util.List["ProductionOptimizer.ManipulatedVariable"]: ... @staticmethod - def createStandardConstraints(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.OptimizationConstraint']: ... + def createStandardConstraints( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + ) -> java.util.List["ProductionOptimizer.OptimizationConstraint"]: ... @staticmethod - def createStandardObjectives(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> java.util.List['ProductionOptimizer.OptimizationObjective']: ... + def createStandardObjectives( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + ) -> java.util.List["ProductionOptimizer.OptimizationObjective"]: ... @staticmethod - def createSurgeMarginConstraint(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity') -> 'ProductionOptimizer.OptimizationConstraint': ... + def createSurgeMarginConstraint( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + double: float, + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + ) -> "ProductionOptimizer.OptimizationConstraint": ... @staticmethod - def createSurgeMarginObjective(list: java.util.List[jneqsim.process.equipment.compressor.Compressor], double: float) -> 'ProductionOptimizer.OptimizationObjective': ... + def createSurgeMarginObjective( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + double: float, + ) -> "ProductionOptimizer.OptimizationObjective": ... @staticmethod - def createValidityConstraint(list: java.util.List[jneqsim.process.equipment.compressor.Compressor]) -> 'ProductionOptimizer.OptimizationConstraint': ... + def createValidityConstraint( + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + ) -> "ProductionOptimizer.OptimizationConstraint": ... @staticmethod - def extractBounds(compressor: jneqsim.process.equipment.compressor.Compressor) -> 'CompressorOptimizationHelper.CompressorBounds': ... + def extractBounds( + compressor: jneqsim.process.equipment.compressor.Compressor, + ) -> "CompressorOptimizationHelper.CompressorBounds": ... @staticmethod - def optimizeTwoStage(processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List[jneqsim.process.equipment.compressor.Compressor], list2: java.util.List[typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]], double: float, double2: float, optimizationConfig: 'ProductionOptimizer.OptimizationConfig') -> 'CompressorOptimizationHelper.TwoStageResult': ... + def optimizeTwoStage( + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List[jneqsim.process.equipment.compressor.Compressor], + list2: java.util.List[ + typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ] + ], + double: float, + double2: float, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + ) -> "CompressorOptimizationHelper.TwoStageResult": ... + class CompressorBounds: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + string: typing.Union[java.lang.String, str], + ): ... def getFlowUnit(self) -> java.lang.String: ... def getMaxFlow(self) -> float: ... def getMaxSpeed(self) -> float: ... def getMinFlow(self) -> float: ... def getMinSpeed(self) -> float: ... - def getRecommendedRange(self, double: float) -> typing.MutableSequence[float]: ... + def getRecommendedRange( + self, double: float + ) -> typing.MutableSequence[float]: ... def getStoneWallFlow(self) -> float: ... def getSurgeFlow(self) -> float: ... def toString(self) -> java.lang.String: ... + class TwoStageResult: - def __init__(self, double: float, string: typing.Union[java.lang.String, str], 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]], map5: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], optimizationResult: 'ProductionOptimizer.OptimizationResult', optimizationResult2: 'ProductionOptimizer.OptimizationResult'): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + 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], + ], + map5: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + optimizationResult: "ProductionOptimizer.OptimizationResult", + optimizationResult2: "ProductionOptimizer.OptimizationResult", + ): ... def getFlowUnit(self) -> java.lang.String: ... def getMinSurgeMargin(self) -> float: ... - def getStage1Result(self) -> 'ProductionOptimizer.OptimizationResult': ... - def getStage2Result(self) -> 'ProductionOptimizer.OptimizationResult': ... + def getStage1Result(self) -> "ProductionOptimizer.OptimizationResult": ... + def getStage2Result(self) -> "ProductionOptimizer.OptimizationResult": ... def getTotalFlow(self) -> float: ... def getTotalPower(self) -> float: ... def getTrainFlows(self) -> java.util.Map[java.lang.String, float]: ... @@ -136,64 +275,109 @@ class CompressorOptimizationHelper: class ConstraintPenaltyCalculator(java.io.Serializable): def __init__(self): ... - def addConstraint(self, processConstraint: 'ProcessConstraint') -> 'ConstraintPenaltyCalculator': ... - def addConstraints(self, list: java.util.List['ProcessConstraint']) -> 'ConstraintPenaltyCalculator': ... - def addEquipmentCapacityConstraints(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ConstraintPenaltyCalculator': ... + def addConstraint( + self, processConstraint: "ProcessConstraint" + ) -> "ConstraintPenaltyCalculator": ... + def addConstraints( + self, list: java.util.List["ProcessConstraint"] + ) -> "ConstraintPenaltyCalculator": ... + def addEquipmentCapacityConstraints( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "ConstraintPenaltyCalculator": ... @staticmethod - def applyPenaltyFormula(double: 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]) -> float: ... + def applyPenaltyFormula( + double: 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], + ) -> float: ... def clear(self) -> None: ... - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> java.util.List['ConstraintPenaltyCalculator.ConstraintEvaluation']: ... - def evaluateMargins(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> typing.MutableSequence[float]: ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> java.util.List["ConstraintPenaltyCalculator.ConstraintEvaluation"]: ... + def evaluateMargins( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> typing.MutableSequence[float]: ... def getConstraintCount(self) -> int: ... - def getConstraints(self) -> java.util.List['ProcessConstraint']: ... - def isFeasible(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... - def penalize(self, double: float, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def totalPenalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def getConstraints(self) -> java.util.List["ProcessConstraint"]: ... + def isFeasible( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> bool: ... + def penalize( + self, double: float, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def totalPenalty( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + class ConstraintEvaluation(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], constraintSeverityLevel: 'ConstraintSeverityLevel', double: float, boolean: bool, double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + constraintSeverityLevel: "ConstraintSeverityLevel", + double: float, + boolean: bool, + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... def getMargin(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenalty(self) -> float: ... - def getSeverity(self) -> 'ConstraintSeverityLevel': ... + def getSeverity(self) -> "ConstraintSeverityLevel": ... def isSatisfied(self) -> bool: ... def toString(self) -> java.lang.String: ... -class ConstraintSeverityLevel(java.lang.Enum['ConstraintSeverityLevel']): - CRITICAL: typing.ClassVar['ConstraintSeverityLevel'] = ... - HARD: typing.ClassVar['ConstraintSeverityLevel'] = ... - SOFT: typing.ClassVar['ConstraintSeverityLevel'] = ... - ADVISORY: typing.ClassVar['ConstraintSeverityLevel'] = ... +class ConstraintSeverityLevel(java.lang.Enum["ConstraintSeverityLevel"]): + CRITICAL: typing.ClassVar["ConstraintSeverityLevel"] = ... + HARD: typing.ClassVar["ConstraintSeverityLevel"] = ... + SOFT: typing.ClassVar["ConstraintSeverityLevel"] = ... + ADVISORY: typing.ClassVar["ConstraintSeverityLevel"] = ... @staticmethod - def fromCapacitySeverity(constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity) -> 'ConstraintSeverityLevel': ... + def fromCapacitySeverity( + constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity, + ) -> "ConstraintSeverityLevel": ... @staticmethod - def fromIsHard(boolean: bool) -> 'ConstraintSeverityLevel': ... + def fromIsHard(boolean: bool) -> "ConstraintSeverityLevel": ... @staticmethod - def fromOptimizerSeverity(constraintSeverity: 'ProductionOptimizer.ConstraintSeverity') -> 'ConstraintSeverityLevel': ... - def toCapacitySeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def fromOptimizerSeverity( + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + ) -> "ConstraintSeverityLevel": ... + def toCapacitySeverity( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... def toIsHard(self) -> bool: ... - def toOptimizerSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toOptimizerSeverity(self) -> "ProductionOptimizer.ConstraintSeverity": ... + _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: ... + 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]) -> 'ConstraintSeverityLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ConstraintSeverityLevel": ... @staticmethod - def values() -> typing.MutableSequence['ConstraintSeverityLevel']: ... + def values() -> typing.MutableSequence["ConstraintSeverityLevel"]: ... class DebottleneckAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def analyze(self) -> None: ... - def getConstrainedEquipment(self) -> java.util.List['DebottleneckAnalyzer.EquipmentStatus']: ... + def getConstrainedEquipment( + self, + ) -> java.util.List["DebottleneckAnalyzer.EquipmentStatus"]: ... def getOverallUtilization(self) -> float: ... def getOverloadedCount(self) -> int: ... def getPrimaryBottleneck(self) -> java.lang.String: ... - def getRankedEquipment(self) -> java.util.List['DebottleneckAnalyzer.EquipmentStatus']: ... + def getRankedEquipment( + self, + ) -> java.util.List["DebottleneckAnalyzer.EquipmentStatus"]: ... def setCriticalThreshold(self, double: float) -> None: ... def setWarningThreshold(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class EquipmentStatus(java.io.Serializable): name: java.lang.String = ... type: java.lang.String = ... @@ -203,64 +387,136 @@ class DebottleneckAnalyzer(java.io.Serializable): designLimit: float = ... status: java.lang.String = ... suggestion: java.lang.String = ... - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, string3: typing.Union[java.lang.String, str], double2: float, double3: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + string3: typing.Union[java.lang.String, str], + double2: float, + double3: float, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + ): ... class DegradedOperationOptimizer(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def clearCache(self) -> None: ... - def createRecoveryPlan(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer.RecoveryPlan': ... - def evaluateOperatingModes(self, string: typing.Union[java.lang.String, str]) -> java.util.Map['DegradedOperationOptimizer.OperatingMode', float]: ... - @typing.overload - def optimizeWithEquipmentDown(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationResult': ... - @typing.overload - def optimizeWithEquipmentDown(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> 'DegradedOperationResult': ... - def optimizeWithMultipleFailures(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'DegradedOperationResult': ... - def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer': ... - def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'DegradedOperationOptimizer': ... - def setTolerance(self, double: float) -> 'DegradedOperationOptimizer': ... - class OperatingMode(java.lang.Enum['DegradedOperationOptimizer.OperatingMode']): - NORMAL: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - REDUCED_CAPACITY: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - PARTIAL_SHUTDOWN: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - FULL_SHUTDOWN: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - BYPASS_MODE: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - STANDBY_MODE: typing.ClassVar['DegradedOperationOptimizer.OperatingMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def createRecoveryPlan( + self, string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationOptimizer.RecoveryPlan": ... + def evaluateOperatingModes( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map["DegradedOperationOptimizer.OperatingMode", float]: ... + @typing.overload + def optimizeWithEquipmentDown( + self, string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationResult": ... + @typing.overload + def optimizeWithEquipmentDown( + self, + string: typing.Union[java.lang.String, str], + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> "DegradedOperationResult": ... + def optimizeWithMultipleFailures( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "DegradedOperationResult": ... + def setFeedStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationOptimizer": ... + def setProductStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationOptimizer": ... + def setTolerance(self, double: float) -> "DegradedOperationOptimizer": ... + + class OperatingMode(java.lang.Enum["DegradedOperationOptimizer.OperatingMode"]): + NORMAL: typing.ClassVar["DegradedOperationOptimizer.OperatingMode"] = ... + REDUCED_CAPACITY: typing.ClassVar[ + "DegradedOperationOptimizer.OperatingMode" + ] = ... + PARTIAL_SHUTDOWN: typing.ClassVar[ + "DegradedOperationOptimizer.OperatingMode" + ] = ... + FULL_SHUTDOWN: typing.ClassVar["DegradedOperationOptimizer.OperatingMode"] = ... + BYPASS_MODE: typing.ClassVar["DegradedOperationOptimizer.OperatingMode"] = ... + STANDBY_MODE: typing.ClassVar["DegradedOperationOptimizer.OperatingMode"] = ... + _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: ... + 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]) -> 'DegradedOperationOptimizer.OperatingMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationOptimizer.OperatingMode": ... @staticmethod - def values() -> typing.MutableSequence['DegradedOperationOptimizer.OperatingMode']: ... + def values() -> ( + typing.MutableSequence["DegradedOperationOptimizer.OperatingMode"] + ): ... + class RecoveryAction(java.io.Serializable): - def __init__(self, phase: 'DegradedOperationOptimizer.RecoveryAction.Phase', string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + phase: "DegradedOperationOptimizer.RecoveryAction.Phase", + string: typing.Union[java.lang.String, str], + double: float, + ): ... def getDescription(self) -> java.lang.String: ... def getEstimatedDuration(self) -> float: ... - def getPhase(self) -> 'DegradedOperationOptimizer.RecoveryAction.Phase': ... + def getPhase(self) -> "DegradedOperationOptimizer.RecoveryAction.Phase": ... def toString(self) -> java.lang.String: ... - class Phase(java.lang.Enum['DegradedOperationOptimizer.RecoveryAction.Phase']): - IMMEDIATE: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... - STABILIZATION: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... - REPAIR: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... - RESTORATION: typing.ClassVar['DegradedOperationOptimizer.RecoveryAction.Phase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Phase(java.lang.Enum["DegradedOperationOptimizer.RecoveryAction.Phase"]): + IMMEDIATE: typing.ClassVar[ + "DegradedOperationOptimizer.RecoveryAction.Phase" + ] = ... + STABILIZATION: typing.ClassVar[ + "DegradedOperationOptimizer.RecoveryAction.Phase" + ] = ... + REPAIR: typing.ClassVar[ + "DegradedOperationOptimizer.RecoveryAction.Phase" + ] = ... + RESTORATION: typing.ClassVar[ + "DegradedOperationOptimizer.RecoveryAction.Phase" + ] = ... + _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: ... + 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]) -> 'DegradedOperationOptimizer.RecoveryAction.Phase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DegradedOperationOptimizer.RecoveryAction.Phase": ... @staticmethod - def values() -> typing.MutableSequence['DegradedOperationOptimizer.RecoveryAction.Phase']: ... + def values() -> ( + typing.MutableSequence[ + "DegradedOperationOptimizer.RecoveryAction.Phase" + ] + ): ... + class RecoveryPlan(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addAction(self, recoveryAction: 'DegradedOperationOptimizer.RecoveryAction') -> None: ... - def getActions(self) -> java.util.List['DegradedOperationOptimizer.RecoveryAction']: ... + def addAction( + self, recoveryAction: "DegradedOperationOptimizer.RecoveryAction" + ) -> None: ... + def getActions( + self, + ) -> java.util.List["DegradedOperationOptimizer.RecoveryAction"]: ... def getEstimatedRecoveryTime(self) -> float: ... def getExpectedProductionDuringRecovery(self) -> float: ... def getFailedEquipment(self) -> java.lang.String: ... @@ -276,7 +532,9 @@ class DegradedOperationResult(java.io.Serializable): def getCapacityFactor(self) -> float: ... def getComputeTimeMs(self) -> int: ... def getFailedEquipment(self) -> java.lang.String: ... - def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getFailureMode( + self, + ) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... def getNotes(self) -> java.lang.String: ... def getOperatingMode(self) -> DegradedOperationOptimizer.OperatingMode: ... def getOptimalFlowRate(self) -> float: ... @@ -290,14 +548,27 @@ class DegradedOperationResult(java.io.Serializable): def setBaselineProduction(self, double: float) -> None: ... def setComputeTimeMs(self, long: int) -> None: ... def setConverged(self, boolean: bool) -> None: ... - def setFailedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setFailedEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFailureMode( + self, + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> None: ... def setNotes(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setOperatingMode(self, operatingMode: DegradedOperationOptimizer.OperatingMode) -> None: ... + def setOperatingMode( + self, operatingMode: DegradedOperationOptimizer.OperatingMode + ) -> None: ... def setOptimalFlowRate(self, double: float) -> None: ... def setOptimalPower(self, double: float) -> None: ... def setOptimalProduction(self, double: float) -> None: ... - def setOptimizedSetpoints(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setOptimizedSetpoints( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... @@ -307,13 +578,27 @@ class EclipseVFPExporter(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def exportCOMPDAT(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... - def exportMultipleScenarios(self, list: java.util.List['EclipseVFPExporter.VFPScenario'], string: typing.Union[java.lang.String, str]) -> None: ... + def exportCOMPDAT( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + def exportMultipleScenarios( + self, + list: java.util.List["EclipseVFPExporter.VFPScenario"], + string: typing.Union[java.lang.String, str], + ) -> None: ... def exportVFPEXP(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportVFPINJ(self, string: typing.Union[java.lang.String, str]) -> None: ... def exportVFPPROD(self, string: typing.Union[java.lang.String, str]) -> None: ... def getALQs(self) -> typing.MutableSequence[float]: ... - def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getBHPTable( + self, + ) -> typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ] + ]: ... def getDatumDepth(self) -> float: ... def getFlowRateType(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... @@ -325,42 +610,103 @@ class EclipseVFPExporter(java.io.Serializable): def getVFPINJString(self) -> java.lang.String: ... def getVFPPRODString(self) -> java.lang.String: ... def getWaterCuts(self) -> typing.MutableSequence[float]: ... - def setALQs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBHPTable(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]], jpype.JArray]) -> None: ... + def setALQs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBHPTable( + self, + doubleArray: typing.Union[ + typing.List[ + typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ] + ], + jpype.JArray, + ], + ) -> None: ... def setDatumDepth(self, double: float) -> None: ... def setFlowRateType(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setLiftCurveData(self, liftCurveData: 'ProcessOptimizationEngine.LiftCurveData') -> None: ... - def setTHPs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setGORs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setLiftCurveData( + self, liftCurveData: "ProcessOptimizationEngine.LiftCurveData" + ) -> None: ... + def setTHPs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setTableNumber(self, int: int) -> None: ... def setTableTitle(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUnitSystem(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWaterCuts( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + class VFPScenario(java.io.Serializable): def __init__(self): ... - def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]]: ... + def getBHPTable( + self, + ) -> typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ] + ]: ... def getDescription(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getGORs(self) -> typing.MutableSequence[float]: ... def getTHPs(self) -> typing.MutableSequence[float]: ... def getTableNumber(self) -> int: ... def getWaterCuts(self) -> typing.MutableSequence[float]: ... - def setBHPTable(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]], jpype.JArray]) -> None: ... - def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTHPs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setBHPTable( + self, + doubleArray: typing.Union[ + typing.List[ + typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ] + ], + jpype.JArray, + ], + ) -> None: ... + def setDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setGORs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTHPs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setTableNumber(self, int: int) -> None: ... - def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWaterCuts( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class FlowRateOptimizationResult(java.io.Serializable): def __init__(self): ... - def addConstraintViolation(self, constraintViolation: 'FlowRateOptimizationResult.ConstraintViolation') -> None: ... + def addConstraintViolation( + self, constraintViolation: "FlowRateOptimizationResult.ConstraintViolation" + ) -> None: ... @staticmethod - def error(string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def error( + string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizationResult": ... def getComputationTimeMs(self) -> int: ... - def getConstraintViolations(self) -> java.util.List['FlowRateOptimizationResult.ConstraintViolation']: ... + def getConstraintViolations( + self, + ) -> java.util.List["FlowRateOptimizationResult.ConstraintViolation"]: ... def getConvergenceError(self) -> float: ... def getFlowRate(self) -> float: ... def getFlowRateUnit(self) -> java.lang.String: ... @@ -369,34 +715,56 @@ class FlowRateOptimizationResult(java.io.Serializable): def getIterationCount(self) -> int: ... def getOutletPressure(self) -> float: ... def getPressureUnit(self) -> java.lang.String: ... - def getStatus(self) -> 'FlowRateOptimizationResult.Status': ... + def getStatus(self) -> "FlowRateOptimizationResult.Status": ... def getTargetInletPressure(self) -> float: ... def getTargetOutletPressure(self) -> float: ... def hasHardViolations(self) -> bool: ... @staticmethod - def infeasibleConstraint(string: typing.Union[java.lang.String, str], list: java.util.List['FlowRateOptimizationResult.ConstraintViolation']) -> 'FlowRateOptimizationResult': ... + def infeasibleConstraint( + string: typing.Union[java.lang.String, str], + list: java.util.List["FlowRateOptimizationResult.ConstraintViolation"], + ) -> "FlowRateOptimizationResult": ... @staticmethod - def infeasiblePressure(string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def infeasiblePressure( + string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizationResult": ... def isFeasible(self) -> bool: ... @staticmethod - def notConverged(int: int, double: float) -> 'FlowRateOptimizationResult': ... + def notConverged(int: int, double: float) -> "FlowRateOptimizationResult": ... def setComputationTimeMs(self, long: int) -> None: ... def setConvergenceError(self, double: float) -> None: ... def setFlowRate(self, double: float) -> None: ... def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setInfeasibilityReason(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setInfeasibilityReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletPressure(self, double: float) -> None: ... def setIterationCount(self, int: int) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStatus(self, status: 'FlowRateOptimizationResult.Status') -> None: ... + def setStatus(self, status: "FlowRateOptimizationResult.Status") -> None: ... def setTargetInletPressure(self, double: float) -> None: ... def setTargetOutletPressure(self, double: float) -> None: ... @staticmethod - def success(double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizationResult': ... + def success( + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + double3: float, + string2: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizationResult": ... def toString(self) -> java.lang.String: ... + class ConstraintViolation(java.io.Serializable): - def __init__(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], boolean: bool): ... + def __init__( + 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], + boolean: bool, + ): ... def getConstraintName(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... @@ -404,44 +772,132 @@ class FlowRateOptimizationResult(java.io.Serializable): def getUnit(self) -> java.lang.String: ... def isHardViolation(self) -> bool: ... def toString(self) -> java.lang.String: ... - class Status(java.lang.Enum['FlowRateOptimizationResult.Status']): - OPTIMAL: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... - INFEASIBLE_PRESSURE: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... - INFEASIBLE_CONSTRAINT: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... - NOT_CONVERGED: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... - ERROR: typing.ClassVar['FlowRateOptimizationResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Status(java.lang.Enum["FlowRateOptimizationResult.Status"]): + OPTIMAL: typing.ClassVar["FlowRateOptimizationResult.Status"] = ... + INFEASIBLE_PRESSURE: typing.ClassVar["FlowRateOptimizationResult.Status"] = ... + INFEASIBLE_CONSTRAINT: typing.ClassVar["FlowRateOptimizationResult.Status"] = ( + ... + ) + NOT_CONVERGED: typing.ClassVar["FlowRateOptimizationResult.Status"] = ... + ERROR: typing.ClassVar["FlowRateOptimizationResult.Status"] = ... + _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: ... + 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]) -> 'FlowRateOptimizationResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizationResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['FlowRateOptimizationResult.Status']: ... + def values() -> typing.MutableSequence["FlowRateOptimizationResult.Status"]: ... class FlowRateOptimizer(java.io.Serializable): @typing.overload - def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def calculateTotalCompressorPower(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def calculateTotalCompressorPower( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def configureProcessCompressorCharts(self) -> None: ... - def findFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> FlowRateOptimizationResult: ... - def findInletPressure(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> FlowRateOptimizationResult: ... - def findMaxFlowRateAtPressureBoundaries(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def findMaximumFeasibleFlowRate(self, double: float, string: typing.Union[java.lang.String, str], double2: float) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def findMinimumTotalPowerOperatingPoint(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float, double4: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def findProcessOperatingPoint(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def generateCapacityCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double3: float, string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence['FlowRateOptimizer.ProcessOperatingPoint']: ... - def generateProcessCapacityTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double3: float) -> 'FlowRateOptimizer.ProcessCapacityTable': ... - def generateProcessLiftCurve(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessLiftCurveTable': ... - def generateProcessPerformanceTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.ProcessPerformanceTable': ... - @typing.overload - def generateProfessionalLiftCurves(self, double: float, double2: float, double3: float, double4: float, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveResult': ... - @typing.overload - def generateProfessionalLiftCurves(self, liftCurveConfiguration: 'FlowRateOptimizer.LiftCurveConfiguration') -> 'FlowRateOptimizer.LiftCurveResult': ... - def getEquipmentUtilizationReport(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.EquipmentUtilizationData']: ... + def findFlowRate( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> FlowRateOptimizationResult: ... + def findInletPressure( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> FlowRateOptimizationResult: ... + def findMaxFlowRateAtPressureBoundaries( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + double3: float, + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def findMaximumFeasibleFlowRate( + self, double: float, string: typing.Union[java.lang.String, str], double2: float + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def findMinimumTotalPowerOperatingPoint( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + double3: float, + double4: float, + string2: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def findProcessOperatingPoint( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def generateCapacityCurve( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + double3: float, + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence["FlowRateOptimizer.ProcessOperatingPoint"]: ... + def generateProcessCapacityTable( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + double3: float, + ) -> "FlowRateOptimizer.ProcessCapacityTable": ... + def generateProcessLiftCurve( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizer.ProcessLiftCurveTable": ... + def generateProcessPerformanceTable( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizer.ProcessPerformanceTable": ... + @typing.overload + def generateProfessionalLiftCurves( + self, + double: float, + double2: float, + double3: float, + double4: float, + string: typing.Union[java.lang.String, str], + ) -> "FlowRateOptimizer.LiftCurveResult": ... + @typing.overload + def generateProfessionalLiftCurves( + self, liftCurveConfiguration: "FlowRateOptimizer.LiftCurveConfiguration" + ) -> "FlowRateOptimizer.LiftCurveResult": ... + def getEquipmentUtilizationReport( + self, + ) -> java.util.Map[ + java.lang.String, "FlowRateOptimizer.EquipmentUtilizationData" + ]: ... def getInitialFlowGuess(self) -> float: ... def getMaxEquipmentUtilization(self) -> float: ... def getMaxEquipmentUtilizationLimit(self) -> float: ... @@ -454,12 +910,16 @@ class FlowRateOptimizer(java.io.Serializable): def getMinFlowRate(self) -> float: ... def getMinSpeedLimit(self) -> float: ... def getMinSurgeMargin(self) -> float: ... - def getMode(self) -> 'FlowRateOptimizer.Mode': ... + def getMode(self) -> "FlowRateOptimizer.Mode": ... def getNumberOfChartSpeeds(self) -> int: ... def getParallelThreads(self) -> int: ... - def getProcessCompressors(self) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... - def getProcessSeparators(self) -> java.util.List[jneqsim.process.equipment.separator.Separator]: ... - def getProgressCallback(self) -> 'FlowRateOptimizer.ProgressCallback': ... + def getProcessCompressors( + self, + ) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... + def getProcessSeparators( + self, + ) -> java.util.List[jneqsim.process.equipment.separator.Separator]: ... + def getProgressCallback(self) -> "FlowRateOptimizer.ProgressCallback": ... def getSpeedMarginAboveDesign(self) -> float: ... def getTolerance(self) -> float: ... def isAutoConfigureProcessCompressors(self) -> bool: ... @@ -485,12 +945,18 @@ class FlowRateOptimizer(java.io.Serializable): def setMinSurgeMargin(self, double: float) -> None: ... def setNumberOfChartSpeeds(self, int: int) -> None: ... def setParallelThreads(self, int: int) -> None: ... - def setProgressCallback(self, progressCallback: typing.Union['FlowRateOptimizer.ProgressCallback', typing.Callable]) -> None: ... + def setProgressCallback( + self, + progressCallback: typing.Union[ + "FlowRateOptimizer.ProgressCallback", typing.Callable + ], + ) -> None: ... def setSolveSpeed(self, boolean: bool) -> None: ... def setSpeedMarginAboveDesign(self, double: float) -> None: ... def setTolerance(self, double: float) -> None: ... def validateConfiguration(self) -> java.util.List[java.lang.String]: ... def validateOrThrow(self) -> None: ... + class CompressorOperatingPoint(java.io.Serializable): def __init__(self): ... def getFlowRate(self) -> float: ... @@ -510,17 +976,22 @@ class FlowRateOptimizer(java.io.Serializable): def setAtStoneWall(self, boolean: bool) -> None: ... def setFeasible(self, boolean: bool) -> None: ... def setFlowRate(self, double: float) -> None: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInSurge(self, boolean: bool) -> None: ... def setInletPressure(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... def setPolytropicEfficiency(self, double: float) -> None: ... def setPolytropicHead(self, double: float) -> None: ... def setPower(self, double: float) -> None: ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSpeed(self, double: float) -> None: ... def setSurgeMargin(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... + class EquipmentUtilizationData(java.io.Serializable): def __init__(self): ... def getCapacity(self) -> float: ... @@ -534,7 +1005,9 @@ class FlowRateOptimizer(java.io.Serializable): def getUtilization(self) -> float: ... def setCapacity(self, double: float) -> None: ... def setDuty(self, double: float) -> None: ... - def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPower(self, double: float) -> None: ... def setSpeed(self, double: float) -> None: ... @@ -542,6 +1015,7 @@ class FlowRateOptimizer(java.io.Serializable): def setSurgeMargin(self, double: float) -> None: ... def setUtilization(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... + class LiftCurveConfiguration(java.io.Serializable): def __init__(self): ... def getFlowRateUnit(self) -> java.lang.String: ... @@ -554,109 +1028,224 @@ class FlowRateOptimizer(java.io.Serializable): def getMinSpeedLimit(self) -> float: ... def getOutletPressures(self) -> typing.MutableSequence[float]: ... def getPressureUnit(self) -> java.lang.String: ... - def getProgressCallback(self) -> 'FlowRateOptimizer.ProgressCallback': ... + def getProgressCallback(self) -> "FlowRateOptimizer.ProgressCallback": ... def getSurgeMargin(self) -> float: ... def isEnableProgressLogging(self) -> bool: ... def isGenerateCapacityTable(self) -> bool: ... def isGenerateLiftCurveTable(self) -> bool: ... def isGeneratePerformanceTable(self) -> bool: ... - def withFlowRateRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withInletPressureRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withMaxPowerLimit(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withMaxTotalPowerLimit(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withMaxUtilization(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withOutletPressureRange(self, double: float, double2: float, int: int) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withPressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withProgressCallback(self, progressCallback: typing.Union['FlowRateOptimizer.ProgressCallback', typing.Callable]) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withProgressLogging(self, boolean: bool) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withSpeedLimits(self, double: float, double2: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withSurgeMargin(self, double: float) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... - def withTables(self, boolean: bool, boolean2: bool, boolean3: bool) -> 'FlowRateOptimizer.LiftCurveConfiguration': ... + def withFlowRateRange( + self, double: float, double2: float, int: int + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withInletPressureRange( + self, double: float, double2: float, int: int + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withMaxPowerLimit( + self, double: float + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withMaxTotalPowerLimit( + self, double: float + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withMaxUtilization( + self, double: float + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withOutletPressureRange( + self, double: float, double2: float, int: int + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withProgressCallback( + self, + progressCallback: typing.Union[ + "FlowRateOptimizer.ProgressCallback", typing.Callable + ], + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withProgressLogging( + self, boolean: bool + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withSpeedLimits( + self, double: float, double2: float + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withSurgeMargin( + self, double: float + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + def withTables( + self, boolean: bool, boolean2: bool, boolean3: bool + ) -> "FlowRateOptimizer.LiftCurveConfiguration": ... + class LiftCurveResult(java.io.Serializable): def __init__(self): ... def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... - def getCapacityTable(self) -> 'FlowRateOptimizer.ProcessCapacityTable': ... + def getCapacityTable(self) -> "FlowRateOptimizer.ProcessCapacityTable": ... def getFeasibilityPercentage(self) -> float: ... def getFeasiblePoints(self) -> int: ... def getGenerationTimeMs(self) -> int: ... - def getLiftCurveTable(self) -> 'FlowRateOptimizer.ProcessLiftCurveTable': ... - def getPerformanceTable(self) -> 'FlowRateOptimizer.ProcessPerformanceTable': ... + def getLiftCurveTable(self) -> "FlowRateOptimizer.ProcessLiftCurveTable": ... + def getPerformanceTable( + self, + ) -> "FlowRateOptimizer.ProcessPerformanceTable": ... def getSummary(self) -> java.lang.String: ... def getTotalEvaluations(self) -> int: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... - def setCapacityTable(self, processCapacityTable: 'FlowRateOptimizer.ProcessCapacityTable') -> None: ... + def setCapacityTable( + self, processCapacityTable: "FlowRateOptimizer.ProcessCapacityTable" + ) -> None: ... def setFeasiblePoints(self, int: int) -> None: ... def setGenerationTimeMs(self, long: int) -> None: ... - def setLiftCurveTable(self, processLiftCurveTable: 'FlowRateOptimizer.ProcessLiftCurveTable') -> None: ... - def setPerformanceTable(self, processPerformanceTable: 'FlowRateOptimizer.ProcessPerformanceTable') -> None: ... + def setLiftCurveTable( + self, processLiftCurveTable: "FlowRateOptimizer.ProcessLiftCurveTable" + ) -> None: ... + def setPerformanceTable( + self, processPerformanceTable: "FlowRateOptimizer.ProcessPerformanceTable" + ) -> None: ... def setTotalEvaluations(self, int: int) -> None: ... - class Mode(java.lang.Enum['FlowRateOptimizer.Mode']): - PROCESS_SYSTEM: typing.ClassVar['FlowRateOptimizer.Mode'] = ... - PROCESS_MODEL: typing.ClassVar['FlowRateOptimizer.Mode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Mode(java.lang.Enum["FlowRateOptimizer.Mode"]): + PROCESS_SYSTEM: typing.ClassVar["FlowRateOptimizer.Mode"] = ... + PROCESS_MODEL: typing.ClassVar["FlowRateOptimizer.Mode"] = ... + _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: ... + 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]) -> 'FlowRateOptimizer.Mode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizer.Mode": ... @staticmethod - def values() -> typing.MutableSequence['FlowRateOptimizer.Mode']: ... + def values() -> typing.MutableSequence["FlowRateOptimizer.Mode"]: ... + class ProcessCapacityTable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... def countFeasiblePoints(self) -> int: ... - def findMaxFlowRatePoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def findMaxFlowRatePoint(self) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def findMinimumPowerPoint( + self, + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... def getCompressorNames(self) -> java.util.List[java.lang.String]: ... def getFlowRateUnit(self) -> java.lang.String: ... - def getFlowRateValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getFlowRateValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getInletPressures(self) -> typing.MutableSequence[float]: ... def getMaxUtilization(self) -> float: ... - def getMaxUtilizationValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getOperatingPoint(self, int: int, int2: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getMaxUtilizationValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getOperatingPoint( + self, int: int, int2: int + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... def getOutletPressures(self) -> typing.MutableSequence[float]: ... def getPressureUnit(self) -> java.lang.String: ... def getTableName(self) -> java.lang.String: ... - def getTotalPowerValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getTotalPowerValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxUtilization(self, double: float) -> None: ... - def setOperatingPoint(self, int: int, int2: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperatingPoint( + self, + int: int, + int2: int, + processOperatingPoint: "FlowRateOptimizer.ProcessOperatingPoint", + ) -> None: ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... def toCsv(self) -> java.lang.String: ... def toEclipseFormat(self) -> java.lang.String: ... def toFormattedString(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class ProcessLiftCurveTable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... - def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... + def findMinimumPowerPoint( + self, + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... def getCompressorNames(self) -> java.util.List[java.lang.String]: ... def getFlowRateUnit(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getInletPressures(self) -> typing.MutableSequence[float]: ... - def getMaxUtilizationValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getOperatingPoint(self, int: int, int2: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... - def getOutletPressureValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMaxUtilizationValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getOperatingPoint( + self, int: int, int2: int + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... + def getOutletPressureValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressureUnit(self) -> java.lang.String: ... def getTableName(self) -> java.lang.String: ... - def getTotalPowerValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setOperatingPoint(self, int: int, int2: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def getTotalPowerValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setOperatingPoint( + self, + int: int, + int2: int, + processOperatingPoint: "FlowRateOptimizer.ProcessOperatingPoint", + ) -> None: ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... def toEclipseFormat(self) -> java.lang.String: ... def toFormattedString(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class ProcessOperatingPoint(java.io.Serializable): def __init__(self): ... - def addCompressorOperatingPoint(self, string: typing.Union[java.lang.String, str], compressorOperatingPoint: 'FlowRateOptimizer.CompressorOperatingPoint') -> None: ... + def addCompressorOperatingPoint( + self, + string: typing.Union[java.lang.String, str], + compressorOperatingPoint: "FlowRateOptimizer.CompressorOperatingPoint", + ) -> None: ... def getCompressorNames(self) -> java.util.List[java.lang.String]: ... - def getCompressorOperatingPoint(self, string: typing.Union[java.lang.String, str]) -> 'FlowRateOptimizer.CompressorOperatingPoint': ... - def getCompressorOperatingPoints(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.CompressorOperatingPoint']: ... - def getCompressorPower(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getConstraintViolations(self) -> java.util.List[FlowRateOptimizationResult.ConstraintViolation]: ... - def getEquipmentData(self) -> java.util.Map[java.lang.String, 'FlowRateOptimizer.EquipmentUtilizationData']: ... + def getCompressorOperatingPoint( + self, string: typing.Union[java.lang.String, str] + ) -> "FlowRateOptimizer.CompressorOperatingPoint": ... + def getCompressorOperatingPoints( + self, + ) -> java.util.Map[ + java.lang.String, "FlowRateOptimizer.CompressorOperatingPoint" + ]: ... + def getCompressorPower( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getConstraintViolations( + self, + ) -> java.util.List[FlowRateOptimizationResult.ConstraintViolation]: ... + def getEquipmentData( + self, + ) -> java.util.Map[ + java.lang.String, "FlowRateOptimizer.EquipmentUtilizationData" + ]: ... def getFlowRate(self) -> float: ... def getFlowRateUnit(self) -> java.lang.String: ... def getInletPressure(self) -> float: ... @@ -666,37 +1255,76 @@ class FlowRateOptimizer(java.io.Serializable): def getPressureUnit(self) -> java.lang.String: ... def getTotalPower(self) -> float: ... def isFeasible(self) -> bool: ... - def setConstraintViolations(self, list: java.util.List[FlowRateOptimizationResult.ConstraintViolation]) -> None: ... - def setEquipmentData(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'FlowRateOptimizer.EquipmentUtilizationData'], typing.Mapping[typing.Union[java.lang.String, str], 'FlowRateOptimizer.EquipmentUtilizationData']]) -> None: ... + def setConstraintViolations( + self, list: java.util.List[FlowRateOptimizationResult.ConstraintViolation] + ) -> None: ... + def setEquipmentData( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + "FlowRateOptimizer.EquipmentUtilizationData", + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + "FlowRateOptimizer.EquipmentUtilizationData", + ], + ], + ) -> None: ... def setFeasible(self, boolean: bool) -> None: ... def setFlowRate(self, double: float) -> None: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletPressure(self, double: float) -> None: ... def setMaxUtilization(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTotalPower(self, double: float) -> None: ... def toDetailedString(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... + class ProcessPerformanceTable(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], list: java.util.List[typing.Union[java.lang.String, str]]): ... - def findMinimumPowerPoint(self) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + list: java.util.List[typing.Union[java.lang.String, str]], + ): ... + def findMinimumPowerPoint( + self, + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... def getFlowRateUnit(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getInletPressure(self) -> float: ... - def getOperatingPoint(self, int: int) -> 'FlowRateOptimizer.ProcessOperatingPoint': ... + def getOperatingPoint( + self, int: int + ) -> "FlowRateOptimizer.ProcessOperatingPoint": ... def getOutletPressure(self, int: int) -> float: ... def getPressureUnit(self) -> java.lang.String: ... def getTableName(self) -> java.lang.String: ... def getTotalPower(self, int: int) -> float: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletPressure(self, double: float) -> None: ... - def setOperatingPoint(self, int: int, processOperatingPoint: 'FlowRateOptimizer.ProcessOperatingPoint') -> None: ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOperatingPoint( + self, + int: int, + processOperatingPoint: "FlowRateOptimizer.ProcessOperatingPoint", + ) -> None: ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... def toFormattedString(self) -> java.lang.String: ... + class ProgressCallback: - def onProgress(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def onProgress( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> None: ... class FluidMagicInput(java.io.Serializable): @typing.overload @@ -704,21 +1332,27 @@ class FluidMagicInput(java.io.Serializable): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @staticmethod - def builder() -> 'FluidMagicInput.Builder': ... + def builder() -> "FluidMagicInput.Builder": ... @typing.overload @staticmethod - def fromE300File(string: typing.Union[java.lang.String, str]) -> 'FluidMagicInput': ... + def fromE300File( + string: typing.Union[java.lang.String, str] + ) -> "FluidMagicInput": ... @typing.overload @staticmethod - def fromE300File(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> 'FluidMagicInput': ... + def fromE300File( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> "FluidMagicInput": ... @staticmethod - def fromFluid(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FluidMagicInput': ... + def fromFluid( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "FluidMagicInput": ... def generateGORValues(self) -> typing.MutableSequence[float]: ... def generateWaterCutValues(self) -> typing.MutableSequence[float]: ... def getBaseCaseGOR(self) -> float: ... def getGasPhase(self) -> jneqsim.thermo.system.SystemInterface: ... def getGasStdVolume(self) -> float: ... - def getGorSpacing(self) -> 'FluidMagicInput.GORSpacing': ... + def getGorSpacing(self) -> "FluidMagicInput.GORSpacing": ... def getMaxGOR(self) -> float: ... def getMaxWaterCut(self) -> float: ... def getMinGOR(self) -> float: ... @@ -740,11 +1374,13 @@ class FluidMagicInput(java.io.Serializable): def setGORRange(self, double: float, double2: float) -> None: ... @typing.overload def setGORRange(self, double: float, double2: float, int: int) -> None: ... - def setGorSpacing(self, gORSpacing: 'FluidMagicInput.GORSpacing') -> None: ... + def setGorSpacing(self, gORSpacing: "FluidMagicInput.GORSpacing") -> None: ... def setNumberOfGORPoints(self, int: int) -> None: ... def setNumberOfWaterCutPoints(self, int: int) -> None: ... def setPressure(self, double: float) -> None: ... - def setReferenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setReferenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTemperature(self, double: float) -> None: ... @typing.overload def setWaterCutRange(self, double: float, double2: float) -> None: ... @@ -752,58 +1388,125 @@ class FluidMagicInput(java.io.Serializable): def setWaterCutRange(self, double: float, double2: float, int: int) -> None: ... def setWaterSalinityPPM(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'FluidMagicInput': ... - def gorRange(self, double: float, double2: float) -> 'FluidMagicInput.Builder': ... - def gorSpacing(self, gORSpacing: 'FluidMagicInput.GORSpacing') -> 'FluidMagicInput.Builder': ... - def numberOfGORPoints(self, int: int) -> 'FluidMagicInput.Builder': ... - def numberOfWaterCutPoints(self, int: int) -> 'FluidMagicInput.Builder': ... - def pressure(self, double: float) -> 'FluidMagicInput.Builder': ... - def referenceFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'FluidMagicInput.Builder': ... - def temperature(self, double: float) -> 'FluidMagicInput.Builder': ... - def waterCutRange(self, double: float, double2: float) -> 'FluidMagicInput.Builder': ... - def waterSalinity(self, double: float) -> 'FluidMagicInput.Builder': ... - class GORSpacing(java.lang.Enum['FluidMagicInput.GORSpacing']): - LINEAR: typing.ClassVar['FluidMagicInput.GORSpacing'] = ... - LOGARITHMIC: typing.ClassVar['FluidMagicInput.GORSpacing'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build(self) -> "FluidMagicInput": ... + def gorRange( + self, double: float, double2: float + ) -> "FluidMagicInput.Builder": ... + def gorSpacing( + self, gORSpacing: "FluidMagicInput.GORSpacing" + ) -> "FluidMagicInput.Builder": ... + def numberOfGORPoints(self, int: int) -> "FluidMagicInput.Builder": ... + def numberOfWaterCutPoints(self, int: int) -> "FluidMagicInput.Builder": ... + def pressure(self, double: float) -> "FluidMagicInput.Builder": ... + def referenceFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "FluidMagicInput.Builder": ... + def temperature(self, double: float) -> "FluidMagicInput.Builder": ... + def waterCutRange( + self, double: float, double2: float + ) -> "FluidMagicInput.Builder": ... + def waterSalinity(self, double: float) -> "FluidMagicInput.Builder": ... + + class GORSpacing(java.lang.Enum["FluidMagicInput.GORSpacing"]): + LINEAR: typing.ClassVar["FluidMagicInput.GORSpacing"] = ... + LOGARITHMIC: typing.ClassVar["FluidMagicInput.GORSpacing"] = ... + _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: ... + 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]) -> 'FluidMagicInput.GORSpacing': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FluidMagicInput.GORSpacing": ... @staticmethod - def values() -> typing.MutableSequence['FluidMagicInput.GORSpacing']: ... + def values() -> typing.MutableSequence["FluidMagicInput.GORSpacing"]: ... class InstalledCapacityTableLoader: @typing.overload @staticmethod - def load(processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str]) -> java.util.List['InstalledCapacityTableLoader.InstalledCapacityRecord']: ... + def load( + processModel: jneqsim.process.processmodel.ProcessModel, + string: typing.Union[java.lang.String, str], + ) -> java.util.List["InstalledCapacityTableLoader.InstalledCapacityRecord"]: ... @typing.overload @staticmethod - def load(processModel: jneqsim.process.processmodel.ProcessModel, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List['InstalledCapacityTableLoader.InstalledCapacityRecord']: ... + def load( + processModel: jneqsim.process.processmodel.ProcessModel, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> java.util.List["InstalledCapacityTableLoader.InstalledCapacityRecord"]: ... + class InstalledCapacityRecord(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], string4: typing.Union[java.lang.String, str], double: float, double2: float, string5: typing.Union[java.lang.String, str], constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity, boolean: bool): ... + def __init__( + self, + 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], + double: float, + double2: float, + string5: typing.Union[java.lang.String, str], + constraintSeverity: jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity, + boolean: bool, + ): ... def getArea(self) -> java.lang.String: ... def getConstraint(self) -> java.lang.String: ... def getCurrentValueAddress(self) -> java.lang.String: ... def getDesignValue(self) -> float: ... def getEquipment(self) -> java.lang.String: ... def getMaxValue(self) -> float: ... - def getSeverity(self) -> jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity: ... + def getSeverity( + self, + ) -> ( + jneqsim.process.equipment.capacity.CapacityConstraint.ConstraintSeverity + ): ... def getUnit(self) -> java.lang.String: ... def isEnabled(self) -> bool: ... class LiftCurveGenerator(java.io.Serializable): @typing.overload - def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def generateFlowRateTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... - def generateTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... - def generateTableAutoRange(self, int: int, int2: int, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'LiftCurveTable': ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def generateFlowRateTable( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "LiftCurveTable": ... + def generateTable( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "LiftCurveTable": ... + def generateTableAutoRange( + self, + int: int, + int2: int, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "LiftCurveTable": ... def getMaxVelocity(self) -> float: ... def getOptimizer(self) -> FlowRateOptimizer: ... def getTableName(self) -> java.lang.String: ... @@ -818,7 +1521,14 @@ class LiftCurveTable(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... @typing.overload def __init__(self, int: int, int2: int): ... def countFeasiblePoints(self) -> int: ... @@ -829,31 +1539,71 @@ class LiftCurveTable(java.io.Serializable): def getFlowRateUnit(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getPressureUnit(self) -> java.lang.String: ... - def getRawDataWithHeaders(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getRawDataWithHeaders( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getTableName(self) -> java.lang.String: ... def getThpValues(self) -> typing.MutableSequence[float]: ... def getTotalPoints(self) -> int: ... def interpolateBHP(self, double: float, double2: float) -> float: ... def setBHP(self, int: int, int2: int, double: float) -> None: ... - def setBhpValues(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setBhpValues( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setComments(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTableName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setThpValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setThpValues( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def toCSV(self) -> java.lang.String: ... def toEclipseFormat(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... class MonteCarloSimulator(java.io.Serializable): - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, int: int): ... - def addTriangularParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, parameterApplier: typing.Union['MonteCarloSimulator.ParameterApplier', typing.Callable]) -> 'MonteCarloSimulator': ... - def addUniformParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, parameterApplier: typing.Union['MonteCarloSimulator.ParameterApplier', typing.Callable]) -> 'MonteCarloSimulator': ... - def run(self) -> 'MonteCarloSimulator.MonteCarloResult': ... - def setOutputExtractor(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'MonteCarloSimulator': ... - def setSeed(self, long: int) -> 'MonteCarloSimulator': ... + def __init__( + self, processSystem: jneqsim.process.processmodel.ProcessSystem, int: int + ): ... + def addTriangularParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + parameterApplier: typing.Union[ + "MonteCarloSimulator.ParameterApplier", typing.Callable + ], + ) -> "MonteCarloSimulator": ... + def addUniformParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + parameterApplier: typing.Union[ + "MonteCarloSimulator.ParameterApplier", typing.Callable + ], + ) -> "MonteCarloSimulator": ... + def run(self) -> "MonteCarloSimulator.MonteCarloResult": ... + def setOutputExtractor( + self, + string: typing.Union[java.lang.String, str], + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> "MonteCarloSimulator": ... + def setSeed(self, long: int) -> "MonteCarloSimulator": ... + class MonteCarloResult(java.io.Serializable): def getMean(self) -> float: ... def getP10(self) -> float: ... @@ -862,10 +1612,16 @@ class MonteCarloSimulator(java.io.Serializable): def getPercentile(self, double: float) -> float: ... def getProbabilityBelow(self, double: float) -> float: ... def getStdDev(self) -> float: ... - def getTornado(self) -> java.util.List['MonteCarloSimulator.TornadoEntry']: ... + def getTornado(self) -> java.util.List["MonteCarloSimulator.TornadoEntry"]: ... def toJson(self) -> java.lang.String: ... + class ParameterApplier(java.io.Serializable): - def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... + def apply( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + double: float, + ) -> None: ... + class TornadoEntry(java.io.Serializable): parameter: java.lang.String = ... lowResult: float = ... @@ -876,68 +1632,172 @@ class MultiObjectiveOptimizer(java.io.Serializable): DEFAULT_WEIGHT_COMBINATIONS: typing.ClassVar[int] = ... DEFAULT_GRID_POINTS: typing.ClassVar[int] = ... def __init__(self): ... - def includeInfeasible(self, boolean: bool) -> 'MultiObjectiveOptimizer': ... - def onProgress(self, progressCallback: typing.Union['MultiObjectiveOptimizer.ProgressCallback', typing.Callable]) -> 'MultiObjectiveOptimizer': ... + def includeInfeasible(self, boolean: bool) -> "MultiObjectiveOptimizer": ... + def onProgress( + self, + progressCallback: typing.Union[ + "MultiObjectiveOptimizer.ProgressCallback", typing.Callable + ], + ) -> "MultiObjectiveOptimizer": ... @typing.overload - def optimizeEpsilonConstraint(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, objectiveFunction: 'ObjectiveFunction', list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + def optimizeEpsilonConstraint( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + objectiveFunction: "ObjectiveFunction", + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + ) -> "ParetoFront": ... @typing.overload - def optimizeEpsilonConstraint(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, objectiveFunction: 'ObjectiveFunction', list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + def optimizeEpsilonConstraint( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + objectiveFunction: "ObjectiveFunction", + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ParetoFront": ... @typing.overload - def optimizeWeightedSum(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + def optimizeWeightedSum( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + ) -> "ParetoFront": ... @typing.overload - def optimizeWeightedSum(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + def optimizeWeightedSum( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ParetoFront": ... @typing.overload - def sampleParetoFront(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int) -> 'ParetoFront': ... + def sampleParetoFront( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + ) -> "ParetoFront": ... @typing.overload - def sampleParetoFront(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, list: java.util.List['ObjectiveFunction'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', int: int, list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ParetoFront': ... + def sampleParetoFront( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + list: java.util.List["ObjectiveFunction"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + int: int, + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ParetoFront": ... + class MultiObjectiveResult(java.io.Serializable): - def __init__(self, paretoFront: 'ParetoFront', list: java.util.List['ObjectiveFunction'], string: typing.Union[java.lang.String, str], long: int): ... + def __init__( + self, + paretoFront: "ParetoFront", + list: java.util.List["ObjectiveFunction"], + string: typing.Union[java.lang.String, str], + long: int, + ): ... def getComputationTimeMs(self) -> int: ... - def getKneePoint(self) -> 'ParetoSolution': ... + def getKneePoint(self) -> "ParetoSolution": ... def getMethod(self) -> java.lang.String: ... def getNumSolutions(self) -> int: ... - def getObjectives(self) -> java.util.List['ObjectiveFunction']: ... - def getParetoFront(self) -> 'ParetoFront': ... + def getObjectives(self) -> java.util.List["ObjectiveFunction"]: ... + def getParetoFront(self) -> "ParetoFront": ... def toString(self) -> java.lang.String: ... + class ProgressCallback: - def onProgress(self, int: int, int2: int, paretoSolution: 'ParetoSolution') -> None: ... + def onProgress( + self, int: int, int2: int, paretoSolution: "ParetoSolution" + ) -> None: ... class MultiScenarioVFPGenerator(java.io.Serializable): @typing.overload - def __init__(self, supplier: typing.Union[java.util.function.Supplier[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[], jneqsim.process.processmodel.ProcessSystem]], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + supplier: typing.Union[ + java.util.function.Supplier[jneqsim.process.processmodel.ProcessSystem], + typing.Callable[[], jneqsim.process.processmodel.ProcessSystem], + ], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def exportVFPEXP(self, string: typing.Union[java.lang.String, str], int: int) -> None: ... + def exportVFPEXP( + self, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... @typing.overload - def exportVFPEXP(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], int: int) -> None: ... - def generateVFPTable(self) -> 'MultiScenarioVFPGenerator.VFPTable': ... - def getFlashGenerator(self) -> 'RecombinationFlashGenerator': ... + def exportVFPEXP( + self, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + int: int, + ) -> None: ... + def generateVFPTable(self) -> "MultiScenarioVFPGenerator.VFPTable": ... + def getFlashGenerator(self) -> "RecombinationFlashGenerator": ... def getFlowRateUnit(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... def getGORs(self) -> typing.MutableSequence[float]: ... def getInletTemperature(self) -> float: ... def getOutletPressures(self) -> typing.MutableSequence[float]: ... - def getVfpTable(self) -> 'MultiScenarioVFPGenerator.VFPTable': ... + def getVfpTable(self) -> "MultiScenarioVFPGenerator.VFPTable": ... def getWaterCuts(self) -> typing.MutableSequence[float]: ... def setEnableParallel(self, boolean: bool) -> None: ... - def setFlashGenerator(self, recombinationFlashGenerator: 'RecombinationFlashGenerator') -> None: ... + def setFlashGenerator( + self, recombinationFlashGenerator: "RecombinationFlashGenerator" + ) -> None: ... def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setFluidInput(self, fluidMagicInput: FluidMagicInput) -> None: ... - def setGORs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGORs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setInletTemperature(self, double: float) -> None: ... def setMaxInletPressure(self, double: float) -> None: ... def setMinInletPressure(self, double: float) -> None: ... def setNumberOfWorkers(self, int: int) -> None: ... - def setOutletPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setOutletPressures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPressureTolerance(self, double: float) -> None: ... - def setWaterCuts(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWaterCuts( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def toVFPEXPString(self, int: int) -> java.lang.String: ... + class VFPTable(java.io.Serializable): - def __init__(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ): ... def getBHP(self, int: int, int2: int, int3: int, int4: int) -> float: ... - def getBHPTable(self) -> typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[float]]]]: ... + def getBHPTable( + self, + ) -> typing.MutableSequence[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[float]] + ] + ]: ... def getFeasibleCount(self) -> int: ... def getFlowRateUnit(self) -> java.lang.String: ... def getFlowRates(self) -> typing.MutableSequence[float]: ... @@ -947,45 +1807,89 @@ class MultiScenarioVFPGenerator(java.io.Serializable): def getWaterCuts(self) -> typing.MutableSequence[float]: ... def isFeasible(self, int: int, int2: int, int3: int, int4: int) -> bool: ... def printSlice(self, int: int, int2: int) -> None: ... - def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setFlowRateUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class ObjectiveFunction: @staticmethod - def create(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ObjectiveFunction.Direction', string2: typing.Union[java.lang.String, str]) -> 'ObjectiveFunction': ... - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def evaluateNormalized(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def getDirection(self) -> 'ObjectiveFunction.Direction': ... + def create( + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + direction: "ObjectiveFunction.Direction", + string2: typing.Union[java.lang.String, str], + ) -> "ObjectiveFunction": ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def evaluateNormalized( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def getDirection(self) -> "ObjectiveFunction.Direction": ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... - class Direction(java.lang.Enum['ObjectiveFunction.Direction']): - MAXIMIZE: typing.ClassVar['ObjectiveFunction.Direction'] = ... - MINIMIZE: typing.ClassVar['ObjectiveFunction.Direction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Direction(java.lang.Enum["ObjectiveFunction.Direction"]): + MAXIMIZE: typing.ClassVar["ObjectiveFunction.Direction"] = ... + MINIMIZE: typing.ClassVar["ObjectiveFunction.Direction"] = ... + _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: ... + 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]) -> 'ObjectiveFunction.Direction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ObjectiveFunction.Direction": ... @staticmethod - def values() -> typing.MutableSequence['ObjectiveFunction.Direction']: ... + def values() -> typing.MutableSequence["ObjectiveFunction.Direction"]: ... class OptimizationResultBase(java.io.Serializable): def __init__(self): ... - def addConstraintMargin(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addConstraintMargin( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addConstraintViolation(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], boolean: bool) -> None: ... + def addConstraintViolation( + 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], + boolean: bool, + ) -> None: ... @typing.overload - def addConstraintViolation(self, constraintViolation: 'OptimizationResultBase.ConstraintViolation') -> None: ... - def addInitialValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addOptimalValue(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addSensitivity(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addShadowPrice(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addConstraintViolation( + self, constraintViolation: "OptimizationResultBase.ConstraintViolation" + ) -> None: ... + def addInitialValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addOptimalValue( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addSensitivity( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addShadowPrice( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getBottleneckConstraint(self) -> java.lang.String: ... def getBottleneckEquipment(self) -> java.lang.String: ... def getConstraintEvaluations(self) -> int: ... def getConstraintMargins(self) -> java.util.Map[java.lang.String, float]: ... - def getConstraintViolations(self) -> java.util.List['OptimizationResultBase.ConstraintViolation']: ... + def getConstraintViolations( + self, + ) -> java.util.List["OptimizationResultBase.ConstraintViolation"]: ... def getElapsedTimeMillis(self) -> int: ... def getElapsedTimeSeconds(self) -> float: ... def getEndTimeMillis(self) -> int: ... @@ -1000,7 +1904,7 @@ class OptimizationResultBase(java.io.Serializable): def getSensitivities(self) -> java.util.Map[java.lang.String, float]: ... def getShadowPrices(self) -> java.util.Map[java.lang.String, float]: ... def getStartTimeMillis(self) -> int: ... - def getStatus(self) -> 'OptimizationResultBase.Status': ... + def getStatus(self) -> "OptimizationResultBase.Status": ... def getSummary(self) -> java.lang.String: ... def hasHardViolations(self) -> bool: ... def hasViolations(self) -> bool: ... @@ -1010,29 +1914,74 @@ class OptimizationResultBase(java.io.Serializable): def isConverged(self) -> bool: ... def markEnd(self) -> None: ... def markStart(self) -> None: ... - def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setBottleneckEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setConstraintEvaluations(self, int: int) -> None: ... - def setConstraintMargins(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setConstraintViolations(self, list: java.util.List['OptimizationResultBase.ConstraintViolation']) -> None: ... + def setConstraintMargins( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setConstraintViolations( + self, list: java.util.List["OptimizationResultBase.ConstraintViolation"] + ) -> None: ... def setConverged(self, boolean: bool) -> None: ... def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFunctionEvaluations(self, int: int) -> None: ... - def setInitialValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setInitialValues( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setIterations(self, int: int) -> None: ... def setObjective(self, string: typing.Union[java.lang.String, str]) -> None: ... def setObjectiveValue(self, double: float) -> None: ... def setOptimalValue(self, double: float) -> None: ... - def setOptimalValues(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setSensitivities(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setShadowPrices(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setStatus(self, status: 'OptimizationResultBase.Status') -> None: ... + def setOptimalValues( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setSensitivities( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setShadowPrices( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setStatus(self, status: "OptimizationResultBase.Status") -> None: ... def toString(self) -> java.lang.String: ... + class ConstraintViolation(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(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], boolean: bool): ... + def __init__( + 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], + boolean: bool, + ): ... def getConstraintName(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... @@ -1041,61 +1990,96 @@ class OptimizationResultBase(java.io.Serializable): def getViolationAmount(self) -> float: ... def getViolationPercent(self) -> float: ... def isHardConstraint(self) -> bool: ... - def setConstraintName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setConstraintName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setCurrentValue(self, double: float) -> None: ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHardConstraint(self, boolean: bool) -> None: ... def setLimitValue(self, double: float) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def toString(self) -> java.lang.String: ... - class Status(java.lang.Enum['OptimizationResultBase.Status']): - CONVERGED: typing.ClassVar['OptimizationResultBase.Status'] = ... - MAX_ITERATIONS_REACHED: typing.ClassVar['OptimizationResultBase.Status'] = ... - INFEASIBLE: typing.ClassVar['OptimizationResultBase.Status'] = ... - FAILED: typing.ClassVar['OptimizationResultBase.Status'] = ... - CANCELLED: typing.ClassVar['OptimizationResultBase.Status'] = ... - IN_PROGRESS: typing.ClassVar['OptimizationResultBase.Status'] = ... - NOT_STARTED: typing.ClassVar['OptimizationResultBase.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Status(java.lang.Enum["OptimizationResultBase.Status"]): + CONVERGED: typing.ClassVar["OptimizationResultBase.Status"] = ... + MAX_ITERATIONS_REACHED: typing.ClassVar["OptimizationResultBase.Status"] = ... + INFEASIBLE: typing.ClassVar["OptimizationResultBase.Status"] = ... + FAILED: typing.ClassVar["OptimizationResultBase.Status"] = ... + CANCELLED: typing.ClassVar["OptimizationResultBase.Status"] = ... + IN_PROGRESS: typing.ClassVar["OptimizationResultBase.Status"] = ... + NOT_STARTED: typing.ClassVar["OptimizationResultBase.Status"] = ... + _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: ... + 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]) -> 'OptimizationResultBase.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "OptimizationResultBase.Status": ... @staticmethod - def values() -> typing.MutableSequence['OptimizationResultBase.Status']: ... + def values() -> typing.MutableSequence["OptimizationResultBase.Status"]: ... -class ParetoFront(java.io.Serializable, java.lang.Iterable['ParetoSolution']): +class ParetoFront(java.io.Serializable, java.lang.Iterable["ParetoSolution"]): @typing.overload def __init__(self): ... @typing.overload def __init__(self, boolean: bool): ... - def add(self, paretoSolution: 'ParetoSolution') -> bool: ... - def calculateHypervolume2D(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def add(self, paretoSolution: "ParetoSolution") -> bool: ... + def calculateHypervolume2D( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def calculateSpacing(self) -> float: ... def clear(self) -> None: ... - def findKneePoint(self) -> 'ParetoSolution': ... - def findMaximum(self, int: int) -> 'ParetoSolution': ... - def findMinimum(self, int: int) -> 'ParetoSolution': ... - def getSolutions(self) -> java.util.List['ParetoSolution']: ... - def getSolutionsSortedBy(self, int: int, boolean: bool) -> java.util.List['ParetoSolution']: ... + def findKneePoint(self) -> "ParetoSolution": ... + def findMaximum(self, int: int) -> "ParetoSolution": ... + def findMinimum(self, int: int) -> "ParetoSolution": ... + def getSolutions(self) -> java.util.List["ParetoSolution"]: ... + def getSolutionsSortedBy( + self, int: int, boolean: bool + ) -> java.util.List["ParetoSolution"]: ... def isEmpty(self) -> bool: ... - def iterator(self) -> java.util.Iterator['ParetoSolution']: ... + def iterator(self) -> java.util.Iterator["ParetoSolution"]: ... def size(self) -> int: ... def toJson(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... -class ParetoSolution(java.io.Serializable, java.lang.Comparable['ParetoSolution']): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], boolean: bool): ... - def addMetadata(self, string: typing.Union[java.lang.String, str], object: typing.Any) -> None: ... - def compareTo(self, paretoSolution: 'ParetoSolution') -> int: ... - def crowdingDistance(self, paretoSolution: 'ParetoSolution', paretoSolution2: 'ParetoSolution', int: int, double: float) -> float: ... - def distanceTo(self, paretoSolution: 'ParetoSolution') -> float: ... - def dominates(self, paretoSolution: 'ParetoSolution') -> bool: ... +class ParetoSolution(java.io.Serializable, java.lang.Comparable["ParetoSolution"]): + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + boolean: bool, + ): ... + def addMetadata( + self, string: typing.Union[java.lang.String, str], object: typing.Any + ) -> None: ... + def compareTo(self, paretoSolution: "ParetoSolution") -> int: ... + def crowdingDistance( + self, + paretoSolution: "ParetoSolution", + paretoSolution2: "ParetoSolution", + int: int, + double: float, + ) -> float: ... + def distanceTo(self, paretoSolution: "ParetoSolution") -> float: ... + def dominates(self, paretoSolution: "ParetoSolution") -> bool: ... def equals(self, object: typing.Any) -> bool: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... - def getMetadata(self, string: typing.Union[java.lang.String, str]) -> typing.Any: ... + def getMetadata( + self, string: typing.Union[java.lang.String, str] + ) -> typing.Any: ... def getNumObjectives(self) -> int: ... def getObjectiveName(self, int: int) -> java.lang.String: ... def getObjectiveUnit(self, int: int) -> java.lang.String: ... @@ -1106,31 +2090,86 @@ class ParetoSolution(java.io.Serializable, java.lang.Comparable['ParetoSolution' def hashCode(self) -> int: ... def isFeasible(self) -> bool: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'ParetoSolution': ... - def decisionVariable(self, string: typing.Union[java.lang.String, str], double: float) -> 'ParetoSolution.Builder': ... - def decisionVariables(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'ParetoSolution.Builder': ... - def feasible(self, boolean: bool) -> 'ParetoSolution.Builder': ... - def objectives(self, list: java.util.List[ObjectiveFunction], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ParetoSolution.Builder': ... + def build(self) -> "ParetoSolution": ... + def decisionVariable( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ParetoSolution.Builder": ... + def decisionVariables( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "ParetoSolution.Builder": ... + def feasible(self, boolean: bool) -> "ParetoSolution.Builder": ... + def objectives( + self, + list: java.util.List[ObjectiveFunction], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "ParetoSolution.Builder": ... class PressureBoundaryOptimizer(java.io.Serializable): @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, productionOptimizer: 'ProductionOptimizer', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + productionOptimizer: "ProductionOptimizer", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, productionOptimizer: 'ProductionOptimizer', streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + productionOptimizer: "ProductionOptimizer", + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + ): ... def calculateTotalPower(self) -> float: ... def configureCompressorCharts(self) -> None: ... - def findMaxFlowRate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationResult': ... - def findMinimumPowerOperatingPoint(self, double: float, double2: float, string: typing.Union[java.lang.String, str], double3: float) -> 'ProductionOptimizer.OptimizationResult': ... - def generateCapacityCurve(self, double: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def generateLiftCurveTable(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'PressureBoundaryOptimizer.LiftCurveTable': ... - def getCompressors(self) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... - def getProductionOptimizer(self) -> 'ProductionOptimizer': ... + def findMaxFlowRate( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.OptimizationResult": ... + def findMinimumPowerOperatingPoint( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + double3: float, + ) -> "ProductionOptimizer.OptimizationResult": ... + def generateCapacityCurve( + self, + double: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... + def generateLiftCurveTable( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> "PressureBoundaryOptimizer.LiftCurveTable": ... + def getCompressors( + self, + ) -> java.util.List[jneqsim.process.equipment.compressor.Compressor]: ... + def getProductionOptimizer(self) -> "ProductionOptimizer": ... def setAutoConfigureCompressors(self, boolean: bool) -> None: ... def setMaxFlowRate(self, double: float) -> None: ... def setMaxIterations(self, int: int) -> None: ... @@ -1139,12 +2178,31 @@ class PressureBoundaryOptimizer(java.io.Serializable): def setMinFlowRate(self, double: float) -> None: ... def setMinSurgeMargin(self, double: float) -> None: ... def setPressureTolerance(self, double: float) -> None: ... - def setProductionOptimizer(self, productionOptimizer: 'ProductionOptimizer') -> None: ... + def setProductionOptimizer( + self, productionOptimizer: "ProductionOptimizer" + ) -> None: ... def setRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSpeedLimits(self, double: float, double2: float) -> None: ... def setTolerance(self, double: float) -> None: ... + class LiftCurveTable(java.io.Serializable): - def __init__(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[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], string3: typing.Union[java.lang.String, str], string4: typing.Union[java.lang.String, str]): ... + def __init__( + 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[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + string3: typing.Union[java.lang.String, str], + string4: typing.Union[java.lang.String, str], + ): ... def countFeasiblePoints(self) -> int: ... def getBottleneck(self, int: int, int2: int) -> java.lang.String: ... def getFlowRate(self, int: int, int2: int) -> float: ... @@ -1162,9 +2220,15 @@ class ProcessConstraint: def getPenaltyWeight(self) -> float: ... def getSeverityLevel(self) -> ConstraintSeverityLevel: ... def isHard(self) -> bool: ... - def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... - def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def penalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def isSatisfied( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> bool: ... + def margin( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def penalty( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... class ProcessConstraintEvaluator(java.io.Serializable): @typing.overload @@ -1172,26 +2236,39 @@ class ProcessConstraintEvaluator(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def calculateFlowSensitivities(self, double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... + def calculateFlowSensitivities( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... @typing.overload - def calculateFlowSensitivities(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> java.util.Map[java.lang.String, float]: ... + def calculateFlowSensitivities( + self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float + ) -> java.util.Map[java.lang.String, float]: ... def clearCache(self) -> None: ... @typing.overload - def estimateMaxFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def estimateMaxFlow( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def estimateMaxFlow(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> float: ... + def estimateMaxFlow( + self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float + ) -> float: ... @typing.overload - def evaluate(self) -> 'ProcessConstraintEvaluator.ConstraintEvaluationResult': ... + def evaluate(self) -> "ProcessConstraintEvaluator.ConstraintEvaluationResult": ... @typing.overload - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ProcessConstraintEvaluator.ConstraintEvaluationResult': ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> "ProcessConstraintEvaluator.ConstraintEvaluationResult": ... def getCacheTTLMillis(self) -> int: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getSensitivityStepSize(self) -> float: ... def isCachingEnabled(self) -> bool: ... def setCacheTTLMillis(self, long: int) -> None: ... def setCachingEnabled(self, boolean: bool) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setSensitivityStepSize(self, double: float) -> None: ... + class CachedConstraints(java.io.Serializable): def __init__(self): ... def getCachedResults(self) -> java.util.Map[java.lang.String, float]: ... @@ -1205,16 +2282,28 @@ class ProcessConstraintEvaluator(java.io.Serializable): def setTimestamp(self, long: int) -> None: ... def setTtlMillis(self, long: int) -> None: ... def setValid(self, boolean: bool) -> None: ... + class ConstraintEvaluationResult(java.io.Serializable): def __init__(self): ... - def addEquipmentSummary(self, equipmentConstraintSummary: 'ProcessConstraintEvaluator.EquipmentConstraintSummary') -> None: ... - def addNormalizedUtilization(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addEquipmentSummary( + self, + equipmentConstraintSummary: "ProcessConstraintEvaluator.EquipmentConstraintSummary", + ) -> None: ... + def addNormalizedUtilization( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getBottleneckConstraint(self) -> java.lang.String: ... def getBottleneckEquipment(self) -> java.lang.String: ... def getBottleneckMargin(self) -> float: ... def getBottleneckUtilization(self) -> float: ... - def getEquipmentSummaries(self) -> java.util.Map[java.lang.String, 'ProcessConstraintEvaluator.EquipmentConstraintSummary']: ... - def getNormalizedUtilizations(self) -> java.util.Map[java.lang.String, float]: ... + def getEquipmentSummaries( + self, + ) -> java.util.Map[ + java.lang.String, "ProcessConstraintEvaluator.EquipmentConstraintSummary" + ]: ... + def getNormalizedUtilizations( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getOverallUtilization(self) -> float: ... def getTotalViolationCount(self) -> int: ... def isAllHardConstraintsSatisfied(self) -> bool: ... @@ -1222,15 +2311,22 @@ class ProcessConstraintEvaluator(java.io.Serializable): def isFeasible(self) -> bool: ... def setAllHardConstraintsSatisfied(self, boolean: bool) -> None: ... def setAllSoftConstraintsSatisfied(self, boolean: bool) -> None: ... - def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setBottleneckEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setBottleneckEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setBottleneckUtilization(self, double: float) -> None: ... def setFeasible(self, boolean: bool) -> None: ... def setOverallUtilization(self, double: float) -> None: ... def setTotalViolationCount(self, int: int) -> None: ... + class EquipmentConstraintSummary(java.io.Serializable): def __init__(self): ... - def addConstraintDetail(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addConstraintDetail( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getBottleneckConstraint(self) -> java.lang.String: ... def getConstraintCount(self) -> int: ... def getConstraintDetails(self) -> java.util.Map[java.lang.String, float]: ... @@ -1240,10 +2336,16 @@ class ProcessConstraintEvaluator(java.io.Serializable): def getUtilization(self) -> float: ... def getViolationCount(self) -> int: ... def isWithinLimits(self) -> bool: ... - def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setConstraintCount(self, int: int) -> None: ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEquipmentType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMarginToLimit(self, double: float) -> None: ... def setUtilization(self, double: float) -> None: ... def setViolationCount(self, int: int) -> None: ... @@ -1253,14 +2355,27 @@ class ProcessModelOptimizationView(jneqsim.process.processmodel.ProcessSystem): @typing.overload def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... @typing.overload - def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel, int: int, double: float): ... + def __init__( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + int: int, + double: float, + ): ... def findBottleneck(self) -> jneqsim.process.equipment.capacity.BottleneckResult: ... def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckUtilization(self) -> float: ... - def getConstrainedEquipment(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstrainedEquipment]: ... + def getConstrainedEquipment( + self, + ) -> java.util.List[ + jneqsim.process.equipment.capacity.CapacityConstrainedEquipment + ]: ... def getModel(self) -> jneqsim.process.processmodel.ProcessModel: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... - def getUnitOperations(self) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getUnitOperations( + self, + ) -> java.util.List[jneqsim.process.equipment.ProcessEquipmentInterface]: ... def getUtilizationSnapshotJson(self) -> java.lang.String: ... def isAnyEquipmentOverloaded(self) -> bool: ... def isAnyHardLimitExceeded(self) -> bool: ... @@ -1274,60 +2389,183 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... - 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': ... - def addConstraintUpperBound(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 addEquipmentCapacityConstraints(self) -> '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": ... + def addConstraintUpperBound( + 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 addEquipmentCapacityConstraints(self) -> "ProcessModelSimulationEvaluator": ... @typing.overload - def addObjective(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]]) -> 'ProcessModelSimulationEvaluator': ... + def addObjective( + 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], + ], + ) -> "ProcessModelSimulationEvaluator": ... @typing.overload - def addObjective(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]], direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction') -> 'ProcessModelSimulationEvaluator': ... + def addObjective( + 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], + ], + direction: "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction", + ) -> "ProcessModelSimulationEvaluator": ... @typing.overload - def addParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessModelSimulationEvaluator': ... + def addParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "ProcessModelSimulationEvaluator": ... @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 estimateConstraintJacobian(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + 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 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]: ... + def estimateGradient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... @typing.overload - def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessModelSimulationEvaluator.EvaluationResult': ... - def evaluateObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def evaluatePenalizedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def findActiveBottleneck(self, processModel: jneqsim.process.processmodel.ProcessModel) -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + def estimateGradient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int + ) -> typing.MutableSequence[float]: ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "ProcessModelSimulationEvaluator.EvaluationResult": ... + def evaluateObjective( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def evaluatePenalizedObjective( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def findActiveBottleneck( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> "ProcessModelSimulationEvaluator.BottleneckStatus": ... def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getBoundsAsList(self) -> java.util.List[typing.MutableSequence[float]]: ... def getConstraintCount(self) -> int: ... - def getConstraintMarginVector(self, processModel: jneqsim.process.processmodel.ProcessModel) -> typing.MutableSequence[float]: ... - def getConstraints(self) -> java.util.List['ProcessModelSimulationEvaluator.ConstraintDefinition']: ... + def getConstraintMarginVector( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> typing.MutableSequence[float]: ... + def getConstraints( + self, + ) -> java.util.List["ProcessModelSimulationEvaluator.ConstraintDefinition"]: ... def getEvaluationCount(self) -> int: ... def getFiniteDifferenceStep(self) -> float: ... def getInitialValues(self) -> typing.MutableSequence[float]: ... def getLastParameters(self) -> typing.MutableSequence[float]: ... - def getLastResult(self) -> 'ProcessModelSimulationEvaluator.EvaluationResult': ... + def getLastResult(self) -> "ProcessModelSimulationEvaluator.EvaluationResult": ... def getLowerBounds(self) -> typing.MutableSequence[float]: ... def getObjectiveCount(self) -> int: ... - def getObjectives(self) -> java.util.List['ProcessModelSimulationEvaluator.ObjectiveDefinition']: ... + def getObjectives( + self, + ) -> java.util.List["ProcessModelSimulationEvaluator.ObjectiveDefinition"]: ... def getParameterCount(self) -> int: ... - def getParameters(self) -> java.util.List['ProcessModelSimulationEvaluator.ParameterDefinition']: ... + def getParameters( + self, + ) -> java.util.List["ProcessModelSimulationEvaluator.ParameterDefinition"]: ... def getProblemDefinition(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getProcessModel(self) -> jneqsim.process.processmodel.ProcessModel: ... def getUpperBounds(self) -> typing.MutableSequence[float]: ... - def isFeasible(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def isFeasible( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> bool: ... def isIncludeStrategyCapacityConstraints(self) -> bool: ... def isUseRelativeStep(self) -> bool: ... def setFiniteDifferenceStep(self, double: float) -> None: ... def setIncludeStrategyCapacityConstraints(self, boolean: bool) -> None: ... - def setProcessModel(self, processModel: jneqsim.process.processmodel.ProcessModel) -> None: ... + def setProcessModel( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> None: ... def setUseRelativeStep(self, boolean: bool) -> None: ... def toJson(self) -> java.lang.String: ... + class BottleneckStatus(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - 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, string4: typing.Union[java.lang.String, str], boolean: bool): ... + 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, + string4: typing.Union[java.lang.String, str], + boolean: bool, + ): ... def getAreaName(self) -> java.lang.String: ... def getConstraintName(self) -> java.lang.String: ... def getCurrentValue(self) -> float: ... @@ -1339,60 +2577,137 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def isFeasible(self) -> bool: ... def isPresent(self) -> bool: ... @staticmethod - def none() -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + def none() -> "ProcessModelSimulationEvaluator.BottleneckStatus": ... + class ConstraintDefinition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(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): ... + def __init__( + 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, + ): ... @typing.overload - def __init__(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): ... - def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... + def __init__( + 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, + ): ... + def evaluate( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> float: ... def getAreaName(self) -> java.lang.String: ... - def getCapturedCapacityConstraint(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... + def getCapturedCapacityConstraint( + self, + ) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... def getEqualityTolerance(self) -> float: ... def getEquipmentConstraintName(self) -> java.lang.String: ... def getEquipmentName(self) -> java.lang.String: ... - def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel]: ... + def getEvaluator( + self, + ) -> java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessModel + ]: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... def getSeverityLevel(self) -> ConstraintSeverityLevel: ... - def getType(self) -> 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type': ... + def getType( + self, + ) -> "ProcessModelSimulationEvaluator.ConstraintDefinition.Type": ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def isCapacityConstraint(self) -> bool: ... def isHard(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: ... - def setCapacityMetadata(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint) -> None: ... + 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: ... + def setCapacityMetadata( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + ) -> None: ... def setEqualityTolerance(self, double: float) -> None: ... - def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]]) -> None: ... + def setEvaluator( + self, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessModel + ], + typing.Callable[[jneqsim.process.processmodel.ProcessModel], float], + ], + ) -> None: ... def setHard(self, boolean: bool) -> None: ... def setLowerBound(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPenaltyWeight(self, double: float) -> None: ... - def setType(self, type: 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type') -> None: ... + def setType( + self, type: "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUpperBound(self, double: float) -> None: ... - class Type(java.lang.Enum['ProcessModelSimulationEvaluator.ConstraintDefinition.Type']): - LOWER_BOUND: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... - UPPER_BOUND: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... - RANGE: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... - EQUALITY: typing.ClassVar['ProcessModelSimulationEvaluator.ConstraintDefinition.Type'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Type( + java.lang.Enum["ProcessModelSimulationEvaluator.ConstraintDefinition.Type"] + ): + LOWER_BOUND: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + UPPER_BOUND: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + RANGE: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + EQUALITY: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + _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: ... + 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]) -> 'ProcessModelSimulationEvaluator.ConstraintDefinition.Type': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelSimulationEvaluator.ConstraintDefinition.Type": ... @staticmethod - def values() -> typing.MutableSequence['ProcessModelSimulationEvaluator.ConstraintDefinition.Type']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessModelSimulationEvaluator.ConstraintDefinition.Type" + ] + ): ... + class EvaluationResult(java.io.Serializable): def __init__(self): ... - def getActiveBottleneck(self) -> 'ProcessModelSimulationEvaluator.BottleneckStatus': ... + def getActiveBottleneck( + self, + ) -> "ProcessModelSimulationEvaluator.BottleneckStatus": ... def getAdditionalOutputs(self) -> java.util.Map[java.lang.String, float]: ... def getConstraintMargins(self) -> typing.MutableSequence[float]: ... def getConstraintValues(self) -> typing.MutableSequence[float]: ... @@ -1407,61 +2722,149 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def getPenaltySum(self) -> float: ... def isFeasible(self) -> bool: ... def isSimulationConverged(self) -> bool: ... - def setActiveBottleneck(self, bottleneckStatus: 'ProcessModelSimulationEvaluator.BottleneckStatus') -> None: ... - def setAdditionalOutputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setConstraintValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setActiveBottleneck( + self, bottleneckStatus: "ProcessModelSimulationEvaluator.BottleneckStatus" + ) -> None: ... + def setAdditionalOutputs( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setConstraintMargins( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setConstraintValues( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setErrorMessage( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEvaluationNumber(self, int: int) -> None: ... def setEvaluationTimeMs(self, long: int) -> None: ... def setFeasible(self, boolean: bool) -> None: ... - def setObjectives(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - 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 setObjectives( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + 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 setSimulationConverged(self, boolean: bool) -> None: ... + class ObjectiveDefinition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(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]], direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'): ... - def evaluate(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... - def evaluateRaw(self, processModel: jneqsim.process.processmodel.ProcessModel) -> float: ... - def getDirection(self) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... - def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel]: ... + def __init__( + 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], + ], + direction: "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction", + ): ... + def evaluate( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> float: ... + def evaluateRaw( + self, processModel: jneqsim.process.processmodel.ProcessModel + ) -> float: ... + def getDirection( + self, + ) -> "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction": ... + def getEvaluator( + self, + ) -> java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessModel + ]: ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def getWeight(self) -> float: ... - def setDirection(self, direction: 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction') -> None: ... - def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessModel], typing.Callable[[jneqsim.process.processmodel.ProcessModel], float]]) -> None: ... + def setDirection( + self, + direction: "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction", + ) -> None: ... + def setEvaluator( + self, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessModel + ], + typing.Callable[[jneqsim.process.processmodel.ProcessModel], float], + ], + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWeight(self, double: float) -> None: ... - class Direction(java.lang.Enum['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction']): - MINIMIZE: typing.ClassVar['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'] = ... - MAXIMIZE: typing.ClassVar['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Direction( + java.lang.Enum[ + "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction" + ] + ): + MINIMIZE: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction" + ] = ... + MAXIMIZE: typing.ClassVar[ + "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction" + ] = ... + _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: ... + 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]) -> 'ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction": ... @staticmethod - def values() -> typing.MutableSequence['ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessModelSimulationEvaluator.ObjectiveDefinition.Direction" + ] + ): ... + class ParameterDefinition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(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]): ... + def __init__( + 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], + ): ... def clamp(self, double: float) -> float: ... def getAddress(self) -> java.lang.String: ... def getInitialValue(self) -> float: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... - def getSetter(self) -> java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float]: ... + def getSetter( + self, + ) -> java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessModel, float + ]: ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def isWithinBounds(self, double: float) -> bool: ... @@ -1469,37 +2872,117 @@ class ProcessModelSimulationEvaluator(java.io.Serializable): def setInitialValue(self, double: float) -> None: ... def setLowerBound(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]) -> None: ... + def setSetter( + self, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessModel, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessModel, float], None + ], + ], + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUpperBound(self, double: float) -> None: ... class ProcessModelThroughputOptimizer(java.io.Serializable): def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... @typing.overload - def addProducer(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string3: typing.Union[java.lang.String, str]) -> 'ProcessModelThroughputOptimizer': ... + def addProducer( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + string3: typing.Union[java.lang.String, str], + ) -> "ProcessModelThroughputOptimizer": ... @typing.overload - def addProducer(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]) -> 'ProcessModelThroughputOptimizer': ... - def addProducerMultiplier(self, string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]) -> 'ProcessModelThroughputOptimizer': ... - def findMaximumThroughput(self, double: float, double2: float, double3: float) -> 'ProcessModelThroughputResult': ... + def addProducer( + 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], + ) -> "ProcessModelThroughputOptimizer": ... + def addProducerMultiplier( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessModel, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None], + ], + ) -> "ProcessModelThroughputOptimizer": ... + def findMaximumThroughput( + self, double: float, double2: float, double3: float + ) -> "ProcessModelThroughputResult": ... def getMaxIterations(self) -> int: ... - def getProducerControls(self) -> java.util.List['ProcessModelThroughputOptimizer.ProducerControl']: ... + def getProducerControls( + self, + ) -> java.util.List["ProcessModelThroughputOptimizer.ProducerControl"]: ... def isIncludeEquipmentCapacityConstraints(self) -> bool: ... def isIncludeStrategyCapacityConstraints(self) -> bool: ... @typing.overload - def loadInstalledCapacities(self, string: typing.Union[java.lang.String, str]) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... + def loadInstalledCapacities( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... @typing.overload - def loadInstalledCapacities(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... - def setIncludeEquipmentCapacityConstraints(self, boolean: bool) -> 'ProcessModelThroughputOptimizer': ... - def setIncludeStrategyCapacityConstraints(self, boolean: bool) -> 'ProcessModelThroughputOptimizer': ... - def setMaxIterations(self, int: int) -> 'ProcessModelThroughputOptimizer': ... - def setObjective(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]], string2: typing.Union[java.lang.String, str]) -> 'ProcessModelThroughputOptimizer': ... + def loadInstalledCapacities( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> java.util.List[InstalledCapacityTableLoader.InstalledCapacityRecord]: ... + def setIncludeEquipmentCapacityConstraints( + self, boolean: bool + ) -> "ProcessModelThroughputOptimizer": ... + def setIncludeStrategyCapacityConstraints( + self, boolean: bool + ) -> "ProcessModelThroughputOptimizer": ... + def setMaxIterations(self, int: int) -> "ProcessModelThroughputOptimizer": ... + def setObjective( + 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], + ], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessModelThroughputOptimizer": ... + class ProducerControl(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessModel, float], typing.Callable[[jneqsim.process.processmodel.ProcessModel, float], None]]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessModel, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessModel, float], None + ], + ], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + string3: typing.Union[java.lang.String, str], + ): ... def getAddress(self) -> java.lang.String: ... def getBaseValue(self) -> float: ... def getLowerMultiplier(self) -> float: ... @@ -1509,15 +2992,22 @@ class ProcessModelThroughputOptimizer(java.io.Serializable): def hasCustomSetter(self) -> bool: ... class ProcessModelThroughputResult(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]): ... - def addCase(self, throughputCaseRow: 'ThroughputCaseRow') -> None: ... + 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 addCase(self, throughputCaseRow: "ThroughputCaseRow") -> None: ... @typing.overload def exportToCSV(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def exportToCSV(self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... - def getBestFeasibleCase(self) -> 'ThroughputCaseRow': ... - def getCaseRows(self) -> java.util.List['ThroughputCaseRow']: ... - def getFirstInfeasibleCase(self) -> 'ThroughputCaseRow': ... + def exportToCSV( + self, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath] + ) -> None: ... + def getBestFeasibleCase(self) -> "ThroughputCaseRow": ... + def getCaseRows(self) -> java.util.List["ThroughputCaseRow"]: ... + def getFirstInfeasibleCase(self) -> "ThroughputCaseRow": ... def getObjectiveName(self) -> java.lang.String: ... def getObjectiveUnit(self) -> java.lang.String: ... def getOptimalMultiplier(self) -> float: ... @@ -1540,76 +3030,170 @@ class ProcessOptimizationEngine(java.io.Serializable): def __init__(self, processModule: jneqsim.process.processmodel.ProcessModule): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def analyzeSensitivity(self, double: float, double2: float, double3: float) -> 'ProcessOptimizationEngine.SensitivityResult': ... - def bfgsSearch(self, double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - def calculateFlowSensitivities(self, double: float, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def calculateShadowPrices(self, double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, float]: ... + def analyzeSensitivity( + self, double: float, double2: float, double3: float + ) -> "ProcessOptimizationEngine.SensitivityResult": ... + def bfgsSearch( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> float: ... + def calculateFlowSensitivities( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... + def calculateShadowPrices( + self, double: float, double2: float, double3: float + ) -> java.util.Map[java.lang.String, float]: ... def clearCache(self) -> None: ... - def createFlowAdjuster(self, 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], double: float, string5: typing.Union[java.lang.String, str]) -> jneqsim.process.equipment.util.Adjuster: ... + def createFlowAdjuster( + self, + 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], + double: float, + string5: typing.Union[java.lang.String, str], + ) -> jneqsim.process.equipment.util.Adjuster: ... def createFlowRateOptimizer(self) -> FlowRateOptimizer: ... - def disableAdjusters(self) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... - def enableAdjusters(self, list: java.util.List[jneqsim.process.equipment.util.Adjuster]) -> None: ... - def estimateMaximumFlow(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... - def evaluateAllConstraints(self) -> 'ProcessOptimizationEngine.ConstraintReport': ... - def evaluateConstraintsWithCache(self) -> ProcessConstraintEvaluator.ConstraintEvaluationResult: ... + def disableAdjusters( + self, + ) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... + def enableAdjusters( + self, list: java.util.List[jneqsim.process.equipment.util.Adjuster] + ) -> None: ... + def estimateMaximumFlow( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... + def evaluateAllConstraints( + self, + ) -> "ProcessOptimizationEngine.ConstraintReport": ... + def evaluateConstraintsWithCache( + self, + ) -> ProcessConstraintEvaluator.ConstraintEvaluationResult: ... def findBottleneckEquipment(self) -> java.lang.String: ... - def findMaximumThroughput(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... - def findRequiredInletPressure(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... - def generateComprehensiveLiftCurve(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> FlowRateOptimizer: ... - def generateLiftCurve(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessOptimizationEngine.LiftCurveData': ... - def getAdjusters(self) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... + def findMaximumThroughput( + self, double: float, double2: float, double3: float, double4: float + ) -> "ProcessOptimizationEngine.OptimizationResult": ... + def findRequiredInletPressure( + self, double: float, double2: float, double3: float, double4: float + ) -> "ProcessOptimizationEngine.OptimizationResult": ... + def generateComprehensiveLiftCurve( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> FlowRateOptimizer: ... + def generateLiftCurve( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + ) -> "ProcessOptimizationEngine.LiftCurveData": ... + def getAdjusters( + self, + ) -> java.util.List[jneqsim.process.equipment.util.Adjuster]: ... def getConstraintEvaluator(self) -> ProcessConstraintEvaluator: ... def getFeedStreamName(self) -> java.lang.String: ... def getMaxIterations(self) -> int: ... - def getOutletFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getOutletStreamName(self) -> java.lang.String: ... @typing.overload def getOutletTemperature(self) -> float: ... @typing.overload - def getOutletTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOutletTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getSearchAlgorithm(self) -> 'ProcessOptimizationEngine.SearchAlgorithm': ... + def getSearchAlgorithm(self) -> "ProcessOptimizationEngine.SearchAlgorithm": ... def getTolerance(self) -> float: ... - def gradientDescentArmijoWolfeSearch(self, double: float, double2: float, double3: float) -> float: ... - def gradientDescentSearch(self, double: float, double2: float, double3: float) -> float: ... + def gradientDescentArmijoWolfeSearch( + self, double: float, double2: float, double3: float + ) -> float: ... + def gradientDescentSearch( + self, double: float, double2: float, double3: float + ) -> float: ... def isEnforceConstraints(self) -> bool: ... - def optimizeWithAdjusterTargets(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... - def optimizeWithAdjustersDisabled(self, double: float, double2: float, double3: float, double4: float) -> 'ProcessOptimizationEngine.OptimizationResult': ... + def optimizeWithAdjusterTargets( + self, double: float, double2: float, double3: float, double4: float + ) -> "ProcessOptimizationEngine.OptimizationResult": ... + def optimizeWithAdjustersDisabled( + self, double: float, double2: float, double3: float, double4: float + ) -> "ProcessOptimizationEngine.OptimizationResult": ... def setArmijoC1(self, double: float) -> None: ... def setBfgsGradientTolerance(self, double: float) -> None: ... def setEnforceConstraints(self, boolean: bool) -> None: ... - def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessOptimizationEngine': ... + def setFeedStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessOptimizationEngine": ... def setMaxIterations(self, int: int) -> None: ... def setMaxLineSearchIterations(self, int: int) -> None: ... - def setOutletStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProcessOptimizationEngine': ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - def setSearchAlgorithm(self, searchAlgorithm: 'ProcessOptimizationEngine.SearchAlgorithm') -> None: ... + def setOutletStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessOptimizationEngine": ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... + def setSearchAlgorithm( + self, searchAlgorithm: "ProcessOptimizationEngine.SearchAlgorithm" + ) -> None: ... def setTolerance(self, double: float) -> None: ... def setWolfeC2(self, double: float) -> None: ... + class ConstraintReport(java.io.Serializable): def __init__(self): ... - def addEquipmentStatus(self, equipmentConstraintStatus: 'ProcessOptimizationEngine.EquipmentConstraintStatus') -> None: ... - def getBottleneck(self) -> 'ProcessOptimizationEngine.EquipmentConstraintStatus': ... - def getEquipmentStatuses(self) -> java.util.List['ProcessOptimizationEngine.EquipmentConstraintStatus']: ... + def addEquipmentStatus( + self, + equipmentConstraintStatus: "ProcessOptimizationEngine.EquipmentConstraintStatus", + ) -> None: ... + def getBottleneck( + self, + ) -> "ProcessOptimizationEngine.EquipmentConstraintStatus": ... + def getEquipmentStatuses( + self, + ) -> java.util.List["ProcessOptimizationEngine.EquipmentConstraintStatus"]: ... + class EquipmentConstraintStatus(java.io.Serializable): def __init__(self): ... def getBottleneckConstraint(self) -> java.lang.String: ... - def getConstraints(self) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... + def getConstraints( + self, + ) -> java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]: ... def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... def getUtilization(self) -> float: ... def isWithinLimits(self) -> bool: ... - def setBottleneckConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setConstraints(self, list: java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint]) -> None: ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setBottleneckConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setConstraints( + self, + list: java.util.List[jneqsim.process.equipment.capacity.CapacityConstraint], + ) -> None: ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setEquipmentType( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setUtilization(self, double: float) -> None: ... def setWithinLimits(self, boolean: bool) -> None: ... + class LiftCurveData(java.io.Serializable): def __init__(self): ... - def addPoint(self, liftCurvePoint: 'ProcessOptimizationEngine.LiftCurvePoint') -> None: ... - def getPoints(self) -> java.util.List['ProcessOptimizationEngine.LiftCurvePoint']: ... + def addPoint( + self, liftCurvePoint: "ProcessOptimizationEngine.LiftCurvePoint" + ) -> None: ... + def getPoints( + self, + ) -> java.util.List["ProcessOptimizationEngine.LiftCurvePoint"]: ... def size(self) -> int: ... + class LiftCurvePoint(java.io.Serializable): def __init__(self): ... def getGOR(self) -> float: ... @@ -1622,6 +3206,7 @@ class ProcessOptimizationEngine(java.io.Serializable): def setMaxFlowRate(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... def setWaterCut(self, double: float) -> None: ... + class OptimizationResult(java.io.Serializable): def __init__(self): ... def getAvailableMargin(self) -> float: ... @@ -1632,36 +3217,65 @@ class ProcessOptimizationEngine(java.io.Serializable): def getObjective(self) -> java.lang.String: ... def getOptimalValue(self) -> float: ... def getOutletPressure(self) -> float: ... - def getSensitivity(self) -> 'ProcessOptimizationEngine.SensitivityResult': ... + def getSensitivity(self) -> "ProcessOptimizationEngine.SensitivityResult": ... def isConverged(self) -> bool: ... def isNearCapacity(self) -> bool: ... - def setBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setConstraintViolations(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> None: ... + def setBottleneck( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setConstraintViolations( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> None: ... def setConverged(self, boolean: bool) -> None: ... - def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setErrorMessage( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInletPressure(self, double: float) -> None: ... def setObjective(self, string: typing.Union[java.lang.String, str]) -> None: ... def setOptimalValue(self, double: float) -> None: ... def setOutletPressure(self, double: float) -> None: ... - def setSensitivity(self, sensitivityResult: 'ProcessOptimizationEngine.SensitivityResult') -> None: ... - class SearchAlgorithm(java.lang.Enum['ProcessOptimizationEngine.SearchAlgorithm']): - BINARY_SEARCH: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - GOLDEN_SECTION: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - NELDER_MEAD: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - PARTICLE_SWARM: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - GRADIENT_DESCENT: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - GRADIENT_DESCENT_ARMIJO_WOLFE: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - BFGS: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - SEQUENTIAL_QUADRATIC_PROGRAMMING: typing.ClassVar['ProcessOptimizationEngine.SearchAlgorithm'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setSensitivity( + self, sensitivityResult: "ProcessOptimizationEngine.SensitivityResult" + ) -> None: ... + + class SearchAlgorithm(java.lang.Enum["ProcessOptimizationEngine.SearchAlgorithm"]): + BINARY_SEARCH: typing.ClassVar["ProcessOptimizationEngine.SearchAlgorithm"] = ( + ... + ) + GOLDEN_SECTION: typing.ClassVar["ProcessOptimizationEngine.SearchAlgorithm"] = ( + ... + ) + NELDER_MEAD: typing.ClassVar["ProcessOptimizationEngine.SearchAlgorithm"] = ... + PARTICLE_SWARM: typing.ClassVar["ProcessOptimizationEngine.SearchAlgorithm"] = ( + ... + ) + GRADIENT_DESCENT: typing.ClassVar[ + "ProcessOptimizationEngine.SearchAlgorithm" + ] = ... + GRADIENT_DESCENT_ARMIJO_WOLFE: typing.ClassVar[ + "ProcessOptimizationEngine.SearchAlgorithm" + ] = ... + BFGS: typing.ClassVar["ProcessOptimizationEngine.SearchAlgorithm"] = ... + SEQUENTIAL_QUADRATIC_PROGRAMMING: typing.ClassVar[ + "ProcessOptimizationEngine.SearchAlgorithm" + ] = ... + _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: ... + 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]) -> 'ProcessOptimizationEngine.SearchAlgorithm': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessOptimizationEngine.SearchAlgorithm": ... @staticmethod - def values() -> typing.MutableSequence['ProcessOptimizationEngine.SearchAlgorithm']: ... + def values() -> ( + typing.MutableSequence["ProcessOptimizationEngine.SearchAlgorithm"] + ): ... + class SensitivityResult(java.io.Serializable): def __init__(self): ... def getBaseFlow(self) -> float: ... @@ -1673,40 +3287,83 @@ class ProcessOptimizationEngine(java.io.Serializable): def getTightestMargin(self) -> float: ... def isAtCapacity(self) -> bool: ... def setBaseFlow(self, double: float) -> None: ... - def setConstraintMargins(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... + def setConstraintMargins( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... def setFlowBuffer(self, double: float) -> None: ... def setFlowGradient(self, double: float) -> None: ... - def setTightestConstraint(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTightestConstraint( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTightestMargin(self, double: float) -> None: ... class ProductionImpactAnalyzer(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def analyzeFailureImpact(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactResult': ... + def analyzeFailureImpact( + self, string: typing.Union[java.lang.String, str] + ) -> "ProductionImpactResult": ... @typing.overload - def analyzeFailureImpact(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> 'ProductionImpactResult': ... - def analyzeMultipleFailures(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ProductionImpactResult': ... + def analyzeFailureImpact( + self, + string: typing.Union[java.lang.String, str], + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> "ProductionImpactResult": ... + def analyzeMultipleFailures( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "ProductionImpactResult": ... def clearCache(self) -> None: ... - def compareFailureScenarios(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> java.util.List['ProductionImpactResult']: ... - def compareToPlantStop(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactResult': ... + def compareFailureScenarios( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> java.util.List["ProductionImpactResult"]: ... + def compareToPlantStop( + self, string: typing.Union[java.lang.String, str] + ) -> "ProductionImpactResult": ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def rankEquipmentByCriticality(self) -> java.util.List['ProductionImpactResult']: ... - def setFeedStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactAnalyzer': ... - def setOptimizeDegradedOperation(self, boolean: bool) -> 'ProductionImpactAnalyzer': ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... - def setProductPricePerKg(self, double: float) -> 'ProductionImpactAnalyzer': ... - def setProductStreamName(self, string: typing.Union[java.lang.String, str]) -> 'ProductionImpactAnalyzer': ... + def rankEquipmentByCriticality( + self, + ) -> java.util.List["ProductionImpactResult"]: ... + def setFeedStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProductionImpactAnalyzer": ... + def setOptimizeDegradedOperation( + self, boolean: bool + ) -> "ProductionImpactAnalyzer": ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... + def setProductPricePerKg(self, double: float) -> "ProductionImpactAnalyzer": ... + def setProductStreamName( + self, string: typing.Union[java.lang.String, str] + ) -> "ProductionImpactAnalyzer": ... class ProductionImpactResult(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode): ... - def addAffectedEquipment(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addOptimizedSetpoint(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ): ... + def addAffectedEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def addOptimizedSetpoint( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def calculateDerivedMetrics(self) -> None: ... def getAbsoluteLoss(self) -> float: ... def getAffectedEquipment(self) -> java.util.List[java.lang.String]: ... @@ -1719,7 +3376,9 @@ class ProductionImpactResult(java.io.Serializable): def getEquipmentName(self) -> java.lang.String: ... def getEquipmentType(self) -> java.lang.String: ... def getEstimatedRecoveryTime(self) -> float: ... - def getFailureMode(self) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... + def getFailureMode( + self, + ) -> jneqsim.process.equipment.failure.EquipmentFailureMode: ... def getFullShutdownProduction(self) -> float: ... def getLossVsFullShutdown(self) -> float: ... def getNewBottleneck(self) -> java.lang.String: ... @@ -1733,7 +3392,7 @@ class ProductionImpactResult(java.io.Serializable): def getPowerWithFailure(self) -> float: ... def getProductionWithFailure(self) -> float: ... def getRecommendationReason(self) -> java.lang.String: ... - def getRecommendedAction(self) -> 'ProductionImpactResult.RecommendedAction': ... + def getRecommendedAction(self) -> "ProductionImpactResult.RecommendedAction": ... def getTimeToImplementChanges(self) -> float: ... def isConverged(self) -> bool: ... def setAnalysisComputeTime(self, double: float) -> None: ... @@ -1744,50 +3403,130 @@ class ProductionImpactResult(java.io.Serializable): def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEquipmentType(self, string: typing.Union[java.lang.String, str]) -> None: ... def setEstimatedRecoveryTime(self, double: float) -> None: ... - def setFailureMode(self, equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode) -> None: ... + def setFailureMode( + self, + equipmentFailureMode: jneqsim.process.equipment.failure.EquipmentFailureMode, + ) -> None: ... def setFullShutdownProduction(self, double: float) -> None: ... def setNewBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNewBottleneckUtilization(self, double: float) -> None: ... def setOptimizedProductionWithFailure(self, double: float) -> None: ... - def setOriginalBottleneck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setOriginalBottleneck( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOriginalBottleneckUtilization(self, double: float) -> None: ... def setPowerWithFailure(self, double: float) -> None: ... def setProductPricePerKg(self, double: float) -> None: ... def setProductionWithFailure(self, double: float) -> None: ... - def setRecommendationReason(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setRecommendedAction(self, recommendedAction: 'ProductionImpactResult.RecommendedAction') -> None: ... + def setRecommendationReason( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setRecommendedAction( + self, recommendedAction: "ProductionImpactResult.RecommendedAction" + ) -> None: ... def setTimeToImplementChanges(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class RecommendedAction(java.lang.Enum['ProductionImpactResult.RecommendedAction']): - CONTINUE_NORMAL: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - REDUCE_THROUGHPUT: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - PARTIAL_SHUTDOWN: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - FULL_SHUTDOWN: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - BYPASS_EQUIPMENT: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - USE_STANDBY: typing.ClassVar['ProductionImpactResult.RecommendedAction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class RecommendedAction(java.lang.Enum["ProductionImpactResult.RecommendedAction"]): + CONTINUE_NORMAL: typing.ClassVar["ProductionImpactResult.RecommendedAction"] = ( + ... + ) + REDUCE_THROUGHPUT: typing.ClassVar[ + "ProductionImpactResult.RecommendedAction" + ] = ... + PARTIAL_SHUTDOWN: typing.ClassVar[ + "ProductionImpactResult.RecommendedAction" + ] = ... + FULL_SHUTDOWN: typing.ClassVar["ProductionImpactResult.RecommendedAction"] = ... + BYPASS_EQUIPMENT: typing.ClassVar[ + "ProductionImpactResult.RecommendedAction" + ] = ... + USE_STANDBY: typing.ClassVar["ProductionImpactResult.RecommendedAction"] = ... + _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: ... + 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]) -> 'ProductionImpactResult.RecommendedAction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionImpactResult.RecommendedAction": ... @staticmethod - def values() -> typing.MutableSequence['ProductionImpactResult.RecommendedAction']: ... + def values() -> ( + typing.MutableSequence["ProductionImpactResult.RecommendedAction"] + ): ... class ProductionOptimizationSpecLoader: @staticmethod - def load(path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.processmodel.ProcessSystem], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.processmodel.ProcessSystem]], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.equipment.stream.StreamInterface], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.equipment.stream.StreamInterface]], map3: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]]]) -> java.util.List['ProductionOptimizer.ScenarioRequest']: ... + def load( + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.processmodel.ProcessSystem, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.processmodel.ProcessSystem, + ], + ], + map2: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.equipment.stream.StreamInterface, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.equipment.stream.StreamInterface, + ], + ], + map3: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem], float + ], + ], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem], float + ], + ], + ], + ], + ) -> java.util.List["ProductionOptimizer.ScenarioRequest"]: ... class RecombinationFlashGenerator(java.io.Serializable): def __init__(self, fluidMagicInput: FluidMagicInput): ... def clearCache(self) -> None: ... @typing.overload - def generateFluid(self, double: float, double2: float, double3: float, double4: float) -> jneqsim.thermo.system.SystemInterface: ... + def generateFluid( + self, double: float, double2: float, double3: float, double4: float + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload - def generateFluid(self, double: float, double2: float, double3: float, double4: float, double5: float) -> jneqsim.thermo.system.SystemInterface: ... + def generateFluid( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ) -> jneqsim.thermo.system.SystemInterface: ... def getCacheStatistics(self) -> java.lang.String: ... def getGasPhase(self) -> jneqsim.thermo.system.SystemInterface: ... def getOilPhase(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -1801,23 +3540,51 @@ class SQPoptimizer(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def addEqualityConstraint(self, constraintFunc: typing.Union['SQPoptimizer.ConstraintFunc', typing.Callable]) -> None: ... - def addInequalityConstraint(self, constraintFunc: typing.Union['SQPoptimizer.ConstraintFunc', typing.Callable]) -> None: ... + def addEqualityConstraint( + self, + constraintFunc: typing.Union["SQPoptimizer.ConstraintFunc", typing.Callable], + ) -> None: ... + def addInequalityConstraint( + self, + constraintFunc: typing.Union["SQPoptimizer.ConstraintFunc", typing.Callable], + ) -> None: ... def getMaxIterations(self) -> int: ... def getTolerance(self) -> float: ... def setFiniteDifferenceStep(self, double: float) -> None: ... - def setInitialPoint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setInitialPoint( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setMaxIterations(self, int: int) -> None: ... - def setObjectiveFunction(self, objectiveFunc: typing.Union['SQPoptimizer.ObjectiveFunc', typing.Callable]) -> None: ... + def setObjectiveFunction( + self, objectiveFunc: typing.Union["SQPoptimizer.ObjectiveFunc", typing.Callable] + ) -> None: ... def setTolerance(self, double: float) -> None: ... - def setVariableBounds(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def solve(self) -> 'SQPoptimizer.OptimizationResult': ... + def setVariableBounds( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def solve(self) -> "SQPoptimizer.OptimizationResult": ... + class ConstraintFunc: - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + class ObjectiveFunc: - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + class OptimizationResult(java.io.Serializable): - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, int: int, boolean: bool, double3: float): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + int: int, + boolean: bool, + double3: float, + ): ... def getIterations(self) -> int: ... def getKktError(self) -> float: ... def getOptimalPoint(self) -> typing.MutableSequence[float]: ... @@ -1826,15 +3593,49 @@ class SQPoptimizer(java.io.Serializable): class SensitivityAnalysis(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addOutput(self, string: typing.Union[java.lang.String, str], function: typing.Union[java.util.function.Function[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'SensitivityAnalysis': ... + def addOutput( + self, + string: typing.Union[java.lang.String, str], + function: typing.Union[ + java.util.function.Function[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> "SensitivityAnalysis": ... def getCurrentValue(self) -> float: ... - def run(self) -> 'SensitivityAnalysis.SensitivityResult': ... + def run(self) -> "SensitivityAnalysis.SensitivityResult": ... @typing.overload - def setParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> 'SensitivityAnalysis': ... + def setParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None], + ], + ) -> "SensitivityAnalysis": ... @typing.overload - def setParameter(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, consumer: typing.Union[java.util.function.Consumer[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], None]]) -> 'SensitivityAnalysis': ... + def setParameter( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + consumer: typing.Union[ + java.util.function.Consumer[jneqsim.process.processmodel.ProcessSystem], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], None], + ], + ) -> "SensitivityAnalysis": ... + class SensitivityResult(java.io.Serializable): - def getOutput(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getOutput( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getOutputNames(self) -> java.util.List[java.lang.String]: ... def getParameterValues(self) -> typing.MutableSequence[float]: ... def getSize(self) -> int: ... @@ -1843,9 +3644,39 @@ class SensitivityAnalysis(java.io.Serializable): def toJson(self) -> java.lang.String: ... class ThroughputCaseRow(java.io.Serializable): - def __init__(self, int: int, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double2: float, boolean: bool, boolean2: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, double6: float, double7: float, string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], long: int): ... + def __init__( + self, + int: int, + double: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double2: float, + boolean: bool, + boolean2: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + string4: typing.Union[java.lang.String, str], + string5: typing.Union[java.lang.String, str], + long: int, + ): ... @staticmethod - def fromEvaluation(int: int, double: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], evaluationResult: ProcessModelSimulationEvaluator.EvaluationResult) -> 'ThroughputCaseRow': ... + def fromEvaluation( + int: int, + double: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + evaluationResult: ProcessModelSimulationEvaluator.EvaluationResult, + ) -> "ThroughputCaseRow": ... def getActiveArea(self) -> java.lang.String: ... def getActiveConstraint(self) -> java.lang.String: ... def getActiveEquipment(self) -> java.lang.String: ... @@ -1867,9 +3698,18 @@ class ThroughputCaseRow(java.io.Serializable): class CapacityConstraintAdapter(ProcessConstraint): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + capacityConstraint: jneqsim.process.equipment.capacity.CapacityConstraint, + double: float, + ): ... def getDelegate(self) -> jneqsim.process.equipment.capacity.CapacityConstraint: ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... @@ -1877,109 +3717,297 @@ class CapacityConstraintAdapter(ProcessConstraint): def getSeverityLevel(self) -> ConstraintSeverityLevel: ... def getUnit(self) -> java.lang.String: ... def getUtilization(self) -> float: ... - def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def margin( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... class ProcessSimulationEvaluator(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def addConstraintEquality(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float) -> 'ProcessSimulationEvaluator': ... - def addConstraintLowerBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float) -> 'ProcessSimulationEvaluator': ... - def addConstraintRange(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float) -> 'ProcessSimulationEvaluator': ... - def addConstraintUpperBound(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float) -> 'ProcessSimulationEvaluator': ... - def addEquipmentCapacityConstraints(self) -> 'ProcessSimulationEvaluator': ... + def addConstraintEquality( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + double2: float, + ) -> "ProcessSimulationEvaluator": ... + def addConstraintLowerBound( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + ) -> "ProcessSimulationEvaluator": ... + def addConstraintRange( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + double2: float, + ) -> "ProcessSimulationEvaluator": ... + def addConstraintUpperBound( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + ) -> "ProcessSimulationEvaluator": ... + def addEquipmentCapacityConstraints(self) -> "ProcessSimulationEvaluator": ... @typing.overload - def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> 'ProcessSimulationEvaluator': ... + def addObjective( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> "ProcessSimulationEvaluator": ... @typing.overload - def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction') -> 'ProcessSimulationEvaluator': ... + def addObjective( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + direction: "ProcessSimulationEvaluator.ObjectiveDefinition.Direction", + ) -> "ProcessSimulationEvaluator": ... @typing.overload - def addObjective(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction', double: float) -> 'ProcessSimulationEvaluator': ... - 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]) -> 'ProcessSimulationEvaluator': ... - def addParameterWithSetter(self, string: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]], double: float, double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProcessSimulationEvaluator': ... - def estimateConstraintJacobian(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def addObjective( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + direction: "ProcessSimulationEvaluator.ObjectiveDefinition.Direction", + double: float, + ) -> "ProcessSimulationEvaluator": ... + 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], + ) -> "ProcessSimulationEvaluator": ... + def addParameterWithSetter( + self, + string: typing.Union[java.lang.String, str], + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None], + ], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "ProcessSimulationEvaluator": ... + 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]: ... + def estimateGradient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... @typing.overload - def estimateGradient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int) -> typing.MutableSequence[float]: ... - def evaluate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProcessSimulationEvaluator.EvaluationResult': ... - def evaluateObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def evaluatePenalizedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def estimateGradient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int + ) -> typing.MutableSequence[float]: ... + def evaluate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "ProcessSimulationEvaluator.EvaluationResult": ... + def evaluateObjective( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def evaluatePenalizedObjective( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getAllProcessConstraints(self) -> java.util.List[ProcessConstraint]: ... def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getConstraintCount(self) -> int: ... - def getConstraintMarginVector(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> typing.MutableSequence[float]: ... - def getConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def getConstraints(self) -> java.util.List['ProcessSimulationEvaluator.ConstraintDefinition']: ... + def getConstraintMarginVector( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> typing.MutableSequence[float]: ... + def getConstraintMargins( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def getConstraints( + self, + ) -> java.util.List["ProcessSimulationEvaluator.ConstraintDefinition"]: ... def getEvaluationCount(self) -> int: ... def getFiniteDifferenceStep(self) -> float: ... def getInitialValues(self) -> typing.MutableSequence[float]: ... - def getLastResult(self) -> 'ProcessSimulationEvaluator.EvaluationResult': ... + def getLastResult(self) -> "ProcessSimulationEvaluator.EvaluationResult": ... def getLowerBounds(self) -> typing.MutableSequence[float]: ... def getObjectiveCount(self) -> int: ... - def getObjectives(self) -> java.util.List['ProcessSimulationEvaluator.ObjectiveDefinition']: ... + def getObjectives( + self, + ) -> java.util.List["ProcessSimulationEvaluator.ObjectiveDefinition"]: ... def getParameterCount(self) -> int: ... - def getParameters(self) -> java.util.List['ProcessSimulationEvaluator.ParameterDefinition']: ... + def getParameters( + self, + ) -> java.util.List["ProcessSimulationEvaluator.ParameterDefinition"]: ... def getProblemDefinition(self) -> java.util.Map[java.lang.String, typing.Any]: ... def getProcessSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getUpperBounds(self) -> typing.MutableSequence[float]: ... def isCloneForEvaluation(self) -> bool: ... - def isFeasible(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> bool: ... + def isFeasible( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> bool: ... def isUseRelativeStep(self) -> bool: ... def resetEvaluationCount(self) -> None: ... def setCloneForEvaluation(self, boolean: bool) -> None: ... def setFiniteDifferenceStep(self, double: float) -> None: ... - def setProcessSystem(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> None: ... + def setProcessSystem( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> None: ... def setUseRelativeStep(self, boolean: bool) -> None: ... def toJson(self) -> java.lang.String: ... + class ConstraintDefinition(java.io.Serializable, ProcessConstraint): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, double2: float): ... - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + double2: float, + ): ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... def getEqualityTolerance(self) -> float: ... - def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem]: ... + def getEvaluator( + self, + ) -> java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ]: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... def getSeverityLevel(self) -> ConstraintSeverityLevel: ... - def getType(self) -> 'ProcessSimulationEvaluator.ConstraintDefinition.Type': ... + def getType(self) -> "ProcessSimulationEvaluator.ConstraintDefinition.Type": ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def isHard(self) -> bool: ... - def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... - def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def penalty(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def isSatisfied( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> bool: ... + def margin( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def penalty( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... def setEqualityTolerance(self, double: float) -> None: ... - def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> None: ... + def setEvaluator( + self, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> None: ... def setHard(self, boolean: bool) -> None: ... def setLowerBound(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPenaltyWeight(self, double: float) -> None: ... - def setType(self, type: 'ProcessSimulationEvaluator.ConstraintDefinition.Type') -> None: ... + def setType( + self, type: "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUpperBound(self, double: float) -> None: ... - def toOptimizationConstraint(self) -> 'ProductionOptimizer.OptimizationConstraint': ... - class Type(java.lang.Enum['ProcessSimulationEvaluator.ConstraintDefinition.Type']): - LOWER_BOUND: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... - UPPER_BOUND: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... - RANGE: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... - EQUALITY: typing.ClassVar['ProcessSimulationEvaluator.ConstraintDefinition.Type'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toOptimizationConstraint( + self, + ) -> "ProductionOptimizer.OptimizationConstraint": ... + + class Type( + java.lang.Enum["ProcessSimulationEvaluator.ConstraintDefinition.Type"] + ): + LOWER_BOUND: typing.ClassVar[ + "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + UPPER_BOUND: typing.ClassVar[ + "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + RANGE: typing.ClassVar[ + "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + EQUALITY: typing.ClassVar[ + "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ] = ... + _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: ... + 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]) -> 'ProcessSimulationEvaluator.ConstraintDefinition.Type': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSimulationEvaluator.ConstraintDefinition.Type": ... @staticmethod - def values() -> typing.MutableSequence['ProcessSimulationEvaluator.ConstraintDefinition.Type']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessSimulationEvaluator.ConstraintDefinition.Type" + ] + ): ... + class EvaluationResult(java.io.Serializable): def __init__(self): ... - def addOutput(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addOutput( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def getAdditionalOutputs(self) -> java.util.Map[java.lang.String, float]: ... def getConstraintMargins(self) -> typing.MutableSequence[float]: ... def getConstraintValues(self) -> typing.MutableSequence[float]: ... @@ -1992,71 +4020,165 @@ class ProcessSimulationEvaluator(java.io.Serializable): def getParameters(self) -> typing.MutableSequence[float]: ... def getPenalizedObjective(self) -> float: ... def getPenaltySum(self) -> float: ... - def getWeightedObjective(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getWeightedObjective( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def isFeasible(self) -> bool: ... def isSimulationConverged(self) -> bool: ... - def setAdditionalOutputs(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def setConstraintMargins(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setConstraintValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAdditionalOutputs( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def setConstraintMargins( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setConstraintValues( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setErrorMessage( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setEvaluationNumber(self, int: int) -> None: ... def setEvaluationTimeMs(self, long: int) -> None: ... def setFeasible(self, boolean: bool) -> None: ... - def setObjectives(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - 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 setObjectives( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + 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 setSimulationConverged(self, boolean: bool) -> None: ... + class ObjectiveDefinition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction'): ... - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def evaluateRaw(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def getDirection(self) -> 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction': ... - def getEvaluator(self) -> java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + direction: "ProcessSimulationEvaluator.ObjectiveDefinition.Direction", + ): ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def evaluateRaw( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def getDirection( + self, + ) -> "ProcessSimulationEvaluator.ObjectiveDefinition.Direction": ... + def getEvaluator( + self, + ) -> java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ]: ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def getWeight(self) -> float: ... - def setDirection(self, direction: 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction') -> None: ... - def setEvaluator(self, toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]]) -> None: ... + def setDirection( + self, direction: "ProcessSimulationEvaluator.ObjectiveDefinition.Direction" + ) -> None: ... + def setEvaluator( + self, + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setWeight(self, double: float) -> None: ... - class Direction(java.lang.Enum['ProcessSimulationEvaluator.ObjectiveDefinition.Direction']): - MINIMIZE: typing.ClassVar['ProcessSimulationEvaluator.ObjectiveDefinition.Direction'] = ... - MAXIMIZE: typing.ClassVar['ProcessSimulationEvaluator.ObjectiveDefinition.Direction'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Direction( + java.lang.Enum["ProcessSimulationEvaluator.ObjectiveDefinition.Direction"] + ): + MINIMIZE: typing.ClassVar[ + "ProcessSimulationEvaluator.ObjectiveDefinition.Direction" + ] = ... + MAXIMIZE: typing.ClassVar[ + "ProcessSimulationEvaluator.ObjectiveDefinition.Direction" + ] = ... + _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: ... + 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]) -> 'ProcessSimulationEvaluator.ObjectiveDefinition.Direction': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessSimulationEvaluator.ObjectiveDefinition.Direction": ... @staticmethod - def values() -> typing.MutableSequence['ProcessSimulationEvaluator.ObjectiveDefinition.Direction']: ... + def values() -> ( + typing.MutableSequence[ + "ProcessSimulationEvaluator.ObjectiveDefinition.Direction" + ] + ): ... + class ParameterDefinition(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - 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, string4: typing.Union[java.lang.String, str]): ... + 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, + string4: typing.Union[java.lang.String, str], + ): ... def clamp(self, double: float) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getInitialValue(self) -> float: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getPropertyName(self) -> java.lang.String: ... - def getSetter(self) -> java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float]: ... + def getSetter( + self, + ) -> java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ]: ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def isWithinBounds(self, double: float) -> bool: ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setInitialValue(self, double: float) -> None: ... def setLowerBound(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSetter(self, biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]) -> None: ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSetter( + self, + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUpperBound(self, double: float) -> None: ... @@ -2064,114 +4186,305 @@ class ProductionOptimizer: DEFAULT_UTILIZATION_LIMIT: typing.ClassVar[float] = ... def __init__(self): ... @staticmethod - def buildUtilizationSeries(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.util.List['ProductionOptimizer.UtilizationSeries']: ... - def compareScenarios(self, list: java.util.List['ProductionOptimizer.ScenarioRequest'], list2: java.util.List['ProductionOptimizer.ScenarioKpi']) -> 'ProductionOptimizer.ScenarioComparisonResult': ... + def buildUtilizationSeries( + list: java.util.List["ProductionOptimizer.IterationRecord"], + ) -> java.util.List["ProductionOptimizer.UtilizationSeries"]: ... + def compareScenarios( + self, + list: java.util.List["ProductionOptimizer.ScenarioRequest"], + list2: java.util.List["ProductionOptimizer.ScenarioKpi"], + ) -> "ProductionOptimizer.ScenarioComparisonResult": ... @staticmethod - def formatScenarioComparisonTable(scenarioComparisonResult: 'ProductionOptimizer.ScenarioComparisonResult', list: java.util.List['ProductionOptimizer.ScenarioKpi']) -> java.lang.String: ... + def formatScenarioComparisonTable( + scenarioComparisonResult: "ProductionOptimizer.ScenarioComparisonResult", + list: java.util.List["ProductionOptimizer.ScenarioKpi"], + ) -> java.lang.String: ... @staticmethod - def formatUtilizationTable(list: java.util.List['ProductionOptimizer.UtilizationRecord']) -> java.lang.String: ... + def formatUtilizationTable( + list: java.util.List["ProductionOptimizer.UtilizationRecord"], + ) -> java.lang.String: ... @staticmethod - def formatUtilizationTimeline(list: java.util.List['ProductionOptimizer.IterationRecord']) -> java.lang.String: ... + def formatUtilizationTimeline( + list: java.util.List["ProductionOptimizer.IterationRecord"], + ) -> java.lang.String: ... @typing.overload - def optimize(self, processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + def optimize( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationResult": ... @typing.overload - def optimize(self, processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + def optimize( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationResult": ... @typing.overload - def optimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + def optimize( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationResult": ... @typing.overload - def optimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + def optimize( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationResult": ... @typing.overload - def optimizePareto(self, processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + def optimizePareto( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.ParetoResult": ... @typing.overload - def optimizePareto(self, processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + def optimizePareto( + self, + processModel: jneqsim.process.processmodel.ProcessModel, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.ParetoResult": ... @typing.overload - def optimizePareto(self, processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... + def optimizePareto( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.ParetoResult": ... @typing.overload - def optimizePareto(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.ParetoResult': ... - def optimizeScenarios(self, list: java.util.List['ProductionOptimizer.ScenarioRequest']) -> java.util.List['ProductionOptimizer.ScenarioResult']: ... - def optimizeThroughput(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, double: float, double2: float, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationResult': ... + def optimizePareto( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.ParetoResult": ... + def optimizeScenarios( + self, list: java.util.List["ProductionOptimizer.ScenarioRequest"] + ) -> java.util.List["ProductionOptimizer.ScenarioResult"]: ... + def optimizeThroughput( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + list: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationResult": ... @typing.overload - def quickOptimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> 'ProductionOptimizer.OptimizationSummary': ... + def quickOptimize( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + ) -> "ProductionOptimizer.OptimizationSummary": ... @typing.overload - def quickOptimize(self, processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.OptimizationConstraint']) -> 'ProductionOptimizer.OptimizationSummary': ... - class ConstraintDirection(java.lang.Enum['ProductionOptimizer.ConstraintDirection']): - LESS_THAN: typing.ClassVar['ProductionOptimizer.ConstraintDirection'] = ... - GREATER_THAN: typing.ClassVar['ProductionOptimizer.ConstraintDirection'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def quickOptimize( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + string: typing.Union[java.lang.String, str], + list: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ) -> "ProductionOptimizer.OptimizationSummary": ... + + class ConstraintDirection( + java.lang.Enum["ProductionOptimizer.ConstraintDirection"] + ): + LESS_THAN: typing.ClassVar["ProductionOptimizer.ConstraintDirection"] = ... + GREATER_THAN: typing.ClassVar["ProductionOptimizer.ConstraintDirection"] = ... + _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: ... + 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]) -> 'ProductionOptimizer.ConstraintDirection': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ConstraintDirection": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.ConstraintDirection']: ... - class ConstraintSeverity(java.lang.Enum['ProductionOptimizer.ConstraintSeverity']): - HARD: typing.ClassVar['ProductionOptimizer.ConstraintSeverity'] = ... - SOFT: typing.ClassVar['ProductionOptimizer.ConstraintSeverity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> ( + typing.MutableSequence["ProductionOptimizer.ConstraintDirection"] + ): ... + + class ConstraintSeverity(java.lang.Enum["ProductionOptimizer.ConstraintSeverity"]): + HARD: typing.ClassVar["ProductionOptimizer.ConstraintSeverity"] = ... + SOFT: typing.ClassVar["ProductionOptimizer.ConstraintSeverity"] = ... + _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: ... + 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]) -> 'ProductionOptimizer.ConstraintSeverity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ConstraintSeverity": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.ConstraintSeverity']: ... + def values() -> ( + typing.MutableSequence["ProductionOptimizer.ConstraintSeverity"] + ): ... + class ConstraintStatus: - def __init__(self, string: typing.Union[java.lang.String, str], constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double: float, double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... def getMargin(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... - def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + def getSeverity(self) -> "ProductionOptimizer.ConstraintSeverity": ... def violated(self) -> bool: ... + class IterationRecord: - def __init__(self, double: float, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], string2: typing.Union[java.lang.String, str], double2: float, boolean: bool, boolean2: bool, boolean3: bool, double3: float, list: java.util.List['ProductionOptimizer.UtilizationRecord']): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + string2: typing.Union[java.lang.String, str], + double2: float, + boolean: bool, + boolean2: bool, + boolean3: bool, + double3: float, + list: java.util.List["ProductionOptimizer.UtilizationRecord"], + ): ... def getBottleneckName(self) -> java.lang.String: ... def getBottleneckUtilization(self) -> float: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... def getRate(self) -> float: ... def getRateUnit(self) -> java.lang.String: ... def getScore(self) -> float: ... - def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def getUtilizations( + self, + ) -> java.util.List["ProductionOptimizer.UtilizationRecord"]: ... def isFeasible(self) -> bool: ... def isHardConstraintsOk(self) -> bool: ... def isUtilizationWithinLimits(self) -> bool: ... + class ManipulatedVariable: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, string2: typing.Union[java.lang.String, str], biConsumer: typing.Union[java.util.function.BiConsumer[jneqsim.process.processmodel.ProcessSystem, float], typing.Callable[[jneqsim.process.processmodel.ProcessSystem, float], None]]): ... - def apply(self, processSystem: jneqsim.process.processmodel.ProcessSystem, double: float) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + string2: typing.Union[java.lang.String, str], + biConsumer: typing.Union[ + java.util.function.BiConsumer[ + jneqsim.process.processmodel.ProcessSystem, float + ], + typing.Callable[ + [jneqsim.process.processmodel.ProcessSystem, float], None + ], + ], + ): ... + def apply( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + double: float, + ) -> None: ... def getLowerBound(self) -> float: ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... - class ObjectiveType(java.lang.Enum['ProductionOptimizer.ObjectiveType']): - MAXIMIZE: typing.ClassVar['ProductionOptimizer.ObjectiveType'] = ... - MINIMIZE: typing.ClassVar['ProductionOptimizer.ObjectiveType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class ObjectiveType(java.lang.Enum["ProductionOptimizer.ObjectiveType"]): + MAXIMIZE: typing.ClassVar["ProductionOptimizer.ObjectiveType"] = ... + MINIMIZE: typing.ClassVar["ProductionOptimizer.ObjectiveType"] = ... + _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: ... + 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]) -> 'ProductionOptimizer.ObjectiveType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ObjectiveType": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.ObjectiveType']: ... + def values() -> typing.MutableSequence["ProductionOptimizer.ObjectiveType"]: ... + class OptimizationConfig: def __init__(self, double: float, double2: float): ... - def capacityPercentile(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityRangeForName(self, string: typing.Union[java.lang.String, str], capacityRange: 'ProductionOptimizer.CapacityRange') -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityRangeForType(self, class_: typing.Type[typing.Any], capacityRange: 'ProductionOptimizer.CapacityRange') -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityRangeSpreadFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityRuleForName(self, string: typing.Union[java.lang.String, str], capacityRule: 'ProductionOptimizer.CapacityRule') -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityRuleForType(self, class_: typing.Type[typing.Any], capacityRule: 'ProductionOptimizer.CapacityRule') -> 'ProductionOptimizer.OptimizationConfig': ... - def capacityUncertaintyFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def cognitiveWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def columnFsFactorLimit(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def capacityPercentile( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityRangeForName( + self, + string: typing.Union[java.lang.String, str], + capacityRange: "ProductionOptimizer.CapacityRange", + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityRangeForType( + self, + class_: typing.Type[typing.Any], + capacityRange: "ProductionOptimizer.CapacityRange", + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityRangeSpreadFraction( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityRuleForName( + self, + string: typing.Union[java.lang.String, str], + capacityRule: "ProductionOptimizer.CapacityRule", + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityRuleForType( + self, + class_: typing.Type[typing.Any], + capacityRule: "ProductionOptimizer.CapacityRule", + ) -> "ProductionOptimizer.OptimizationConfig": ... + def capacityUncertaintyFraction( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def cognitiveWeight( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def columnFsFactorLimit( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... def createRandom(self) -> java.util.Random: ... - def defaultUtilizationLimit(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def enableCaching(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... - def equipmentConstraintRule(self, equipmentConstraintRule: 'ProductionOptimizer.EquipmentConstraintRule') -> 'ProductionOptimizer.OptimizationConfig': ... + def defaultUtilizationLimit( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def enableCaching( + self, boolean: bool + ) -> "ProductionOptimizer.OptimizationConfig": ... + def equipmentConstraintRule( + self, equipmentConstraintRule: "ProductionOptimizer.EquipmentConstraintRule" + ) -> "ProductionOptimizer.OptimizationConfig": ... def getCapacityPercentile(self) -> float: ... def getCapacityRangeSpreadFraction(self) -> float: ... def getCapacityUncertaintyFraction(self) -> float: ... @@ -2187,82 +4500,232 @@ class ProductionOptimizer: def getParetoGridSize(self) -> int: ... def getRandomSeed(self) -> int: ... def getRateUnit(self) -> java.lang.String: ... - def getSearchMode(self) -> 'ProductionOptimizer.SearchMode': ... + def getSearchMode(self) -> "ProductionOptimizer.SearchMode": ... def getSocialWeight(self) -> float: ... def getStagnationIterations(self) -> int: ... def getSwarmSize(self) -> int: ... def getTolerance(self) -> float: ... def getUpperBound(self) -> float: ... def getUtilizationMarginFraction(self) -> float: ... - def inertiaWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def initialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ProductionOptimizer.OptimizationConfig': ... + def inertiaWeight( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def initialGuess( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "ProductionOptimizer.OptimizationConfig": ... def isParallelEvaluations(self) -> bool: ... def isRejectInvalidSimulations(self) -> bool: ... def isUseFixedSeed(self) -> bool: ... - def maxCacheSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def maxIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def parallelEvaluations(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... - def parallelThreads(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def paretoGridSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def randomSeed(self, long: int) -> 'ProductionOptimizer.OptimizationConfig': ... - 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 socialWeight(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def stagnationIterations(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def swarmSize(self, int: int) -> 'ProductionOptimizer.OptimizationConfig': ... - def tolerance(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def useFixedSeed(self, boolean: bool) -> 'ProductionOptimizer.OptimizationConfig': ... - def utilizationLimitForName(self, string: typing.Union[java.lang.String, str], double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def utilizationLimitForType(self, class_: typing.Type[typing.Any], double: float) -> 'ProductionOptimizer.OptimizationConfig': ... - def utilizationMarginFraction(self, double: float) -> 'ProductionOptimizer.OptimizationConfig': ... + def maxCacheSize( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def maxIterations( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def parallelEvaluations( + self, boolean: bool + ) -> "ProductionOptimizer.OptimizationConfig": ... + def parallelThreads( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def paretoGridSize( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def randomSeed(self, long: int) -> "ProductionOptimizer.OptimizationConfig": ... + 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 socialWeight( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def stagnationIterations( + self, int: int + ) -> "ProductionOptimizer.OptimizationConfig": ... + def swarmSize(self, int: int) -> "ProductionOptimizer.OptimizationConfig": ... + def tolerance( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def useFixedSeed( + self, boolean: bool + ) -> "ProductionOptimizer.OptimizationConfig": ... + def utilizationLimitForName( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def utilizationLimitForType( + self, class_: typing.Type[typing.Any], double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... + def utilizationMarginFraction( + self, double: float + ) -> "ProductionOptimizer.OptimizationConfig": ... def validate(self) -> None: ... + class OptimizationConstraint(ProcessConstraint): - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintDirection: 'ProductionOptimizer.ConstraintDirection', constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + constraintDirection: "ProductionOptimizer.ConstraintDirection", + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... def getDescription(self) -> java.lang.String: ... - def getDirection(self) -> 'ProductionOptimizer.ConstraintDirection': ... + def getDirection(self) -> "ProductionOptimizer.ConstraintDirection": ... def getLimit(self) -> float: ... def getName(self) -> java.lang.String: ... def getPenaltyWeight(self) -> float: ... - def getSeverity(self) -> 'ProductionOptimizer.ConstraintSeverity': ... + def getSeverity(self) -> "ProductionOptimizer.ConstraintSeverity": ... def getSeverityLevel(self) -> ConstraintSeverityLevel: ... @staticmethod - def greaterThan(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConstraint': ... - def isSatisfied(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> bool: ... + def greaterThan( + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "ProductionOptimizer.OptimizationConstraint": ... + def isSatisfied( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> bool: ... @staticmethod - def lessThan(string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, constraintSeverity: 'ProductionOptimizer.ConstraintSeverity', double2: float, string2: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.OptimizationConstraint': ... - def margin(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... - def toConstraintDefinition(self) -> ProcessSimulationEvaluator.ConstraintDefinition: ... + def lessThan( + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + constraintSeverity: "ProductionOptimizer.ConstraintSeverity", + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "ProductionOptimizer.OptimizationConstraint": ... + def margin( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... + def toConstraintDefinition( + self, + ) -> ProcessSimulationEvaluator.ConstraintDefinition: ... + class OptimizationObjective: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction[jneqsim.process.processmodel.ProcessSystem], typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float]], double: float, objectiveType: 'ProductionOptimizer.ObjectiveType'): ... - def evaluate(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + jneqsim.process.processmodel.ProcessSystem + ], + typing.Callable[[jneqsim.process.processmodel.ProcessSystem], float], + ], + double: float, + objectiveType: "ProductionOptimizer.ObjectiveType", + ): ... + def evaluate( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> float: ... def getName(self) -> java.lang.String: ... - def getType(self) -> 'ProductionOptimizer.ObjectiveType': ... + def getType(self) -> "ProductionOptimizer.ObjectiveType": ... def getWeight(self) -> float: ... + class OptimizationResult: - def __init__(self, double: float, string: typing.Union[java.lang.String, str], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, double2: float, list: java.util.List['ProductionOptimizer.UtilizationRecord'], map2: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list2: java.util.List['ProductionOptimizer.ConstraintStatus'], boolean: bool, double3: float, int: int, list3: java.util.List['ProductionOptimizer.IterationRecord']): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + double2: float, + list: java.util.List["ProductionOptimizer.UtilizationRecord"], + map2: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + list2: java.util.List["ProductionOptimizer.ConstraintStatus"], + boolean: bool, + double3: float, + int: int, + list3: java.util.List["ProductionOptimizer.IterationRecord"], + ): ... def exportDetailedIterationHistoryAsCsv(self) -> java.lang.String: ... def exportIterationHistoryAsCsv(self) -> java.lang.String: ... def exportIterationHistoryAsJson(self) -> java.lang.String: ... - def getBottleneck(self) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... + def getBottleneck( + self, + ) -> jneqsim.process.equipment.ProcessEquipmentInterface: ... def getBottleneckUtilization(self) -> float: ... - def getConstraintStatuses(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... + def getConstraintStatuses( + self, + ) -> java.util.List["ProductionOptimizer.ConstraintStatus"]: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... def getInfeasibilityDiagnosis(self) -> java.lang.String: ... - def getIterationHistory(self) -> java.util.List['ProductionOptimizer.IterationRecord']: ... + def getIterationHistory( + self, + ) -> java.util.List["ProductionOptimizer.IterationRecord"]: ... def getIterations(self) -> int: ... def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... def getOptimalRate(self) -> float: ... def getRateUnit(self) -> java.lang.String: ... def getScore(self) -> float: ... - def getUtilizationRecords(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def getUtilizationRecords( + self, + ) -> java.util.List["ProductionOptimizer.UtilizationRecord"]: ... def isFeasible(self) -> bool: ... + class OptimizationSummary: - def __init__(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double2: float, double3: float, double4: float, boolean: bool, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], list: java.util.List['ProductionOptimizer.UtilizationRecord'], list2: java.util.List['ProductionOptimizer.ConstraintStatus']): ... - def getConstraints(self) -> java.util.List['ProductionOptimizer.ConstraintStatus']: ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double2: float, + double3: float, + double4: float, + boolean: bool, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + list: java.util.List["ProductionOptimizer.UtilizationRecord"], + list2: java.util.List["ProductionOptimizer.ConstraintStatus"], + ): ... + def getConstraints( + self, + ) -> java.util.List["ProductionOptimizer.ConstraintStatus"]: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... def getLimitingEquipment(self) -> java.lang.String: ... def getMaxRate(self) -> float: ... @@ -2270,146 +4733,362 @@ class ProductionOptimizer: def getUtilization(self) -> float: ... def getUtilizationLimit(self) -> float: ... def getUtilizationMargin(self) -> float: ... - def getUtilizations(self) -> java.util.List['ProductionOptimizer.UtilizationRecord']: ... + def getUtilizations( + self, + ) -> java.util.List["ProductionOptimizer.UtilizationRecord"]: ... def isFeasible(self) -> bool: ... + class ParetoPoint: - def __init__(self, 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]], doubleArray: typing.Union[typing.List[float], jpype.JArray], boolean: bool, optimizationResult: 'ProductionOptimizer.OptimizationResult'): ... - def dominates(self, paretoPoint: 'ProductionOptimizer.ParetoPoint', map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType'], typing.Mapping[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType']]) -> bool: ... + def __init__( + self, + 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], + ], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + optimizationResult: "ProductionOptimizer.OptimizationResult", + ): ... + def dominates( + self, + paretoPoint: "ProductionOptimizer.ParetoPoint", + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + "ProductionOptimizer.ObjectiveType", + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + "ProductionOptimizer.ObjectiveType", + ], + ], + ) -> bool: ... def getDecisionVariables(self) -> java.util.Map[java.lang.String, float]: ... - def getFullResult(self) -> 'ProductionOptimizer.OptimizationResult': ... + def getFullResult(self) -> "ProductionOptimizer.OptimizationResult": ... def getObjectiveValues(self) -> java.util.Map[java.lang.String, float]: ... def getWeights(self) -> typing.MutableSequence[float]: ... def isFeasible(self) -> bool: ... + class ParetoResult: - def __init__(self, list: java.util.List['ProductionOptimizer.ParetoPoint'], list2: java.util.List['ProductionOptimizer.ParetoPoint'], list3: java.util.List[typing.Union[java.lang.String, str]], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType'], typing.Mapping[typing.Union[java.lang.String, str], 'ProductionOptimizer.ObjectiveType']], int: int): ... - def getAllPoints(self) -> java.util.List['ProductionOptimizer.ParetoPoint']: ... + def __init__( + self, + list: java.util.List["ProductionOptimizer.ParetoPoint"], + list2: java.util.List["ProductionOptimizer.ParetoPoint"], + list3: java.util.List[typing.Union[java.lang.String, str]], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + "ProductionOptimizer.ObjectiveType", + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + "ProductionOptimizer.ObjectiveType", + ], + ], + int: int, + ): ... + def getAllPoints(self) -> java.util.List["ProductionOptimizer.ParetoPoint"]: ... def getNadirPoint(self) -> java.util.Map[java.lang.String, float]: ... def getObjectiveNames(self) -> java.util.List[java.lang.String]: ... - def getObjectiveTypes(self) -> java.util.Map[java.lang.String, 'ProductionOptimizer.ObjectiveType']: ... - def getParetoFront(self) -> java.util.List['ProductionOptimizer.ParetoPoint']: ... + def getObjectiveTypes( + self, + ) -> java.util.Map[java.lang.String, "ProductionOptimizer.ObjectiveType"]: ... + def getParetoFront( + self, + ) -> java.util.List["ProductionOptimizer.ParetoPoint"]: ... def getParetoFrontSize(self) -> int: ... def getTotalIterations(self) -> int: ... def getUtopiaPoint(self) -> java.util.Map[java.lang.String, float]: ... def toMarkdownTable(self) -> java.lang.String: ... + class ScenarioComparisonResult: - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['ProductionOptimizer.ScenarioResult'], map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], typing.Mapping[typing.Union[java.lang.String, str], 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], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]], typing.Mapping[typing.Union[java.lang.String, str], typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]]]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List["ProductionOptimizer.ScenarioResult"], + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + 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], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ], + ], + ): ... def getBaselineScenario(self) -> java.lang.String: ... - def getKpiDeltas(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... - def getKpiValues(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, float]]: ... - def getScenarioResults(self) -> java.util.List['ProductionOptimizer.ScenarioResult']: ... + def getKpiDeltas( + self, + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, float] + ]: ... + def getKpiValues( + self, + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, float] + ]: ... + def getScenarioResults( + self, + ) -> java.util.List["ProductionOptimizer.ScenarioResult"]: ... + class ScenarioKpi: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], toDoubleFunction: typing.Union[java.util.function.ToDoubleFunction['ProductionOptimizer.OptimizationResult'], typing.Callable[['ProductionOptimizer.OptimizationResult'], float]]): ... - def evaluate(self, optimizationResult: 'ProductionOptimizer.OptimizationResult') -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + toDoubleFunction: typing.Union[ + java.util.function.ToDoubleFunction[ + "ProductionOptimizer.OptimizationResult" + ], + typing.Callable[["ProductionOptimizer.OptimizationResult"], float], + ], + ): ... + def evaluate( + self, optimizationResult: "ProductionOptimizer.OptimizationResult" + ) -> float: ... def getName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... @staticmethod - def objectiveValue(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... + def objectiveValue( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ScenarioKpi": ... @staticmethod - def optimalRate(string: typing.Union[java.lang.String, str]) -> 'ProductionOptimizer.ScenarioKpi': ... + def optimalRate( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.ScenarioKpi": ... @staticmethod - def score() -> 'ProductionOptimizer.ScenarioKpi': ... + def score() -> "ProductionOptimizer.ScenarioKpi": ... + class ScenarioRequest: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processModel: jneqsim.process.processmodel.ProcessModel, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processModel: jneqsim.process.processmodel.ProcessModel, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processModel: jneqsim.process.processmodel.ProcessModel, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, list: java.util.List['ProductionOptimizer.ManipulatedVariable'], optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list2: java.util.List['ProductionOptimizer.OptimizationObjective'], list3: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + list: java.util.List["ProductionOptimizer.ManipulatedVariable"], + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list2: java.util.List["ProductionOptimizer.OptimizationObjective"], + list3: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], processSystem: jneqsim.process.processmodel.ProcessSystem, streamInterface: jneqsim.process.equipment.stream.StreamInterface, optimizationConfig: 'ProductionOptimizer.OptimizationConfig', list: java.util.List['ProductionOptimizer.OptimizationObjective'], list2: java.util.List['ProductionOptimizer.OptimizationConstraint']): ... - def getConfig(self) -> 'ProductionOptimizer.OptimizationConfig': ... - def getConstraints(self) -> java.util.List['ProductionOptimizer.OptimizationConstraint']: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + processSystem: jneqsim.process.processmodel.ProcessSystem, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + optimizationConfig: "ProductionOptimizer.OptimizationConfig", + list: java.util.List["ProductionOptimizer.OptimizationObjective"], + list2: java.util.List["ProductionOptimizer.OptimizationConstraint"], + ): ... + def getConfig(self) -> "ProductionOptimizer.OptimizationConfig": ... + def getConstraints( + self, + ) -> java.util.List["ProductionOptimizer.OptimizationConstraint"]: ... def getFeedStream(self) -> jneqsim.process.equipment.stream.StreamInterface: ... def getName(self) -> java.lang.String: ... - def getObjectives(self) -> java.util.List['ProductionOptimizer.OptimizationObjective']: ... + def getObjectives( + self, + ) -> java.util.List["ProductionOptimizer.OptimizationObjective"]: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... - def getVariables(self) -> java.util.List['ProductionOptimizer.ManipulatedVariable']: ... + def getVariables( + self, + ) -> java.util.List["ProductionOptimizer.ManipulatedVariable"]: ... + class ScenarioResult: - def __init__(self, string: typing.Union[java.lang.String, str], optimizationResult: 'ProductionOptimizer.OptimizationResult'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + optimizationResult: "ProductionOptimizer.OptimizationResult", + ): ... def getName(self) -> java.lang.String: ... - def getResult(self) -> 'ProductionOptimizer.OptimizationResult': ... - class SearchMode(java.lang.Enum['ProductionOptimizer.SearchMode']): - BINARY_FEASIBILITY: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... - GOLDEN_SECTION_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... - NELDER_MEAD_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... - PARTICLE_SWARM_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... - GRADIENT_DESCENT_SCORE: typing.ClassVar['ProductionOptimizer.SearchMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getResult(self) -> "ProductionOptimizer.OptimizationResult": ... + + class SearchMode(java.lang.Enum["ProductionOptimizer.SearchMode"]): + BINARY_FEASIBILITY: typing.ClassVar["ProductionOptimizer.SearchMode"] = ... + GOLDEN_SECTION_SCORE: typing.ClassVar["ProductionOptimizer.SearchMode"] = ... + NELDER_MEAD_SCORE: typing.ClassVar["ProductionOptimizer.SearchMode"] = ... + PARTICLE_SWARM_SCORE: typing.ClassVar["ProductionOptimizer.SearchMode"] = ... + GRADIENT_DESCENT_SCORE: typing.ClassVar["ProductionOptimizer.SearchMode"] = ... + _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: ... + 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]) -> 'ProductionOptimizer.SearchMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProductionOptimizer.SearchMode": ... @staticmethod - def values() -> typing.MutableSequence['ProductionOptimizer.SearchMode']: ... + def values() -> typing.MutableSequence["ProductionOptimizer.SearchMode"]: ... + class UtilizationRecord: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ): ... def getCapacityDuty(self) -> float: ... def getCapacityMax(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getUtilization(self) -> float: ... def getUtilizationLimit(self) -> float: ... + class UtilizationSeries: - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List[float], list2: java.util.List[bool], double: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[float], + list2: java.util.List[bool], + double: float, + ): ... def getBottleneckFlags(self) -> java.util.List[bool]: ... def getEquipmentName(self) -> java.lang.String: ... def getUtilizationLimit(self) -> float: ... def getUtilizations(self) -> java.util.List[float]: ... + class CapacityRange: ... class CapacityRule: ... class EquipmentConstraintRule: ... -class StandardObjective(java.lang.Enum['StandardObjective'], ObjectiveFunction): - MAXIMIZE_THROUGHPUT: typing.ClassVar['StandardObjective'] = ... - MINIMIZE_POWER: typing.ClassVar['StandardObjective'] = ... - MINIMIZE_HEATING_DUTY: typing.ClassVar['StandardObjective'] = ... - MINIMIZE_COOLING_DUTY: typing.ClassVar['StandardObjective'] = ... - MINIMIZE_TOTAL_ENERGY: typing.ClassVar['StandardObjective'] = ... - MAXIMIZE_SPECIFIC_PRODUCTION: typing.ClassVar['StandardObjective'] = ... - MAXIMIZE_LIQUID_RECOVERY: typing.ClassVar['StandardObjective'] = ... +class StandardObjective(java.lang.Enum["StandardObjective"], ObjectiveFunction): + MAXIMIZE_THROUGHPUT: typing.ClassVar["StandardObjective"] = ... + MINIMIZE_POWER: typing.ClassVar["StandardObjective"] = ... + MINIMIZE_HEATING_DUTY: typing.ClassVar["StandardObjective"] = ... + MINIMIZE_COOLING_DUTY: typing.ClassVar["StandardObjective"] = ... + MINIMIZE_TOTAL_ENERGY: typing.ClassVar["StandardObjective"] = ... + MAXIMIZE_SPECIFIC_PRODUCTION: typing.ClassVar["StandardObjective"] = ... + MAXIMIZE_LIQUID_RECOVERY: typing.ClassVar["StandardObjective"] = ... @staticmethod - def maximizeManifoldThroughput(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def maximizeManifoldThroughput( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def maximizePumpEfficiency(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def maximizePumpEfficiency( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def maximizePumpNPSHMargin(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def maximizePumpNPSHMargin( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def maximizeStreamFlow(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def maximizeStreamFlow( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeCompressorPower(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeCompressorPower( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeFIV_FRMS(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeFIV_FRMS( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeFIV_LOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeFIV_LOF( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldBranchLOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldBranchLOF( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldHeaderFRMS(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldHeaderFRMS( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldHeaderLOF(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldHeaderLOF( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldImbalance(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldImbalance( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldPressureDrop(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldPressureDrop( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeManifoldVelocityRatio(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizeManifoldVelocityRatio( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizePipelineVibration(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizePipelineVibration( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> ObjectiveFunction: ... @staticmethod - def minimizePumpPower(string: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... + def minimizePumpPower( + string: typing.Union[java.lang.String, str] + ) -> ObjectiveFunction: ... @staticmethod - def minimizeStreamFlow(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> ObjectiveFunction: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def minimizeStreamFlow( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> ObjectiveFunction: ... + _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: ... + 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]) -> 'StandardObjective': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "StandardObjective": ... @staticmethod - def values() -> typing.MutableSequence['StandardObjective']: ... - + def values() -> typing.MutableSequence["StandardObjective"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.optimizer")``. diff --git a/src/jneqsim-stubs/process/util/reconciliation/__init__.pyi b/src/jneqsim-stubs/process/util/reconciliation/__init__.pyi index fdde34b7..34dd6689 100644 --- a/src/jneqsim-stubs/process/util/reconciliation/__init__.pyi +++ b/src/jneqsim-stubs/process/util/reconciliation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,49 +11,75 @@ import java.util import jpype import typing - - class DataReconciliationEngine(java.io.Serializable): def __init__(self): ... @typing.overload - def addConstraint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'DataReconciliationEngine': ... + def addConstraint( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "DataReconciliationEngine": ... @typing.overload - def addConstraint(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> 'DataReconciliationEngine': ... + def addConstraint( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> "DataReconciliationEngine": ... @typing.overload - def addMassBalanceConstraint(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'DataReconciliationEngine': ... + def addMassBalanceConstraint( + self, + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> "DataReconciliationEngine": ... @typing.overload - def addMassBalanceConstraint(self, string: typing.Union[java.lang.String, str], list: java.util.List[typing.Union[java.lang.String, str]], list2: java.util.List[typing.Union[java.lang.String, str]]) -> 'DataReconciliationEngine': ... - def addVariable(self, reconciliationVariable: 'ReconciliationVariable') -> 'DataReconciliationEngine': ... + def addMassBalanceConstraint( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List[typing.Union[java.lang.String, str]], + list2: java.util.List[typing.Union[java.lang.String, str]], + ) -> "DataReconciliationEngine": ... + def addVariable( + self, reconciliationVariable: "ReconciliationVariable" + ) -> "DataReconciliationEngine": ... def clear(self) -> None: ... def clearConstraints(self) -> None: ... def getConstraintCount(self) -> int: ... def getGrossErrorThreshold(self) -> float: ... - def getVariable(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def getVariable( + self, string: typing.Union[java.lang.String, str] + ) -> "ReconciliationVariable": ... def getVariableCount(self) -> int: ... - def getVariables(self) -> java.util.List['ReconciliationVariable']: ... - def reconcile(self) -> 'ReconciliationResult': ... - def reconcileWithGrossErrorElimination(self, int: int) -> 'ReconciliationResult': ... - def setGrossErrorThreshold(self, double: float) -> 'DataReconciliationEngine': ... + def getVariables(self) -> java.util.List["ReconciliationVariable"]: ... + def reconcile(self) -> "ReconciliationResult": ... + def reconcileWithGrossErrorElimination( + self, int: int + ) -> "ReconciliationResult": ... + def setGrossErrorThreshold(self, double: float) -> "DataReconciliationEngine": ... class ReconciliationResult(java.io.Serializable): - def __init__(self, list: java.util.List['ReconciliationVariable']): ... - def addGrossError(self, reconciliationVariable: 'ReconciliationVariable') -> None: ... + def __init__(self, list: java.util.List["ReconciliationVariable"]): ... + def addGrossError( + self, reconciliationVariable: "ReconciliationVariable" + ) -> None: ... def getChiSquareStatistic(self) -> float: ... def getComputeTimeMs(self) -> int: ... def getConstraintResidualsAfter(self) -> typing.MutableSequence[float]: ... def getConstraintResidualsBefore(self) -> typing.MutableSequence[float]: ... def getDegreesOfFreedom(self) -> int: ... def getErrorMessage(self) -> java.lang.String: ... - def getGrossErrors(self) -> java.util.List['ReconciliationVariable']: ... + def getGrossErrors(self) -> java.util.List["ReconciliationVariable"]: ... def getObjectiveValue(self) -> float: ... - def getVariables(self) -> java.util.List['ReconciliationVariable']: ... + def getVariables(self) -> java.util.List["ReconciliationVariable"]: ... def hasGrossErrors(self) -> bool: ... def isConverged(self) -> bool: ... def isGlobalTestPassed(self) -> bool: ... def setChiSquareStatistic(self, double: float) -> None: ... def setComputeTimeMs(self, long: int) -> None: ... - def setConstraintResidualsAfter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setConstraintResidualsBefore(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setConstraintResidualsAfter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setConstraintResidualsBefore( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setConverged(self, boolean: bool) -> None: ... def setDegreesOfFreedom(self, int: int) -> None: ... def setErrorMessage(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -65,9 +91,18 @@ class ReconciliationResult(java.io.Serializable): class ReconciliationVariable(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ): ... @typing.overload - 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): ... + 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, + ): ... def getAdjustment(self) -> float: ... def getEquipmentName(self) -> java.lang.String: ... def getMeasuredValue(self) -> float: ... @@ -80,16 +115,22 @@ class ReconciliationVariable(java.io.Serializable): def getUnit(self) -> java.lang.String: ... def hasModelValue(self) -> bool: ... def isGrossError(self) -> bool: ... - def setEquipmentName(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def setEquipmentName( + self, string: typing.Union[java.lang.String, str] + ) -> "ReconciliationVariable": ... def setGrossError(self, boolean: bool) -> None: ... def setMeasuredValue(self, double: float) -> None: ... def setModelValue(self, double: float) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setNormalizedResidual(self, double: float) -> None: ... - def setPropertyName(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def setPropertyName( + self, string: typing.Union[java.lang.String, str] + ) -> "ReconciliationVariable": ... def setReconciledValue(self, double: float) -> None: ... def setUncertainty(self, double: float) -> None: ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'ReconciliationVariable': ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "ReconciliationVariable": ... def toString(self) -> java.lang.String: ... class SteadyStateDetector(java.io.Serializable): @@ -98,42 +139,64 @@ class SteadyStateDetector(java.io.Serializable): @typing.overload def __init__(self, int: int): ... @typing.overload - def addVariable(self, steadyStateVariable: 'SteadyStateVariable') -> 'SteadyStateDetector': ... + def addVariable( + self, steadyStateVariable: "SteadyStateVariable" + ) -> "SteadyStateDetector": ... @typing.overload - def addVariable(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def addVariable( + self, string: typing.Union[java.lang.String, str] + ) -> "SteadyStateVariable": ... def clear(self) -> None: ... def createReconciliationEngine(self) -> DataReconciliationEngine: ... - def evaluate(self) -> 'SteadyStateResult': ... + def evaluate(self) -> "SteadyStateResult": ... def getDefaultWindowSize(self) -> int: ... def getRThreshold(self) -> float: ... def getRequiredFraction(self) -> float: ... def getSlopeThreshold(self) -> float: ... def getStdDevThreshold(self) -> float: ... - def getVariable(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def getVariable( + self, string: typing.Union[java.lang.String, str] + ) -> "SteadyStateVariable": ... def getVariableCount(self) -> int: ... - def getVariables(self) -> java.util.List['SteadyStateVariable']: ... + def getVariables(self) -> java.util.List["SteadyStateVariable"]: ... def isRequireFullWindow(self) -> bool: ... def removeVariable(self, string: typing.Union[java.lang.String, str]) -> bool: ... - def setDefaultWindowSize(self, int: int) -> 'SteadyStateDetector': ... - def setRThreshold(self, double: float) -> 'SteadyStateDetector': ... - def setRequireFullWindow(self, boolean: bool) -> 'SteadyStateDetector': ... - def setRequiredFraction(self, double: float) -> 'SteadyStateDetector': ... - def setSlopeThreshold(self, double: float) -> 'SteadyStateDetector': ... - def setStdDevThreshold(self, double: float) -> 'SteadyStateDetector': ... + def setDefaultWindowSize(self, int: int) -> "SteadyStateDetector": ... + def setRThreshold(self, double: float) -> "SteadyStateDetector": ... + def setRequireFullWindow(self, boolean: bool) -> "SteadyStateDetector": ... + def setRequiredFraction(self, double: float) -> "SteadyStateDetector": ... + def setSlopeThreshold(self, double: float) -> "SteadyStateDetector": ... + def setStdDevThreshold(self, double: float) -> "SteadyStateDetector": ... def toString(self) -> java.lang.String: ... - def updateAll(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> None: ... - def updateAndEvaluate(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> 'SteadyStateResult': ... - def updateVariable(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def updateAll( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> None: ... + def updateAndEvaluate( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> "SteadyStateResult": ... + def updateVariable( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... class SteadyStateResult(java.io.Serializable): - def __init__(self, list: java.util.List['SteadyStateVariable'], double: float, double2: float): ... + def __init__( + self, list: java.util.List["SteadyStateVariable"], double: float, double2: float + ): ... def getRThreshold(self) -> float: ... def getSlopeThreshold(self) -> float: ... def getSteadyCount(self) -> int: ... def getTimestamp(self) -> int: ... def getTransientCount(self) -> int: ... - def getTransientVariables(self) -> java.util.List['SteadyStateVariable']: ... - def getVariables(self) -> java.util.List['SteadyStateVariable']: ... + def getTransientVariables(self) -> java.util.List["SteadyStateVariable"]: ... + def getVariables(self) -> java.util.List["SteadyStateVariable"]: ... def isAtSteadyState(self) -> bool: ... def toJson(self) -> java.lang.String: ... def toReport(self) -> java.lang.String: ... @@ -156,12 +219,13 @@ class SteadyStateVariable(java.io.Serializable): def getWindowValues(self) -> java.util.List[float]: ... def isAtSteadyState(self) -> bool: ... def isWindowFull(self) -> bool: ... - def setUncertainty(self, double: float) -> 'SteadyStateVariable': ... - def setUnit(self, string: typing.Union[java.lang.String, str]) -> 'SteadyStateVariable': ... + def setUncertainty(self, double: float) -> "SteadyStateVariable": ... + def setUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "SteadyStateVariable": ... def setWindowSize(self, int: int) -> None: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.reconciliation")``. diff --git a/src/jneqsim-stubs/process/util/report/__init__.pyi b/src/jneqsim-stubs/process/util/report/__init__.pyi index dbff7a47..73b26297 100644 --- a/src/jneqsim-stubs/process/util/report/__init__.pyi +++ b/src/jneqsim-stubs/process/util/report/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,25 +15,36 @@ import jneqsim.process.util.report.safety import jneqsim.thermo.system import typing - - class HeatMaterialBalance(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... - def getAllStreams(self) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... - def getEquipmentData(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> java.util.Map[java.lang.String, typing.Any]: ... - def getStreamData(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> java.util.Map[java.lang.String, typing.Any]: ... - def setFlowUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... - def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... - def setTemperatureUnit(self, string: typing.Union[java.lang.String, str]) -> 'HeatMaterialBalance': ... + def getAllStreams( + self, + ) -> java.util.List[jneqsim.process.equipment.stream.StreamInterface]: ... + def getEquipmentData( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def getStreamData( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> java.util.Map[java.lang.String, typing.Any]: ... + def setFlowUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatMaterialBalance": ... + def setPressureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatMaterialBalance": ... + def setTemperatureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> "HeatMaterialBalance": ... def streamTableToCSV(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... class ProcessValidator(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def getErrorCount(self) -> int: ... - def getErrors(self) -> java.util.List['ProcessValidator.ValidationIssue']: ... + def getErrors(self) -> java.util.List["ProcessValidator.ValidationIssue"]: ... def getIssueCount(self) -> int: ... - def getIssues(self) -> java.util.List['ProcessValidator.ValidationIssue']: ... + def getIssues(self) -> java.util.List["ProcessValidator.ValidationIssue"]: ... def getWarningCount(self) -> int: ... def isValid(self) -> bool: ... def setMassBalanceTolerance(self, double: float) -> None: ... @@ -41,35 +52,54 @@ class ProcessValidator(java.io.Serializable): def setTemperatureLimits(self, double: float, double2: float) -> None: ... def toJson(self) -> java.lang.String: ... def validate(self) -> None: ... - class Severity(java.lang.Enum['ProcessValidator.Severity']): - INFO: typing.ClassVar['ProcessValidator.Severity'] = ... - WARNING: typing.ClassVar['ProcessValidator.Severity'] = ... - ERROR: typing.ClassVar['ProcessValidator.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["ProcessValidator.Severity"]): + INFO: typing.ClassVar["ProcessValidator.Severity"] = ... + WARNING: typing.ClassVar["ProcessValidator.Severity"] = ... + ERROR: typing.ClassVar["ProcessValidator.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: ... + 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]) -> 'ProcessValidator.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ProcessValidator.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ProcessValidator.Severity']: ... + def values() -> typing.MutableSequence["ProcessValidator.Severity"]: ... + class ValidationIssue(java.io.Serializable): - severity: 'ProcessValidator.Severity' = ... + severity: "ProcessValidator.Severity" = ... location: java.lang.String = ... message: java.lang.String = ... value: float = ... - def __init__(self, severity: 'ProcessValidator.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + severity: "ProcessValidator.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ): ... class Report: @typing.overload - def __init__(self, processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass): ... + def __init__( + self, + processEquipmentBaseClass: jneqsim.process.equipment.ProcessEquipmentBaseClass, + ): ... @typing.overload def __init__(self, processModel: jneqsim.process.processmodel.ProcessModel): ... @typing.overload def __init__(self, processModule: jneqsim.process.processmodel.ProcessModule): ... @typing.overload - def __init__(self, processModuleBaseClass: jneqsim.process.processmodel.ProcessModuleBaseClass): ... + def __init__( + self, + processModuleBaseClass: jneqsim.process.processmodel.ProcessModuleBaseClass, + ): ... @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload @@ -77,31 +107,42 @@ class Report: @typing.overload def generateJsonReport(self) -> java.lang.String: ... @typing.overload - def generateJsonReport(self, reportConfig: 'ReportConfig') -> java.lang.String: ... + def generateJsonReport(self, reportConfig: "ReportConfig") -> java.lang.String: ... class ReportConfig: - detailLevel: 'ReportConfig.DetailLevel' = ... + detailLevel: "ReportConfig.DetailLevel" = ... @typing.overload def __init__(self): ... @typing.overload - def __init__(self, detailLevel: 'ReportConfig.DetailLevel'): ... - def getDetailLevel(self, string: typing.Union[java.lang.String, str]) -> 'ReportConfig.DetailLevel': ... - def setDetailLevel(self, string: typing.Union[java.lang.String, str], detailLevel: 'ReportConfig.DetailLevel') -> None: ... - class DetailLevel(java.lang.Enum['ReportConfig.DetailLevel']): - MINIMUM: typing.ClassVar['ReportConfig.DetailLevel'] = ... - SUMMARY: typing.ClassVar['ReportConfig.DetailLevel'] = ... - FULL: typing.ClassVar['ReportConfig.DetailLevel'] = ... - HIDE: typing.ClassVar['ReportConfig.DetailLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__(self, detailLevel: "ReportConfig.DetailLevel"): ... + def getDetailLevel( + self, string: typing.Union[java.lang.String, str] + ) -> "ReportConfig.DetailLevel": ... + def setDetailLevel( + self, + string: typing.Union[java.lang.String, str], + detailLevel: "ReportConfig.DetailLevel", + ) -> None: ... + + class DetailLevel(java.lang.Enum["ReportConfig.DetailLevel"]): + MINIMUM: typing.ClassVar["ReportConfig.DetailLevel"] = ... + SUMMARY: typing.ClassVar["ReportConfig.DetailLevel"] = ... + FULL: typing.ClassVar["ReportConfig.DetailLevel"] = ... + HIDE: typing.ClassVar["ReportConfig.DetailLevel"] = ... + _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: ... + 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]) -> 'ReportConfig.DetailLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReportConfig.DetailLevel": ... @staticmethod - def values() -> typing.MutableSequence['ReportConfig.DetailLevel']: ... - + def values() -> typing.MutableSequence["ReportConfig.DetailLevel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report")``. diff --git a/src/jneqsim-stubs/process/util/report/safety/__init__.pyi b/src/jneqsim-stubs/process/util/report/safety/__init__.pyi index d5f7220e..0116431c 100644 --- a/src/jneqsim-stubs/process/util/report/safety/__init__.pyi +++ b/src/jneqsim-stubs/process/util/report/safety/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,61 +12,105 @@ import jneqsim.process.processmodel import jneqsim.process.util.report import typing - - class ProcessSafetyReport: - def getConditionFindings(self) -> java.util.List['ProcessSafetyReport.ConditionFinding']: ... + def getConditionFindings( + self, + ) -> java.util.List["ProcessSafetyReport.ConditionFinding"]: ... def getEquipmentSnapshotJson(self) -> java.lang.String: ... - def getReliefDeviceAssessments(self) -> java.util.List['ProcessSafetyReport.ReliefDeviceAssessment']: ... - def getSafetyMargins(self) -> java.util.List['ProcessSafetyReport.SafetyMarginAssessment']: ... + def getReliefDeviceAssessments( + self, + ) -> java.util.List["ProcessSafetyReport.ReliefDeviceAssessment"]: ... + def getSafetyMargins( + self, + ) -> java.util.List["ProcessSafetyReport.SafetyMarginAssessment"]: ... def getScenarioLabel(self) -> java.lang.String: ... - def getSystemKpis(self) -> 'ProcessSafetyReport.SystemKpiSnapshot': ... - def getThresholds(self) -> 'ProcessSafetyThresholds': ... + def getSystemKpis(self) -> "ProcessSafetyReport.SystemKpiSnapshot": ... + def getThresholds(self) -> "ProcessSafetyThresholds": ... def toCsv(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... def toUiModel(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class ConditionFinding: - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], severityLevel: 'SeverityLevel'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + severityLevel: "SeverityLevel", + ): ... def getMessage(self) -> java.lang.String: ... - def getSeverity(self) -> 'SeverityLevel': ... + def getSeverity(self) -> "SeverityLevel": ... def getUnitName(self) -> java.lang.String: ... + class ReliefDeviceAssessment: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, severityLevel: 'SeverityLevel'): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + severityLevel: "SeverityLevel", + ): ... def getMassFlowRateKgPerHr(self) -> float: ... def getRelievingPressureBar(self) -> float: ... def getSetPressureBar(self) -> float: ... - def getSeverity(self) -> 'SeverityLevel': ... + def getSeverity(self) -> "SeverityLevel": ... def getUnitName(self) -> java.lang.String: ... def getUpstreamPressureBar(self) -> float: ... def getUtilisationFraction(self) -> float: ... + class SafetyMarginAssessment: - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, severityLevel: 'SeverityLevel', string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + severityLevel: "SeverityLevel", + string2: typing.Union[java.lang.String, str], + ): ... def getDesignPressureBar(self) -> float: ... def getMarginFraction(self) -> float: ... def getNotes(self) -> java.lang.String: ... def getOperatingPressureBar(self) -> float: ... - def getSeverity(self) -> 'SeverityLevel': ... + def getSeverity(self) -> "SeverityLevel": ... def getUnitName(self) -> java.lang.String: ... + class SystemKpiSnapshot: - def __init__(self, double: float, double2: float, severityLevel: 'SeverityLevel', severityLevel2: 'SeverityLevel'): ... + def __init__( + self, + double: float, + double2: float, + severityLevel: "SeverityLevel", + severityLevel2: "SeverityLevel", + ): ... def getEntropyChangeKjPerK(self) -> float: ... - def getEntropySeverity(self) -> 'SeverityLevel': ... + def getEntropySeverity(self) -> "SeverityLevel": ... def getExergyChangeKj(self) -> float: ... - def getExergySeverity(self) -> 'SeverityLevel': ... + def getExergySeverity(self) -> "SeverityLevel": ... class ProcessSafetyReportBuilder: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def build(self) -> ProcessSafetyReport: ... - def withConditionMonitor(self, conditionMonitor: jneqsim.process.conditionmonitor.ConditionMonitor) -> 'ProcessSafetyReportBuilder': ... - def withReportConfig(self, reportConfig: jneqsim.process.util.report.ReportConfig) -> 'ProcessSafetyReportBuilder': ... - def withScenarioLabel(self, string: typing.Union[java.lang.String, str]) -> 'ProcessSafetyReportBuilder': ... - def withThresholds(self, processSafetyThresholds: 'ProcessSafetyThresholds') -> 'ProcessSafetyReportBuilder': ... + def withConditionMonitor( + self, conditionMonitor: jneqsim.process.conditionmonitor.ConditionMonitor + ) -> "ProcessSafetyReportBuilder": ... + def withReportConfig( + self, reportConfig: jneqsim.process.util.report.ReportConfig + ) -> "ProcessSafetyReportBuilder": ... + def withScenarioLabel( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessSafetyReportBuilder": ... + def withThresholds( + self, processSafetyThresholds: "ProcessSafetyThresholds" + ) -> "ProcessSafetyReportBuilder": ... class ProcessSafetyThresholds: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, processSafetyThresholds: 'ProcessSafetyThresholds'): ... + def __init__(self, processSafetyThresholds: "ProcessSafetyThresholds"): ... def getEntropyChangeCritical(self) -> float: ... def getEntropyChangeWarning(self) -> float: ... def getExergyChangeCritical(self) -> float: ... @@ -75,30 +119,37 @@ class ProcessSafetyThresholds: def getMinSafetyMarginWarning(self) -> float: ... def getReliefUtilisationCritical(self) -> float: ... def getReliefUtilisationWarning(self) -> float: ... - def setEntropyChangeCritical(self, double: float) -> 'ProcessSafetyThresholds': ... - def setEntropyChangeWarning(self, double: float) -> 'ProcessSafetyThresholds': ... - def setExergyChangeCritical(self, double: float) -> 'ProcessSafetyThresholds': ... - def setExergyChangeWarning(self, double: float) -> 'ProcessSafetyThresholds': ... - def setMinSafetyMarginCritical(self, double: float) -> 'ProcessSafetyThresholds': ... - def setMinSafetyMarginWarning(self, double: float) -> 'ProcessSafetyThresholds': ... - def setReliefUtilisationCritical(self, double: float) -> 'ProcessSafetyThresholds': ... - def setReliefUtilisationWarning(self, double: float) -> 'ProcessSafetyThresholds': ... + def setEntropyChangeCritical(self, double: float) -> "ProcessSafetyThresholds": ... + def setEntropyChangeWarning(self, double: float) -> "ProcessSafetyThresholds": ... + def setExergyChangeCritical(self, double: float) -> "ProcessSafetyThresholds": ... + def setExergyChangeWarning(self, double: float) -> "ProcessSafetyThresholds": ... + def setMinSafetyMarginCritical( + self, double: float + ) -> "ProcessSafetyThresholds": ... + def setMinSafetyMarginWarning(self, double: float) -> "ProcessSafetyThresholds": ... + def setReliefUtilisationCritical( + self, double: float + ) -> "ProcessSafetyThresholds": ... + def setReliefUtilisationWarning( + self, double: float + ) -> "ProcessSafetyThresholds": ... -class SeverityLevel(java.lang.Enum['SeverityLevel']): - NORMAL: typing.ClassVar['SeverityLevel'] = ... - WARNING: typing.ClassVar['SeverityLevel'] = ... - CRITICAL: typing.ClassVar['SeverityLevel'] = ... - def combine(self, severityLevel: 'SeverityLevel') -> 'SeverityLevel': ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class SeverityLevel(java.lang.Enum["SeverityLevel"]): + NORMAL: typing.ClassVar["SeverityLevel"] = ... + WARNING: typing.ClassVar["SeverityLevel"] = ... + CRITICAL: typing.ClassVar["SeverityLevel"] = ... + def combine(self, severityLevel: "SeverityLevel") -> "SeverityLevel": ... + _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: ... + 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]) -> 'SeverityLevel': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "SeverityLevel": ... @staticmethod - def values() -> typing.MutableSequence['SeverityLevel']: ... - + def values() -> typing.MutableSequence["SeverityLevel"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.report.safety")``. diff --git a/src/jneqsim-stubs/process/util/scenario/__init__.pyi b/src/jneqsim-stubs/process/util/scenario/__init__.pyi index 6215890a..8e3c6bb0 100644 --- a/src/jneqsim-stubs/process/util/scenario/__init__.pyi +++ b/src/jneqsim-stubs/process/util/scenario/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ import jneqsim.process.safety import jneqsim.process.util.monitor import typing - - class AntiSurgeDynamicBenchmark: def __init__(self): ... def getController(self) -> jneqsim.process.controllerdevice.AntiSurgeController: ... @@ -36,8 +34,12 @@ class ProcessScenarioRunner: def activateLogic(self, string: typing.Union[java.lang.String, str]) -> bool: ... def addLogic(self, processLogic: jneqsim.process.logic.ProcessLogic) -> None: ... def clearAllLogic(self) -> None: ... - def findLogic(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.logic.ProcessLogic: ... - def getLogicSequences(self) -> java.util.List[jneqsim.process.logic.ProcessLogic]: ... + def findLogic( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.logic.ProcessLogic: ... + def getLogicSequences( + self, + ) -> java.util.List[jneqsim.process.logic.ProcessLogic]: ... def getSystem(self) -> jneqsim.process.processmodel.ProcessSystem: ... def initializeSteadyState(self) -> None: ... @typing.overload @@ -47,18 +49,38 @@ class ProcessScenarioRunner: def renewSimulationId(self) -> None: ... def reset(self) -> None: ... def resetLogic(self) -> None: ... - def runScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float) -> 'ScenarioExecutionSummary': ... - def runScenarioWithLogic(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'ScenarioExecutionSummary': ... + def runScenario( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + double: float, + double2: float, + ) -> "ScenarioExecutionSummary": ... + def runScenarioWithLogic( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + double: float, + double2: float, + list: java.util.List[typing.Union[java.lang.String, str]], + ) -> "ScenarioExecutionSummary": ... class ScenarioExecutionSummary: def __init__(self, string: typing.Union[java.lang.String, str]): ... def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addLogicResult(self, string: typing.Union[java.lang.String, str], logicState: jneqsim.process.logic.LogicState, string2: typing.Union[java.lang.String, str]) -> None: ... + def addLogicResult( + self, + string: typing.Union[java.lang.String, str], + logicState: jneqsim.process.logic.LogicState, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... def getErrors(self) -> java.util.List[java.lang.String]: ... def getExecutionTime(self) -> int: ... def getKPI(self) -> jneqsim.process.util.monitor.ScenarioKPI: ... - def getLogicResults(self) -> java.util.Map[java.lang.String, 'ScenarioExecutionSummary.LogicResult']: ... + def getLogicResults( + self, + ) -> java.util.Map[java.lang.String, "ScenarioExecutionSummary.LogicResult"]: ... def getScenario(self) -> jneqsim.process.safety.ProcessSafetyScenario: ... def getScenarioName(self) -> java.lang.String: ... def getWarnings(self) -> java.util.List[java.lang.String]: ... @@ -66,34 +88,79 @@ class ScenarioExecutionSummary: def printResults(self) -> None: ... def setExecutionTime(self, long: int) -> None: ... def setKPI(self, scenarioKPI: jneqsim.process.util.monitor.ScenarioKPI) -> None: ... - def setScenario(self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario) -> None: ... + def setScenario( + self, processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario + ) -> None: ... + class LogicResult: - def __init__(self, logicState: jneqsim.process.logic.LogicState, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + logicState: jneqsim.process.logic.LogicState, + string: typing.Union[java.lang.String, str], + ): ... def getFinalState(self) -> jneqsim.process.logic.LogicState: ... def getStatusDescription(self) -> java.lang.String: ... class ScenarioTestRunner: def __init__(self, processScenarioRunner: ProcessScenarioRunner): ... - def batch(self) -> 'ScenarioTestRunner.BatchExecutor': ... + def batch(self) -> "ScenarioTestRunner.BatchExecutor": ... def displayDashboard(self) -> None: ... @typing.overload - def executeScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, double: float, double2: float) -> ScenarioExecutionSummary: ... + def executeScenario( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + double: float, + double2: float, + ) -> ScenarioExecutionSummary: ... @typing.overload - def executeScenario(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], double: float, double2: float) -> ScenarioExecutionSummary: ... - def executeScenarioWithDelayedActivation(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], long: int, string3: typing.Union[java.lang.String, str], double: float, double2: float) -> ScenarioExecutionSummary: ... + def executeScenario( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> ScenarioExecutionSummary: ... + def executeScenarioWithDelayedActivation( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + string2: typing.Union[java.lang.String, str], + long: int, + string3: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> ScenarioExecutionSummary: ... def getDashboard(self) -> jneqsim.process.util.monitor.KPIDashboard: ... def getRunner(self) -> ProcessScenarioRunner: ... def getScenarioCount(self) -> int: ... def printHeader(self) -> None: ... def resetCounter(self) -> None: ... + class BatchExecutor: - def __init__(self, scenarioTestRunner: 'ScenarioTestRunner'): ... - def add(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ScenarioTestRunner.BatchExecutor': ... - def addDelayed(self, string: typing.Union[java.lang.String, str], processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, string2: typing.Union[java.lang.String, str], long: int, string3: typing.Union[java.lang.String, str], double: float, double2: float) -> 'ScenarioTestRunner.BatchExecutor': ... + def __init__(self, scenarioTestRunner: "ScenarioTestRunner"): ... + def add( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ScenarioTestRunner.BatchExecutor": ... + def addDelayed( + self, + string: typing.Union[java.lang.String, str], + processSafetyScenario: jneqsim.process.safety.ProcessSafetyScenario, + string2: typing.Union[java.lang.String, str], + long: int, + string3: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> "ScenarioTestRunner.BatchExecutor": ... def execute(self) -> None: ... def executeWithoutWrapper(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.scenario")``. diff --git a/src/jneqsim-stubs/process/util/sensitivity/__init__.pyi b/src/jneqsim-stubs/process/util/sensitivity/__init__.pyi index 348d0703..0f07062d 100644 --- a/src/jneqsim-stubs/process/util/sensitivity/__init__.pyi +++ b/src/jneqsim-stubs/process/util/sensitivity/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,36 +11,65 @@ import jneqsim.process.processmodel import jneqsim.process.util.uncertainty import typing - - class ProcessSensitivityAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def compute(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... - def computeFiniteDifferencesOnly(self) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... - def generateReport(self, sensitivityMatrix: jneqsim.process.util.uncertainty.SensitivityMatrix) -> java.lang.String: ... - def reset(self) -> 'ProcessSensitivityAnalyzer': ... - def withCentralDifferences(self, boolean: bool) -> 'ProcessSensitivityAnalyzer': ... + def computeFiniteDifferencesOnly( + self, + ) -> jneqsim.process.util.uncertainty.SensitivityMatrix: ... + def generateReport( + self, sensitivityMatrix: jneqsim.process.util.uncertainty.SensitivityMatrix + ) -> java.lang.String: ... + def reset(self) -> "ProcessSensitivityAnalyzer": ... + def withCentralDifferences(self, boolean: bool) -> "ProcessSensitivityAnalyzer": ... @typing.overload - def withInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + def withInput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessSensitivityAnalyzer": ... @typing.overload - def withInput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + def withInput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ProcessSensitivityAnalyzer": ... @typing.overload - def withOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... + def withOutput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ProcessSensitivityAnalyzer": ... @typing.overload - def withOutput(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> 'ProcessSensitivityAnalyzer': ... - def withPerturbation(self, double: float) -> 'ProcessSensitivityAnalyzer': ... + def withOutput( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> "ProcessSensitivityAnalyzer": ... + def withPerturbation(self, double: float) -> "ProcessSensitivityAnalyzer": ... + class VariableSpec(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getEquipmentName(self) -> java.lang.String: ... def getFullName(self) -> java.lang.String: ... def getPropertyName(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.sensitivity")``. diff --git a/src/jneqsim-stubs/process/util/topology/__init__.pyi b/src/jneqsim-stubs/process/util/topology/__init__.pyi index a484d4a8..4dd016cd 100644 --- a/src/jneqsim-stubs/process/util/topology/__init__.pyi +++ b/src/jneqsim-stubs/process/util/topology/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,52 +12,93 @@ import jneqsim.process.processmodel import jneqsim.process.util.optimizer import typing - - class DependencyAnalyzer(java.io.Serializable): @typing.overload def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem, processTopologyAnalyzer: 'ProcessTopologyAnalyzer'): ... + def __init__( + self, + processSystem: jneqsim.process.processmodel.ProcessSystem, + processTopologyAnalyzer: "ProcessTopologyAnalyzer", + ): ... @typing.overload - def addCrossInstallationDependency(self, 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]) -> None: ... + def addCrossInstallationDependency( + self, + 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], + ) -> None: ... @typing.overload - def addCrossInstallationDependency(self, functionalLocation: 'FunctionalLocation', functionalLocation2: 'FunctionalLocation', string: typing.Union[java.lang.String, str], double: float) -> None: ... - def analyzeFailure(self, string: typing.Union[java.lang.String, str]) -> 'DependencyAnalyzer.DependencyResult': ... + def addCrossInstallationDependency( + self, + functionalLocation: "FunctionalLocation", + functionalLocation2: "FunctionalLocation", + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... + def analyzeFailure( + self, string: typing.Union[java.lang.String, str] + ) -> "DependencyAnalyzer.DependencyResult": ... def findCriticalPaths(self) -> java.util.List[java.util.List[java.lang.String]]: ... - def getEquipmentToMonitor(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getImpactAnalyzer(self) -> jneqsim.process.util.optimizer.ProductionImpactAnalyzer: ... - def getTopologyAnalyzer(self) -> 'ProcessTopologyAnalyzer': ... + def getEquipmentToMonitor( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getImpactAnalyzer( + self, + ) -> jneqsim.process.util.optimizer.ProductionImpactAnalyzer: ... + def getTopologyAnalyzer(self) -> "ProcessTopologyAnalyzer": ... def initialize(self) -> None: ... + class CrossInstallationDependency(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]): ... + 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 getDependencyType(self) -> java.lang.String: ... def getImpactFactor(self) -> float: ... def getSourceEquipment(self) -> java.lang.String: ... def getSourceInstallation(self) -> java.lang.String: ... - def getSourceLocation(self) -> 'FunctionalLocation': ... + def getSourceLocation(self) -> "FunctionalLocation": ... def getTargetEquipment(self) -> java.lang.String: ... def getTargetInstallation(self) -> java.lang.String: ... - def getTargetLocation(self) -> 'FunctionalLocation': ... + def getTargetLocation(self) -> "FunctionalLocation": ... def setImpactFactor(self, double: float) -> None: ... - def setSourceInstallation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSourceLocation(self, functionalLocation: 'FunctionalLocation') -> None: ... - def setTargetInstallation(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTargetLocation(self, functionalLocation: 'FunctionalLocation') -> None: ... + def setSourceInstallation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSourceLocation( + self, functionalLocation: "FunctionalLocation" + ) -> None: ... + def setTargetInstallation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTargetLocation( + self, functionalLocation: "FunctionalLocation" + ) -> None: ... + class DependencyResult(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def getCrossInstallationEffects(self) -> java.util.List['DependencyAnalyzer.CrossInstallationDependency']: ... + def getCrossInstallationEffects( + self, + ) -> java.util.List["DependencyAnalyzer.CrossInstallationDependency"]: ... def getDirectlyAffected(self) -> java.util.List[java.lang.String]: ... def getEquipmentToWatch(self) -> java.util.List[java.lang.String]: ... def getFailedEquipment(self) -> java.lang.String: ... - def getFailedLocation(self) -> 'FunctionalLocation': ... + def getFailedLocation(self) -> "FunctionalLocation": ... def getIncreasedCriticality(self) -> java.util.Map[java.lang.String, float]: ... def getIndirectlyAffected(self) -> java.util.List[java.lang.String]: ... - def getProductionImpactByEquipment(self) -> java.util.Map[java.lang.String, float]: ... + def getProductionImpactByEquipment( + self, + ) -> java.util.Map[java.lang.String, float]: ... def getTotalProductionLoss(self) -> float: ... def toJson(self) -> java.lang.String: ... -class FunctionalLocation(java.io.Serializable, java.lang.Comparable['FunctionalLocation']): +class FunctionalLocation( + java.io.Serializable, java.lang.Comparable["FunctionalLocation"] +): GULLFAKS_A: typing.ClassVar[java.lang.String] = ... GULLFAKS_B: typing.ClassVar[java.lang.String] = ... GULLFAKS_C: typing.ClassVar[java.lang.String] = ... @@ -80,10 +121,16 @@ class FunctionalLocation(java.io.Serializable, java.lang.Comparable['FunctionalL @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + 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], + ): ... @staticmethod - def builder() -> 'FunctionalLocation.Builder': ... - def compareTo(self, functionalLocation: 'FunctionalLocation') -> int: ... + def builder() -> "FunctionalLocation.Builder": ... + def compareTo(self, functionalLocation: "FunctionalLocation") -> int: ... def equals(self, object: typing.Any) -> bool: ... def getArea(self) -> java.lang.String: ... def getBaseTag(self) -> java.lang.String: ... @@ -98,46 +145,86 @@ class FunctionalLocation(java.io.Serializable, java.lang.Comparable['FunctionalL def getSystem(self) -> java.lang.String: ... def getTrainSuffix(self) -> java.lang.String: ... def hashCode(self) -> int: ... - def isParallelTo(self, functionalLocation: 'FunctionalLocation') -> bool: ... + def isParallelTo(self, functionalLocation: "FunctionalLocation") -> bool: ... def isParallelUnit(self) -> bool: ... - def isSameInstallation(self, functionalLocation: 'FunctionalLocation') -> bool: ... - def isSameSystem(self, functionalLocation: 'FunctionalLocation') -> bool: ... + def isSameInstallation(self, functionalLocation: "FunctionalLocation") -> bool: ... + def isSameSystem(self, functionalLocation: "FunctionalLocation") -> bool: ... def setArea(self, string: typing.Union[java.lang.String, str]) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSubsystem(self, string: typing.Union[java.lang.String, str]) -> None: ... def setSystem(self, string: typing.Union[java.lang.String, str]) -> None: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def build(self) -> 'FunctionalLocation': ... - def description(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... - def installation(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... - def number(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... - def system(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... - def train(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... - def type(self, string: typing.Union[java.lang.String, str]) -> 'FunctionalLocation.Builder': ... + def build(self) -> "FunctionalLocation": ... + def description( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... + def installation( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... + def number( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... + def system( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... + def train( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... + def type( + self, string: typing.Union[java.lang.String, str] + ) -> "FunctionalLocation.Builder": ... class ProcessTopologyAnalyzer(java.io.Serializable): def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def buildTopology(self) -> None: ... - def getAffectedByFailure(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getDownstreamEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... - def getEdges(self) -> java.util.List['ProcessTopologyAnalyzer.ProcessEdge']: ... - def getIncreasedCriticalityOn(self, string: typing.Union[java.lang.String, str]) -> java.util.Map[java.lang.String, float]: ... - def getNode(self, string: typing.Union[java.lang.String, str]) -> 'ProcessTopologyAnalyzer.EquipmentNode': ... - def getNodes(self) -> java.util.Map[java.lang.String, 'ProcessTopologyAnalyzer.EquipmentNode']: ... - def getParallelEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getAffectedByFailure( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getDownstreamEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... + def getEdges(self) -> java.util.List["ProcessTopologyAnalyzer.ProcessEdge"]: ... + def getIncreasedCriticalityOn( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.Map[java.lang.String, float]: ... + def getNode( + self, string: typing.Union[java.lang.String, str] + ) -> "ProcessTopologyAnalyzer.EquipmentNode": ... + def getNodes( + self, + ) -> java.util.Map[java.lang.String, "ProcessTopologyAnalyzer.EquipmentNode"]: ... + def getParallelEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... def getParallelGroups(self) -> java.util.List[java.util.List[java.lang.String]]: ... def getTopologicalOrder(self) -> java.util.Map[java.lang.String, int]: ... - def getUpstreamEquipment(self, string: typing.Union[java.lang.String, str]) -> java.util.List[java.lang.String]: ... + def getUpstreamEquipment( + self, string: typing.Union[java.lang.String, str] + ) -> java.util.List[java.lang.String]: ... @typing.overload - def setFunctionalLocation(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setFunctionalLocation( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def setFunctionalLocation(self, string: typing.Union[java.lang.String, str], functionalLocation: FunctionalLocation) -> None: ... + def setFunctionalLocation( + self, + string: typing.Union[java.lang.String, str], + functionalLocation: FunctionalLocation, + ) -> None: ... def toDotGraph(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class EquipmentNode(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getCriticality(self) -> float: ... def getDownstreamEquipment(self) -> java.util.List[java.lang.String]: ... def getEquipmentType(self) -> java.lang.String: ... @@ -147,15 +234,22 @@ class ProcessTopologyAnalyzer(java.io.Serializable): def getTopologicalOrder(self) -> int: ... def getUpstreamEquipment(self) -> java.util.List[java.lang.String]: ... def isCritical(self) -> bool: ... - def setFunctionalLocation(self, functionalLocation: FunctionalLocation) -> None: ... + def setFunctionalLocation( + self, functionalLocation: FunctionalLocation + ) -> None: ... + class ProcessEdge(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]): ... + 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 getFromEquipment(self) -> java.lang.String: ... def getStreamName(self) -> java.lang.String: ... def getStreamType(self) -> java.lang.String: ... def getToEquipment(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.topology")``. diff --git a/src/jneqsim-stubs/process/util/uncertainty/__init__.pyi b/src/jneqsim-stubs/process/util/uncertainty/__init__.pyi index 928ed93f..26ef88c0 100644 --- a/src/jneqsim-stubs/process/util/uncertainty/__init__.pyi +++ b/src/jneqsim-stubs/process/util/uncertainty/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,72 +13,170 @@ import jneqsim.process.measurementdevice.vfm import jneqsim.process.processmodel import typing - - class SensitivityMatrix(java.io.Serializable): - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def getInputVariables(self) -> typing.MutableSequence[java.lang.String]: ... def getJacobian(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getMostInfluentialInputs(self) -> java.util.Map[java.lang.String, java.lang.String]: ... - def getNormalizedSensitivities(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMostInfluentialInputs( + self, + ) -> java.util.Map[java.lang.String, java.lang.String]: ... + def getNormalizedSensitivities( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getOutputVariables(self) -> typing.MutableSequence[java.lang.String]: ... - def getSensitivitiesForOutput(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getSensitivity(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - def propagateCovariance(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def propagateUncertainty(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def setSensitivity(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def getSensitivitiesForOutput( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getSensitivity( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def propagateCovariance( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def propagateUncertainty( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def setSensitivity( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... class UncertaintyAnalyzer: def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... @typing.overload - def addInputUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addInputUncertainty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addInputUncertainty(self, inputUncertainty: 'UncertaintyAnalyzer.InputUncertainty') -> None: ... - def addOutputVariable(self, string: typing.Union[java.lang.String, str]) -> None: ... - def analyzeAnalytical(self) -> 'UncertaintyResult': ... - def analyzeMonteCarlo(self, int: int) -> 'UncertaintyResult': ... + def addInputUncertainty( + self, inputUncertainty: "UncertaintyAnalyzer.InputUncertainty" + ) -> None: ... + def addOutputVariable( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def analyzeAnalytical(self) -> "UncertaintyResult": ... + def analyzeMonteCarlo(self, int: int) -> "UncertaintyResult": ... def setRandomSeed(self, long: int) -> None: ... + class InputUncertainty: @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, distributionType: 'UncertaintyAnalyzer.InputUncertainty.DistributionType'): ... - def getDistribution(self) -> 'UncertaintyAnalyzer.InputUncertainty.DistributionType': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + distributionType: "UncertaintyAnalyzer.InputUncertainty.DistributionType", + ): ... + def getDistribution( + self, + ) -> "UncertaintyAnalyzer.InputUncertainty.DistributionType": ... def getStandardDeviation(self) -> float: ... def getVariableName(self) -> java.lang.String: ... - class DistributionType(java.lang.Enum['UncertaintyAnalyzer.InputUncertainty.DistributionType']): - NORMAL: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... - UNIFORM: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... - TRIANGULAR: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... - LOGNORMAL: typing.ClassVar['UncertaintyAnalyzer.InputUncertainty.DistributionType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DistributionType( + java.lang.Enum["UncertaintyAnalyzer.InputUncertainty.DistributionType"] + ): + NORMAL: typing.ClassVar[ + "UncertaintyAnalyzer.InputUncertainty.DistributionType" + ] = ... + UNIFORM: typing.ClassVar[ + "UncertaintyAnalyzer.InputUncertainty.DistributionType" + ] = ... + TRIANGULAR: typing.ClassVar[ + "UncertaintyAnalyzer.InputUncertainty.DistributionType" + ] = ... + LOGNORMAL: typing.ClassVar[ + "UncertaintyAnalyzer.InputUncertainty.DistributionType" + ] = ... + _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: ... + 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]) -> 'UncertaintyAnalyzer.InputUncertainty.DistributionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "UncertaintyAnalyzer.InputUncertainty.DistributionType": ... @staticmethod - def values() -> typing.MutableSequence['UncertaintyAnalyzer.InputUncertainty.DistributionType']: ... + def values() -> ( + typing.MutableSequence[ + "UncertaintyAnalyzer.InputUncertainty.DistributionType" + ] + ): ... class UncertaintyResult(java.io.Serializable): @typing.overload - def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds]], int: int, double: float): ... + def __init__( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.vfm.UncertaintyBounds, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.vfm.UncertaintyBounds, + ], + ], + int: int, + double: float, + ): ... @typing.overload - def __init__(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds], typing.Mapping[typing.Union[java.lang.String, str], jneqsim.process.measurementdevice.vfm.UncertaintyBounds]], sensitivityMatrix: SensitivityMatrix): ... - def getAllUncertainties(self) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds]: ... + def __init__( + self, + map: typing.Union[ + java.util.Map[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.vfm.UncertaintyBounds, + ], + typing.Mapping[ + typing.Union[java.lang.String, str], + jneqsim.process.measurementdevice.vfm.UncertaintyBounds, + ], + ], + sensitivityMatrix: SensitivityMatrix, + ): ... + def getAllUncertainties( + self, + ) -> java.util.Map[ + java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds + ]: ... def getConvergenceMetric(self) -> float: ... def getMonteCarloSamples(self) -> int: ... def getMostUncertainOutput(self) -> java.lang.String: ... - def getOutputsExceedingThreshold(self, double: float) -> java.util.Map[java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds]: ... + def getOutputsExceedingThreshold( + self, double: float + ) -> java.util.Map[ + java.lang.String, jneqsim.process.measurementdevice.vfm.UncertaintyBounds + ]: ... def getSensitivityMatrix(self) -> SensitivityMatrix: ... def getSummary(self) -> java.lang.String: ... - def getUncertainty(self, string: typing.Union[java.lang.String, str]) -> jneqsim.process.measurementdevice.vfm.UncertaintyBounds: ... + def getUncertainty( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.process.measurementdevice.vfm.UncertaintyBounds: ... def isMonteCarloResult(self) -> bool: ... def meetsUncertaintyThreshold(self, double: float) -> bool: ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.uncertainty")``. diff --git a/src/jneqsim-stubs/process/util/utilitydesign/__init__.pyi b/src/jneqsim-stubs/process/util/utilitydesign/__init__.pyi index 92d80c29..be864950 100644 --- a/src/jneqsim-stubs/process/util/utilitydesign/__init__.pyi +++ b/src/jneqsim-stubs/process/util/utilitydesign/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,15 +15,15 @@ import jneqsim.process.processmodel import jneqsim.thermo.system import typing - - class Boiler(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addSteamDuty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addSteamDuty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def calculate(self) -> None: ... def getAnnualOperatingCost(self) -> float: ... def getBlowdownFlowKgh(self) -> float: ... @@ -47,10 +47,13 @@ class Boiler(java.io.Serializable): def setSteamEnthalpyRiseKJperKg(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SteamDuty(java.io.Serializable): name: java.lang.String = ... dutyKW: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float + ): ... class Deaerator(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @@ -90,28 +93,36 @@ class NitrogenSystem(java.io.Serializable): def setCo2GridFactorKgPerKWh(self, double: float) -> None: ... def setDeliveryPressureBarg(self, double: float) -> None: ... def setElectricityCostPerKWh(self, double: float) -> None: ... - def setGenerationMethod(self, generationMethod: 'NitrogenSystem.GenerationMethod') -> None: ... + def setGenerationMethod( + self, generationMethod: "NitrogenSystem.GenerationMethod" + ) -> None: ... def setNitrogenDemandNm3h(self, double: float) -> None: ... def setPurityPercent(self, double: float) -> None: ... def setSpecificEnergyOverride(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... - class GenerationMethod(java.lang.Enum['NitrogenSystem.GenerationMethod']): - MEMBRANE: typing.ClassVar['NitrogenSystem.GenerationMethod'] = ... - PSA: typing.ClassVar['NitrogenSystem.GenerationMethod'] = ... - CRYOGENIC: typing.ClassVar['NitrogenSystem.GenerationMethod'] = ... + + class GenerationMethod(java.lang.Enum["NitrogenSystem.GenerationMethod"]): + MEMBRANE: typing.ClassVar["NitrogenSystem.GenerationMethod"] = ... + PSA: typing.ClassVar["NitrogenSystem.GenerationMethod"] = ... + CRYOGENIC: typing.ClassVar["NitrogenSystem.GenerationMethod"] = ... def getAirToProductRatio(self) -> float: ... def getLabel(self) -> java.lang.String: ... def getSpecificEnergyKWhPerNm3(self) -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'NitrogenSystem.GenerationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "NitrogenSystem.GenerationMethod": ... @staticmethod - def values() -> typing.MutableSequence['NitrogenSystem.GenerationMethod']: ... + def values() -> typing.MutableSequence["NitrogenSystem.GenerationMethod"]: ... class RefrigerationCycle(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @@ -119,7 +130,9 @@ class RefrigerationCycle(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addRefrigerationDuty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addRefrigerationDuty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def calculate(self) -> None: ... def getAnnualOperatingCost(self) -> float: ... def getCarnotCop(self) -> float: ... @@ -139,10 +152,13 @@ class RefrigerationCycle(java.io.Serializable): def setRefrigerant(self, string: typing.Union[java.lang.String, str]) -> None: ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class RefrigerationDuty(java.io.Serializable): name: java.lang.String = ... dutyKW: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, string: typing.Union[java.lang.String, str], double: float + ): ... class SteamNetwork(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @@ -150,8 +166,12 @@ class SteamNetwork(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addDemand(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addLevel(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def addDemand( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addLevel( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def calculate(self) -> None: ... def getBoiler(self) -> Boiler: ... def getBoilerGenerationKgh(self) -> float: ... @@ -161,10 +181,13 @@ class SteamNetwork(java.io.Serializable): def getTotalDemandKgh(self) -> float: ... def getTotalLocalGenerationKgh(self) -> float: ... def setCondensateReturnFraction(self, double: float) -> None: ... - def setLocalGeneration(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setLocalGeneration( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setSteamEnthalpyRiseKJperKg(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SteamHeader(java.io.Serializable): name: java.lang.String = ... pressureBara: float = ... @@ -173,7 +196,12 @@ class SteamNetwork(java.io.Serializable): localGenerationKgh: float = ... inflowFromAboveKgh: float = ... letdownToBelowKgh: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... class UtilityCompressionOptimizer(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @@ -185,38 +213,52 @@ class UtilityCompressionOptimizer(java.io.Serializable): def getGeometricMeanPressureBara(self) -> float: ... def getMinTotalPowerKW(self) -> float: ... def getOptimumInterstagePressureBara(self) -> float: ... - def getResult(self) -> jneqsim.process.automation.AgenticProcessOptimizer.OptimizationResult: ... + def getResult( + self, + ) -> jneqsim.process.automation.AgenticProcessOptimizer.OptimizationResult: ... def isFeasible(self) -> bool: ... - def optimize(self) -> 'UtilityCompressionOptimizer': ... - def setDeliveryPressureBara(self, double: float) -> 'UtilityCompressionOptimizer': ... - def setFlowRateKgh(self, double: float) -> 'UtilityCompressionOptimizer': ... - def setFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'UtilityCompressionOptimizer': ... - def setInletPressureBara(self, double: float) -> 'UtilityCompressionOptimizer': ... - def setInletTempC(self, double: float) -> 'UtilityCompressionOptimizer': ... - def setIntercoolerTempC(self, double: float) -> 'UtilityCompressionOptimizer': ... - def setMaxEvaluations(self, int: int) -> 'UtilityCompressionOptimizer': ... - def setSeed(self, long: int) -> 'UtilityCompressionOptimizer': ... + def optimize(self) -> "UtilityCompressionOptimizer": ... + def setDeliveryPressureBara( + self, double: float + ) -> "UtilityCompressionOptimizer": ... + def setFlowRateKgh(self, double: float) -> "UtilityCompressionOptimizer": ... + def setFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "UtilityCompressionOptimizer": ... + def setInletPressureBara(self, double: float) -> "UtilityCompressionOptimizer": ... + def setInletTempC(self, double: float) -> "UtilityCompressionOptimizer": ... + def setIntercoolerTempC(self, double: float) -> "UtilityCompressionOptimizer": ... + def setMaxEvaluations(self, int: int) -> "UtilityCompressionOptimizer": ... + def setSeed(self, long: int) -> "UtilityCompressionOptimizer": ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... class UtilitySystemDesigner(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... def __init__(self): ... - def design(self) -> 'UtilitySystemDesigner': ... + def design(self) -> "UtilitySystemDesigner": ... @staticmethod - def fromProcessModel(processModel: jneqsim.process.processmodel.ProcessModel) -> 'UtilitySystemDesigner': ... + def fromProcessModel( + processModel: jneqsim.process.processmodel.ProcessModel, + ) -> "UtilitySystemDesigner": ... @staticmethod - def fromProcessSystem(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'UtilitySystemDesigner': ... + def fromProcessSystem( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "UtilitySystemDesigner": ... def getActuatorCount(self) -> int: ... def getAirCoolerDutyKW(self) -> float: ... def getCoolingWaterDutyKW(self) -> float: ... def getCoolingWaterFlowM3h(self) -> float: ... - def getCoolingWaterSystem(self) -> jneqsim.process.equipment.heatexchanger.CoolingWaterSystem: ... + def getCoolingWaterSystem( + self, + ) -> jneqsim.process.equipment.heatexchanger.CoolingWaterSystem: ... def getFuelMassDemandKgh(self) -> float: ... def getFuelThermalDemandKW(self) -> float: ... def getInstrumentAirCompressorKW(self) -> float: ... def getInstrumentAirDemandNm3h(self) -> float: ... - def getInstrumentAirSystem(self) -> jneqsim.process.equipment.util.UtilityAirSystem: ... + def getInstrumentAirSystem( + self, + ) -> jneqsim.process.equipment.util.UtilityAirSystem: ... def getTotalCo2TonnePerYear(self) -> float: ... def getTotalCoolingDutyKW(self) -> float: ... def getTotalElectricalLoadKW(self) -> float: ... @@ -235,18 +277,25 @@ class UtilitySystemDesigner(java.io.Serializable): def setFuelGasCostPerKg(self, double: float) -> None: ... def setFuelLowHeatingValueMJperKg(self, double: float) -> None: ... def setMinimumApproachTempC(self, double: float) -> None: ... - def setSteamLevels(self, list: java.util.List['UtilitySystemDesigner.SteamLevel']) -> None: ... + def setSteamLevels( + self, list: java.util.List["UtilitySystemDesigner.SteamLevel"] + ) -> None: ... def toJson(self) -> java.lang.String: ... def toResultsMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def validate(self) -> java.util.List[java.lang.String]: ... + class SteamLevel(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getAllocatedDutyKW(self) -> float: ... def getName(self) -> java.lang.String: ... def getPressureBara(self) -> float: ... def getSaturationTempC(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.process.util.utilitydesign")``. diff --git a/src/jneqsim-stubs/pvtsimulation/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/__init__.pyi index d65ffce0..c44c1037 100644 --- a/src/jneqsim-stubs/pvtsimulation/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,7 +13,6 @@ import jneqsim.pvtsimulation.simulation import jneqsim.pvtsimulation.util import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation")``. diff --git a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi index 4e95c652..2c6ecc7f 100644 --- a/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/flowassurance/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,18 +13,23 @@ import jneqsim.thermo.characterization import jneqsim.thermo.system import typing - - class AsphalteneMethodComparison: - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def getBubblePointPressure(self) -> float: ... - def getCpaAnalyzer(self) -> 'AsphalteneStabilityAnalyzer': ... + def getCpaAnalyzer(self) -> "AsphalteneStabilityAnalyzer": ... def getCpaOnsetPressure(self) -> float: ... - def getDeBoerScreening(self) -> 'DeBoerAsphalteneScreening': ... + def getDeBoerScreening(self) -> "DeBoerAsphalteneScreening": ... def getInSituDensity(self) -> float: ... def getQuickSummary(self) -> java.lang.String: ... def runComparison(self) -> java.lang.String: ... - def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... class AsphalteneMultiMethodBenchmark: @typing.overload @@ -32,21 +37,39 @@ class AsphalteneMultiMethodBenchmark: @typing.overload def __init__(self, double: float, double2: float): ... def getAPIGravity(self) -> float: ... - def getAgreementMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getAllResults(self) -> java.util.Map[java.lang.String, 'AsphalteneMultiMethodBenchmark.MethodResult']: ... + def getAgreementMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getAllResults( + self, + ) -> java.util.Map[ + java.lang.String, "AsphalteneMultiMethodBenchmark.MethodResult" + ]: ... def getComparisonTable(self) -> java.lang.String: ... def getErrorStatistics(self) -> java.util.Map[java.lang.String, typing.Any]: ... @staticmethod - def getLiteratureCases() -> java.util.List['AsphalteneMultiMethodBenchmark.LiteratureCase']: ... + def getLiteratureCases() -> ( + java.util.List["AsphalteneMultiMethodBenchmark.LiteratureCase"] + ): ... def getMeasuredOnsetPressure(self) -> float: ... - def getMethodErrorSummary(self) -> java.util.Map[java.lang.String, java.util.Map[java.lang.String, typing.Any]]: ... - def getMethodResult(self, string: typing.Union[java.lang.String, str]) -> 'AsphalteneMultiMethodBenchmark.MethodResult': ... + def getMethodErrorSummary( + self, + ) -> java.util.Map[ + java.lang.String, java.util.Map[java.lang.String, typing.Any] + ]: ... + def getMethodResult( + self, string: typing.Union[java.lang.String, str] + ) -> "AsphalteneMultiMethodBenchmark.MethodResult": ... def getReservoirPressure(self) -> float: ... def getReservoirTemperature(self) -> float: ... def runAllMethods(self) -> None: ... def setAPIGravity(self, double: float) -> None: ... - def setCpaSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setCubicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setCpaSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setCubicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setInSituDensity(self, double: float) -> None: ... def setMeasuredOnsetPressure(self, double: float) -> None: ... def setMeasuredOnsetTemperature(self, double: float) -> None: ... @@ -54,8 +77,11 @@ class AsphalteneMultiMethodBenchmark: def setMeasuredRIOnset(self, double: float) -> None: ... def setReservoirPressure(self, double: float) -> None: ... def setReservoirTemperature(self, double: float) -> None: ... - def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def toJson(self) -> java.lang.String: ... + class LiteratureCase: label: java.lang.String = ... reference: java.lang.String = ... @@ -72,6 +98,7 @@ class AsphalteneMultiMethodBenchmark: oilDescription: java.lang.String = ... fieldObservation: java.lang.String = ... def __init__(self): ... + class MethodResult: methodName: java.lang.String = ... riskLevel: java.lang.String = ... @@ -94,31 +121,53 @@ class AsphalteneStabilityAnalyzer: def calculateBubblePointPressure(self) -> float: ... def calculateOnsetPressure(self, double: float) -> float: ... def calculateOnsetTemperature(self, double: float) -> float: ... - def comprehensiveAssessment(self, double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... - def deBoerScreening(self, double: float, double2: float, double3: float) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... - def evaluateSARAStability(self) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... - def generatePrecipitationEnvelope(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def comprehensiveAssessment( + self, double: float, double2: float, double3: float, double4: float + ) -> java.lang.String: ... + def deBoerScreening( + self, double: float, double2: float, double3: float + ) -> "AsphalteneStabilityAnalyzer.AsphalteneRisk": ... + def evaluateSARAStability(self) -> "AsphalteneStabilityAnalyzer.AsphalteneRisk": ... + def generatePrecipitationEnvelope( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getColloidalInstabilityIndex(self) -> float: ... def getResinToAsphalteneRatio(self) -> float: ... - def getSARAData(self) -> jneqsim.thermo.characterization.AsphalteneCharacterization: ... - def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - class AsphalteneRisk(java.lang.Enum['AsphalteneStabilityAnalyzer.AsphalteneRisk']): - STABLE: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... - LOW_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... - MODERATE_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... - HIGH_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... - SEVERE_RISK: typing.ClassVar['AsphalteneStabilityAnalyzer.AsphalteneRisk'] = ... + def getSARAData( + self, + ) -> jneqsim.thermo.characterization.AsphalteneCharacterization: ... + def setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + + class AsphalteneRisk(java.lang.Enum["AsphalteneStabilityAnalyzer.AsphalteneRisk"]): + STABLE: typing.ClassVar["AsphalteneStabilityAnalyzer.AsphalteneRisk"] = ... + LOW_RISK: typing.ClassVar["AsphalteneStabilityAnalyzer.AsphalteneRisk"] = ... + MODERATE_RISK: typing.ClassVar["AsphalteneStabilityAnalyzer.AsphalteneRisk"] = ( + ... + ) + HIGH_RISK: typing.ClassVar["AsphalteneStabilityAnalyzer.AsphalteneRisk"] = ... + SEVERE_RISK: typing.ClassVar["AsphalteneStabilityAnalyzer.AsphalteneRisk"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AsphalteneStabilityAnalyzer.AsphalteneRisk': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AsphalteneStabilityAnalyzer.AsphalteneRisk": ... @staticmethod - def values() -> typing.MutableSequence['AsphalteneStabilityAnalyzer.AsphalteneRisk']: ... + def values() -> ( + typing.MutableSequence["AsphalteneStabilityAnalyzer.AsphalteneRisk"] + ): ... class BariteCelestiteSolidSolution(java.io.Serializable): def __init__(self): ... @@ -126,7 +175,9 @@ class BariteCelestiteSolidSolution(java.io.Serializable): def getBaSO4MoleFraction(self) -> float: ... def getSrSO4MoleFraction(self) -> float: ... def getTotalSaturationIndex(self) -> float: ... - def setAqueousActivities(self, double: float, double2: float, double3: float) -> None: ... + def setAqueousActivities( + self, double: float, double2: float, double3: float + ) -> None: ... def setEndMemberKsp(self, double: float, double2: float) -> None: ... def setMargules(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... @@ -142,17 +193,21 @@ class CO2CorrosionAnalyzer(java.io.Serializable): def getBaselineCorrosionRate(self) -> float: ... def getCO2InAqueous(self) -> float: ... def getCO2PartialPressure(self) -> float: ... - def getCorrosionModel(self) -> 'DeWaardMilliamsCorrosion': ... + def getCorrosionModel(self) -> "DeWaardMilliamsCorrosion": ... def getCorrosionRate(self) -> float: ... def getCorrosionSeverity(self) -> java.lang.String: ... def getH2SPartialPressure(self) -> float: ... def getNumberOfPhases(self) -> int: ... - def getScaleCalculator(self) -> 'ScalePredictionCalculator': ... + def getScaleCalculator(self) -> "ScalePredictionCalculator": ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def isFreeWaterPresent(self) -> bool: ... def run(self) -> None: ... - def runPressureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def runTemperatureSweep(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runPressureSweep( + self, double: float, double2: float, int: int + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def runTemperatureSweep( + self, double: float, double2: float, int: int + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def setCO2MoleFractionInGas(self, double: float) -> None: ... def setChlorideMoleFraction(self, double: float) -> None: ... def setFlowVelocity(self, double: float) -> None: ... @@ -174,12 +229,19 @@ class DeBoerAsphalteneScreening: @typing.overload def __init__(self, double: float, double2: float, double3: float): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calculateInSituDensity(self) -> float: ... def calculateRiskIndex(self) -> float: ... def calculateSaturationPressure(self) -> float: ... - def evaluateRisk(self) -> 'DeBoerAsphalteneScreening.DeBoerRisk': ... - def generatePlotData(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def evaluateRisk(self) -> "DeBoerAsphalteneScreening.DeBoerRisk": ... + def generatePlotData( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getAPIGravity(self) -> float: ... def getAsphalteneContent(self) -> float: ... def getInSituDensity(self) -> float: ... @@ -193,22 +255,32 @@ class DeBoerAsphalteneScreening: def setReservoirPressure(self, double: float) -> None: ... def setReservoirTemperature(self, double: float) -> None: ... def setSaturationPressure(self, double: float) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - class DeBoerRisk(java.lang.Enum['DeBoerAsphalteneScreening.DeBoerRisk']): - NO_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... - SLIGHT_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... - MODERATE_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... - SEVERE_PROBLEM: typing.ClassVar['DeBoerAsphalteneScreening.DeBoerRisk'] = ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + + class DeBoerRisk(java.lang.Enum["DeBoerAsphalteneScreening.DeBoerRisk"]): + NO_PROBLEM: typing.ClassVar["DeBoerAsphalteneScreening.DeBoerRisk"] = ... + SLIGHT_PROBLEM: typing.ClassVar["DeBoerAsphalteneScreening.DeBoerRisk"] = ... + MODERATE_PROBLEM: typing.ClassVar["DeBoerAsphalteneScreening.DeBoerRisk"] = ... + SEVERE_PROBLEM: typing.ClassVar["DeBoerAsphalteneScreening.DeBoerRisk"] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'DeBoerAsphalteneScreening.DeBoerRisk': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "DeBoerAsphalteneScreening.DeBoerRisk": ... @staticmethod - def values() -> typing.MutableSequence['DeBoerAsphalteneScreening.DeBoerRisk']: ... + def values() -> ( + typing.MutableSequence["DeBoerAsphalteneScreening.DeBoerRisk"] + ): ... class DeWaardMilliamsCorrosion(java.io.Serializable): @typing.overload @@ -217,9 +289,13 @@ class DeWaardMilliamsCorrosion(java.io.Serializable): def __init__(self, double: float, double2: float): ... def calculateBaselineRate(self) -> float: ... def calculateCorrosionRate(self) -> float: ... - def calculateOverTemperatureRange(self, double: float, double2: float, int: int) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def calculateOverTemperatureRange( + self, double: float, double2: float, int: int + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def estimateCorrosionAllowance(self, double: float) -> float: ... - def getComprehensiveAssessment(self) -> java.util.Map[java.lang.String, typing.Any]: ... + def getComprehensiveAssessment( + self, + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getCorrosionSeverity(self) -> java.lang.String: ... def getFeCO3SaturationIndex(self) -> float: ... def getFeSCorrosionRate(self) -> float: ... @@ -245,7 +321,9 @@ class DeWaardMilliamsCorrosion(java.io.Serializable): class EmulsionViscosityCalculator(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... - def calculateViscosityCurve(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateViscosityCurve( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getEffectiveViscosity(self) -> float: ... def getEmulsionType(self) -> java.lang.String: ... def getInversionWaterCut(self) -> float: ... @@ -275,8 +353,16 @@ class EmulsionViscosityCalculator(java.io.Serializable): class ErosionPredictionCalculator(java.io.Serializable): def __init__(self): ... - def applySandLoadDefaults(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def calcMaxVelocityForCorrosionProtection(self, boolean: bool, boolean2: bool) -> float: ... + def applySandLoadDefaults( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def calcMaxVelocityForCorrosionProtection( + self, boolean: bool, boolean2: bool + ) -> float: ... def calculate(self) -> None: ... @staticmethod def getAvailableCompletionTypes() -> typing.MutableSequence[java.lang.String]: ... @@ -290,7 +376,9 @@ class ErosionPredictionCalculator(java.io.Serializable): def getRemainingWallThickness(self) -> float: ... def getRiskLevel(self) -> java.lang.String: ... @staticmethod - def getSandLoadDefaults(string: typing.Union[java.lang.String, str]) -> 'ErosionPredictionCalculator.SandLoadDefaults': ... + def getSandLoadDefaults( + string: typing.Union[java.lang.String, str] + ) -> "ErosionPredictionCalculator.SandLoadDefaults": ... def getSandParticleDiameter(self) -> float: ... def getSandRate(self) -> float: ... def getVelocityRatio(self) -> float: ... @@ -316,8 +404,15 @@ class ErosionPredictionCalculator(java.io.Serializable): def setWallThickness(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class SandLoadDefaults(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... def getCompletionType(self) -> java.lang.String: ... def getGasPpmWt(self) -> float: ... def getLiquidPpmWt(self) -> float: ... @@ -327,24 +422,36 @@ class FloryHugginsAsphalteneModel: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calculateChiParameter(self, double: float, double2: float) -> float: ... def calculateLiquidSolubilityParameter(self, double: float) -> float: ... - def calculateMaxDissolvedFraction(self, double: float, double2: float, double3: float) -> float: ... + def calculateMaxDissolvedFraction( + self, double: float, double2: float, double3: float + ) -> float: ... def calculateOnsetPressure(self, double: float) -> float: ... def calculatePrecipitatedFraction(self, double: float, double2: float) -> float: ... def calibrateCorrelation(self, double: float) -> None: ... def configureFromAPIGravity(self, double: float) -> None: ... - def configureFromSARA(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def generatePrecipitationCurve(self, double: float, double2: float, double3: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def generateSolubilityParameterProfile(self, double: float, double2: float, double3: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def configureFromSARA( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def generatePrecipitationCurve( + self, double: float, double2: float, double3: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def generateSolubilityParameterProfile( + self, double: float, double2: float, double3: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getAsphaltMolarVolume(self) -> float: ... def getAsphalteneDensity(self) -> float: ... def getAsphalteneMW(self) -> float: ... def getAsphalteneSolubilityParameter(self) -> float: ... def getAsphalteneWeightFraction(self) -> float: ... def getReservoirTemperature(self) -> float: ... - def getResultsMap(self, double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, typing.Any]: ... + def getResultsMap( + self, double: float, double2: float, double3: float + ) -> java.util.Map[java.lang.String, typing.Any]: ... def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def isConfiguredFromAPI(self) -> bool: ... def setAsphaltMolarVolume(self, double: float) -> None: ... @@ -355,21 +462,35 @@ class FloryHugginsAsphalteneModel: def setDeltaRhoCorrelation(self, double: float, double2: float) -> None: ... def setPressureSearchStep(self, double: float) -> None: ... def setReservoirTemperature(self, double: float) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class FlowlineScaleProfile(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... def getMaxSI(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getResults(self) -> java.util.List['FlowlineScaleProfile.SegmentResult']: ... - def getSegmentResult(self, int: int) -> 'FlowlineScaleProfile.SegmentResult': ... + def getResults(self) -> java.util.List["FlowlineScaleProfile.SegmentResult"]: ... + def getSegmentResult(self, int: int) -> "FlowlineScaleProfile.SegmentResult": ... def setAutoPH(self, boolean: bool) -> None: ... def setInletConditions(self, double: float, double2: float) -> None: ... def setMgNaConcentrations(self, double: float, double2: float) -> None: ... def setNumberOfSegments(self, int: int) -> None: ... def setOutletConditions(self, double: float, double2: float) -> None: ... - def setWaterChemistry(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float) -> None: ... + def setWaterChemistry( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ) -> None: ... def toJson(self) -> java.lang.String: ... + class SegmentResult(java.io.Serializable): distanceFraction: float = ... temperatureC: float = ... @@ -383,35 +504,47 @@ class FlowlineScaleProfile(java.io.Serializable): class HydrateRiskMapper(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def addProfilePoint(self, double: float, double2: float, double3: float) -> 'HydrateRiskMapper': ... - def calculate(self) -> 'HydrateRiskMapper.RiskProfile': ... - def setRiskThresholds(self, double: float, double2: float) -> 'HydrateRiskMapper': ... - class RiskLevel(java.lang.Enum['HydrateRiskMapper.RiskLevel']): - CRITICAL: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... - HIGH: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... - MEDIUM: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... - LOW: typing.ClassVar['HydrateRiskMapper.RiskLevel'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def addProfilePoint( + self, double: float, double2: float, double3: float + ) -> "HydrateRiskMapper": ... + def calculate(self) -> "HydrateRiskMapper.RiskProfile": ... + def setRiskThresholds( + self, double: float, double2: float + ) -> "HydrateRiskMapper": ... + + class RiskLevel(java.lang.Enum["HydrateRiskMapper.RiskLevel"]): + CRITICAL: typing.ClassVar["HydrateRiskMapper.RiskLevel"] = ... + HIGH: typing.ClassVar["HydrateRiskMapper.RiskLevel"] = ... + MEDIUM: typing.ClassVar["HydrateRiskMapper.RiskLevel"] = ... + LOW: typing.ClassVar["HydrateRiskMapper.RiskLevel"] = ... + _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: ... + 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]) -> 'HydrateRiskMapper.RiskLevel': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "HydrateRiskMapper.RiskLevel": ... @staticmethod - def values() -> typing.MutableSequence['HydrateRiskMapper.RiskLevel']: ... + def values() -> typing.MutableSequence["HydrateRiskMapper.RiskLevel"]: ... + class RiskPoint(java.io.Serializable): distanceKm: float = ... pressureBara: float = ... actualTemperatureC: float = ... hydrateTemperatureC: float = ... subcoolingC: float = ... - riskLevel: 'HydrateRiskMapper.RiskLevel' = ... + riskLevel: "HydrateRiskMapper.RiskLevel" = ... + class RiskProfile(java.io.Serializable): def getCriticalPointCount(self) -> int: ... def getMinimumSubcoolingC(self) -> float: ... - def getOverallRisk(self) -> 'HydrateRiskMapper.RiskLevel': ... - def getPoints(self) -> java.util.List['HydrateRiskMapper.RiskPoint']: ... + def getOverallRisk(self) -> "HydrateRiskMapper.RiskLevel": ... + def getPoints(self) -> java.util.List["HydrateRiskMapper.RiskPoint"]: ... def toCSV(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... @@ -447,9 +580,11 @@ class RefractiveIndexAsphalteneScreening: def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def estimateOnsetRIFromSARA(self, double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateOnsetRIFromSARA( + self, double: float, double2: float, double3: float, double4: float + ) -> float: ... def estimateRIFromDensity(self, double: float) -> float: ... - def evaluateStability(self) -> 'RefractiveIndexAsphalteneScreening.RIStability': ... + def evaluateStability(self) -> "RefractiveIndexAsphalteneScreening.RIStability": ... def generateReport(self) -> java.lang.String: ... def getApiGravity(self) -> float: ... def getAsphalteneContent(self) -> float: ... @@ -468,25 +603,41 @@ class RefractiveIndexAsphalteneScreening: def setPriAsphaltene(self, double: float) -> None: ... def setRiOil(self, double: float) -> None: ... def setRiOnset(self, double: float) -> None: ... - class RIStability(java.lang.Enum['RefractiveIndexAsphalteneScreening.RIStability']): - VERY_STABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... - STABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... - MARGINAL: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... - UNSTABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... - HIGHLY_UNSTABLE: typing.ClassVar['RefractiveIndexAsphalteneScreening.RIStability'] = ... + + class RIStability(java.lang.Enum["RefractiveIndexAsphalteneScreening.RIStability"]): + VERY_STABLE: typing.ClassVar[ + "RefractiveIndexAsphalteneScreening.RIStability" + ] = ... + STABLE: typing.ClassVar["RefractiveIndexAsphalteneScreening.RIStability"] = ... + MARGINAL: typing.ClassVar["RefractiveIndexAsphalteneScreening.RIStability"] = ( + ... + ) + UNSTABLE: typing.ClassVar["RefractiveIndexAsphalteneScreening.RIStability"] = ( + ... + ) + HIGHLY_UNSTABLE: typing.ClassVar[ + "RefractiveIndexAsphalteneScreening.RIStability" + ] = ... def getDescription(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RefractiveIndexAsphalteneScreening.RIStability': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RefractiveIndexAsphalteneScreening.RIStability": ... @staticmethod - def values() -> typing.MutableSequence['RefractiveIndexAsphalteneScreening.RIStability']: ... + def values() -> ( + typing.MutableSequence["RefractiveIndexAsphalteneScreening.RIStability"] + ): ... class ScaleMassCalculator(java.io.Serializable): - def __init__(self, scalePredictionCalculator: 'ScalePredictionCalculator'): ... + def __init__(self, scalePredictionCalculator: "ScalePredictionCalculator"): ... def calcBaSO4Mass(self, double: float, double2: float, double3: float) -> float: ... def calcCaCO3Mass(self, double: float, double2: float, double3: float) -> float: ... def calcCaSO4Mass(self, double: float, double2: float, double3: float) -> float: ... @@ -495,12 +646,19 @@ class ScaleMassCalculator(java.io.Serializable): def getWaterVolume(self) -> float: ... def setWaterVolume(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... + class ScaleMassResult(java.io.Serializable): scaleType: java.lang.String = ... saturationIndex: float = ... massMgPerLitre: float = ... totalMassMg: float = ... - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... class ScalePredictionCalculator(java.io.Serializable): def __init__(self): ... @@ -561,16 +719,47 @@ class SurfCooldownAnalyzer(java.io.Serializable): class WaterCompatibilityScreener(java.io.Serializable): def __init__(self): ... def calculate(self) -> None: ... - def getResults(self) -> java.util.List['WaterCompatibilityScreener.MixingResult']: ... + def getResults( + self, + ) -> java.util.List["WaterCompatibilityScreener.MixingResult"]: ... def getWorstCaseRatio(self) -> float: ... def getWorstCaseSI(self) -> float: ... def getWorstCaseScale(self) -> java.lang.String: ... - def setFormationWater(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> None: ... + def setFormationWater( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + ) -> None: ... def setFormationWaterMgNa(self, double: float, double2: float) -> None: ... - def setInjectionWater(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float, double10: float, double11: float) -> None: ... + def setInjectionWater( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + double10: float, + double11: float, + ) -> None: ... def setInjectionWaterMgNa(self, double: float, double2: float) -> None: ... - def setMixingRatios(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMixingRatios( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def toJson(self) -> java.lang.String: ... + class MixingResult(java.io.Serializable): injectionWaterPct: float = ... siCaCO3: float = ... @@ -583,14 +772,24 @@ class WaterCompatibilityScreener(java.io.Serializable): class WaxCurveCalculator: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def calculateAtMultiplePressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> java.util.Map[float, float]: ... + def calculateAtMultiplePressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> java.util.Map[float, float]: ... def calculateWAT(self) -> float: ... @staticmethod - def countMonotonicityViolations(doubleArray: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> int: ... + def countMonotonicityViolations( + doubleArray: typing.Union[typing.List[float], jpype.JArray], boolean: bool + ) -> int: ... @staticmethod - def enforceNonDecreasing(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> int: ... + def enforceNonDecreasing( + doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> int: ... @staticmethod - def enforceNonIncreasing(doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> int: ... + def enforceNonIncreasing( + doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> int: ... def getFailCount(self) -> int: ... def getMonotonicityCorrections(self) -> int: ... def getPressureBara(self) -> float: ... @@ -601,8 +800,9 @@ class WaxCurveCalculator: def getWaxWeightFractions(self) -> typing.MutableSequence[float]: ... def setEnforceMonotonicity(self, boolean: bool) -> None: ... def setPressure(self, double: float) -> None: ... - def setTemperatureRange(self, double: float, double2: float, double3: float) -> None: ... - + def setTemperatureRange( + self, double: float, double2: float, double3: float + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.flowassurance")``. diff --git a/src/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi index 8a5364a3..bbb209e9 100644 --- a/src/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/modeltuning/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,6 @@ else: import jneqsim.pvtsimulation.simulation import typing - - class TuningInterface: def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def run(self) -> None: ... @@ -18,7 +16,9 @@ class TuningInterface: class BaseTuningClass(TuningInterface): saturationTemperature: float = ... saturationPressure: float = ... - def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + def __init__( + self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface + ): ... def getSimulation(self) -> jneqsim.pvtsimulation.simulation.SimulationInterface: ... def isTunePlusMolarMass(self) -> bool: ... def isTuneVolumeCorrection(self) -> bool: ... @@ -28,10 +28,11 @@ class BaseTuningClass(TuningInterface): def setTuneVolumeCorrection(self, boolean: bool) -> None: ... class TuneToSaturation(BaseTuningClass): - def __init__(self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface): ... + def __init__( + self, simulationInterface: jneqsim.pvtsimulation.simulation.SimulationInterface + ): ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.modeltuning")``. diff --git a/src/jneqsim-stubs/pvtsimulation/regression/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/regression/__init__.pyi index da746cd2..a79e3d3d 100644 --- a/src/jneqsim-stubs/pvtsimulation/regression/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/regression/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import jneqsim.thermo.system import typing - - class CCEDataPoint: def __init__(self, double: float, double2: float, double3: float): ... def getCompressibility(self) -> float: ... @@ -28,7 +26,9 @@ class CCEDataPoint: def setYFactor(self, double: float) -> None: ... class CVDDataPoint: - def __init__(self, double: float, double2: float, double3: float, double4: float): ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... def getCumulativeMolesProduced(self) -> float: ... def getGasComposition(self) -> typing.MutableSequence[float]: ... def getLiquidDropout(self) -> float: ... @@ -36,14 +36,23 @@ class CVDDataPoint: def getTemperature(self) -> float: ... def getZFactor(self) -> float: ... def setCumulativeMolesProduced(self, double: float) -> None: ... - def setGasComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setGasComposition( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setLiquidDropout(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... def setZFactor(self, double: float) -> None: ... class DLEDataPoint: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... def getBo(self) -> float: ... def getGasGravity(self) -> float: ... def getOilDensity(self) -> float: ... @@ -59,100 +68,184 @@ class DLEDataPoint: def setRs(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... -class ExperimentType(java.lang.Enum['ExperimentType']): - CCE: typing.ClassVar['ExperimentType'] = ... - CVD: typing.ClassVar['ExperimentType'] = ... - DLE: typing.ClassVar['ExperimentType'] = ... - SEPARATOR: typing.ClassVar['ExperimentType'] = ... - VISCOSITY: typing.ClassVar['ExperimentType'] = ... - SATURATION_PRESSURE: typing.ClassVar['ExperimentType'] = ... - SWELLING: typing.ClassVar['ExperimentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class ExperimentType(java.lang.Enum["ExperimentType"]): + CCE: typing.ClassVar["ExperimentType"] = ... + CVD: typing.ClassVar["ExperimentType"] = ... + DLE: typing.ClassVar["ExperimentType"] = ... + SEPARATOR: typing.ClassVar["ExperimentType"] = ... + VISCOSITY: typing.ClassVar["ExperimentType"] = ... + SATURATION_PRESSURE: typing.ClassVar["ExperimentType"] = ... + SWELLING: typing.ClassVar["ExperimentType"] = ... + _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: ... + 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]) -> 'ExperimentType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ExperimentType": ... @staticmethod - def values() -> typing.MutableSequence['ExperimentType']: ... + def values() -> typing.MutableSequence["ExperimentType"]: ... class PVTRegression: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def addCCEData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> None: ... + def addCCEData( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ) -> None: ... @typing.overload - def addCCEData(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], double4: float) -> None: ... - def addCVDData(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], double4: float) -> None: ... + def addCCEData( + 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], + double4: float, + ) -> None: ... + def addCVDData( + 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], + double4: float, + ) -> None: ... def addCspViscosityRegressionParameters(self) -> None: ... - def addDLEData(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], double5: float) -> None: ... + def addDLEData( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + double5: float, + ) -> None: ... @typing.overload - def addRegressionParameter(self, regressionParameter: 'RegressionParameter') -> None: ... + def addRegressionParameter( + self, regressionParameter: "RegressionParameter" + ) -> None: ... @typing.overload - def addRegressionParameter(self, regressionParameter: 'RegressionParameter', double: float, double2: float, double3: float) -> None: ... - def addSeparatorData(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def addRegressionParameter( + self, + regressionParameter: "RegressionParameter", + double: float, + double2: float, + double3: float, + ) -> None: ... + def addSeparatorData( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... @typing.overload - def addViscosityData(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addViscosityData( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def addViscosityData(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], string: typing.Union[java.lang.String, str]) -> None: ... + def addViscosityData( + 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], + string: typing.Union[java.lang.String, str], + ) -> None: ... def clearData(self) -> None: ... def clearRegressionParameters(self) -> None: ... def getBaseFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getCCEData(self) -> java.util.List[CCEDataPoint]: ... def getCVDData(self) -> java.util.List[CVDDataPoint]: ... def getDLEData(self) -> java.util.List[DLEDataPoint]: ... - def getLastResult(self) -> 'RegressionResult': ... - def getSeparatorData(self) -> java.util.List['SeparatorDataPoint']: ... + def getLastResult(self) -> "RegressionResult": ... + def getSeparatorData(self) -> java.util.List["SeparatorDataPoint"]: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getViscosityData(self) -> java.util.List['ViscosityDataPoint']: ... - def runRegression(self) -> 'RegressionResult': ... - def setExperimentWeight(self, experimentType: ExperimentType, double: float) -> None: ... + def getViscosityData(self) -> java.util.List["ViscosityDataPoint"]: ... + def runRegression(self) -> "RegressionResult": ... + def setExperimentWeight( + self, experimentType: ExperimentType, double: float + ) -> None: ... def setMaxIterations(self, int: int) -> None: ... def setTolerance(self, double: float) -> None: ... def setVerbose(self, boolean: bool) -> None: ... -class PVTRegressionFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, list: java.util.List['RegressionParameterConfig'], enumMap: java.util.EnumMap[ExperimentType, float]): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def clone(self) -> 'PVTRegressionFunction': ... - def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... +class PVTRegressionFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + list: java.util.List["RegressionParameterConfig"], + enumMap: java.util.EnumMap[ExperimentType, float], + ): ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def clone(self) -> "PVTRegressionFunction": ... + def setBounds( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - -class RegressionParameter(java.lang.Enum['RegressionParameter']): - BIP_METHANE_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - BIP_C2C6_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - BIP_CO2_HC: typing.ClassVar['RegressionParameter'] = ... - BIP_N2_HC: typing.ClassVar['RegressionParameter'] = ... - VOLUME_SHIFT_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - TC_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - PC_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - OMEGA_MULTIPLIER_C7PLUS: typing.ClassVar['RegressionParameter'] = ... - PLUS_MOLAR_MASS_MULTIPLIER: typing.ClassVar['RegressionParameter'] = ... - GAMMA_ALPHA: typing.ClassVar['RegressionParameter'] = ... - GAMMA_ETA: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_LBC_MULTIPLIER: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_PEDERSEN_ALPHA: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_CSP_1: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_CSP_2: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_CSP_3: typing.ClassVar['RegressionParameter'] = ... - VISCOSITY_CSP_4: typing.ClassVar['RegressionParameter'] = ... - def applyToFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + +class RegressionParameter(java.lang.Enum["RegressionParameter"]): + BIP_METHANE_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + BIP_C2C6_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + BIP_CO2_HC: typing.ClassVar["RegressionParameter"] = ... + BIP_N2_HC: typing.ClassVar["RegressionParameter"] = ... + VOLUME_SHIFT_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + TC_MULTIPLIER_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + PC_MULTIPLIER_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + OMEGA_MULTIPLIER_C7PLUS: typing.ClassVar["RegressionParameter"] = ... + PLUS_MOLAR_MASS_MULTIPLIER: typing.ClassVar["RegressionParameter"] = ... + GAMMA_ALPHA: typing.ClassVar["RegressionParameter"] = ... + GAMMA_ETA: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_LBC_MULTIPLIER: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_PEDERSEN_ALPHA: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_CSP_1: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_CSP_2: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_CSP_3: typing.ClassVar["RegressionParameter"] = ... + VISCOSITY_CSP_4: typing.ClassVar["RegressionParameter"] = ... + def applyToFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> None: ... def getDefaultBounds(self) -> typing.MutableSequence[float]: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'RegressionParameter': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RegressionParameter": ... @staticmethod - def values() -> typing.MutableSequence['RegressionParameter']: ... + def values() -> typing.MutableSequence["RegressionParameter"]: ... class RegressionParameterConfig: - def __init__(self, regressionParameter: RegressionParameter, double: float, double2: float, double3: float): ... + def __init__( + self, + regressionParameter: RegressionParameter, + double: float, + double2: float, + double3: float, + ): ... def getInitialGuess(self) -> float: ... def getLowerBound(self) -> float: ... def getOptimizedValue(self) -> float: ... @@ -164,10 +257,22 @@ class RegressionParameterConfig: def setUpperBound(self, double: float) -> None: ... class RegressionResult: - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[ExperimentType, float], typing.Mapping[ExperimentType, float]], list: java.util.List[RegressionParameterConfig], uncertaintyAnalysis: 'UncertaintyAnalysis', doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + map: typing.Union[ + java.util.Map[ExperimentType, float], typing.Mapping[ExperimentType, float] + ], + list: java.util.List[RegressionParameterConfig], + uncertaintyAnalysis: "UncertaintyAnalysis", + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ): ... def generateSummary(self) -> java.lang.String: ... def getAverageAbsoluteDeviation(self) -> float: ... - def getConfidenceInterval(self, regressionParameter: RegressionParameter) -> typing.MutableSequence[float]: ... + def getConfidenceInterval( + self, regressionParameter: RegressionParameter + ) -> typing.MutableSequence[float]: ... def getFinalChiSquare(self) -> float: ... def getObjectiveValue(self, experimentType: ExperimentType) -> float: ... def getObjectiveValues(self) -> java.util.Map[ExperimentType, float]: ... @@ -175,11 +280,19 @@ class RegressionResult: def getParameterConfigs(self) -> java.util.List[RegressionParameterConfig]: ... def getTotalObjective(self) -> float: ... def getTunedFluid(self) -> jneqsim.thermo.system.SystemInterface: ... - def getUncertainty(self) -> 'UncertaintyAnalysis': ... + def getUncertainty(self) -> "UncertaintyAnalysis": ... def toString(self) -> java.lang.String: ... class SeparatorDataPoint: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getApiGravity(self) -> float: ... def getBo(self) -> float: ... def getGasGravity(self) -> float: ... @@ -198,13 +311,27 @@ class SeparatorDataPoint: def setSeparatorTemperature(self, double: float) -> None: ... class UncertaintyAnalysis: - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], int: int, double5: float): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + int: int, + double5: float, + ): ... def generateSummary(self) -> java.lang.String: ... def getConfidenceInterval95(self, int: int) -> float: ... - def getConfidenceIntervalBounds(self, int: int) -> typing.MutableSequence[float]: ... + def getConfidenceIntervalBounds( + self, int: int + ) -> typing.MutableSequence[float]: ... def getConfidenceIntervals95(self) -> typing.MutableSequence[float]: ... def getCorrelation(self, int: int, int2: int) -> float: ... - def getCorrelationMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCorrelationMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDegreesOfFreedom(self) -> int: ... def getParameterValue(self, int: int) -> float: ... def getParameterValues(self) -> typing.MutableSequence[float]: ... @@ -217,14 +344,19 @@ class UncertaintyAnalysis: def toString(self) -> java.lang.String: ... class ViscosityDataPoint: - def __init__(self, double: float, double2: float, double3: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + string: typing.Union[java.lang.String, str], + ): ... def getPhaseIndex(self) -> int: ... def getPhaseName(self) -> java.lang.String: ... def getPressure(self) -> float: ... def getTemperature(self) -> float: ... def getViscosity(self) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.regression")``. diff --git a/src/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi index e782f6a1..ca57d001 100644 --- a/src/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/reservoirproperties/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,8 +8,6 @@ else: import jneqsim.pvtsimulation.reservoirproperties.relpermeability import typing - - class CompositionEstimation: def __init__(self, double: float, double2: float): ... @typing.overload @@ -17,9 +15,10 @@ class CompositionEstimation: @typing.overload def estimateH2Sconcentration(self, double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.reservoirproperties")``. CompositionEstimation: typing.Type[CompositionEstimation] - relpermeability: jneqsim.pvtsimulation.reservoirproperties.relpermeability.__module_protocol__ + relpermeability: ( + jneqsim.pvtsimulation.reservoirproperties.relpermeability.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi index 21034fa1..9c002975 100644 --- a/src/jneqsim-stubs/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/reservoirproperties/relpermeability/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,39 +9,45 @@ import java.lang import java.util import typing - - -class RelPermModelFamily(java.lang.Enum['RelPermModelFamily']): - COREY: typing.ClassVar['RelPermModelFamily'] = ... - LET: typing.ClassVar['RelPermModelFamily'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class RelPermModelFamily(java.lang.Enum["RelPermModelFamily"]): + COREY: typing.ClassVar["RelPermModelFamily"] = ... + LET: typing.ClassVar["RelPermModelFamily"] = ... + _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: ... + 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]) -> 'RelPermModelFamily': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "RelPermModelFamily": ... @staticmethod - def values() -> typing.MutableSequence['RelPermModelFamily']: ... + def values() -> typing.MutableSequence["RelPermModelFamily"]: ... -class RelPermTableType(java.lang.Enum['RelPermTableType']): - SWOF: typing.ClassVar['RelPermTableType'] = ... - SGOF: typing.ClassVar['RelPermTableType'] = ... - SOF3: typing.ClassVar['RelPermTableType'] = ... - SLGOF: typing.ClassVar['RelPermTableType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class RelPermTableType(java.lang.Enum["RelPermTableType"]): + SWOF: typing.ClassVar["RelPermTableType"] = ... + SGOF: typing.ClassVar["RelPermTableType"] = ... + SOF3: typing.ClassVar["RelPermTableType"] = ... + SLGOF: typing.ClassVar["RelPermTableType"] = ... + _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: ... + 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]) -> 'RelPermTableType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "RelPermTableType": ... @staticmethod - def values() -> typing.MutableSequence['RelPermTableType']: ... + def values() -> typing.MutableSequence["RelPermTableType"]: ... class RelativePermeabilityGenerator: def __init__(self): ... - def generate(self) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... + def generate( + self, + ) -> java.util.Map[java.lang.String, typing.MutableSequence[float]]: ... def getEg(self) -> float: ... def getEo(self) -> float: ... def getEog(self) -> float: ... @@ -98,7 +104,6 @@ class RelativePermeabilityGenerator: def setTw(self, double: float) -> None: ... def toEclipseKeyword(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.reservoirproperties.relpermeability")``. diff --git a/src/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi index 4f577670..16ba6a95 100644 --- a/src/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/simulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,24 +13,36 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class SimulationInterface: def getBaseThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def run(self) -> None: ... - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class BasePVTsimulation(SimulationInterface): thermoOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... pressures: typing.MutableSequence[float] = ... temperature: float = ... - optimizer: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt = ... + optimizer: ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ) = ... def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def getBaseThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... def getPressure(self) -> float: ... def getPressures(self) -> typing.MutableSequence[float]: ... def getSaturationPressure(self) -> float: ... @@ -39,20 +51,35 @@ class BasePVTsimulation(SimulationInterface): def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getZsaturation(self) -> float: ... def run(self) -> None: ... - def setExperimentalData(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setExperimentalData( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setPressure(self, double: float) -> None: ... - def setPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPressures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class ConstantMassExpansion(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcSaturationConditions(self) -> None: ... - def calculateAAD(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def calculateRelativeVolumeDeviation(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calculateAAD( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def calculateRelativeVolumeDeviation( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calculateZFactorQC(self) -> typing.MutableSequence[float]: ... def generateQCReport(self) -> java.lang.String: ... def getBg(self) -> typing.MutableSequence[float]: ... @@ -66,17 +93,25 @@ class ConstantMassExpansion(BasePVTsimulation): def getYfactor(self) -> typing.MutableSequence[float]: ... def getZgas(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def validateMassBalance(self, double: float) -> bool: ... class ConstantVolumeDepletion(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcSaturationConditions(self) -> None: ... def calculateGasDensityQC(self) -> typing.MutableSequence[float]: ... - def calculateKValues(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateKValues( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calculateOilDensityQC(self) -> typing.MutableSequence[float]: ... def generateQCReport(self) -> java.lang.String: ... def getCummulativeMolePercDepleted(self) -> typing.MutableSequence[float]: ... @@ -87,10 +122,16 @@ class ConstantVolumeDepletion(BasePVTsimulation): def getZgas(self) -> typing.MutableSequence[float]: ... def getZmix(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def validateMaterialBalance(self, double: float) -> bool: ... class DensitySim(BasePVTsimulation): @@ -100,10 +141,16 @@ class DensitySim(BasePVTsimulation): def getOilDensity(self) -> typing.MutableSequence[float]: ... def getWaxFraction(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class DifferentialLiberation(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -121,7 +168,9 @@ class DifferentialLiberation(BasePVTsimulation): def getShrinkage(self) -> typing.MutableSequence[float]: ... def getZgas(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def validateBgMonotonicity(self) -> bool: ... def validateBoMonotonicity(self) -> bool: ... @@ -133,82 +182,135 @@ class GOR(BasePVTsimulation): def getBofactor(self) -> typing.MutableSequence[float]: ... def getGOR(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class MMPCalculator(BasePVTsimulation): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ): ... def generateReport(self) -> java.lang.String: ... def getMMP(self) -> float: ... - def getMiscibilityMechanism(self) -> 'MMPCalculator.MiscibilityMechanism': ... + def getMiscibilityMechanism(self) -> "MMPCalculator.MiscibilityMechanism": ... def getPressures(self) -> typing.MutableSequence[float]: ... def getRecoveries(self) -> typing.MutableSequence[float]: ... def run(self) -> None: ... - def setMethod(self, calculationMethod: 'MMPCalculator.CalculationMethod') -> None: ... + def setMethod( + self, calculationMethod: "MMPCalculator.CalculationMethod" + ) -> None: ... def setNumberOfPressurePoints(self, int: int) -> None: ... def setPressureRange(self, double: float, double2: float) -> None: ... def setRecoveryThreshold(self, double: float) -> None: ... def setSlimTubeParameters(self, int: int, double: float) -> None: ... @typing.overload - def setTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setTemperature(self, double: float) -> None: ... - class CalculationMethod(java.lang.Enum['MMPCalculator.CalculationMethod']): - SLIM_TUBE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... - KEY_TIE_LINE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... - RISING_BUBBLE: typing.ClassVar['MMPCalculator.CalculationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class CalculationMethod(java.lang.Enum["MMPCalculator.CalculationMethod"]): + SLIM_TUBE: typing.ClassVar["MMPCalculator.CalculationMethod"] = ... + KEY_TIE_LINE: typing.ClassVar["MMPCalculator.CalculationMethod"] = ... + RISING_BUBBLE: typing.ClassVar["MMPCalculator.CalculationMethod"] = ... + _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: ... + 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]) -> 'MMPCalculator.CalculationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MMPCalculator.CalculationMethod": ... @staticmethod - def values() -> typing.MutableSequence['MMPCalculator.CalculationMethod']: ... - class MiscibilityMechanism(java.lang.Enum['MMPCalculator.MiscibilityMechanism']): - FIRST_CONTACT: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - VAPORIZING: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - CONDENSING: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - COMBINED: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - IMMISCIBLE: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - UNKNOWN: typing.ClassVar['MMPCalculator.MiscibilityMechanism'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["MMPCalculator.CalculationMethod"]: ... + + class MiscibilityMechanism(java.lang.Enum["MMPCalculator.MiscibilityMechanism"]): + FIRST_CONTACT: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + VAPORIZING: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + CONDENSING: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + COMBINED: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + IMMISCIBLE: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + UNKNOWN: typing.ClassVar["MMPCalculator.MiscibilityMechanism"] = ... + _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: ... + 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]) -> 'MMPCalculator.MiscibilityMechanism': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MMPCalculator.MiscibilityMechanism": ... @staticmethod - def values() -> typing.MutableSequence['MMPCalculator.MiscibilityMechanism']: ... + def values() -> ( + typing.MutableSequence["MMPCalculator.MiscibilityMechanism"] + ): ... class MultiStageSeparatorTest(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload def addSeparatorStage(self, double: float, double2: float) -> None: ... @typing.overload - def addSeparatorStage(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addSeparatorStage( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def addStockTankStage(self) -> None: ... def clearStages(self) -> None: ... def generateReport(self) -> java.lang.String: ... def getBo(self) -> float: ... def getNumberOfStages(self) -> int: ... def getRs(self) -> float: ... - def getStageResults(self) -> java.util.List['MultiStageSeparatorTest.SeparatorStageResult']: ... + def getStageResults( + self, + ) -> java.util.List["MultiStageSeparatorTest.SeparatorStageResult"]: ... def getStockTankAPIGravity(self) -> float: ... def getStockTankOilDensity(self) -> float: ... def getTotalGOR(self) -> float: ... @typing.overload - def optimizeFirstStageSeparator(self) -> 'MultiStageSeparatorTest.OptimizationResult': ... + def optimizeFirstStageSeparator( + self, + ) -> "MultiStageSeparatorTest.OptimizationResult": ... @typing.overload - def optimizeFirstStageSeparator(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int) -> 'MultiStageSeparatorTest.OptimizationResult': ... + def optimizeFirstStageSeparator( + self, + double: float, + double2: float, + int: int, + double3: float, + double4: float, + int2: int, + ) -> "MultiStageSeparatorTest.OptimizationResult": ... def run(self) -> None: ... def setReservoirConditions(self, double: float, double2: float) -> None: ... - def setTypicalThreeStage(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setTypicalThreeStage( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + class OptimizationResult: - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... def getApiAtOptimum(self) -> float: ... def getBoAtOptimum(self) -> float: ... def getGorAtOptimum(self) -> float: ... @@ -216,16 +318,29 @@ class MultiStageSeparatorTest(BasePVTsimulation): def getOptimalPressure(self) -> float: ... def getOptimalTemperature(self) -> float: ... def toString(self) -> java.lang.String: ... + class SeparatorStage: @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload - def __init__(self, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def getName(self) -> java.lang.String: ... def getPressure(self) -> float: ... def getTemperature(self) -> float: ... + class SeparatorStageResult: - def __init__(self, int: int, string: typing.Union[java.lang.String, str], double: float, double2: float): ... + def __init__( + self, + int: int, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + ): ... def getCumulativeGOR(self) -> float: ... def getGasDensity(self) -> float: ... def getGasMW(self) -> float: ... @@ -247,14 +362,18 @@ class SaturationPressure(BasePVTsimulation): def calcSaturationPressure(self) -> float: ... def getSaturationPressure(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... class SaturationTemperature(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcSaturationTemperature(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... class SeparatorTest(BasePVTsimulation): @@ -262,65 +381,111 @@ class SeparatorTest(BasePVTsimulation): def getBofactor(self) -> typing.MutableSequence[float]: ... def getGOR(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... - def setSeparatorConditions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setSeparatorConditions( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class SlimTubeSim(BasePVTsimulation): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ): ... def getNumberOfSlimTubeNodes(self) -> int: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... def setNumberOfSlimTubeNodes(self, int: int) -> None: ... class SolutionGasWaterRatio(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculateRsw(self, double: float, double2: float) -> float: ... - def getCalculationMethod(self) -> 'SolutionGasWaterRatio.CalculationMethod': ... + def getCalculationMethod(self) -> "SolutionGasWaterRatio.CalculationMethod": ... @typing.overload def getRsw(self, int: int) -> float: ... @typing.overload def getRsw(self) -> typing.MutableSequence[float]: ... def getSalinity(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def printResults(self) -> None: ... def runCalc(self) -> None: ... @typing.overload - def setCalculationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCalculationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setCalculationMethod(self, calculationMethod: 'SolutionGasWaterRatio.CalculationMethod') -> None: ... + def setCalculationMethod( + self, calculationMethod: "SolutionGasWaterRatio.CalculationMethod" + ) -> None: ... @typing.overload def setSalinity(self, double: float) -> None: ... @typing.overload - def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - class CalculationMethod(java.lang.Enum['SolutionGasWaterRatio.CalculationMethod']): - MCCAIN: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... - SOREIDE_WHITSON: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... - ELECTROLYTE_CPA: typing.ClassVar['SolutionGasWaterRatio.CalculationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + + class CalculationMethod(java.lang.Enum["SolutionGasWaterRatio.CalculationMethod"]): + MCCAIN: typing.ClassVar["SolutionGasWaterRatio.CalculationMethod"] = ... + SOREIDE_WHITSON: typing.ClassVar["SolutionGasWaterRatio.CalculationMethod"] = ( + ... + ) + ELECTROLYTE_CPA: typing.ClassVar["SolutionGasWaterRatio.CalculationMethod"] = ( + ... + ) + _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: ... + 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]) -> 'SolutionGasWaterRatio.CalculationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SolutionGasWaterRatio.CalculationMethod": ... @staticmethod - def values() -> typing.MutableSequence['SolutionGasWaterRatio.CalculationMethod']: ... + def values() -> ( + typing.MutableSequence["SolutionGasWaterRatio.CalculationMethod"] + ): ... class SwellingTest(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def getPressures(self) -> typing.MutableSequence[float]: ... def getRelativeOilVolume(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... - def setCummulativeMolePercentGasInjected(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setInjectionGas(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def setPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setRelativeOilVolume(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCummulativeMolePercentGasInjected( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setInjectionGas( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def setPressures( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setRelativeOilVolume( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class ViscositySim(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -328,10 +493,16 @@ class ViscositySim(BasePVTsimulation): def getGasViscosity(self) -> typing.MutableSequence[float]: ... def getOilViscosity(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class ViscosityWaxOilSim(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -342,11 +513,19 @@ class ViscosityWaxOilSim(BasePVTsimulation): def getShareRate(self) -> typing.MutableSequence[float]: ... def getWaxFraction(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setShareRate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setShareRate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class WaxFractionSim(BasePVTsimulation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -354,11 +533,16 @@ class WaxFractionSim(BasePVTsimulation): def getGOR(self) -> typing.MutableSequence[float]: ... def getWaxFraction(self) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def runCalc(self) -> None: ... def runTuning(self) -> None: ... - def setTemperaturesAndPressures(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - + def setTemperaturesAndPressures( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.simulation")``. diff --git a/src/jneqsim-stubs/pvtsimulation/util/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/util/__init__.pyi index 2872d8e0..9eb778e7 100644 --- a/src/jneqsim-stubs/pvtsimulation/util/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,8 +14,6 @@ import jneqsim.pvtsimulation.util.parameterfitting import jneqsim.thermo.system import typing - - class BlackOilCorrelations: @staticmethod def apiFromSpecificGravity(double: float) -> float: ... @@ -25,28 +23,58 @@ class BlackOilCorrelations: def boToBblPerStb(double: float) -> float: ... @typing.overload @staticmethod - def bubblePointGlaso(double: float, double2: float, double3: float, double4: float) -> float: ... + def bubblePointGlaso( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def bubblePointGlaso(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def bubblePointGlaso( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod - def bubblePointGlasoSI(double: float, double2: float, double3: float, double4: float) -> float: ... + def bubblePointGlasoSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def bubblePointStanding(double: float, double2: float, double3: float, double4: float, boolean: bool) -> float: ... + def bubblePointStanding( + double: float, double2: float, double3: float, double4: float, boolean: bool + ) -> float: ... @typing.overload @staticmethod - def bubblePointStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def bubblePointStanding( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod - def bubblePointStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + def bubblePointStandingSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def bubblePointVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + def bubblePointVasquesBeggsS( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def bubblePointVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + def bubblePointVasquezBeggs( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def bubblePointVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def bubblePointVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @typing.overload @@ -54,7 +82,9 @@ class BlackOilCorrelations: def deadOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityBeggsRobinson( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... @typing.overload @@ -62,7 +92,9 @@ class BlackOilCorrelations: def deadOilViscosityGlaso(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityGlaso(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityGlaso( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityGlasoSI(double: float, double2: float) -> float: ... @typing.overload @@ -70,7 +102,9 @@ class BlackOilCorrelations: def deadOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def deadOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def deadOilViscosityKartoatmodjo( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def deadOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod @@ -80,55 +114,102 @@ class BlackOilCorrelations: def gasFVF(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def gasFVF(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def gasFVF( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def gasFVFSI(double: float, double2: float, double3: float) -> float: ... @staticmethod def gasFVFrbPerMscf(double: float, double2: float, double3: float) -> float: ... @typing.overload @staticmethod - def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float) -> float: ... + def gasViscosityLeeGonzalezEakin( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def gasViscosityLeeGonzalezEakin(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def gasViscosityLeeGonzalezEakin( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def gasViscosityLeeGonzalezEakinSI(double: float, double2: float, double3: float) -> float: ... + def gasViscosityLeeGonzalezEakinSI( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def getDefaultUnits() -> 'BlackOilUnits': ... + def getDefaultUnits() -> "BlackOilUnits": ... @staticmethod def gorScfToSm3(double: float) -> float: ... @staticmethod def gorSm3ToScfPerStb(double: float) -> float: ... @staticmethod - def oilCompressibilityVasquesBeggsS(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def oilCompressibilityVasquesBeggsS( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload @staticmethod - def oilCompressibilityVasquezBeggs(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def oilCompressibilityVasquezBeggs( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @typing.overload @staticmethod - def oilCompressibilityVasquezBeggs(double: float, double2: float, double3: float, double4: float, double5: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def oilCompressibilityVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @typing.overload @staticmethod - def oilFVFStanding(double: float, double2: float, double3: float, double4: float) -> float: ... + def oilFVFStanding( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def oilFVFStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def oilFVFStanding( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod - def oilFVFStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + def oilFVFStandingSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def oilFVFUndersaturated(double: float, double2: float, double3: float, double4: float) -> float: ... + def oilFVFUndersaturated( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def oilFVFUndersaturated(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def oilFVFUndersaturated( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod - def oilFVFVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + def oilFVFVasquesBeggsS( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def oilFVFVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + def oilFVFVasquezBeggs( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def oilFVFVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def oilFVFVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod def psiaToBara(double: float) -> float: ... @typing.overload @@ -136,59 +217,109 @@ class BlackOilCorrelations: def saturatedOilViscosityBeggsRobinson(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def saturatedOilViscosityBeggsRobinson(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def saturatedOilViscosityBeggsRobinson( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def saturatedOilViscosityBeggsRobinsonSI(double: float, double2: float) -> float: ... + def saturatedOilViscosityBeggsRobinsonSI( + double: float, double2: float + ) -> float: ... @typing.overload @staticmethod def saturatedOilViscosityKartoatmodjo(double: float, double2: float) -> float: ... @typing.overload @staticmethod - def saturatedOilViscosityKartoatmodjo(double: float, double2: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def saturatedOilViscosityKartoatmodjo( + double: float, double2: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod def saturatedOilViscosityKartoatmodjoSI(double: float, double2: float) -> float: ... @staticmethod - def setDefaultUnits(blackOilUnits: 'BlackOilUnits') -> None: ... + def setDefaultUnits(blackOilUnits: "BlackOilUnits") -> None: ... @typing.overload @staticmethod - def solutionGORStanding(double: float, double2: float, double3: float, double4: float) -> float: ... + def solutionGORStanding( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def solutionGORStanding(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def solutionGORStanding( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod - def solutionGORStandingSI(double: float, double2: float, double3: float, double4: float) -> float: ... + def solutionGORStandingSI( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def solutionGORVasquesBeggsS(double: float, double2: float, double3: float, double4: float) -> float: ... + def solutionGORVasquesBeggsS( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def solutionGORVasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + def solutionGORVasquezBeggs( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @typing.overload @staticmethod - def solutionGORVasquezBeggs(double: float, double2: float, double3: float, double4: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def solutionGORVasquezBeggs( + double: float, + double2: float, + double3: float, + double4: float, + blackOilUnits: "BlackOilUnits", + ) -> float: ... @staticmethod def specificGravityFromAPI(double: float) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityBergmanSutton( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityBergmanSutton(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def undersaturatedOilViscosityBergmanSutton( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... @staticmethod - def undersaturatedOilViscosityBergmanSuttonSI(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityBergmanSuttonSI( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def undersaturatedOilViscosityVasquesBeggsS(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityVasquesBeggsS( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float) -> float: ... + def undersaturatedOilViscosityVasquezBeggs( + double: float, double2: float, double3: float + ) -> float: ... @typing.overload @staticmethod - def undersaturatedOilViscosityVasquezBeggs(double: float, double2: float, double3: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def undersaturatedOilViscosityVasquezBeggs( + double: float, double2: float, double3: float, blackOilUnits: "BlackOilUnits" + ) -> float: ... class BlackOilTableValidator: @staticmethod - def interpolate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], double3: float) -> float: ... - @staticmethod - def validate(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray]) -> 'BlackOilTableValidator.ValidationResult': ... + def interpolate( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + double3: float, + ) -> float: ... + @staticmethod + def validate( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + doubleArray6: typing.Union[typing.List[float], jpype.JArray], + ) -> "BlackOilTableValidator.ValidationResult": ... + class ValidationResult: def __init__(self): ... def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -198,95 +329,133 @@ class BlackOilTableValidator: def hasWarnings(self) -> bool: ... def isValid(self) -> bool: ... -class BlackOilUnits(java.lang.Enum['BlackOilUnits']): - FIELD: typing.ClassVar['BlackOilUnits'] = ... - SI: typing.ClassVar['BlackOilUnits'] = ... - NEQSIM: typing.ClassVar['BlackOilUnits'] = ... +class BlackOilUnits(java.lang.Enum["BlackOilUnits"]): + FIELD: typing.ClassVar["BlackOilUnits"] = ... + SI: typing.ClassVar["BlackOilUnits"] = ... + NEQSIM: typing.ClassVar["BlackOilUnits"] = ... @staticmethod - def convertBg(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def convertBg(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def convertBo(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def convertBo(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def fromScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def fromScfPerStb(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toCentipoise(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toCentipoise(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toFahrenheit(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toFahrenheit(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toLbPerFt3(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toLbPerFt3(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toPerPsi(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toPerPsi(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toPsia(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toPsia(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toRankine(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... + def toRankine(double: float, blackOilUnits: "BlackOilUnits") -> float: ... @staticmethod - def toScfPerStb(double: float, blackOilUnits: 'BlackOilUnits') -> float: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toScfPerStb(double: float, blackOilUnits: "BlackOilUnits") -> float: ... + _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: ... + 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]) -> 'BlackOilUnits': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "BlackOilUnits": ... @staticmethod - def values() -> typing.MutableSequence['BlackOilUnits']: ... + def values() -> typing.MutableSequence["BlackOilUnits"]: ... class DeclineCurveAnalysis: @staticmethod - def cumulativeExponential(double: float, double2: float, double3: float) -> float: ... + def cumulativeExponential( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def cumulativeHarmonic(double: float, double2: float, double3: float) -> float: ... @staticmethod - def cumulativeProduction(double: float, double2: float, double3: float, double4: float) -> float: ... + def cumulativeProduction( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def effectiveAnnualToNominal(double: float) -> float: ... @staticmethod - def estimateExponentialDecline(double: float, double2: float, double3: float, double4: float) -> float: ... + def estimateExponentialDecline( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def estimateHyperbolicParameters(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> java.util.Map[java.lang.String, float]: ... + def estimateHyperbolicParameters( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> java.util.Map[java.lang.String, float]: ... @staticmethod def eur(double: float, double2: float, double3: float, double4: float) -> float: ... @staticmethod - def forecast(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def forecast( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @staticmethod - def instantaneousDeclineRate(double: float, double2: float, double3: float) -> float: ... + def instantaneousDeclineRate( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def nominalToEffectiveAnnual(double: float) -> float: ... @staticmethod - def rate(double: float, double2: float, double3: float, double4: float) -> float: ... + def rate( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def rateExponential(double: float, double2: float, double3: float) -> float: ... @staticmethod def rateHarmonic(double: float, double2: float, double3: float) -> float: ... @staticmethod - def rateHyperbolic(double: float, double2: float, double3: float, double4: float) -> float: ... + def rateHyperbolic( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def remainingReserves(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def remainingReserves( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def summary(double: float, double2: float, double3: float, double4: float) -> java.util.Map[java.lang.String, float]: ... + def summary( + double: float, double2: float, double3: float, double4: float + ) -> java.util.Map[java.lang.String, float]: ... @staticmethod - def timeToRate(double: float, double2: float, double3: float, double4: float) -> float: ... + def timeToRate( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class GasPseudoCriticalProperties: @staticmethod - def pseudoCriticalPressurePiper(double: float, double2: float, double3: float, double4: float) -> float: ... + def pseudoCriticalPressurePiper( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def pseudoCriticalPressureStanding(double: float) -> float: ... @staticmethod def pseudoCriticalPressureSutton(double: float) -> float: ... @staticmethod - def pseudoCriticalTemperaturePiper(double: float, double2: float, double3: float, double4: float) -> float: ... + def pseudoCriticalTemperaturePiper( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def pseudoCriticalTemperatureStanding(double: float) -> float: ... @staticmethod @@ -296,40 +465,93 @@ class GasPseudoCriticalProperties: @staticmethod def pseudoReducedTemperature(double: float, double2: float) -> float: ... @staticmethod - def wichertAzizCorrection(double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + def wichertAzizCorrection( + double: float, double2: float, double3: float, double4: float + ) -> typing.MutableSequence[float]: ... class GasPseudoPressure: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload def calculate(self, double: float, double2: float) -> float: ... @typing.overload - def calculate(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> float: ... + def calculate( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> float: ... @staticmethod - def calculateFromCorrelation(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calculateFromCorrelation( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def deltaPseudoPressure(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def deltaPseudoPressure( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... def getNumberOfSteps(self) -> int: ... def pseudoPressureAt(self, double: float) -> float: ... - def pseudoPressureProfile(self, double: float, double2: float, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def pseudoPressureProfile( + self, double: float, double2: float, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def setNumberOfSteps(self, int: int) -> None: ... class PVTReportGenerator: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def addCCE(self, constantMassExpansion: jneqsim.pvtsimulation.simulation.ConstantMassExpansion) -> 'PVTReportGenerator': ... - def addCVD(self, constantVolumeDepletion: jneqsim.pvtsimulation.simulation.ConstantVolumeDepletion) -> 'PVTReportGenerator': ... - def addDLE(self, differentialLiberation: jneqsim.pvtsimulation.simulation.DifferentialLiberation) -> 'PVTReportGenerator': ... - def addDensity(self, densitySim: jneqsim.pvtsimulation.simulation.DensitySim) -> 'PVTReportGenerator': ... - def addGOR(self, gOR: jneqsim.pvtsimulation.simulation.GOR) -> 'PVTReportGenerator': ... - def addLabCCEData(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... - def addLabDLEData(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... - def addMMP(self, mMPCalculator: jneqsim.pvtsimulation.simulation.MMPCalculator) -> 'PVTReportGenerator': ... - def addSaturationPressure(self, saturationPressure: jneqsim.pvtsimulation.simulation.SaturationPressure) -> 'PVTReportGenerator': ... - def addSaturationTemperature(self, saturationTemperature: jneqsim.pvtsimulation.simulation.SaturationTemperature) -> 'PVTReportGenerator': ... - def addSeparatorTest(self, multiStageSeparatorTest: jneqsim.pvtsimulation.simulation.MultiStageSeparatorTest) -> 'PVTReportGenerator': ... - def addSlimTube(self, slimTubeSim: jneqsim.pvtsimulation.simulation.SlimTubeSim) -> 'PVTReportGenerator': ... - def addSwellingTest(self, swellingTest: jneqsim.pvtsimulation.simulation.SwellingTest) -> 'PVTReportGenerator': ... - def addViscosity(self, viscositySim: jneqsim.pvtsimulation.simulation.ViscositySim) -> 'PVTReportGenerator': ... - def addWaxFraction(self, waxFractionSim: jneqsim.pvtsimulation.simulation.WaxFractionSim) -> 'PVTReportGenerator': ... + def addCCE( + self, + constantMassExpansion: jneqsim.pvtsimulation.simulation.ConstantMassExpansion, + ) -> "PVTReportGenerator": ... + def addCVD( + self, + constantVolumeDepletion: jneqsim.pvtsimulation.simulation.ConstantVolumeDepletion, + ) -> "PVTReportGenerator": ... + def addDLE( + self, + differentialLiberation: jneqsim.pvtsimulation.simulation.DifferentialLiberation, + ) -> "PVTReportGenerator": ... + def addDensity( + self, densitySim: jneqsim.pvtsimulation.simulation.DensitySim + ) -> "PVTReportGenerator": ... + def addGOR( + self, gOR: jneqsim.pvtsimulation.simulation.GOR + ) -> "PVTReportGenerator": ... + def addLabCCEData( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "PVTReportGenerator": ... + def addLabDLEData( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> "PVTReportGenerator": ... + def addMMP( + self, mMPCalculator: jneqsim.pvtsimulation.simulation.MMPCalculator + ) -> "PVTReportGenerator": ... + def addSaturationPressure( + self, saturationPressure: jneqsim.pvtsimulation.simulation.SaturationPressure + ) -> "PVTReportGenerator": ... + def addSaturationTemperature( + self, + saturationTemperature: jneqsim.pvtsimulation.simulation.SaturationTemperature, + ) -> "PVTReportGenerator": ... + def addSeparatorTest( + self, + multiStageSeparatorTest: jneqsim.pvtsimulation.simulation.MultiStageSeparatorTest, + ) -> "PVTReportGenerator": ... + def addSlimTube( + self, slimTubeSim: jneqsim.pvtsimulation.simulation.SlimTubeSim + ) -> "PVTReportGenerator": ... + def addSwellingTest( + self, swellingTest: jneqsim.pvtsimulation.simulation.SwellingTest + ) -> "PVTReportGenerator": ... + def addViscosity( + self, viscositySim: jneqsim.pvtsimulation.simulation.ViscositySim + ) -> "PVTReportGenerator": ... + def addWaxFraction( + self, waxFractionSim: jneqsim.pvtsimulation.simulation.WaxFractionSim + ) -> "PVTReportGenerator": ... def generateCCECSV(self) -> java.lang.String: ... def generateDLECSV(self) -> java.lang.String: ... def generateDensityCSV(self) -> java.lang.String: ... @@ -340,13 +562,32 @@ class PVTReportGenerator: def generateSwellingCSV(self) -> java.lang.String: ... def generateViscosityCSV(self) -> java.lang.String: ... def generateWaxCSV(self) -> java.lang.String: ... - def setLabInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... - def setProjectInfo(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'PVTReportGenerator': ... - def setReservoirConditions(self, double: float, double2: float) -> 'PVTReportGenerator': ... - def setSaturationPressure(self, double: float, boolean: bool) -> 'PVTReportGenerator': ... + def setLabInfo( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "PVTReportGenerator": ... + def setProjectInfo( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "PVTReportGenerator": ... + def setReservoirConditions( + self, double: float, double2: float + ) -> "PVTReportGenerator": ... + def setSaturationPressure( + self, double: float, boolean: bool + ) -> "PVTReportGenerator": ... def writeReport(self, writer: java.io.Writer) -> None: ... + class LabDataPoint: - def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ): ... def getPressure(self) -> float: ... def getProperty(self) -> java.lang.String: ... def getUnit(self) -> java.lang.String: ... @@ -354,7 +595,9 @@ class PVTReportGenerator: class SaturationPressureCorrelation: @staticmethod - def alMarhoun(double: float, double2: float, double3: float, double4: float) -> float: ... + def alMarhoun( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def apiToSpecificGravity(double: float) -> float: ... @staticmethod @@ -362,15 +605,23 @@ class SaturationPressureCorrelation: @staticmethod def celsiusToFahrenheit(double: float) -> float: ... @staticmethod - def estimateWithStatistics(double: float, double2: float, double3: float, double4: float) -> typing.MutableSequence[float]: ... + def estimateWithStatistics( + double: float, double2: float, double3: float, double4: float + ) -> typing.MutableSequence[float]: ... @staticmethod def fahrenheitToCelsius(double: float) -> float: ... @staticmethod - def generateComparisonReport(double: float, double2: float, double3: float, double4: float) -> java.lang.String: ... + def generateComparisonReport( + double: float, double2: float, double3: float, double4: float + ) -> java.lang.String: ... @staticmethod - def glaso(double: float, double2: float, double3: float, double4: float) -> float: ... + def glaso( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def petroskyFarshad(double: float, double2: float, double3: float, double4: float) -> float: ... + def petroskyFarshad( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def psiaToBar(double: float) -> float: ... @staticmethod @@ -380,19 +631,29 @@ class SaturationPressureCorrelation: @staticmethod def specificGravityToAPI(double: float) -> float: ... @staticmethod - def standing(double: float, double2: float, double3: float, double4: float) -> float: ... + def standing( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod - def vasquezBeggs(double: float, double2: float, double3: float, double4: float) -> float: ... + def vasquezBeggs( + double: float, double2: float, double3: float, double4: float + ) -> float: ... class WaterPropertyCorrelations: @staticmethod - def brineDensityBatzleWang(double: float, double2: float, double3: float) -> float: ... + def brineDensityBatzleWang( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def deadWaterViscosityMcCain(double: float, double2: float) -> float: ... @staticmethod - def solutionGasWaterRatioCulberson(double: float, double2: float, double3: float) -> float: ... + def solutionGasWaterRatioCulberson( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def waterCompressibilityMcCain(double: float, double2: float, double3: float) -> float: ... + def waterCompressibilityMcCain( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def waterDensity(double: float, double2: float) -> float: ... @staticmethod @@ -402,17 +663,25 @@ class WaterPropertyCorrelations: @staticmethod def waterGasSurfaceTension(double: float, double2: float) -> float: ... @staticmethod - def waterPropertiesSummary(double: float, double2: float, double3: float) -> java.util.Map[java.lang.String, float]: ... + def waterPropertiesSummary( + double: float, double2: float, double3: float + ) -> java.util.Map[java.lang.String, float]: ... @staticmethod - def waterViscosityMcCain(double: float, double2: float, double3: float) -> float: ... + def waterViscosityMcCain( + double: float, double2: float, double3: float + ) -> float: ... class ZFactorCorrelations: @staticmethod - def compareAll(double: float, double2: float) -> java.util.Map[java.lang.String, float]: ... + def compareAll( + double: float, double2: float + ) -> java.util.Map[java.lang.String, float]: ... @staticmethod def dranchukAbouKassem(double: float, double2: float) -> float: ... @staticmethod - def gasDensity(double: float, double2: float, double3: float, double4: float) -> float: ... + def gasDensity( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def gasFVFFromZ(double: float, double2: float, double3: float) -> float: ... @staticmethod @@ -420,11 +689,12 @@ class ZFactorCorrelations: @staticmethod def papay(double: float, double2: float) -> float: ... @staticmethod - def zFactorSourGas(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def zFactorSourGas( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod def zFactorSutton(double: float, double2: float, double3: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util")``. diff --git a/src/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi b/src/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi index 856fa162..ac74824f 100644 --- a/src/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/pvtsimulation/util/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.statistics.parameterfitting.nonlinearparameterfitting import jneqsim.thermo.system import typing - - class AsphalteneOnsetFitting: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload @@ -26,130 +24,218 @@ class AsphalteneOnsetFitting: def getFittedAssociationEnergy(self) -> float: ... def getFittedAssociationVolume(self) -> float: ... def getFittedParameters(self) -> typing.MutableSequence[float]: ... - def getFunction(self) -> 'AsphalteneOnsetFunction': ... + def getFunction(self) -> "AsphalteneOnsetFunction": ... def getNumberOfDataPoints(self) -> int: ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... + def getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... def isSolved(self) -> bool: ... def printResults(self) -> None: ... @typing.overload def setInitialGuess(self, double: float) -> None: ... @typing.overload def setInitialGuess(self, double: float, double2: float) -> None: ... - def setParameterType(self, fittingParameterType: 'AsphalteneOnsetFunction.FittingParameterType') -> None: ... - def setPressureRange(self, double: float, double2: float, double3: float) -> None: ... + def setParameterType( + self, fittingParameterType: "AsphalteneOnsetFunction.FittingParameterType" + ) -> None: ... + def setPressureRange( + self, double: float, double2: float, double3: float + ) -> None: ... def setPressureStdDev(self, double: float) -> None: ... def solve(self) -> bool: ... + class OnsetDataPoint: temperatureK: float = ... pressureBara: float = ... stdDev: float = ... def __init__(self, double: float, double2: float, double3: float): ... -class AsphalteneOnsetFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class AsphalteneOnsetFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, int: int): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def setAsphalteneComponentName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def setAsphalteneComponentName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setParameterType(self, fittingParameterType: 'AsphalteneOnsetFunction.FittingParameterType') -> None: ... - def setPressureRange(self, double: float, double2: float, double3: float) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setParameterType( + self, fittingParameterType: "AsphalteneOnsetFunction.FittingParameterType" + ) -> None: ... + def setPressureRange( + self, double: float, double2: float, double3: float + ) -> None: ... def setPressureTolerance(self, double: float) -> None: ... - class FittingParameterType(java.lang.Enum['AsphalteneOnsetFunction.FittingParameterType']): - ASSOCIATION_PARAMETERS: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... - BINARY_INTERACTION: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... - MOLAR_MASS: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... - COMBINED: typing.ClassVar['AsphalteneOnsetFunction.FittingParameterType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FittingParameterType( + java.lang.Enum["AsphalteneOnsetFunction.FittingParameterType"] + ): + ASSOCIATION_PARAMETERS: typing.ClassVar[ + "AsphalteneOnsetFunction.FittingParameterType" + ] = ... + BINARY_INTERACTION: typing.ClassVar[ + "AsphalteneOnsetFunction.FittingParameterType" + ] = ... + MOLAR_MASS: typing.ClassVar["AsphalteneOnsetFunction.FittingParameterType"] = ( + ... + ) + COMBINED: typing.ClassVar["AsphalteneOnsetFunction.FittingParameterType"] = ... + _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: ... + 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]) -> 'AsphalteneOnsetFunction.FittingParameterType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AsphalteneOnsetFunction.FittingParameterType": ... @staticmethod - def values() -> typing.MutableSequence['AsphalteneOnsetFunction.FittingParameterType']: ... + def values() -> ( + typing.MutableSequence["AsphalteneOnsetFunction.FittingParameterType"] + ): ... -class CMEFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class CMEFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcSaturationConditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcSaturationConditions( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class CVDFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class CVDFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcSaturationConditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcSaturationConditions( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class DensityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class DensityFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class FunctionJohanSverderup(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class FunctionJohanSverderup( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class SaturationPressureFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class SaturationPressureFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class TestFitToOilFieldFluid: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class TestSaturationPresFunction: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class TestWaxTuning: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class ViscosityFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class ViscosityFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, boolean: bool): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... -class WaxFunction(jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction): +class WaxFunction( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtFunction +): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def setFittingParams(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.pvtsimulation.util.parameterfitting")``. diff --git a/src/jneqsim-stubs/standards/__init__.pyi b/src/jneqsim-stubs/standards/__init__.pyi index aa81e80f..302db806 100644 --- a/src/jneqsim-stubs/standards/__init__.pyi +++ b/src/jneqsim-stubs/standards/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,55 +14,97 @@ import jneqsim.thermo.system import jneqsim.util import typing - - class StandardInterface: def calculate(self) -> None: ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def display(self, string: typing.Union[java.lang.String, str]) -> None: ... def getName(self) -> java.lang.String: ... def getReferencePressure(self) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSalesContract(self) -> jneqsim.standards.salescontract.ContractInterface: ... def getStandardDescription(self) -> java.lang.String: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setReferencePressure(self, double: float) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... @typing.overload def setSalesContract(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSalesContract(self, contractInterface: jneqsim.standards.salescontract.ContractInterface) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSalesContract( + self, contractInterface: jneqsim.standards.salescontract.ContractInterface + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class Standard(jneqsim.util.NamedBaseClass, StandardInterface): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def display(self, string: typing.Union[java.lang.String, str]) -> None: ... def getReferencePressure(self) -> float: ... def getReferenceState(self) -> java.lang.String: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSalesContract(self) -> jneqsim.standards.salescontract.ContractInterface: ... def getStandardDescription(self) -> java.lang.String: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def setReferencePressure(self, double: float) -> None: ... - def setReferenceState(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setReferenceState( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... @typing.overload def setSalesContract(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setSalesContract(self, contractInterface: jneqsim.standards.salescontract.ContractInterface) -> None: ... - def setStandardDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - + def setSalesContract( + self, contractInterface: jneqsim.standards.salescontract.ContractInterface + ) -> None: ... + def setStandardDescription( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards")``. diff --git a/src/jneqsim-stubs/standards/gasquality/__init__.pyi b/src/jneqsim-stubs/standards/gasquality/__init__.pyi index cd7d0c53..992fd618 100644 --- a/src/jneqsim-stubs/standards/gasquality/__init__.pyi +++ b/src/jneqsim-stubs/standards/gasquality/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,20 @@ import jneqsim.thermo import jneqsim.thermo.system import typing - - class BestPracticeHydrocarbonDewPoint(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class CriticalFlowOrifice(java.io.Serializable): @@ -37,38 +41,60 @@ class CriticalFlowOrifice(java.io.Serializable): def isChoked(double: float, double2: float, double3: float) -> bool: ... def isFlowChoked(self) -> bool: ... def setGeometry(self, double: float, double2: float) -> None: ... - def setUpstreamConditions(self, double: float, double2: float, double3: float) -> None: ... + def setUpstreamConditions( + self, double: float, double2: float, double3: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class Draft_GERG2004(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Draft_ISO18453(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class GasChromotograpyhBase(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class GpsaOrificeCalculator(java.io.Serializable): @@ -80,23 +106,35 @@ class GpsaOrificeCalculator(java.io.Serializable): def getOrificeDiameter(self) -> float: ... def getVolumetricFlowRate(self) -> float: ... def setDischargeCoefficient(self, double: float) -> None: ... - def setFlowConditions(self, double: float, double2: float, double3: float) -> None: ... - def setFluidService(self, fluidService: 'GpsaOrificeCalculator.FluidService', double: float) -> None: ... + def setFlowConditions( + self, double: float, double2: float, double3: float + ) -> None: ... + def setFluidService( + self, fluidService: "GpsaOrificeCalculator.FluidService", double: float + ) -> None: ... def setGeometry(self, double: float, double2: float) -> None: ... def sizeOrificeForFlow(self, double: float) -> float: ... def toJson(self) -> java.lang.String: ... - class FluidService(java.lang.Enum['GpsaOrificeCalculator.FluidService']): - LIQUID: typing.ClassVar['GpsaOrificeCalculator.FluidService'] = ... - STEAM: typing.ClassVar['GpsaOrificeCalculator.FluidService'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FluidService(java.lang.Enum["GpsaOrificeCalculator.FluidService"]): + LIQUID: typing.ClassVar["GpsaOrificeCalculator.FluidService"] = ... + STEAM: typing.ClassVar["GpsaOrificeCalculator.FluidService"] = ... + _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: ... + 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]) -> 'GpsaOrificeCalculator.FluidService': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "GpsaOrificeCalculator.FluidService": ... @staticmethod - def values() -> typing.MutableSequence['GpsaOrificeCalculator.FluidService']: ... + def values() -> ( + typing.MutableSequence["GpsaOrificeCalculator.FluidService"] + ): ... class OrificeWellTester(java.io.Serializable): def __init__(self): ... @@ -113,11 +151,17 @@ class OrificeWellTester(java.io.Serializable): class Standard_AGA3(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setDifferentialPressure(self, double: float) -> None: ... def setFlowingTemperature(self, double: float) -> None: ... @@ -128,11 +172,17 @@ class Standard_AGA3(jneqsim.standards.Standard): class Standard_AGA7(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setFlowingConditions(self, double: float, double2: float) -> None: ... def setMeasuredSpeedOfSound(self, double: float) -> None: ... @@ -144,14 +194,22 @@ class Standard_EN16723(jneqsim.standards.Standard): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ): ... def calculate(self) -> None: ... - def getEN16726(self) -> 'Standard_EN16726': ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getEN16726(self) -> "Standard_EN16726": ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setPart(self, int: int) -> None: ... @@ -159,11 +217,17 @@ class Standard_EN16726(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getNetworkType(self) -> java.lang.String: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getWobbeIndexMax(self) -> float: ... def getWobbeIndexMin(self) -> float: ... def isOnSpec(self) -> bool: ... @@ -177,37 +241,62 @@ class Standard_GPA2145(jneqsim.standards.Standard): def getReferenceGrossHV(string: typing.Union[java.lang.String, str]) -> float: ... @staticmethod def getReferenceMolarMass(string: typing.Union[java.lang.String, str]) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Standard_GPA2172(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Standard_ISO12213(jneqsim.standards.Standard): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calculate(self) -> None: ... def getCalculationMethod(self) -> java.lang.String: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... - def setCalculationMethod(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setCalculationMethod( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class Standard_ISO13443(jneqsim.standards.Standard): T_METER_15C: typing.ClassVar[float] = ... @@ -218,29 +307,51 @@ class Standard_ISO13443(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def convertVolume(self, double: float) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... @typing.overload - def setConversionConditions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setConversionConditions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload - def setConversionConditions(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setConversionConditions( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class Standard_ISO14687(jneqsim.standards.Standard): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ): ... def calculate(self) -> None: ... def getGrade(self) -> java.lang.String: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setGrade(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -248,14 +359,26 @@ class Standard_ISO15112(jneqsim.standards.Standard): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + ): ... def calculate(self) -> None: ... - def getISO6976(self) -> 'Standard_ISO6976': ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getISO6976(self) -> "Standard_ISO6976": ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getVolumeFlowRate(self) -> float: ... def isOnSpec(self) -> bool: ... def setAccumulationPeriod(self, double: float) -> None: ... @@ -265,21 +388,33 @@ class Standard_ISO15112(jneqsim.standards.Standard): class Standard_ISO15403(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Standard_ISO18453(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setDewPointTemperatureSpec(self, double: float) -> None: ... def setPressure(self, double: float) -> None: ... @@ -288,11 +423,17 @@ class Standard_ISO23874(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getEvaluationPressure(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setEvaluationPressure(self, double: float) -> None: ... def setMinimumCarbonNumber(self, int: int) -> None: ... @@ -302,36 +443,65 @@ class Standard_ISO6578(jneqsim.standards.Standard): def calculate(self) -> None: ... def getCorrFactor1(self) -> float: ... def getCorrFactor2(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setCorrectionFactors(self) -> None: ... def useISO6578VolumeCorrectionFacotrs(self, boolean: bool) -> None: ... -class Standard_ISO6976(jneqsim.standards.Standard, jneqsim.thermo.ThermodynamicConstantsInterface): +class Standard_ISO6976( + jneqsim.standards.Standard, jneqsim.thermo.ThermodynamicConstantsInterface +): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def calculate(self) -> None: ... def checkReferenceCondition(self) -> None: ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getAverageCarbonNumber(self) -> float: ... - def getComponentsNotDefinedByStandard(self) -> java.util.ArrayList[java.lang.String]: ... + def getComponentsNotDefinedByStandard( + self, + ) -> java.util.ArrayList[java.lang.String]: ... def getEnergyRefP(self) -> float: ... def getEnergyRefT(self) -> float: ... def getReferenceType(self) -> java.lang.String: ... def getTotalMolesOfInerts(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def getVolRefT(self) -> float: ... def isOnSpec(self) -> bool: ... def removeInertsButNitrogen(self) -> None: ... @@ -343,11 +513,17 @@ class Standard_ISO6976(jneqsim.standards.Standard, jneqsim.thermo.ThermodynamicC class SulfurSpecificationMethod(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class UKspecifications_ICF_SI(jneqsim.standards.Standard): @@ -355,11 +531,17 @@ class UKspecifications_ICF_SI(jneqsim.standards.Standard): def calcPropaneNumber(self) -> float: ... def calcWithNitrogenAsInert(self) -> float: ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... class Standard_ISO6974(GasChromotograpyhBase): @@ -367,14 +549,22 @@ class Standard_ISO6974(GasChromotograpyhBase): def calculate(self) -> None: ... def getExpandedUncertainties(self) -> java.util.Map[java.lang.String, float]: ... def getNormalisedComposition(self) -> java.util.Map[java.lang.String, float]: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isNormalisationApplied(self) -> bool: ... def isOnSpec(self) -> bool: ... - def setComponentUncertainty(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setComponentUncertainty( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setCoverageFactor(self, double: float) -> None: ... def setNormalisationTolerance(self, double: float) -> None: ... @@ -382,14 +572,25 @@ class Standard_ISO6976_2016(Standard_ISO6976): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + ): ... def calculate(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... - + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.gasquality")``. diff --git a/src/jneqsim-stubs/standards/oilquality/__init__.pyi b/src/jneqsim-stubs/standards/oilquality/__init__.pyi index ff409510..a8ffe527 100644 --- a/src/jneqsim-stubs/standards/oilquality/__init__.pyi +++ b/src/jneqsim-stubs/standards/oilquality/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,29 +13,42 @@ import jneqsim.standards import jneqsim.thermo.system import typing - - class CrudeDesalterCalculator(java.io.Serializable): def __init__(self): ... def calcPerformance(self) -> None: ... - def fromStreams(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface, streamInterface2: jneqsim.process.equipment.stream.StreamInterface, double: float) -> None: ... + def fromStreams( + self, + streamInterface: jneqsim.process.equipment.stream.StreamInterface, + streamInterface2: jneqsim.process.equipment.stream.StreamInterface, + double: float, + ) -> None: ... def getEffectiveWashFraction(self) -> float: ... def getOutletSaltContent(self) -> float: ... def getRemovalEfficiency(self) -> float: ... def getStageDilution(self) -> float: ... - def setFeedConditions(self, double: float, double2: float, double3: float) -> None: ... - def setStageConfiguration(self, int: int, double: float, double2: float) -> None: ... + def setFeedConditions( + self, double: float, double2: float, double3: float + ) -> None: ... + def setStageConfiguration( + self, int: int, double: float, double2: float + ) -> None: ... def toJson(self) -> java.lang.String: ... class Standard_ASTM_D1322(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def clearMinSmokeSpec(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setCorrelationCoefficients(self, double: float, double2: float) -> None: ... def setMinSmokeSpec(self, double: float) -> None: ... @@ -44,11 +57,17 @@ class Standard_ASTM_D2500(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getMeasurementPressure(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMeasurementPressure(self, double: float) -> None: ... @@ -56,18 +75,28 @@ class Standard_ASTM_D3230(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def clearMaxSaltSpec(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... - def setBrineSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setBrineSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMaxSaltSpec(self, double: float) -> None: ... @typing.overload def setWaterCut(self, double: float) -> None: ... @typing.overload - def setWaterCut(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setWaterCut( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class Standard_ASTM_D4052(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -75,11 +104,17 @@ class Standard_ASTM_D4052(jneqsim.standards.Standard): def getMeasurementPressure(self) -> float: ... def getOilClassification(self) -> java.lang.String: ... def getReferenceTemperatureC(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMeasurementPressure(self, double: float) -> None: ... def setReferenceTemperatureC(self, double: float) -> None: ... @@ -89,11 +124,17 @@ class Standard_ASTM_D4294(jneqsim.standards.Standard): def calculate(self) -> None: ... def getMeasurementTemperatureC(self) -> float: ... def getSulfurClassification(self) -> java.lang.String: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMeasurementTemperatureC(self, double: float) -> None: ... @@ -101,11 +142,17 @@ class Standard_ASTM_D445(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getMeasurementPressure(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMeasurementPressure(self, double: float) -> None: ... @@ -113,11 +160,17 @@ class Standard_ASTM_D4737(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def clearMinCetaneSpec(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMinCetaneSpec(self, double: float) -> None: ... @@ -125,57 +178,93 @@ class Standard_ASTM_D611(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def clearMinAnilineSpec(self) -> None: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... - def setCorrelationCoefficients(self, double: float, double2: float, double3: float) -> None: ... - def setMinAnilineSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setCorrelationCoefficients( + self, double: float, double2: float, double3: float + ) -> None: ... + def setMinAnilineSpec( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class Standard_ASTM_D6377(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getMethodRVP(self) -> java.lang.String: ... @typing.overload - def getRvpResult(self) -> 'Standard_ASTM_D6377.RvpResult': ... + def getRvpResult(self) -> "Standard_ASTM_D6377.RvpResult": ... @typing.overload - def getRvpResult(self, rvpMethod: 'Standard_ASTM_D6377.RvpMethod') -> 'Standard_ASTM_D6377.RvpResult': ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getRvpResult( + self, rvpMethod: "Standard_ASTM_D6377.RvpMethod" + ) -> "Standard_ASTM_D6377.RvpResult": ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def setMethodRVP(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setMethodRVP(self, rvpMethod: 'Standard_ASTM_D6377.RvpMethod') -> None: ... - def setReferenceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - class RvpMethod(java.lang.Enum['Standard_ASTM_D6377.RvpMethod']): - RVP_ASTM_D6377: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... - RVP_ASTM_D323_73_79: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... - RVP_ASTM_D323_82: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... - VPCR4: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... - VPCR4_NO_WATER: typing.ClassVar['Standard_ASTM_D6377.RvpMethod'] = ... + def setMethodRVP(self, rvpMethod: "Standard_ASTM_D6377.RvpMethod") -> None: ... + def setReferenceTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + + class RvpMethod(java.lang.Enum["Standard_ASTM_D6377.RvpMethod"]): + RVP_ASTM_D6377: typing.ClassVar["Standard_ASTM_D6377.RvpMethod"] = ... + RVP_ASTM_D323_73_79: typing.ClassVar["Standard_ASTM_D6377.RvpMethod"] = ... + RVP_ASTM_D323_82: typing.ClassVar["Standard_ASTM_D6377.RvpMethod"] = ... + VPCR4: typing.ClassVar["Standard_ASTM_D6377.RvpMethod"] = ... + VPCR4_NO_WATER: typing.ClassVar["Standard_ASTM_D6377.RvpMethod"] = ... @staticmethod - def fromLabel(string: typing.Union[java.lang.String, str]) -> 'Standard_ASTM_D6377.RvpMethod': ... + def fromLabel( + string: typing.Union[java.lang.String, str] + ) -> "Standard_ASTM_D6377.RvpMethod": ... def getLabel(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'Standard_ASTM_D6377.RvpMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Standard_ASTM_D6377.RvpMethod": ... @staticmethod - def values() -> typing.MutableSequence['Standard_ASTM_D6377.RvpMethod']: ... + def values() -> typing.MutableSequence["Standard_ASTM_D6377.RvpMethod"]: ... + class RvpResult: - def __init__(self, double: float, rvpMethod: 'Standard_ASTM_D6377.RvpMethod', double2: float): ... - def getMethod(self) -> 'Standard_ASTM_D6377.RvpMethod': ... + def __init__( + self, + double: float, + rvpMethod: "Standard_ASTM_D6377.RvpMethod", + double2: float, + ): ... + def getMethod(self) -> "Standard_ASTM_D6377.RvpMethod": ... def getReferenceTemperatureC(self) -> float: ... def getValue(self) -> float: ... def isValid(self) -> bool: ... @@ -186,17 +275,23 @@ class Standard_ASTM_D86(jneqsim.standards.Standard): def calculate(self) -> None: ... def clearSpecLimits(self) -> None: ... def getBarometricPressure(self) -> float: ... - def getBasis(self) -> 'Standard_ASTM_D86.D86Basis': ... + def getBasis(self) -> "Standard_ASTM_D86.D86Basis": ... @typing.overload def getCABP(self) -> float: ... @typing.overload def getCABP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getD86Curve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload - def getDistillationCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDistillationCurve( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload - def getDistillationCurve(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getDistillationCurveKelvin(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDistillationCurve( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getDistillationCurveKelvin( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDistillationPressure(self) -> float: ... @typing.overload def getMABP(self) -> float: ... @@ -212,7 +307,9 @@ class Standard_ASTM_D86(jneqsim.standards.Standard): def getSlope(self) -> float: ... def getSpecificGravity(self) -> float: ... def getTBPCurve(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getVABP(self) -> float: ... @typing.overload @@ -220,41 +317,61 @@ class Standard_ASTM_D86(jneqsim.standards.Standard): @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getWABP(self) -> float: ... @typing.overload def getWABP(self, string: typing.Union[java.lang.String, str]) -> float: ... def getWatsonK(self) -> float: ... def isOnSpec(self) -> bool: ... - def setBarometricPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setBasis(self, d86Basis: 'Standard_ASTM_D86.D86Basis') -> None: ... + def setBarometricPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setBasis(self, d86Basis: "Standard_ASTM_D86.D86Basis") -> None: ... def setDistillationPressure(self, double: float) -> None: ... - def setSpecLimit(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - class D86Basis(java.lang.Enum['Standard_ASTM_D86.D86Basis']): - MOLAR: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... - LIQUID_VOLUME: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... - TBP_CONVERTED: typing.ClassVar['Standard_ASTM_D86.D86Basis'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def setSpecLimit( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + + class D86Basis(java.lang.Enum["Standard_ASTM_D86.D86Basis"]): + MOLAR: typing.ClassVar["Standard_ASTM_D86.D86Basis"] = ... + LIQUID_VOLUME: typing.ClassVar["Standard_ASTM_D86.D86Basis"] = ... + TBP_CONVERTED: typing.ClassVar["Standard_ASTM_D86.D86Basis"] = ... + _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: ... + 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]) -> 'Standard_ASTM_D86.D86Basis': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "Standard_ASTM_D86.D86Basis": ... @staticmethod - def values() -> typing.MutableSequence['Standard_ASTM_D86.D86Basis']: ... + def values() -> typing.MutableSequence["Standard_ASTM_D86.D86Basis"]: ... class Standard_ASTM_D97(jneqsim.standards.Standard): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculate(self) -> None: ... def getMeasurementPressure(self) -> float: ... def getNonFlowViscosityThreshold(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMeasurementPressure(self, double: float) -> None: ... def setNonFlowViscosityThreshold(self, double: float) -> None: ... @@ -265,11 +382,17 @@ class Standard_BSW(jneqsim.standards.Standard): def getMaxBSW(self) -> float: ... def getMeasurementPressure(self) -> float: ... def getMeasurementTemperatureC(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... def setMaxBSW(self, double: float) -> None: ... def setMeasurementPressure(self, double: float) -> None: ... @@ -280,13 +403,21 @@ class Standard_EN116(jneqsim.standards.Standard): def calculate(self) -> None: ... def clearMaxCfppSpec(self) -> None: ... def getOffset(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... - def setMaxCfppSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMaxCfppSpec( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setOffset(self, double: float) -> None: ... class Standard_TVP(jneqsim.standards.Standard): @@ -294,15 +425,24 @@ class Standard_TVP(jneqsim.standards.Standard): def calculate(self) -> None: ... def clearMaxTvpSpec(self) -> None: ... def getReferenceTemperature(self) -> float: ... - def getUnit(self, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getUnit( + self, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getValue(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... def isOnSpec(self) -> bool: ... - def setMaxTvpSpec(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceTemperature(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... - + def setMaxTvpSpec( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setReferenceTemperature( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.oilquality")``. diff --git a/src/jneqsim-stubs/standards/salescontract/__init__.pyi b/src/jneqsim-stubs/standards/salescontract/__init__.pyi index af7ebe28..caf2163b 100644 --- a/src/jneqsim-stubs/standards/salescontract/__init__.pyi +++ b/src/jneqsim-stubs/standards/salescontract/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,12 +12,12 @@ import jneqsim.thermo.system import jneqsim.util import typing - - class ContractInterface: def display(self) -> None: ... def getContractName(self) -> java.lang.String: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSpecificationsNumber(self) -> int: ... def getWaterDewPointSpecPressure(self) -> float: ... def getWaterDewPointTemperature(self) -> float: ... @@ -25,13 +25,32 @@ class ContractInterface: def runCheck(self) -> None: ... def setContract(self, string: typing.Union[java.lang.String, str]) -> None: ... def setContractName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... def setSpecificationsNumber(self, int: int) -> None: ... def setWaterDewPointSpecPressure(self, double: float) -> None: ... def setWaterDewPointTemperature(self, double: float) -> None: ... class ContractSpecification(jneqsim.util.NamedBaseClass): - def __init__(self, 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], standardInterface: jneqsim.standards.StandardInterface, double: float, double2: float, string5: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string6: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + standardInterface: jneqsim.standards.StandardInterface, + double: float, + double2: float, + string5: typing.Union[java.lang.String, str], + double3: float, + double4: float, + double5: float, + string6: typing.Union[java.lang.String, str], + ): ... def getComments(self) -> java.lang.String: ... def getCountry(self) -> java.lang.String: ... def getMaxValue(self) -> float: ... @@ -51,7 +70,9 @@ class ContractSpecification(jneqsim.util.NamedBaseClass): def setReferenceTemperatureCombustion(self, double: float) -> None: ... def setReferenceTemperatureMeasurement(self, double: float) -> None: ... def setSpecification(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStandard(self, standardInterface: jneqsim.standards.StandardInterface) -> None: ... + def setStandard( + self, standardInterface: jneqsim.standards.StandardInterface + ) -> None: ... def setTerminal(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -61,24 +82,53 @@ class BaseContract(ContractInterface): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def display(self) -> None: ... def getContractName(self) -> java.lang.String: ... - def getMethod(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getSpecification(self, standardInterface: jneqsim.standards.StandardInterface, 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], double: float, double2: float, string5: typing.Union[java.lang.String, str], double3: float, double4: float, double5: float, string6: typing.Union[java.lang.String, str]) -> ContractSpecification: ... + def getMethod( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> jneqsim.standards.StandardInterface: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getSpecification( + self, + standardInterface: jneqsim.standards.StandardInterface, + 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], + double: float, + double2: float, + string5: typing.Union[java.lang.String, str], + double3: float, + double4: float, + double5: float, + string6: typing.Union[java.lang.String, str], + ) -> ContractSpecification: ... def getSpecificationsNumber(self) -> int: ... def getWaterDewPointSpecPressure(self) -> float: ... def getWaterDewPointTemperature(self) -> float: ... def runCheck(self) -> None: ... def setContract(self, string: typing.Union[java.lang.String, str]) -> None: ... def setContractName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... def setSpecificationsNumber(self, int: int) -> None: ... def setWaterDewPointSpecPressure(self, double: float) -> None: ... def setWaterDewPointTemperature(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.standards.salescontract")``. diff --git a/src/jneqsim-stubs/statistics/__init__.pyi b/src/jneqsim-stubs/statistics/__init__.pyi index 4de2aed8..988675cc 100644 --- a/src/jneqsim-stubs/statistics/__init__.pyi +++ b/src/jneqsim-stubs/statistics/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,12 +12,15 @@ import jneqsim.statistics.montecarlosimulation import jneqsim.statistics.parameterfitting import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics")``. dataanalysis: jneqsim.statistics.dataanalysis.__module_protocol__ - experimentalequipmentdata: jneqsim.statistics.experimentalequipmentdata.__module_protocol__ - experimentalsamplecreation: jneqsim.statistics.experimentalsamplecreation.__module_protocol__ + experimentalequipmentdata: ( + jneqsim.statistics.experimentalequipmentdata.__module_protocol__ + ) + experimentalsamplecreation: ( + jneqsim.statistics.experimentalsamplecreation.__module_protocol__ + ) montecarlosimulation: jneqsim.statistics.montecarlosimulation.__module_protocol__ parameterfitting: jneqsim.statistics.parameterfitting.__module_protocol__ diff --git a/src/jneqsim-stubs/statistics/dataanalysis/__init__.pyi b/src/jneqsim-stubs/statistics/dataanalysis/__init__.pyi index e804dc52..02866800 100644 --- a/src/jneqsim-stubs/statistics/dataanalysis/__init__.pyi +++ b/src/jneqsim-stubs/statistics/dataanalysis/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,7 +8,6 @@ else: import jneqsim.statistics.dataanalysis.datasmoothing import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis")``. diff --git a/src/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi b/src/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi index 8984079f..8fe00ad0 100644 --- a/src/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi +++ b/src/jneqsim-stubs/statistics/dataanalysis/datasmoothing/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,16 +8,20 @@ else: import jpype import typing - - class DataSmoother: - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int, int2: int, int3: int, int4: int): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int: int, + int2: int, + int3: int, + int4: int, + ): ... def findCoefs(self) -> None: ... def getSmoothedNumbers(self) -> typing.MutableSequence[float]: ... def runSmoothing(self) -> None: ... def setSmoothedNumbers(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.dataanalysis.datasmoothing")``. diff --git a/src/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi index 6651e63b..b12540fa 100644 --- a/src/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalequipmentdata/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,14 +8,13 @@ else: import jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata import typing - - class ExperimentalEquipmentData: def __init__(self): ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalequipmentdata")``. ExperimentalEquipmentData: typing.Type[ExperimentalEquipmentData] - wettedwallcolumndata: jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata.__module_protocol__ + wettedwallcolumndata: ( + jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi index d585e8f5..471d5a4f 100644 --- a/src/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalequipmentdata/wettedwallcolumndata/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,9 +8,9 @@ else: import jneqsim.statistics.experimentalequipmentdata import typing - - -class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData): +class WettedWallColumnData( + jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData +): @typing.overload def __init__(self): ... @typing.overload @@ -22,7 +22,6 @@ class WettedWallColumnData(jneqsim.statistics.experimentalequipmentdata.Experime def setLength(self, double: float) -> None: ... def setVolume(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalequipmentdata.wettedwallcolumndata")``. diff --git a/src/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi index 0b5765ca..f8bcb991 100644 --- a/src/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalsamplecreation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.statistics.experimentalsamplecreation.readdatafromfile import jneqsim.statistics.experimentalsamplecreation.samplecreator import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation")``. - readdatafromfile: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.__module_protocol__ - samplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.__module_protocol__ + readdatafromfile: ( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.__module_protocol__ + ) + samplecreator: ( + jneqsim.statistics.experimentalsamplecreation.samplecreator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi index 92703d0b..06b126ee 100644 --- a/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader import typing - - class DataObjectInterface: ... class DataReaderInterface: @@ -28,10 +26,11 @@ class DataReader(DataReaderInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... def getSampleObjectList(self) -> java.util.ArrayList[DataObject]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def readData(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.readdatafromfile")``. @@ -39,4 +38,6 @@ class __module_protocol__(Protocol): DataObjectInterface: typing.Type[DataObjectInterface] DataReader: typing.Type[DataReader] DataReaderInterface: typing.Type[DataReaderInterface] - wettedwallcolumnreader: jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ + wettedwallcolumnreader: ( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi index 6ad03530..6d00383f 100644 --- a/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalsamplecreation/readdatafromfile/wettedwallcolumnreader/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,9 +10,9 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.readdatafromfile import typing - - -class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject): +class WettedWallColumnDataObject( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataObject +): def __init__(self): ... def getCo2SupplyFlow(self) -> float: ... def getColumnWallTemperature(self) -> float: ... @@ -35,16 +35,19 @@ class WettedWallColumnDataObject(jneqsim.statistics.experimentalsamplecreation.r def setPressure(self, double: float) -> None: ... def setTime(self, string: typing.Union[java.lang.String, str]) -> None: ... -class WettedWallDataReader(jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataReader): +class WettedWallDataReader( + jneqsim.statistics.experimentalsamplecreation.readdatafromfile.DataReader +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def readData(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.readdatafromfile.wettedwallcolumnreader")``. diff --git a/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi index 44b40d9b..eac7d937 100644 --- a/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,19 +11,27 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class SampleCreator: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations): ... - def setExperimentalEquipment(self, experimentalEquipmentData: jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + thermodynamicOperations: jneqsim.thermodynamicoperations.ThermodynamicOperations, + ): ... + def setExperimentalEquipment( + self, + experimentalEquipmentData: jneqsim.statistics.experimentalequipmentdata.ExperimentalEquipmentData, + ) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.samplecreator")``. SampleCreator: typing.Type[SampleCreator] - wettedwallcolumnsamplecreator: jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator.__module_protocol__ + wettedwallcolumnsamplecreator: ( + jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi b/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi index e7a3938a..432ec387 100644 --- a/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi +++ b/src/jneqsim-stubs/statistics/experimentalsamplecreation/samplecreator/wettedwallcolumnsamplecreator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,20 +10,21 @@ import jpype import jneqsim.statistics.experimentalsamplecreation.samplecreator import typing - - -class WettedWallColumnSampleCreator(jneqsim.statistics.experimentalsamplecreation.samplecreator.SampleCreator): +class WettedWallColumnSampleCreator( + jneqsim.statistics.experimentalsamplecreation.samplecreator.SampleCreator +): @typing.overload def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... def calcdPdt(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setSampleValues(self) -> None: ... def smoothData(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.experimentalsamplecreation.samplecreator.wettedwallcolumnsamplecreator")``. diff --git a/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi b/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi index 16975fdd..507779ef 100644 --- a/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi +++ b/src/jneqsim-stubs/statistics/montecarlosimulation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,20 +8,24 @@ else: import jneqsim.statistics.parameterfitting import typing - - class MonteCarloSimulation: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, statisticsBaseClass: jneqsim.statistics.parameterfitting.StatisticsBaseClass, int: int): ... + def __init__( + self, + statisticsBaseClass: jneqsim.statistics.parameterfitting.StatisticsBaseClass, + int: int, + ): ... @typing.overload - def __init__(self, statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface): ... + def __init__( + self, + statisticsInterface: jneqsim.statistics.parameterfitting.StatisticsInterface, + ): ... def createReportMatrix(self) -> None: ... def runSimulation(self) -> None: ... def setNumberOfRuns(self, int: int) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.montecarlosimulation")``. diff --git a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi index 2379cc48..0081ea3b 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,134 +17,260 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - -class ExperimentType(java.lang.Enum['ExperimentType'], java.io.Serializable): - GENERIC: typing.ClassVar['ExperimentType'] = ... - VLE: typing.ClassVar['ExperimentType'] = ... - LLE: typing.ClassVar['ExperimentType'] = ... - VLLE: typing.ClassVar['ExperimentType'] = ... - SATURATION_PRESSURE: typing.ClassVar['ExperimentType'] = ... - DENSITY: typing.ClassVar['ExperimentType'] = ... - VISCOSITY: typing.ClassVar['ExperimentType'] = ... - HEAT_CAPACITY: typing.ClassVar['ExperimentType'] = ... - PVT: typing.ClassVar['ExperimentType'] = ... - TRANSPORT_PROPERTY: typing.ClassVar['ExperimentType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class ExperimentType(java.lang.Enum["ExperimentType"], java.io.Serializable): + GENERIC: typing.ClassVar["ExperimentType"] = ... + VLE: typing.ClassVar["ExperimentType"] = ... + LLE: typing.ClassVar["ExperimentType"] = ... + VLLE: typing.ClassVar["ExperimentType"] = ... + SATURATION_PRESSURE: typing.ClassVar["ExperimentType"] = ... + DENSITY: typing.ClassVar["ExperimentType"] = ... + VISCOSITY: typing.ClassVar["ExperimentType"] = ... + HEAT_CAPACITY: typing.ClassVar["ExperimentType"] = ... + PVT: typing.ClassVar["ExperimentType"] = ... + TRANSPORT_PROPERTY: typing.ClassVar["ExperimentType"] = ... + _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: ... + 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]) -> 'ExperimentType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "ExperimentType": ... @staticmethod - def values() -> typing.MutableSequence['ExperimentType']: ... + def values() -> typing.MutableSequence["ExperimentType"]: ... class ExperimentalDataDownloader: @staticmethod - def download(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def download( + uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... @typing.overload @staticmethod - def downloadIfNeeded(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> java.io.File: ... + def downloadIfNeeded( + uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> java.io.File: ... @typing.overload @staticmethod - def downloadIfNeeded(uRL: java.net.URL, file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str]) -> java.io.File: ... + def downloadIfNeeded( + uRL: java.net.URL, + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + string: typing.Union[java.lang.String, str], + ) -> java.io.File: ... class ExperimentalDataPoint(java.io.Serializable): @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... - @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... + @typing.overload + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getDependentValue(self, int: int) -> float: ... def getDependentValues(self) -> typing.MutableSequence[float]: ... def getDescription(self) -> java.lang.String: ... def getMeasuredValue(self) -> float: ... def getReference(self) -> java.lang.String: ... def getStandardDeviation(self) -> float: ... - def toSampleValue(self, baseFunction: 'BaseFunction') -> 'SampleValue': ... + def toSampleValue(self, baseFunction: "BaseFunction") -> "SampleValue": ... class ExperimentalDataReader: @typing.overload @staticmethod - def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ExperimentalDataSet': ... + def fromCsv( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], csvOptions: 'ExperimentalDataReader.CsvOptions') -> 'ExperimentalDataSet': ... + def fromCsv( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + csvOptions: "ExperimentalDataReader.CsvOptions", + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + def fromJson( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + def fromYaml( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + def fromYaml( + string: typing.Union[java.lang.String, str] + ) -> "ExperimentalDataSet": ... + class CsvOptions(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - def getDependentVariableColumns(self) -> typing.MutableSequence[java.lang.String]: ... - def getDependentVariableNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + def getDependentVariableColumns( + self, + ) -> typing.MutableSequence[java.lang.String]: ... + def getDependentVariableNames( + self, + ) -> typing.MutableSequence[java.lang.String]: ... + def getDependentVariableUnits( + self, + ) -> typing.MutableSequence[java.lang.String]: ... def getDescriptionColumn(self) -> java.lang.String: ... def getMeasuredValueColumn(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def getReferenceColumn(self) -> java.lang.String: ... def getResponseName(self) -> java.lang.String: ... def getResponseUnit(self) -> java.lang.String: ... - def getSourceDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... + def getSourceDependentVariableUnits( + self, + ) -> typing.MutableSequence[java.lang.String]: ... def getSourceResponseUnit(self) -> java.lang.String: ... def getStandardDeviationColumn(self) -> java.lang.String: ... def resolveDependentVariableColumn(self, int: int) -> java.lang.String: ... def resolveMeasuredValueColumn(self) -> java.lang.String: ... - def resolveStandardDeviationColumn(self, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], int], typing.Mapping[typing.Union[java.lang.String, str], int]]) -> java.lang.String: ... - def setDependentVariableColumns(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setDependentVariableNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setDependentVariableUnits(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setDescriptionColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMeasuredValueColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def resolveStandardDeviationColumn( + self, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], int], + typing.Mapping[typing.Union[java.lang.String, str], int], + ], + ) -> java.lang.String: ... + def setDependentVariableColumns( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setDependentVariableNames( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setDependentVariableUnits( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setDescriptionColumn( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMeasuredValueColumn( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setReferenceColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResponseName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setResponseUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setSourceDependentVariableUnits(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def setSourceResponseUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setStandardDeviationColumn(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setReferenceColumn( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResponseName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setResponseUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setSourceDependentVariableUnits( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def setSourceResponseUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setStandardDeviationColumn( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def validate(self) -> None: ... class ExperimentalDataSet(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - @typing.overload - def addPoint(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ExperimentalDataSet': ... - @typing.overload - def addPoint(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... - @typing.overload - def addPoint(self, experimentalDataPoint: ExperimentalDataPoint) -> 'ExperimentalDataSet': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + @typing.overload + def addPoint( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> "ExperimentalDataSet": ... + @typing.overload + def addPoint( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "ExperimentalDataSet": ... + @typing.overload + def addPoint( + self, experimentalDataPoint: ExperimentalDataPoint + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ExperimentalDataSet': ... + def fromCsv( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromCsv(file: typing.Union[java.io.File, jpype.protocol.SupportsPath], csvOptions: ExperimentalDataReader.CsvOptions) -> 'ExperimentalDataSet': ... + def fromCsv( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath], + csvOptions: ExperimentalDataReader.CsvOptions, + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + def fromJson( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ExperimentalDataSet': ... + def fromYaml( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ExperimentalDataSet": ... @typing.overload @staticmethod - def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ExperimentalDataSet': ... + def fromYaml( + string: typing.Union[java.lang.String, str] + ) -> "ExperimentalDataSet": ... def getDependentVariableCount(self) -> int: ... def getDependentVariableNames(self) -> typing.MutableSequence[java.lang.String]: ... def getDependentVariableUnits(self) -> typing.MutableSequence[java.lang.String]: ... @@ -154,16 +280,33 @@ class ExperimentalDataSet(java.io.Serializable): def getResponseName(self) -> java.lang.String: ... def getResponseUnit(self) -> java.lang.String: ... def size(self) -> int: ... - def split(self, double: float) -> typing.MutableSequence['ExperimentalDataSet']: ... - def toSampleSet(self, baseFunction: 'BaseFunction') -> 'SampleSet': ... + def split(self, double: float) -> typing.MutableSequence["ExperimentalDataSet"]: ... + def toSampleSet(self, baseFunction: "BaseFunction") -> "SampleSet": ... class FittingParameter(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, string2: typing.Union[java.lang.String, str], parameterTransform: 'ParameterTransform', string3: typing.Union[java.lang.String, str], double4: float, double5: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + string2: typing.Union[java.lang.String, str], + parameterTransform: "ParameterTransform", + string3: typing.Union[java.lang.String, str], + double4: float, + double5: float, + ): ... def getCategory(self) -> java.lang.String: ... def getInitialValue(self) -> float: ... def getInternalBounds(self) -> typing.MutableSequence[float]: ... @@ -172,7 +315,7 @@ class FittingParameter(java.io.Serializable): def getName(self) -> java.lang.String: ... def getPriorStandardDeviation(self) -> float: ... def getPriorValue(self) -> float: ... - def getTransform(self) -> 'ParameterTransform': ... + def getTransform(self) -> "ParameterTransform": ... def getUnit(self) -> java.lang.String: ... def getUpperBound(self) -> float: ... def hasPrior(self) -> bool: ... @@ -182,7 +325,7 @@ class FittingParameter(java.io.Serializable): def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPriorStandardDeviation(self, double: float) -> None: ... def setPriorValue(self, double: float) -> None: ... - def setTransform(self, parameterTransform: 'ParameterTransform') -> None: ... + def setTransform(self, parameterTransform: "ParameterTransform") -> None: ... def setUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... def setUpperBound(self, double: float) -> None: ... def toExternalValue(self, double: float) -> float: ... @@ -190,8 +333,10 @@ class FittingParameter(java.io.Serializable): class FunctionInterface(java.lang.Cloneable): def calcTrueValue(self, double: float) -> float: ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def clone(self) -> 'FunctionInterface': ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def clone(self) -> "FunctionInterface": ... def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def getFittingParams(self, int: int) -> float: ... @@ -201,35 +346,52 @@ class FunctionInterface(java.lang.Cloneable): def getNumberOfFittingParams(self) -> int: ... def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getUpperBound(self, int: int) -> float: ... - def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setBounds( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setDatabaseParameters(self) -> None: ... def setFittingParams(self, int: int, double: float) -> None: ... - def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInitialGuess( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setThermodynamicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class NumericalDerivative(java.io.Serializable): @staticmethod - def calcDerivative(statisticsBaseClass: 'StatisticsBaseClass', int: int, int2: int) -> float: ... + def calcDerivative( + statisticsBaseClass: "StatisticsBaseClass", int: int, int2: int + ) -> float: ... -class ObjectiveFunctionType(java.lang.Enum['ObjectiveFunctionType'], java.io.Serializable): - WEIGHTED_LEAST_SQUARES: typing.ClassVar['ObjectiveFunctionType'] = ... - ABSOLUTE_DEVIATION: typing.ClassVar['ObjectiveFunctionType'] = ... - HUBER: typing.ClassVar['ObjectiveFunctionType'] = ... - CAUCHY: typing.ClassVar['ObjectiveFunctionType'] = ... - TUKEY_BIWEIGHT: typing.ClassVar['ObjectiveFunctionType'] = ... +class ObjectiveFunctionType( + java.lang.Enum["ObjectiveFunctionType"], java.io.Serializable +): + WEIGHTED_LEAST_SQUARES: typing.ClassVar["ObjectiveFunctionType"] = ... + ABSOLUTE_DEVIATION: typing.ClassVar["ObjectiveFunctionType"] = ... + HUBER: typing.ClassVar["ObjectiveFunctionType"] = ... + CAUCHY: typing.ClassVar["ObjectiveFunctionType"] = ... + TUKEY_BIWEIGHT: typing.ClassVar["ObjectiveFunctionType"] = ... def isRobust(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ObjectiveFunctionType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ObjectiveFunctionType": ... @staticmethod - def values() -> typing.MutableSequence['ObjectiveFunctionType']: ... + def values() -> typing.MutableSequence["ObjectiveFunctionType"]: ... class ParameterFittingReport(java.io.Serializable): - def __init__(self, parameterFittingStudy: 'ParameterFittingStudy'): ... + def __init__(self, parameterFittingStudy: "ParameterFittingStudy"): ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toMarkdown(self) -> java.lang.String: ... @@ -239,23 +401,35 @@ class ParameterFittingSpec(java.io.Serializable): def __init__(self): ... @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addParameter(self, fittingParameter: FittingParameter) -> 'ParameterFittingSpec': ... + def addParameter( + self, fittingParameter: FittingParameter + ) -> "ParameterFittingSpec": ... @typing.overload @staticmethod - def fromJson(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ParameterFittingSpec': ... + def fromJson( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ParameterFittingSpec": ... @typing.overload @staticmethod - def fromJson(string: typing.Union[java.lang.String, str]) -> 'ParameterFittingSpec': ... + def fromJson( + string: typing.Union[java.lang.String, str] + ) -> "ParameterFittingSpec": ... @typing.overload @staticmethod - def fromYaml(file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> 'ParameterFittingSpec': ... + def fromYaml( + file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> "ParameterFittingSpec": ... @typing.overload @staticmethod - def fromYaml(string: typing.Union[java.lang.String, str]) -> 'ParameterFittingSpec': ... + def fromYaml( + string: typing.Union[java.lang.String, str] + ) -> "ParameterFittingSpec": ... def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getExperimentType(self) -> ExperimentType: ... def getInitialGuess(self) -> typing.MutableSequence[float]: ... - def getInternalBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getInternalBounds( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getInternalInitialGuess(self) -> typing.MutableSequence[float]: ... def getMaxNumberOfIterations(self) -> int: ... def getMaxRobustIterations(self) -> int: ... @@ -268,60 +442,103 @@ class ParameterFittingSpec(java.io.Serializable): def getRobustTuningConstant(self) -> float: ... def getTrainingFraction(self) -> float: ... def hasTransformedParameters(self) -> bool: ... - def saveJson(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... - def saveYaml(self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath]) -> None: ... + def saveJson( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... + def saveYaml( + self, file: typing.Union[java.io.File, jpype.protocol.SupportsPath] + ) -> None: ... def setExperimentType(self, experimentType: ExperimentType) -> None: ... def setMaxNumberOfIterations(self, int: int) -> None: ... def setMaxRobustIterations(self, int: int) -> None: ... def setMultiStartCount(self, int: int) -> None: ... def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setObjectiveFunctionType(self, objectiveFunctionType: ObjectiveFunctionType) -> None: ... + def setObjectiveFunctionType( + self, objectiveFunctionType: ObjectiveFunctionType + ) -> None: ... def setParameters(self, list: java.util.List[FittingParameter]) -> None: ... def setRandomSeed(self, long: int) -> None: ... def setRobustTuningConstant(self, double: float) -> None: ... def setTrainingFraction(self, double: float) -> None: ... - def toExternalValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def toExternalValues( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def toJson(self) -> java.lang.String: ... def toYaml(self) -> java.lang.String: ... def validate(self) -> None: ... class ParameterFittingStudy: @typing.overload - def __init__(self, experimentalDataSet: ExperimentalDataSet, baseFunction: 'BaseFunction'): ... + def __init__( + self, experimentalDataSet: ExperimentalDataSet, baseFunction: "BaseFunction" + ): ... @typing.overload - def __init__(self, experimentalDataSet: ExperimentalDataSet, baseFunction: 'BaseFunction', parameterFittingSpec: ParameterFittingSpec): ... + def __init__( + self, + experimentalDataSet: ExperimentalDataSet, + baseFunction: "BaseFunction", + parameterFittingSpec: ParameterFittingSpec, + ): ... def createReport(self) -> ParameterFittingReport: ... - def fit(self) -> 'ParameterFittingStudy.Result': ... + def fit(self) -> "ParameterFittingStudy.Result": ... def fitAndCreateReport(self) -> ParameterFittingReport: ... def getDataSet(self) -> ExperimentalDataSet: ... - def getFunction(self) -> 'BaseFunction': ... - def getOptimizer(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt: ... - def getResult(self) -> 'ParameterFittingStudy.Result': ... + def getFunction(self) -> "BaseFunction": ... + def getOptimizer( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardt + ): ... + def getResult(self) -> "ParameterFittingStudy.Result": ... def getSpec(self) -> ParameterFittingSpec: ... - def run(self) -> 'ParameterFittingStudy.Result': ... - def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> 'ParameterFittingStudy': ... - def setMaxNumberOfIterations(self, int: int) -> 'ParameterFittingStudy': ... - def setMaxRobustIterations(self, int: int) -> 'ParameterFittingStudy': ... - def setMultiStartCount(self, int: int) -> 'ParameterFittingStudy': ... - def setObjectiveFunctionType(self, objectiveFunctionType: ObjectiveFunctionType) -> 'ParameterFittingStudy': ... - def setParameterBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> 'ParameterFittingStudy': ... - def setParameterNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> 'ParameterFittingStudy': ... - def setParameterUpdateAdapter(self, parameterUpdateAdapter: 'ParameterUpdateAdapter') -> 'ParameterFittingStudy': ... - def setRandomSeed(self, long: int) -> 'ParameterFittingStudy': ... - def setRobustTuningConstant(self, double: float) -> 'ParameterFittingStudy': ... - def setSpec(self, parameterFittingSpec: ParameterFittingSpec) -> 'ParameterFittingStudy': ... - def setValidationDataSet(self, experimentalDataSet: ExperimentalDataSet) -> 'ParameterFittingStudy': ... + def run(self) -> "ParameterFittingStudy.Result": ... + def setInitialGuess( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> "ParameterFittingStudy": ... + def setMaxNumberOfIterations(self, int: int) -> "ParameterFittingStudy": ... + def setMaxRobustIterations(self, int: int) -> "ParameterFittingStudy": ... + def setMultiStartCount(self, int: int) -> "ParameterFittingStudy": ... + def setObjectiveFunctionType( + self, objectiveFunctionType: ObjectiveFunctionType + ) -> "ParameterFittingStudy": ... + def setParameterBounds( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> "ParameterFittingStudy": ... + def setParameterNames( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> "ParameterFittingStudy": ... + def setParameterUpdateAdapter( + self, parameterUpdateAdapter: "ParameterUpdateAdapter" + ) -> "ParameterFittingStudy": ... + def setRandomSeed(self, long: int) -> "ParameterFittingStudy": ... + def setRobustTuningConstant(self, double: float) -> "ParameterFittingStudy": ... + def setSpec( + self, parameterFittingSpec: ParameterFittingSpec + ) -> "ParameterFittingStudy": ... + def setValidationDataSet( + self, experimentalDataSet: ExperimentalDataSet + ) -> "ParameterFittingStudy": ... + class Result: def getCalculatedValues(self) -> typing.MutableSequence[float]: ... @typing.overload def getFittedParameter(self, int: int) -> float: ... @typing.overload - def getFittedParameter(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getFittedParameter( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFittedParameters(self) -> typing.MutableSequence[float]: ... def getMeanAbsoluteError(self) -> float: ... def getObjectiveFunctionType(self) -> ObjectiveFunctionType: ... def getObjectiveValue(self) -> float: ... - def getOptimizerResult(self) -> jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtResult: ... + def getOptimizerResult( + self, + ) -> ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.LevenbergMarquardtResult + ): ... def getParameterNames(self) -> typing.MutableSequence[java.lang.String]: ... def getReducedChiSquare(self) -> float: ... def getResiduals(self) -> typing.MutableSequence[float]: ... @@ -337,42 +554,52 @@ class ParameterFittingStudy: def getWeightedRootMeanSquareError(self) -> float: ... def isConverged(self) -> bool: ... -class ParameterTransform(java.lang.Enum['ParameterTransform'], java.io.Serializable): - LINEAR: typing.ClassVar['ParameterTransform'] = ... - LOG: typing.ClassVar['ParameterTransform'] = ... - LOG10: typing.ClassVar['ParameterTransform'] = ... - LOGISTIC: typing.ClassVar['ParameterTransform'] = ... +class ParameterTransform(java.lang.Enum["ParameterTransform"], java.io.Serializable): + LINEAR: typing.ClassVar["ParameterTransform"] = ... + LOG: typing.ClassVar["ParameterTransform"] = ... + LOG10: typing.ClassVar["ParameterTransform"] = ... + LOGISTIC: typing.ClassVar["ParameterTransform"] = ... def isTransformed(self) -> bool: ... def toExternal(self, double: float, double2: float, double3: float) -> float: ... def toInternal(self, double: float, double2: float, double3: float) -> float: ... - def toInternalBounds(self, double: float, double2: float) -> typing.MutableSequence[float]: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def toInternalBounds( + self, double: float, double2: float + ) -> typing.MutableSequence[float]: ... + _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: ... + 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]) -> 'ParameterTransform': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ParameterTransform": ... @staticmethod - def values() -> typing.MutableSequence['ParameterTransform']: ... + def values() -> typing.MutableSequence["ParameterTransform"]: ... class ParameterUpdateAdapter(java.io.Serializable): - def applyParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def applyParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def getParameters(self) -> typing.MutableSequence[FittingParameter]: ... class SampleSet(java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, arrayList: java.util.ArrayList['SampleValue']): ... + def __init__(self, arrayList: java.util.ArrayList["SampleValue"]): ... @typing.overload - def __init__(self, sampleValueArray: typing.Union[typing.List['SampleValue'], jpype.JArray]): ... - def add(self, sampleValue: 'SampleValue') -> None: ... - def addSampleSet(self, sampleSet: 'SampleSet') -> None: ... - def clone(self) -> 'SampleSet': ... - def createNewNormalDistributedSet(self) -> 'SampleSet': ... + def __init__( + self, sampleValueArray: typing.Union[typing.List["SampleValue"], jpype.JArray] + ): ... + def add(self, sampleValue: "SampleValue") -> None: ... + def addSampleSet(self, sampleSet: "SampleSet") -> None: ... + def clone(self) -> "SampleSet": ... + def createNewNormalDistributedSet(self) -> "SampleSet": ... def getLength(self) -> int: ... - def getSample(self, int: int) -> 'SampleValue': ... + def getSample(self, int: int) -> "SampleValue": ... class SampleValue(java.lang.Cloneable): system: jneqsim.thermo.system.SystemInterface = ... @@ -380,10 +607,21 @@ class SampleValue(java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... - @typing.overload - def __init__(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... - def clone(self) -> 'SampleValue': ... + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... + @typing.overload + def __init__( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... + def clone(self) -> "SampleValue": ... def getDependentValue(self, int: int) -> float: ... def getDependentValues(self) -> typing.MutableSequence[float]: ... def getDescription(self) -> java.lang.String: ... @@ -395,14 +633,18 @@ class SampleValue(java.lang.Cloneable): @typing.overload def getStandardDeviation(self, int: int) -> float: ... def setDependentValue(self, int: int, double: float) -> None: ... - def setDependentValues(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDependentValues( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDescription(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setFunction(self, baseFunction: 'BaseFunction') -> None: ... + def setFunction(self, baseFunction: "BaseFunction") -> None: ... def setReference(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermodynamicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class StatisticsInterface: - def createNewRandomClass(self) -> 'StatisticsBaseClass': ... + def createNewRandomClass(self) -> "StatisticsBaseClass": ... def displayCurveFit(self) -> None: ... def displayResult(self) -> None: ... def getNumberOfTuningParameters(self) -> int: ... @@ -420,8 +662,10 @@ class BaseFunction(FunctionInterface): thermoOps: jneqsim.thermodynamicoperations.ThermodynamicOperations = ... def __init__(self): ... def calcTrueValue(self, double: float) -> float: ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def clone(self) -> 'BaseFunction': ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def clone(self) -> "BaseFunction": ... def getBounds(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def getFittingParams(self, int: int) -> float: ... @@ -431,15 +675,32 @@ class BaseFunction(FunctionInterface): def getNumberOfFittingParams(self) -> int: ... def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getUpperBound(self, int: int) -> float: ... - def setBounds(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setBounds( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setDatabaseParameters(self) -> None: ... def setFittingParams(self, int: int, double: float) -> None: ... - def setInitialGuess(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setThermodynamicSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setInitialGuess( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setThermodynamicSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... class BinaryInteractionParameterAdapter(ParameterUpdateAdapter): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], fittingParameter: FittingParameter): ... - def applyParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + fittingParameter: FittingParameter, + ): ... + def applyParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def getComponent1(self) -> java.lang.String: ... def getComponent2(self) -> java.lang.String: ... def getParameters(self) -> typing.MutableSequence[FittingParameter]: ... @@ -449,12 +710,16 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): def __init__(self): ... def addSampleSet(self, sampleSet: SampleSet) -> None: ... def calcAbsDev(self) -> None: ... - def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... def calcCoVarianceMatrix(self) -> None: ... def calcCorrelationMatrix(self) -> None: ... - def calcDerivatives(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcDerivatives( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcDeviation(self) -> None: ... def calcParameterStandardDeviation(self) -> None: ... def calcParameterUncertainty(self) -> None: ... @@ -464,10 +729,12 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): def calcTrueValue(self, sampleValue: SampleValue) -> float: ... def calcValue(self, sampleValue: SampleValue) -> float: ... def checkBounds(self, matrix: Jama.Matrix) -> None: ... - def clone(self) -> 'StatisticsBaseClass': ... - def createNewRandomClass(self) -> 'StatisticsBaseClass': ... + 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, matrix: Jama.Matrix, string: typing.Union[java.lang.String, str], int: int + ) -> None: ... def displayResult(self) -> None: ... def displayResultWithDeviation(self) -> None: ... def displaySimple(self) -> None: ... @@ -481,13 +748,14 @@ class StatisticsBaseClass(java.lang.Cloneable, StatisticsInterface): @typing.overload def runMonteCarloSimulation(self, int: int) -> None: ... def setFittingParameter(self, int: int, double: float) -> None: ... - def setFittingParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNumberOfTuningParameters(self, int: int) -> None: ... def setSampleSet(self, sampleSet: SampleSet) -> None: ... def solve(self) -> None: ... def writeToTextFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting")``. @@ -511,4 +779,6 @@ class __module_protocol__(Protocol): SampleValue: typing.Type[SampleValue] StatisticsBaseClass: typing.Type[StatisticsBaseClass] StatisticsInterface: typing.Type[StatisticsInterface] - nonlinearparameterfitting: jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ + nonlinearparameterfitting: ( + jneqsim.statistics.parameterfitting.nonlinearparameterfitting.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi index 437bd441..16669a1c 100644 --- a/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi +++ b/src/jneqsim-stubs/statistics/parameterfitting/nonlinearparameterfitting/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,23 +12,25 @@ import jpype import jneqsim.statistics.parameterfitting import typing - - class LevenbergMarquardt(jneqsim.statistics.parameterfitting.StatisticsBaseClass): def __init__(self): ... - def clone(self) -> 'LevenbergMarquardt': ... + def clone(self) -> "LevenbergMarquardt": ... def getMaxNumberOfIterations(self) -> int: ... - def getResult(self) -> 'LevenbergMarquardtResult': ... + def getResult(self) -> "LevenbergMarquardtResult": ... def init(self) -> None: ... def isSolved(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setMaxNumberOfIterations(self, int: int) -> None: ... def solve(self) -> None: ... class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunction): def __init__(self): ... - def calcValue(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def calcValue( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... @typing.overload def getFittingParams(self, int: int) -> float: ... @typing.overload @@ -36,55 +38,91 @@ class LevenbergMarquardtFunction(jneqsim.statistics.parameterfitting.BaseFunctio def getNumberOfFittingParams(self) -> int: ... def setFittingParam(self, int: int, double: float) -> None: ... @typing.overload - def setFittingParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFittingParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload 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 getConvergenceReason(self) -> 'LevenbergMarquardtResult.ConvergenceReason': ... + 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 getConvergenceReason(self) -> "LevenbergMarquardtResult.ConvergenceReason": ... def getCorrelationMatrix(self) -> Jama.Matrix: ... - def getCorrelationMatrixArray(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCorrelationMatrixArray( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getCovarianceMatrix(self) -> Jama.Matrix: ... - def getCovarianceMatrixArray(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getCovarianceMatrixArray( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getFinalChiSquare(self) -> float: ... def getGradientNorm(self) -> float: ... def getIterations(self) -> int: ... def getParameterStandardErrors(self) -> typing.MutableSequence[float]: ... def isConverged(self) -> bool: ... @staticmethod - def notRun() -> 'LevenbergMarquardtResult': ... - class ConvergenceReason(java.lang.Enum['LevenbergMarquardtResult.ConvergenceReason']): - NOT_RUN: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... - CHI_SQUARE_TOLERANCE: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... - GRADIENT_TOLERANCE: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... - MAX_ITERATIONS_REACHED: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... - SINGULAR_MATRIX: typing.ClassVar['LevenbergMarquardtResult.ConvergenceReason'] = ... + def notRun() -> "LevenbergMarquardtResult": ... + + class ConvergenceReason( + java.lang.Enum["LevenbergMarquardtResult.ConvergenceReason"] + ): + NOT_RUN: typing.ClassVar["LevenbergMarquardtResult.ConvergenceReason"] = ... + CHI_SQUARE_TOLERANCE: typing.ClassVar[ + "LevenbergMarquardtResult.ConvergenceReason" + ] = ... + GRADIENT_TOLERANCE: typing.ClassVar[ + "LevenbergMarquardtResult.ConvergenceReason" + ] = ... + MAX_ITERATIONS_REACHED: typing.ClassVar[ + "LevenbergMarquardtResult.ConvergenceReason" + ] = ... + SINGULAR_MATRIX: typing.ClassVar[ + "LevenbergMarquardtResult.ConvergenceReason" + ] = ... def isConverged(self) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'LevenbergMarquardtResult.ConvergenceReason': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "LevenbergMarquardtResult.ConvergenceReason": ... @staticmethod - def values() -> typing.MutableSequence['LevenbergMarquardtResult.ConvergenceReason']: ... + def values() -> ( + typing.MutableSequence["LevenbergMarquardtResult.ConvergenceReason"] + ): ... class LevenbergMarquardtAbsDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> 'LevenbergMarquardtAbsDev': ... + def clone(self) -> "LevenbergMarquardtAbsDev": ... class LevenbergMarquardtBiasDev(LevenbergMarquardt): def __init__(self): ... - def calcAlphaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calcAlphaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def calcBetaMatrix(self) -> typing.MutableSequence[float]: ... def calcChiSquare(self) -> float: ... - def clone(self) -> 'LevenbergMarquardtBiasDev': ... - + def clone(self) -> "LevenbergMarquardtBiasDev": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.statistics.parameterfitting.nonlinearparameterfitting")``. diff --git a/src/jneqsim-stubs/thermo/__init__.pyi b/src/jneqsim-stubs/thermo/__init__.pyi index 000cfef3..62d76dee 100644 --- a/src/jneqsim-stubs/thermo/__init__.pyi +++ b/src/jneqsim-stubs/thermo/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,27 +17,43 @@ import jneqsim.thermo.system import jneqsim.thermo.util import typing - - class Fluid: def __init__(self): ... def addComponment(self, string: typing.Union[java.lang.String, str]) -> None: ... - def create(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def create( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload - def create2(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + def create2( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload - def create2(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... - def createFluid(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def create2( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.thermo.system.SystemInterface: ... + def createFluid( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.thermo.system.SystemInterface: ... def getFluid(self) -> jneqsim.thermo.system.SystemInterface: ... def getThermoMixingRule(self) -> java.lang.String: ... def getThermoModel(self) -> java.lang.String: ... def isAutoSelectModel(self) -> bool: ... def isHasWater(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def setAutoSelectModel(self, boolean: bool) -> None: ... def setHasWater(self, boolean: bool) -> None: ... - def setThermoMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setThermoMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setThermoModel(self, string: typing.Union[java.lang.String, str]) -> None: ... class FluidCreator: @@ -47,13 +63,21 @@ class FluidCreator: thermoMixingRule: typing.ClassVar[java.lang.String] = ... @typing.overload @staticmethod - def create(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def create( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def create(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + def create( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def create(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def create( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.thermo.system.SystemInterface: ... class ThermodynamicConstantsInterface(java.io.Serializable): R: typing.ClassVar[float] = ... @@ -80,6 +104,7 @@ class ThermodynamicModelSettings(java.io.Serializable): def isUseWarmStartKValues() -> bool: ... @staticmethod def setUseWarmStartKValues(boolean: bool) -> None: ... + class Flags: ... class ThermodynamicModelTest(ThermodynamicConstantsInterface): @@ -96,7 +121,6 @@ class ThermodynamicModelTest(ThermodynamicConstantsInterface): def runTest(self) -> None: ... def setMaxError(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo")``. diff --git a/src/jneqsim-stubs/thermo/atomelement/__init__.pyi b/src/jneqsim-stubs/thermo/atomelement/__init__.pyi index 45b62139..4072cfb7 100644 --- a/src/jneqsim-stubs/thermo/atomelement/__init__.pyi +++ b/src/jneqsim-stubs/thermo/atomelement/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,8 +13,6 @@ import jneqsim.thermo.component import jneqsim.thermo.phase import typing - - class Element(jneqsim.thermo.ThermodynamicConstantsInterface): def __init__(self, string: typing.Union[java.lang.String, str]): ... @staticmethod @@ -22,19 +20,29 @@ class Element(jneqsim.thermo.ThermodynamicConstantsInterface): def getElementCoefs(self) -> typing.MutableSequence[float]: ... def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... - def getNumberOfElements(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNumberOfElements( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... -class UNIFACgroup(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comparable['UNIFACgroup']): +class UNIFACgroup( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comparable["UNIFACgroup"] +): QMixdN: typing.MutableSequence[float] = ... @typing.overload def __init__(self): ... @typing.overload def __init__(self, int: int, int2: int): ... - def calcQComp(self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac) -> float: ... + def calcQComp( + self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac + ) -> float: ... def calcQMix(self, phaseGEUnifac: jneqsim.thermo.phase.PhaseGEUnifac) -> float: ... - def calcQMixdN(self, phaseGEUnifac: jneqsim.thermo.phase.PhaseGEUnifac) -> typing.MutableSequence[float]: ... - def calcXComp(self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac) -> float: ... - def compareTo(self, uNIFACgroup: 'UNIFACgroup') -> int: ... + def calcQMixdN( + self, phaseGEUnifac: jneqsim.thermo.phase.PhaseGEUnifac + ) -> typing.MutableSequence[float]: ... + def calcXComp( + self, componentGEUnifac: jneqsim.thermo.component.ComponentGEUnifac + ) -> float: ... + def compareTo(self, uNIFACgroup: "UNIFACgroup") -> int: ... def equals(self, object: typing.Any) -> bool: ... def getGroupIndex(self) -> int: ... def getGroupName(self) -> java.lang.String: ... @@ -72,12 +80,13 @@ class UNIFACgroup(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Comp def setQ(self, double: float) -> None: ... def setQComp(self, double: float) -> None: ... def setQMix(self, double: float) -> None: ... - def setQMixdN(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setQMixdN( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setR(self, double: float) -> None: ... def setSubGroup(self, int: int) -> None: ... def setXComp(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.atomelement")``. diff --git a/src/jneqsim-stubs/thermo/characterization/__init__.pyi b/src/jneqsim-stubs/thermo/characterization/__init__.pyi index b7d4a0a2..34737423 100644 --- a/src/jneqsim-stubs/thermo/characterization/__init__.pyi +++ b/src/jneqsim-stubs/thermo/characterization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,16 +13,18 @@ import neqsim import jneqsim.thermo.system import typing - - class AsphalteneCharacterization: CII_STABLE_LIMIT: typing.ClassVar[float] = ... CII_UNSTABLE_LIMIT: typing.ClassVar[float] = ... @typing.overload def __init__(self): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float): ... - def addAsphalteneComponents(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def __init__( + self, double: float, double2: float, double3: float, double4: float + ): ... + def addAsphalteneComponents( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> None: ... def estimateAsphalteneMolecularWeight(self) -> float: ... def estimateResinMolecularWeight(self) -> float: ... def evaluateStability(self) -> java.lang.String: ... @@ -44,7 +46,9 @@ class AsphalteneCharacterization: def setMwAsphaltene(self, double: float) -> None: ... def setMwResin(self, double: float) -> None: ... def setResins(self, double: float) -> None: ... - def setSARAFractions(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setSARAFractions( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... def setSaturates(self, double: float) -> None: ... class BiomassCharacterization(java.io.Serializable): @@ -71,11 +75,23 @@ class BiomassCharacterization(java.io.Serializable): def getVolatileMatter(self) -> float: ... def isCalculated(self) -> bool: ... @staticmethod - def library(string: typing.Union[java.lang.String, str]) -> 'BiomassCharacterization': ... + def library( + string: typing.Union[java.lang.String, str] + ) -> "BiomassCharacterization": ... def setHHV(self, double: float) -> None: ... def setLHV(self, double: float) -> None: ... - def setProximateAnalysis(self, double: float, double2: float, double3: float, double4: float) -> None: ... - def setUltimateAnalysis(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... + def setProximateAnalysis( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... + def setUltimateAnalysis( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... def toMap(self) -> java.util.Map[java.lang.String, float]: ... def toString(self) -> java.lang.String: ... @@ -86,30 +102,46 @@ class Characterise(java.io.Serializable, java.lang.Cloneable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def characterisePlusFraction(self) -> None: ... @typing.overload - def characterizeToReference(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... - @typing.overload - def characterizeToReference(self, systemInterface: jneqsim.thermo.system.SystemInterface, characterizationOptions: 'CharacterizationOptions') -> jneqsim.thermo.system.SystemInterface: ... - def clone(self) -> 'Characterise': ... - def configureLumping(self) -> 'LumpingConfigBuilder': ... - def getLumpingModel(self) -> 'LumpingModelInterface': ... - def getPlusFractionModel(self) -> 'PlusFractionModelInterface': ... - def getTBPModel(self) -> 'TBPModelInterface': ... - def setAutoEstimateGammaAlpha(self, boolean: bool) -> 'Characterise': ... - def setGammaDensityModel(self, string: typing.Union[java.lang.String, str]) -> 'Characterise': ... - def setGammaMinMW(self, double: float) -> 'Characterise': ... - def setGammaShapeParameter(self, double: float) -> 'Characterise': ... + def characterizeToReference( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> jneqsim.thermo.system.SystemInterface: ... + @typing.overload + def characterizeToReference( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + characterizationOptions: "CharacterizationOptions", + ) -> jneqsim.thermo.system.SystemInterface: ... + def clone(self) -> "Characterise": ... + def configureLumping(self) -> "LumpingConfigBuilder": ... + def getLumpingModel(self) -> "LumpingModelInterface": ... + def getPlusFractionModel(self) -> "PlusFractionModelInterface": ... + def getTBPModel(self) -> "TBPModelInterface": ... + def setAutoEstimateGammaAlpha(self, boolean: bool) -> "Characterise": ... + def setGammaDensityModel( + self, string: typing.Union[java.lang.String, str] + ) -> "Characterise": ... + def setGammaMinMW(self, double: float) -> "Characterise": ... + def setGammaShapeParameter(self, double: float) -> "Characterise": ... def setLumpingModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setPlusFractionModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setPlusFractionModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTBPModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... - def transferBipsFrom(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'Characterise': ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... + def transferBipsFrom( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "Characterise": ... class CharacteriseInterface: PVTsimMolarMass: typing.ClassVar[typing.MutableSequence[float]] = ... def addCharacterizedPlusFraction(self) -> None: ... def addHeavyEnd(self) -> None: ... def addTBPFractions(self) -> None: ... - def generatePlusFractions(self, int: int, int2: int, double: float, double2: float) -> None: ... + def generatePlusFractions( + self, int: int, int2: int, double: float, double2: float + ) -> None: ... def generateTBPFractions(self) -> None: ... def getCoef(self, int: int) -> float: ... def getCoefs(self) -> typing.MutableSequence[float]: ... @@ -130,23 +162,27 @@ class CharacteriseInterface: @typing.overload def setCoefs(self, double: float, int: int) -> None: ... @typing.overload - def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDensLastTBP(self, double: float) -> None: ... def setMPlus(self, double: float) -> None: ... def setNumberOfPseudocomponents(self, int: int) -> None: ... - def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPlusCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPseudocomponents(self, boolean: bool) -> None: ... def setZPlus(self, double: float) -> None: ... def solve(self) -> None: ... class CharacterizationOptions: @staticmethod - def builder() -> 'CharacterizationOptions.Builder': ... + def builder() -> "CharacterizationOptions.Builder": ... @staticmethod - def defaults() -> 'CharacterizationOptions': ... + def defaults() -> "CharacterizationOptions": ... def getCompositionTolerance(self) -> float: ... def getDelumpResolution(self) -> int: ... - def getNamingScheme(self) -> 'CharacterizationOptions.NamingScheme': ... + def getNamingScheme(self) -> "CharacterizationOptions.NamingScheme": ... def isDelumpBeforeRecharacterization(self) -> bool: ... def isGenerateValidationReport(self) -> bool: ... def isInheritReferenceProperties(self) -> bool: ... @@ -154,36 +190,65 @@ class CharacterizationOptions: def isSharedImaginaryBoundaries(self) -> bool: ... def isTransferBinaryInteractionParameters(self) -> bool: ... @staticmethod - def withBipTransfer() -> 'CharacterizationOptions': ... + def withBipTransfer() -> "CharacterizationOptions": ... + class Builder: def __init__(self): ... - def build(self) -> 'CharacterizationOptions': ... - def compositionTolerance(self, double: float) -> 'CharacterizationOptions.Builder': ... - def delumpBeforeRecharacterization(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - def delumpResolution(self, int: int) -> 'CharacterizationOptions.Builder': ... - def generateValidationReport(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - def inheritReferenceProperties(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - def namingScheme(self, namingScheme: 'CharacterizationOptions.NamingScheme') -> 'CharacterizationOptions.Builder': ... - def normalizeComposition(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - def sharedImaginaryBoundaries(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - def transferBinaryInteractionParameters(self, boolean: bool) -> 'CharacterizationOptions.Builder': ... - class NamingScheme(java.lang.Enum['CharacterizationOptions.NamingScheme']): - REFERENCE: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... - SEQUENTIAL: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... - CARBON_NUMBER: typing.ClassVar['CharacterizationOptions.NamingScheme'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def build(self) -> "CharacterizationOptions": ... + def compositionTolerance( + self, double: float + ) -> "CharacterizationOptions.Builder": ... + def delumpBeforeRecharacterization( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + def delumpResolution(self, int: int) -> "CharacterizationOptions.Builder": ... + def generateValidationReport( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + def inheritReferenceProperties( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + def namingScheme( + self, namingScheme: "CharacterizationOptions.NamingScheme" + ) -> "CharacterizationOptions.Builder": ... + def normalizeComposition( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + def sharedImaginaryBoundaries( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + def transferBinaryInteractionParameters( + self, boolean: bool + ) -> "CharacterizationOptions.Builder": ... + + class NamingScheme(java.lang.Enum["CharacterizationOptions.NamingScheme"]): + REFERENCE: typing.ClassVar["CharacterizationOptions.NamingScheme"] = ... + SEQUENTIAL: typing.ClassVar["CharacterizationOptions.NamingScheme"] = ... + CARBON_NUMBER: typing.ClassVar["CharacterizationOptions.NamingScheme"] = ... + _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: ... + 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]) -> 'CharacterizationOptions.NamingScheme': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "CharacterizationOptions.NamingScheme": ... @staticmethod - def values() -> typing.MutableSequence['CharacterizationOptions.NamingScheme']: ... + def values() -> ( + typing.MutableSequence["CharacterizationOptions.NamingScheme"] + ): ... class CharacterizationValidationReport: @staticmethod - def generate(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, systemInterface3: jneqsim.thermo.system.SystemInterface) -> 'CharacterizationValidationReport': ... + def generate( + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + systemInterface3: jneqsim.thermo.system.SystemInterface, + ) -> "CharacterizationValidationReport": ... def getMassDifferencePercent(self) -> float: ... def getMolesDifferencePercent(self) -> float: ... def getResultPseudoComponentCount(self) -> int: ... @@ -196,11 +261,13 @@ class CharacterizationValidationReport: class LumpingConfigBuilder: def __init__(self, characterise: Characterise): ... def build(self) -> Characterise: ... - def customBoundaries(self, *int: int) -> 'LumpingConfigBuilder': ... - def model(self, string: typing.Union[java.lang.String, str]) -> 'LumpingConfigBuilder': ... - def noLumping(self) -> 'LumpingConfigBuilder': ... - def plusFractionGroups(self, int: int) -> 'LumpingConfigBuilder': ... - def totalPseudoComponents(self, int: int) -> 'LumpingConfigBuilder': ... + def customBoundaries(self, *int: int) -> "LumpingConfigBuilder": ... + def model( + self, string: typing.Union[java.lang.String, str] + ) -> "LumpingConfigBuilder": ... + def noLumping(self) -> "LumpingConfigBuilder": ... + def plusFractionGroups(self, int: int) -> "LumpingConfigBuilder": ... + def totalPseudoComponents(self, int: int) -> "LumpingConfigBuilder": ... class LumpingModelInterface: def generateLumpedComposition(self, characterise: Characterise) -> None: ... @@ -212,7 +279,9 @@ class LumpingModelInterface: def getNumberOfLumpedComponents(self) -> int: ... def getNumberOfPseudoComponents(self) -> int: ... def hasCustomBoundaries(self) -> bool: ... - def setCustomBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setCustomBoundaries( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> None: ... def setNumberOfLumpedComponents(self, int: int) -> None: ... def setNumberOfPseudoComponents(self, int: int) -> None: ... @@ -232,25 +301,38 @@ class LumpingResult(java.io.Serializable): def hasWarnings(self) -> bool: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... + class Builder: def __init__(self): ... - def addWarning(self, string: typing.Union[java.lang.String, str]) -> 'LumpingResult.Builder': ... - def build(self) -> 'LumpingResult': ... - def carbonNumberBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> 'LumpingResult.Builder': ... - def lumpedAverageDensity(self, double: float) -> 'LumpingResult.Builder': ... - def lumpedAverageMW(self, double: float) -> 'LumpingResult.Builder': ... - def lumpedComponentCount(self, int: int) -> 'LumpingResult.Builder': ... - def lumpedComponentNames(self, list: java.util.List[typing.Union[java.lang.String, str]]) -> 'LumpingResult.Builder': ... - def modelName(self, string: typing.Union[java.lang.String, str]) -> 'LumpingResult.Builder': ... - def originalAverageDensity(self, double: float) -> 'LumpingResult.Builder': ... - def originalAverageMW(self, double: float) -> 'LumpingResult.Builder': ... - def originalComponentCount(self, int: int) -> 'LumpingResult.Builder': ... + def addWarning( + self, string: typing.Union[java.lang.String, str] + ) -> "LumpingResult.Builder": ... + def build(self) -> "LumpingResult": ... + def carbonNumberBoundaries( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> "LumpingResult.Builder": ... + def lumpedAverageDensity(self, double: float) -> "LumpingResult.Builder": ... + def lumpedAverageMW(self, double: float) -> "LumpingResult.Builder": ... + def lumpedComponentCount(self, int: int) -> "LumpingResult.Builder": ... + def lumpedComponentNames( + self, list: java.util.List[typing.Union[java.lang.String, str]] + ) -> "LumpingResult.Builder": ... + def modelName( + self, string: typing.Union[java.lang.String, str] + ) -> "LumpingResult.Builder": ... + def originalAverageDensity(self, double: float) -> "LumpingResult.Builder": ... + def originalAverageMW(self, double: float) -> "LumpingResult.Builder": ... + def originalComponentCount(self, int: int) -> "LumpingResult.Builder": ... class NewtonSolveAB(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + tBPCharacterize: "TBPCharacterize", + ): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -259,7 +341,11 @@ class NewtonSolveABCD(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, tBPCharacterize: 'TBPCharacterize'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + tBPCharacterize: "TBPCharacterize", + ): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... @@ -268,25 +354,39 @@ class NewtonSolveCDplus(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, plusCharacterize: 'PlusCharacterize'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + plusCharacterize: "PlusCharacterize", + ): ... def setJac(self) -> None: ... def setfvec(self) -> None: ... def solve(self) -> None: ... 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 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 apply(self) -> None: ... def clearCuts(self) -> None: ... - def clone(self) -> 'OilAssayCharacterisation': ... - def getCuts(self) -> java.util.List['OilAssayCharacterisation.AssayCut']: ... + def clone(self) -> "OilAssayCharacterisation": ... + def getCuts(self) -> java.util.List["OilAssayCharacterisation.AssayCut"]: ... def getTotalAssayMass(self) -> float: ... - def setThermoSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setThermoSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setTotalAssayMass(self, double: float) -> None: ... + class AssayCut(java.lang.Cloneable, java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def clone(self) -> 'OilAssayCharacterisation.AssayCut': ... + def clone(self) -> "OilAssayCharacterisation.AssayCut": ... def getMassFraction(self) -> float: ... def getName(self) -> java.lang.String: ... def getVolumeFraction(self) -> float: ... @@ -296,16 +396,34 @@ class OilAssayCharacterisation(java.lang.Cloneable, java.io.Serializable): def resolveAverageBoilingPoint(self) -> float: ... def resolveDensity(self) -> float: ... def resolveMolarMass(self, double: float, double2: float) -> float: ... - def withApiGravity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withAverageBoilingPointCelsius(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withAverageBoilingPointFahrenheit(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withAverageBoilingPointKelvin(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withDensity(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withMassFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withMolarMass(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withVolumeFraction(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withVolumePercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... - def withWeightPercent(self, double: float) -> 'OilAssayCharacterisation.AssayCut': ... + def withApiGravity( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withAverageBoilingPointCelsius( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withAverageBoilingPointFahrenheit( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withAverageBoilingPointKelvin( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withDensity(self, double: float) -> "OilAssayCharacterisation.AssayCut": ... + def withMassFraction( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withMolarMass( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withVolumeFraction( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withVolumePercent( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... + def withWeightPercent( + self, double: float + ) -> "OilAssayCharacterisation.AssayCut": ... class PedersenAsphalteneCharacterization: DEFAULT_ASPHALTENE_MW: typing.ClassVar[float] = ... @@ -325,12 +443,30 @@ class PedersenAsphalteneCharacterization: def TPflash(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... @typing.overload @staticmethod - def TPflash(systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> bool: ... - def addAsphalteneToSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... - def addDistributedAsphaltene(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int) -> None: ... - def applyAsphalteneKij(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def TPflash( + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> bool: ... + def addAsphalteneToSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> java.lang.String: ... + def addDistributedAsphaltene( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ) -> None: ... + def applyAsphalteneKij( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> None: ... def assessStability(self, double: float) -> java.lang.String: ... - def calculateOnsetPressure(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calculateOnsetPressure( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calculateSolubilityParameter(self, double: float) -> float: ... def characterize(self) -> None: ... def getAcentricFactor(self) -> float: ... @@ -348,9 +484,13 @@ class PedersenAsphalteneCharacterization: def getTcMultiplier(self) -> float: ... def isCharacterized(self) -> bool: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod - def markAsphalteneRichLiquidPhases(systemInterface: jneqsim.thermo.system.SystemInterface) -> bool: ... + def markAsphalteneRichLiquidPhases( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> bool: ... def resetTuningParameters(self) -> None: ... def setAsphalteneDensity(self, double: float) -> None: ... def setAsphalteneMW(self, double: float) -> None: ... @@ -361,14 +501,20 @@ class PedersenAsphalteneCharacterization: def setPcMultiplier(self, double: float) -> None: ... def setTbMultiplier(self, double: float) -> None: ... def setTcMultiplier(self, double: float) -> None: ... - def setTuningParameters(self, double: float, double2: float, double3: float) -> None: ... + def setTuningParameters( + self, double: float, double2: float, double3: float + ) -> None: ... def toString(self) -> java.lang.String: ... class PedersenPlusModelSolver(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, pedersenPlusModel: 'PlusFractionModel.PedersenPlusModel'): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + pedersenPlusModel: "PlusFractionModel.PedersenPlusModel", + ): ... def setJacAB(self) -> None: ... def setJacCD(self) -> None: ... def setfvecAB(self) -> None: ... @@ -377,11 +523,16 @@ class PedersenPlusModelSolver(java.io.Serializable): class PlusFractionModel(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getModel(self, string: typing.Union[java.lang.String, str]) -> 'PlusFractionModelInterface': ... + def getModel( + self, string: typing.Union[java.lang.String, str] + ) -> "PlusFractionModelInterface": ... + class PedersenPlusModel: ... class PlusFractionModelInterface(java.io.Serializable): - def characterizePlusFraction(self, tBPModelInterface: 'TBPModelInterface') -> bool: ... + def characterizePlusFraction( + self, tBPModelInterface: "TBPModelInterface" + ) -> bool: ... def getCoef(self, int: int) -> float: ... def getCoefs(self) -> typing.MutableSequence[float]: ... def getDens(self) -> typing.MutableSequence[float]: ... @@ -403,31 +554,67 @@ class PlusFractionModelInterface(java.io.Serializable): class PseudoComponentCombiner: @typing.overload @staticmethod - def characterizeToCommonSlate(list: java.util.List[jneqsim.thermo.system.SystemInterface], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> java.util.List[jneqsim.thermo.system.SystemInterface]: ... + def characterizeToCommonSlate( + list: java.util.List[jneqsim.thermo.system.SystemInterface], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> java.util.List[jneqsim.thermo.system.SystemInterface]: ... @typing.overload @staticmethod - def characterizeToCommonSlate(list: java.util.List[jneqsim.thermo.system.SystemInterface], doubleArray: typing.Union[typing.List[float], jpype.JArray], int: int) -> java.util.List[jneqsim.thermo.system.SystemInterface]: ... + def characterizeToCommonSlate( + list: java.util.List[jneqsim.thermo.system.SystemInterface], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + int: int, + ) -> java.util.List[jneqsim.thermo.system.SystemInterface]: ... @typing.overload @staticmethod - def characterizeToReference(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + def characterizeToReference( + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def characterizeToReference(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, characterizationOptions: CharacterizationOptions) -> jneqsim.thermo.system.SystemInterface: ... + def characterizeToReference( + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + characterizationOptions: CharacterizationOptions, + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def combineReservoirFluids(int: int, collection: typing.Union[java.util.Collection[jneqsim.thermo.system.SystemInterface], typing.Sequence[jneqsim.thermo.system.SystemInterface], typing.Set[jneqsim.thermo.system.SystemInterface]]) -> jneqsim.thermo.system.SystemInterface: ... + def combineReservoirFluids( + int: int, + collection: typing.Union[ + java.util.Collection[jneqsim.thermo.system.SystemInterface], + typing.Sequence[jneqsim.thermo.system.SystemInterface], + typing.Set[jneqsim.thermo.system.SystemInterface], + ], + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def combineReservoirFluids(int: int, *systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + def combineReservoirFluids( + int: int, *systemInterface: jneqsim.thermo.system.SystemInterface + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def generateValidationReport(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface, systemInterface3: jneqsim.thermo.system.SystemInterface) -> CharacterizationValidationReport: ... + def generateValidationReport( + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + systemInterface3: jneqsim.thermo.system.SystemInterface, + ) -> CharacterizationValidationReport: ... @staticmethod - def normalizeComposition(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def normalizeComposition( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> None: ... @staticmethod - def transferBinaryInteractionParameters(systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface) -> None: ... + def transferBinaryInteractionParameters( + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ) -> None: ... class Recombine: - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, systemInterface2: jneqsim.thermo.system.SystemInterface): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + systemInterface2: jneqsim.thermo.system.SystemInterface, + ): ... def getGOR(self) -> float: ... def getOilDesnity(self) -> float: ... def getRecombinedSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -442,10 +629,17 @@ class TBPModelInterface: def calcCriticalVolume(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... def calcParachorParameter(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTB(self, double: float, double2: float) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... - def calcWatsonCharacterizationFactor(self, double: float, double2: float) -> float: ... + def calcWatsonCharacterizationFactor( + self, double: float, double2: float + ) -> float: ... def calcm(self, double: float, double2: float) -> float: ... def getName(self) -> java.lang.String: ... def isCalcm(self) -> bool: ... @@ -453,21 +647,31 @@ class TBPModelInterface: class WaxModelInterface(java.io.Serializable, java.lang.Cloneable): def addTBPWax(self) -> None: ... - def clone(self) -> 'WaxModelInterface': ... + def clone(self) -> "WaxModelInterface": ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature(self) -> typing.MutableSequence[float]: ... + def getParameterWaxTriplePointTemperature( + self, + ) -> typing.MutableSequence[float]: ... def getWaxParameters(self) -> typing.MutableSequence[float]: ... def removeWax(self) -> None: ... @typing.overload - def setParameterWaxHeatOfFusion(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterWaxHeatOfFusion( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setParameterWaxHeatOfFusion(self, int: int, double: float) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterWaxTriplePointTemperature( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + def setParameterWaxTriplePointTemperature( + self, int: int, double: float + ) -> None: ... def setWaxParameter(self, int: int, double: float) -> None: ... - def setWaxParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setWaxParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class PlusCharacterize(java.io.Serializable, CharacteriseInterface): @typing.overload @@ -479,7 +683,9 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): def addPseudoTBPfraction(self, int: int, int2: int) -> None: ... def addTBPFractions(self) -> None: ... def characterizePlusFraction(self) -> None: ... - def generatePlusFractions(self, int: int, int2: int, double: float, double2: float) -> None: ... + def generatePlusFractions( + self, int: int, int2: int, double: float, double2: float + ) -> None: ... def generateTBPFractions(self) -> None: ... def getCarbonNumberVector(self) -> typing.MutableSequence[int]: ... def getCoef(self, int: int) -> float: ... @@ -501,18 +707,24 @@ class PlusCharacterize(java.io.Serializable, CharacteriseInterface): def hasPlusFraction(self) -> bool: ... def isPseudocomponents(self) -> bool: ... def removeTBPfraction(self) -> None: ... - def setCarbonNumberVector(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setCarbonNumberVector( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> None: ... @typing.overload def setCoefs(self, double: float, int: int) -> None: ... @typing.overload - def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDensLastTBP(self, double: float) -> None: ... def setDensPlus(self, double: float) -> None: ... def setFirstPlusFractionNumber(self, int: int) -> None: ... def setHeavyTBPtoPlus(self) -> None: ... def setMPlus(self, double: float) -> None: ... def setNumberOfPseudocomponents(self, int: int) -> None: ... - def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPlusCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setPseudocomponents(self, boolean: bool) -> None: ... def setZPlus(self, double: float) -> None: ... def solve(self) -> None: ... @@ -545,44 +757,73 @@ class TBPCharacterize(PlusCharacterize): def groupTBPfractions(self) -> bool: ... def isPseudocomponents(self) -> bool: ... def saveCharacterizedFluid(self) -> bool: ... - def setCalcTBPfractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setCarbonNumberVector(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setCalcTBPfractions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setCarbonNumberVector( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> None: ... @typing.overload def setCoefs(self, double: float, int: int) -> None: ... @typing.overload - def setCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setDensPlus(self, double: float) -> None: ... - def setPlusCoefs(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTBP_M(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTBPdens(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setTBPfractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setPlusCoefs( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTBP_M( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTBPdens( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setTBPfractions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def solve(self) -> None: ... def solveAB(self) -> None: ... class LumpingModel(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getModel(self, string: typing.Union[java.lang.String, str]) -> LumpingModelInterface: ... - class NoLumpingModel(jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel): - def __init__(self, lumpingModel: 'LumpingModel'): ... + def getModel( + self, string: typing.Union[java.lang.String, str] + ) -> LumpingModelInterface: ... + + class NoLumpingModel( + jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel + ): + def __init__(self, lumpingModel: "LumpingModel"): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... - class PVTLumpingModel(jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel): - def __init__(self, lumpingModel: 'LumpingModel'): ... + + class PVTLumpingModel( + jneqsim.thermo.characterization.LumpingModel.StandardLumpingModel + ): + def __init__(self, lumpingModel: "LumpingModel"): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... def setNumberOfPseudoComponents(self, int: int) -> None: ... - class StandardLumpingModel(LumpingModelInterface, java.lang.Cloneable, java.io.Serializable): - def __init__(self, lumpingModel: 'LumpingModel'): ... + + class StandardLumpingModel( + LumpingModelInterface, java.lang.Cloneable, java.io.Serializable + ): + def __init__(self, lumpingModel: "LumpingModel"): ... def generateLumpedComposition(self, characterise: Characterise) -> None: ... def getCustomBoundaries(self) -> typing.MutableSequence[int]: ... def getFractionOfHeavyEnd(self, int: int) -> float: ... def getLumpedComponentName(self, int: int) -> java.lang.String: ... - def getLumpedComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... + def getLumpedComponentNames( + self, + ) -> typing.MutableSequence[java.lang.String]: ... def getName(self) -> java.lang.String: ... def getNumberOfLumpedComponents(self) -> int: ... def getNumberOfPseudoComponents(self) -> int: ... def hasCustomBoundaries(self) -> bool: ... - def setCustomBoundaries(self, intArray: typing.Union[typing.List[int], jpype.JArray]) -> None: ... + def setCustomBoundaries( + self, intArray: typing.Union[typing.List[int], jpype.JArray] + ) -> None: ... def setNumberOfLumpedComponents(self, int: int) -> None: ... def setNumberOfPseudoComponents(self, int: int) -> None: ... @@ -595,70 +836,131 @@ class TBPfractionModel(java.io.Serializable): def calcWatsonKFactor(self, double: float, double2: float) -> float: ... @staticmethod def getAvailableModels() -> typing.MutableSequence[java.lang.String]: ... - def getModel(self, string: typing.Union[java.lang.String, str]) -> TBPModelInterface: ... - def recommendTBPModel(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getModel( + self, string: typing.Union[java.lang.String, str] + ) -> TBPModelInterface: ... + def recommendTBPModel( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... + class CavettModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTB(self, double: float, double2: float) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... + class LeeKesler(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... - class PedersenTBPModelPR(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... - class PedersenTBPModelPR2(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + + class PedersenTBPModelPR( + jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... + + class PedersenTBPModelPR2( + jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcTB(self, double: float, double2: float) -> float: ... - class PedersenTBPModelPRHeavyOil(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelPR): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... - class PedersenTBPModelSRK(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + + class PedersenTBPModelPRHeavyOil( + jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelPR + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... + + class PedersenTBPModelSRK( + jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcPC(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTB(self, double: float, double2: float) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... def calcm(self, double: float, double2: float) -> float: ... - class PedersenTBPModelSRKHeavyOil(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... - class RiaziDaubert(jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + + class PedersenTBPModelSRKHeavyOil( + jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... + + class RiaziDaubert( + jneqsim.thermo.characterization.TBPfractionModel.PedersenTBPModelSRK + ): + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... def calcAcentricFactor2(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... def calcTB(self, double: float, double2: float) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... + class StandingModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... + class TBPBaseModel(TBPModelInterface, java.lang.Cloneable, java.io.Serializable): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcAcentricFactor(self, double: float, double2: float) -> float: ... - def calcAcentricFactorKeslerLee(self, double: float, double2: float) -> float: ... + def calcAcentricFactorKeslerLee( + self, double: float, double2: float + ) -> float: ... def calcCriticalViscosity(self, double: float, double2: float) -> float: ... def calcCriticalVolume(self, double: float, double2: float) -> float: ... def calcParachorParameter(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTB(self, double: float, double2: float) -> float: ... - def calcWatsonCharacterizationFactor(self, double: float, double2: float) -> float: ... + def calcWatsonCharacterizationFactor( + self, double: float, double2: float + ) -> float: ... def calcm(self, double: float, double2: float) -> float: ... def getBoilingPoint(self) -> float: ... def getName(self) -> java.lang.String: ... def isCalcm(self) -> bool: ... def setBoilingPoint(self, double: float) -> None: ... + class TwuModel(jneqsim.thermo.characterization.TBPfractionModel.TBPBaseModel): - def __init__(self, tBPfractionModel: 'TBPfractionModel'): ... + def __init__(self, tBPfractionModel: "TBPfractionModel"): ... def calcCriticalVolume(self, double: float, double2: float) -> float: ... def calcPC(self, double: float, double2: float) -> float: ... - def calcRacketZ(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float) -> float: ... + def calcRacketZ( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ) -> float: ... def calcTC(self, double: float, double2: float) -> float: ... def calculateTfunc(self, double: float, double2: float) -> float: ... def computeGradient(self, double: float, double2: float) -> float: ... @@ -666,39 +968,56 @@ class TBPfractionModel(java.io.Serializable): class WaxCharacterise(java.io.Serializable, java.lang.Cloneable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def clone(self) -> 'WaxCharacterise': ... + def clone(self) -> "WaxCharacterise": ... @typing.overload def getModel(self) -> WaxModelInterface: ... @typing.overload - def getModel(self, string: typing.Union[java.lang.String, str]) -> WaxModelInterface: ... + def getModel( + self, string: typing.Union[java.lang.String, str] + ) -> WaxModelInterface: ... def setModel(self, string: typing.Union[java.lang.String, str]) -> None: ... def setModelName(self, string: typing.Union[java.lang.String, str]) -> None: ... - class PedersenWaxModel(jneqsim.thermo.characterization.WaxCharacterise.WaxBaseModel): - def __init__(self, waxCharacterise: 'WaxCharacterise'): ... + + class PedersenWaxModel( + jneqsim.thermo.characterization.WaxCharacterise.WaxBaseModel + ): + def __init__(self, waxCharacterise: "WaxCharacterise"): ... def addTBPWax(self) -> None: ... def calcHeatOfFusion(self, int: int) -> float: ... - def calcPCwax(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def calcPCwax( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... def calcParaffinDensity(self, int: int) -> float: ... def calcTriplePointTemperature(self, int: int) -> float: ... def removeWax(self) -> None: ... + class WaxBaseModel(WaxModelInterface): - def __init__(self, waxCharacterise: 'WaxCharacterise'): ... + def __init__(self, waxCharacterise: "WaxCharacterise"): ... def addTBPWax(self) -> None: ... - def clone(self) -> 'WaxCharacterise.WaxBaseModel': ... + def clone(self) -> "WaxCharacterise.WaxBaseModel": ... def getParameterWaxHeatOfFusion(self) -> typing.MutableSequence[float]: ... - def getParameterWaxTriplePointTemperature(self) -> typing.MutableSequence[float]: ... + def getParameterWaxTriplePointTemperature( + self, + ) -> typing.MutableSequence[float]: ... def getWaxParameters(self) -> typing.MutableSequence[float]: ... @typing.overload - def setParameterWaxHeatOfFusion(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterWaxHeatOfFusion( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setParameterWaxHeatOfFusion(self, int: int, double: float) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setParameterWaxTriplePointTemperature( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload - def setParameterWaxTriplePointTemperature(self, int: int, double: float) -> None: ... + def setParameterWaxTriplePointTemperature( + self, int: int, double: float + ) -> None: ... def setWaxParameter(self, int: int, double: float) -> None: ... - def setWaxParameters(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - + def setWaxParameters( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.characterization")``. diff --git a/src/jneqsim-stubs/thermo/component/__init__.pyi b/src/jneqsim-stubs/thermo/component/__init__.pyi index 8c1efbbb..18ff4c20 100644 --- a/src/jneqsim-stubs/thermo/component/__init__.pyi +++ b/src/jneqsim-stubs/thermo/component/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,22 +15,49 @@ import jneqsim.thermo.component.repulsiveeosterm import jneqsim.thermo.phase import typing - - -class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... +class ComponentInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def addMoles(self, double: float) -> None: ... @typing.overload def addMolesChemReac(self, double: float, double2: float) -> None: ... @typing.overload def addMolesChemReac(self, double: float) -> None: ... def calcActivity(self) -> bool: ... - def clone(self) -> 'ComponentInterface': ... - def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> "ComponentInterface": ... + def createComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def doSolidCheck(self) -> bool: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoefDiffPresNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def fugcoefDiffTempNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoefDiffPresNumeric( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def fugcoefDiffTempNumeric( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getAcentricFactor(self) -> float: ... def getAntoineASolid(self) -> float: ... def getAntoineBSolid(self) -> float: ... @@ -45,7 +72,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... def getAssociationVolumeSAFTVRMie(self) -> float: ... - def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm( + self, + ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... def getAttractiveTermNumber(self) -> int: ... def getCASnumber(self) -> java.lang.String: ... def getCCsolidVaporPressure(self, double: float) -> float: ... @@ -53,18 +82,34 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @typing.overload def getChemicalPotential(self, double: float, double2: float) -> float: ... @typing.overload - def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialIdealReference(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdNTV(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotential( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialIdealReference( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdN( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdNTV( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getChemicalPotentialdP(self) -> float: ... - def getChemicalPotentialdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getComponentName(self) -> java.lang.String: ... @staticmethod - def getComponentNameFromAlias(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getComponentNameFromAlias( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def getComponentNameMap() -> java.util.LinkedHashMap[java.lang.String, java.lang.String]: ... + def getComponentNameMap() -> ( + java.util.LinkedHashMap[java.lang.String, java.lang.String] + ): ... def getComponentNumber(self) -> int: ... def getComponentType(self) -> java.lang.String: ... def getCostaldCharacteristicVolume(self) -> float: ... @@ -119,21 +164,29 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def getMatiascopemanParams(self) -> typing.MutableSequence[float]: ... def getMatiascopemanSolidParams(self) -> typing.MutableSequence[float]: ... def getMeltingPointTemperature(self) -> float: ... - def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolality( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarMass(self) -> float: ... @typing.overload def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getMolarity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getName(self) -> java.lang.String: ... @typing.overload def getNormalBoilingPoint(self) -> float: ... @typing.overload - def getNormalBoilingPoint(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNormalBoilingPoint( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getNormalLiquidDensity(self) -> float: ... @typing.overload - def getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNormalLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -168,7 +221,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def getTC(self) -> float: ... @typing.overload def getTC(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -189,8 +244,12 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def getmSAFTi(self) -> float: ... def getx(self) -> float: ... def getz(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... - def insertComponentIntoDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... + def insertComponentIntoDatabase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def isHydrateFormer(self) -> bool: ... def isHydrocarbon(self) -> bool: ... def isInert(self) -> bool: ... @@ -199,10 +258,18 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def isIsPlusFraction(self) -> bool: ... def isIsTBPfraction(self) -> bool: ... def isWaxFormer(self) -> bool: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdNi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def reducedPressure(self, double: float) -> float: ... def reducedTemperature(self, double: float) -> float: ... def setAcentricFactor(self, double: float) -> None: ... @@ -212,7 +279,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... def setAssociationEnergySAFTVRMie(self, double: float) -> None: ... - def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssociationScheme( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setAssociationVolume(self, double: float) -> None: ... def setAssociationVolumeSAFT(self, double: float) -> None: ... def setAssociationVolumeSAFTVRMie(self, double: float) -> None: ... @@ -236,7 +305,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def setFormulae(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFugacityCoefficient(self, double: float) -> None: ... def setHeatOfFusion(self, double: float) -> None: ... - def setHenryCoefParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHenryCoefParameter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setIdealGasEnthalpyOfFormation(self, double: float) -> None: ... def setIsHydrateFormer(self, boolean: bool) -> None: ... def setIsIon(self, boolean: bool) -> None: ... @@ -252,13 +323,17 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la def setLiquidViscosityModel(self, int: int) -> None: ... def setLiquidViscosityParameter(self, double: float, int: int) -> None: ... @typing.overload - def setMatiascopemanParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMatiascopemanParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setMatiascopemanParams(self, int: int, double: float) -> None: ... @typing.overload def setMolarMass(self, double: float) -> None: ... @typing.overload - def setMolarMass(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMolarMass( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNormalBoilingPoint(self, double: float) -> None: ... def setNormalLiquidDensity(self, double: float) -> None: ... def setNumberOfAssociationSites(self, int: int) -> None: ... @@ -267,9 +342,11 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPC( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setParachorParameter(self, double: float) -> None: ... - def setProperties(self, componentInterface: 'ComponentInterface') -> None: ... + def setProperties(self, componentInterface: "ComponentInterface") -> None: ... def setRacketZ(self, double: float) -> None: ... def setRacketZCPA(self, double: float) -> None: ... def setReferencePotential(self, double: float) -> None: ... @@ -283,7 +360,9 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTC( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTriplePointTemperature(self, double: float) -> None: ... def setTwuCoonParams(self, int: int, double: float) -> None: ... def setViscosityAssociationFactor(self, double: float) -> None: ... @@ -307,22 +386,63 @@ class ComponentInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.la class Component(ComponentInterface): dfugdx: typing.MutableSequence[float] = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... @typing.overload def addMolesChemReac(self, double: float) -> None: ... @typing.overload def addMolesChemReac(self, double: float, double2: float) -> None: ... def calcActivity(self) -> bool: ... - def clone(self) -> 'Component': ... - def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def clone(self) -> "Component": ... + def createComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def doSolidCheck(self) -> bool: ... def equals(self, object: typing.Any) -> bool: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoefDiffPresNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def fugcoefDiffTempNumeric(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoefDiffPresNumeric( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def fugcoefDiffTempNumeric( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getAcentricFactor(self) -> float: ... def getAntoineASolid(self) -> float: ... def getAntoineBSolid(self) -> float: ... @@ -337,24 +457,40 @@ class Component(ComponentInterface): def getAssociationVolume(self) -> float: ... def getAssociationVolumeSAFT(self) -> float: ... def getAssociationVolumeSAFTVRMie(self) -> float: ... - def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm( + self, + ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... def getAttractiveTermNumber(self) -> int: ... def getCASnumber(self) -> java.lang.String: ... def getCCsolidVaporPressure(self, double: float) -> float: ... def getCCsolidVaporPressuredT(self, double: float) -> float: ... @typing.overload - def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotential( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getChemicalPotential(self, double: float, double2: float) -> float: ... - def getChemicalPotentialIdealReference(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdNTV(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialIdealReference( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdN( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdNTV( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getChemicalPotentialdP(self) -> float: ... @typing.overload - def getChemicalPotentialdP(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getChemicalPotentialdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotentialdP( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getChemicalPotentialdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getComponentName(self) -> java.lang.String: ... def getComponentNumber(self) -> int: ... def getComponentType(self) -> java.lang.String: ... @@ -381,7 +517,9 @@ class Component(ComponentInterface): def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getFormulae(self) -> java.lang.String: ... def getFugacityCoefficient(self) -> float: ... - def getFugacitydN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getFugacitydN( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getGibbsEnergy(self, double: float, double2: float) -> float: ... def getGibbsEnergyOfFormation(self) -> float: ... def getGresTP(self, double: float) -> float: ... @@ -417,21 +555,29 @@ class Component(ComponentInterface): def getMatiascopemanParamsUMRPRU(self) -> typing.MutableSequence[float]: ... def getMatiascopemanSolidParams(self) -> typing.MutableSequence[float]: ... def getMeltingPointTemperature(self) -> float: ... - def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolality( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarMass(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getMolarMass(self) -> float: ... - def getMolarity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getName(self) -> java.lang.String: ... @typing.overload def getNormalBoilingPoint(self) -> float: ... @typing.overload - def getNormalBoilingPoint(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNormalBoilingPoint( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getNormalLiquidDensity(self) -> float: ... @typing.overload - def getNormalLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getNormalLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getNumberOfAssociationSites(self) -> int: ... def getNumberOfMolesInPhase(self) -> float: ... def getNumberOfmoles(self) -> float: ... @@ -468,7 +614,9 @@ class Component(ComponentInterface): def getTC(self) -> float: ... @typing.overload def getTC(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getTotalFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getTotalFlowRate( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTriplePointDensity(self) -> float: ... def getTriplePointPressure(self) -> float: ... def getTriplePointTemperature(self) -> float: ... @@ -489,8 +637,12 @@ class Component(ComponentInterface): def getmSAFTi(self) -> float: ... def getx(self) -> float: ... def getz(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... - def insertComponentIntoDatabase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... + def insertComponentIntoDatabase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def isHydrateFormer(self) -> bool: ... def isHydrocarbon(self) -> bool: ... def isInert(self) -> bool: ... @@ -500,10 +652,18 @@ class Component(ComponentInterface): def isIsPlusFraction(self) -> bool: ... def isIsTBPfraction(self) -> bool: ... def isWaxFormer(self) -> bool: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdNi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def reducedPressure(self, double: float) -> float: ... def reducedTemperature(self, double: float) -> float: ... def setAcentricFactor(self, double: float) -> None: ... @@ -513,7 +673,9 @@ class Component(ComponentInterface): def setAssociationEnergy(self, double: float) -> None: ... def setAssociationEnergySAFT(self, double: float) -> None: ... def setAssociationEnergySAFTVRMie(self, double: float) -> None: ... - def setAssociationScheme(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setAssociationScheme( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setAssociationVolume(self, double: float) -> None: ... def setAssociationVolumeSAFT(self, double: float) -> None: ... def setAssociationVolumeSAFTVRMie(self, double: float) -> None: ... @@ -537,7 +699,9 @@ class Component(ComponentInterface): def setFormulae(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFugacityCoefficient(self, double: float) -> None: ... def setHeatOfFusion(self, double: float) -> None: ... - def setHenryCoefParameter(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setHenryCoefParameter( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setIdealGasEnthalpyOfFormation(self, double: float) -> None: ... def setIsHydrateFormer(self, boolean: bool) -> None: ... def setIsIon(self, boolean: bool) -> None: ... @@ -553,15 +717,21 @@ class Component(ComponentInterface): def setLiquidViscosityModel(self, int: int) -> None: ... def setLiquidViscosityParameter(self, double: float, int: int) -> None: ... @typing.overload - def setMatiascopemanParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMatiascopemanParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setMatiascopemanParams(self, int: int, double: float) -> None: ... def setMatiascopemanParamsPR(self, int: int, double: float) -> None: ... - def setMatiascopemanSolidParams(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMatiascopemanSolidParams( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setMolarMass(self, double: float) -> None: ... @typing.overload - def setMolarMass(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setMolarMass( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setNormalBoilingPoint(self, double: float) -> None: ... def setNormalLiquidDensity(self, double: float) -> None: ... def setNumberOfAssociationSites(self, int: int) -> None: ... @@ -570,7 +740,9 @@ class Component(ComponentInterface): @typing.overload def setPC(self, double: float) -> None: ... @typing.overload - def setPC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPC( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setParachorParameter(self, double: float) -> None: ... def setPaulingAnionicDiameter(self, double: float) -> None: ... def setProperties(self, componentInterface: ComponentInterface) -> None: ... @@ -589,7 +761,9 @@ class Component(ComponentInterface): @typing.overload def setTC(self, double: float) -> None: ... @typing.overload - def setTC(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setTC( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def setTriplePointTemperature(self, double: float) -> None: ... def setTwuCoonParams(self, int: int, double: float) -> None: ... def setViscosityAssociationFactor(self, double: float) -> None: ... @@ -615,10 +789,35 @@ class ComponentEosInterface(ComponentInterface): def aT(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def getAder(self) -> float: ... @@ -654,7 +853,26 @@ class ComponentGEInterface(ComponentInterface): @typing.overload def getGamma(self) -> float: ... @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 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 getGammaRefCor(self) -> float: ... def getLnGamma(self) -> float: ... def getLnGammadn(self, int: int) -> float: ... @@ -663,10 +881,22 @@ class ComponentGEInterface(ComponentInterface): def setLnGammadn(self, int: int, double: float) -> None: ... class ComponentCPAInterface(ComponentEosInterface): - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... def getXsiteOld(self) -> typing.MutableSequence[float]: ... def getXsitedT(self) -> typing.MutableSequence[float]: ... @@ -694,19 +924,67 @@ class ComponentEos(Component, ComponentEosInterface): Aij: typing.MutableSequence[float] = ... Bij: typing.MutableSequence[float] = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentEos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentEos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -717,14 +995,22 @@ class ComponentEos(Component, ComponentEosInterface): def getAi(self) -> float: ... def getAiT(self) -> float: ... def getAij(self, int: int) -> float: ... - def getAresnTV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getAttractiveParameter(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... - def getAttractiveTerm(self) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAresnTV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getAttractiveParameter( + self, + ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... + def getAttractiveTerm( + self, + ) -> jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface: ... def getBder(self) -> float: ... def getBi(self) -> float: ... def getBij(self, int: int) -> float: ... @typing.overload - def getChemicalPotential(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getChemicalPotential( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getChemicalPotential(self, double: float, double2: float) -> float: ... def getDeltaEosParameters(self) -> typing.MutableSequence[float]: ... @@ -742,18 +1028,39 @@ class ComponentEos(Component, ComponentEosInterface): def getdBdT(self) -> float: ... def getdBdndT(self) -> float: ... def getdBdndn(self, int: int) -> float: ... - def getdUdSdnV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getdUdVdnS(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getdUdnSV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getdUdndnSV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def getdUdSdnV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getdUdVdnS( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getdUdnSV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getdUdndnSV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... def hasOmegaAOverride(self) -> bool: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdNi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def setAder(self, double: float) -> None: ... - def setAttractiveParameter(self, attractiveTermInterface: jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface) -> None: ... + def setAttractiveParameter( + self, + attractiveTermInterface: jneqsim.thermo.component.attractiveeosterm.AttractiveTermInterface, + ) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... def setBder(self, double: float) -> None: ... def setOmegaA(self, double: float) -> None: ... @@ -768,12 +1075,41 @@ class ComponentEos(Component, ComponentEosInterface): def setdBdndn(self, int: int, double: float) -> None: ... class ComponentGE(Component, ComponentGEInterface): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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, 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 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, + 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: ... @typing.overload def getGamma(self) -> float: ... def getGammaRefCor(self) -> float: ... @@ -784,62 +1120,164 @@ class ComponentGE(Component, ComponentGEInterface): def setLnGammadn(self, int: int, double: float) -> None: ... class ComponentHydrate(Component): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcChemPotEmpty(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... - def calcChemPotIdealWater(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcChemPotEmpty( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcChemPotIdealWater( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def delt( + self, + double: float, + double2: float, + int: int, + int2: int, + componentInterface: ComponentInterface, + ) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... @typing.overload def getCavprwat(self, int: int, int2: int) -> float: ... @typing.overload def getCavprwat(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDGfHydrate(self) -> typing.MutableSequence[float]: ... def getDHfHydrate(self) -> typing.MutableSequence[float]: ... - def getEmptyHydrateStructureVapourPressure(self, int: int, double: float) -> float: ... + def getEmptyHydrateStructureVapourPressure( + self, int: int, double: float + ) -> float: ... def getEmptyHydrateVapourPressureConstant(self, int: int, int2: int) -> float: ... def getHydrateStructure(self) -> int: ... def getLennardJonesEnergyParameterHydrate(self) -> float: ... def getLennardJonesMolecularDiameterHydrate(self) -> float: ... def getMolarVolumeHydrate(self, int: int, double: float) -> float: ... - def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getPot( + self, + double: float, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... def getSphericalCoreRadiusHydrate(self) -> float: ... - def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def potIntegral( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def readHydrateParameters(self) -> None: ... @typing.overload def setDGfHydrate(self, double: float, int: int) -> None: ... @typing.overload - def setDGfHydrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDGfHydrate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setDHfHydrate(self, double: float, int: int) -> None: ... @typing.overload - def setDHfHydrate(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setEmptyHydrateVapourPressureConstant(self, int: int, int2: int, double: float) -> None: ... + def setDHfHydrate( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setEmptyHydrateVapourPressureConstant( + self, int: int, int2: int, double: float + ) -> None: ... def setHydrateStructure(self, int: int) -> None: ... def setLennardJonesEnergyParameterHydrate(self, double: float) -> None: ... def setLennardJonesMolecularDiameterHydrate(self, double: float) -> None: ... def setRefFug(self, int: int, double: float) -> None: ... - def setSolidRefFluidPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setSolidRefFluidPhase( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... def setSphericalCoreRadiusHydrate(self, double: float) -> None: ... class ComponentHydrateKluda(Component): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def delt(self, int: int, double: float, double2: float, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dfugdt(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def delt( + self, + int: int, + double: float, + double2: float, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dfugdt( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def getEmptyHydrateStructureVapourPressure(self, int: int, double: float) -> float: ... - def getEmptyHydrateStructureVapourPressuredT(self, int: int, double: float) -> float: ... - def getPot(self, int: int, double: float, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def potIntegral(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def getEmptyHydrateStructureVapourPressure( + self, int: int, double: float + ) -> float: ... + def getEmptyHydrateStructureVapourPressuredT( + self, int: int, double: float + ) -> float: ... + def getPot( + self, + int: int, + double: float, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def potIntegral( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... def setRefFug(self, int: int, double: float) -> None: ... def setStructure(self, int: int) -> None: ... @@ -847,56 +1285,172 @@ class ComponentIdealGas(Component): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def clone(self) -> 'ComponentIdealGas': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def clone(self) -> "ComponentIdealGas": ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdNi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentAmmoniaEos(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentAmmoniaEos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentAmmoniaEos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def getVolumeCorrection(self) -> float: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentDesmukhMather(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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: ... @typing.overload - def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - @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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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: ... @typing.overload def getGamma(self) -> float: ... - def getMolality(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolality( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentGERG2004(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentGERG2004': ... + def clone(self) -> "ComponentGERG2004": ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -904,164 +1458,595 @@ class ComponentGERG2004(ComponentEos): class ComponentGERG2008Eos(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentGERG2008Eos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentGERG2008Eos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def getVolumeCorrection(self) -> float: ... - def logfugcoefdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... - def logfugcoefdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... - def logfugcoefdP(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def logfugcoefdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def logfugcoefdN( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... + def logfugcoefdNi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... + def logfugcoefdP( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def logfugcoefdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentGEUniquac(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - @typing.overload - def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - @typing.overload - def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @typing.overload + def fugcoefDiffPres( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def fugcoefDiffPres( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @typing.overload + def fugcoefDiffTemp( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def fugcoefDiffTemp( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... @typing.overload def getGamma(self) -> 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 - 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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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 getq(self) -> float: ... def getr(self) -> float: ... class ComponentGEWilson(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - def getCharEnergyParamter(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + def getCharEnergyParamter( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... @typing.overload def getGamma(self) -> 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 - 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 getWilsonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getWilsonInteractionEnergy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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 getWilsonActivityCoefficient( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getWilsonInteractionEnergy( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentGeDuanSun(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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: ... @typing.overload def getGamma(self) -> float: ... @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]) -> float: ... - @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 getGammaNRTL(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]) -> float: ... - def getGammaPitzer(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType, double3: float) -> float: ... + 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 + ], + ) -> float: ... + @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 getGammaNRTL( + 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 + ], + ) -> float: ... + def getGammaPitzer( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + double3: float, + ) -> float: ... def getq(self) -> float: ... def getr(self) -> float: ... class ComponentGeNRTL(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def getGamma(self) -> float: ... @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 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 getq(self) -> float: ... def getr(self) -> float: ... class ComponentGePitzer(ComponentGE): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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: ... @typing.overload def getGamma(self) -> 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 - 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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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: ... class ComponentHydrateBallard(ComponentHydrate): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def delt( + self, + double: float, + double2: float, + int: int, + int2: int, + componentInterface: ComponentInterface, + ) -> float: ... @typing.overload def delt(self, double: float, double2: float, int: int, int2: int) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def getPot( + self, + double: float, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def potIntegral( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentHydrateGF(ComponentHydrate): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def fugcoef2( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... class ComponentHydratePVTsim(ComponentHydrate): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcDeltaChemPot(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, int2: int) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcDeltaChemPot( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... class ComponentHydrateStatoil(ComponentHydrate): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcCKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcYKI(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def delt(self, double: float, double2: float, int: int, int2: int, componentInterface: ComponentInterface) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcCKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcYKI( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def delt( + self, + double: float, + double2: float, + int: int, + int2: int, + componentInterface: ComponentInterface, + ) -> float: ... @typing.overload def delt(self, double: float, double2: float, int: int, int2: int) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def getPot(self, double: float, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def potIntegral(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def getPot( + self, + double: float, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def potIntegral( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentLeachmanEos(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentLeachmanEos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentLeachmanEos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -1069,12 +2054,26 @@ class ComponentLeachmanEos(ComponentEos): class ComponentPR(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentPR': ... + def clone(self) -> "ComponentPR": ... def getCachadinaInfluenceParameters(self) -> typing.MutableSequence[float]: ... def getInfluenceParameterModel(self) -> int: ... def getQpure(self, double: float) -> float: ... @@ -1082,17 +2081,33 @@ class ComponentPR(ComponentEos): def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... def getdQpuredTdT(self, double: float) -> float: ... - def setCachadinaInfluenceParameters(self, double: float, double2: float, double3: float) -> None: ... + def setCachadinaInfluenceParameters( + self, double: float, double2: float, double3: float + ) -> None: ... def setInfluenceParameterModel(self, int: int) -> None: ... class ComponentRK(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentRK': ... + def clone(self) -> "ComponentRK": ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -1100,18 +2115,66 @@ class ComponentRK(ComponentEos): class ComponentSpanWagnerEos(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentSpanWagnerEos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentSpanWagnerEos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -1119,12 +2182,26 @@ class ComponentSpanWagnerEos(ComponentEos): class ComponentSrk(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentSrk': ... + def clone(self) -> "ComponentSrk": ... def getQpure(self, double: float) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... @@ -1133,12 +2210,26 @@ class ComponentSrk(ComponentEos): class ComponentTST(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentTST': ... + def clone(self) -> "ComponentTST": ... def getQpure(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getdQpuredT(self, double: float) -> float: ... @@ -1146,18 +2237,66 @@ class ComponentTST(ComponentEos): class ComponentVegaEos(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentVegaEos': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentVegaEos": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @@ -1165,36 +2304,117 @@ class ComponentVegaEos(ComponentEos): class ComponentWater(ComponentEos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def alpha(self, double: float) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentWater': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentWater": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def diffaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def getVolumeCorrection(self) -> float: ... class ComponentBNS(ComponentPR): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, double3: float, double4: float, double5: float, double6: float, double7: float, double8: float, double9: float): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + double8: float, + double9: float, + ): ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentBNS': ... + def clone(self) -> "ComponentBNS": ... class ComponentBWRS(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def clone(self) -> 'ComponentBWRS': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def clone(self) -> "ComponentBWRS": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def equals(self, object: typing.Any) -> bool: ... @typing.overload def getABWRS(self, int: int) -> float: ... @@ -1215,148 +2435,625 @@ class ComponentBWRS(ComponentSrk): @typing.overload def getBPdT(self) -> typing.MutableSequence[float]: ... def getBPdTdT(self, int: int) -> float: ... - def getELdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def getFexpdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def getFpoldn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getELdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def getFexpdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def getFpoldn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getGammaBWRS(self) -> float: ... def getRhoc(self) -> float: ... - def getdRhodn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... - def setABWRS(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBE(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBEdT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setBPdT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def getdRhodn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... + def setABWRS( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBE( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBEdT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setBPdT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setGammaBWRS(self, double: float) -> None: ... - def setRefPhaseBWRS(self, phaseBWRSEos: jneqsim.thermo.phase.PhaseBWRSEos) -> None: ... + def setRefPhaseBWRS( + self, phaseBWRSEos: jneqsim.thermo.phase.PhaseBWRSEos + ) -> None: ... def setRhoc(self, double: float) -> None: ... class ComponentCSPsrk(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def clone(self) -> 'ComponentCSPsrk': ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def clone(self) -> "ComponentCSPsrk": ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getF_scale_mix_i(self) -> float: ... def getH_scale_mix_i(self) -> float: ... def getRefPhaseBWRS(self) -> jneqsim.thermo.phase.PhaseCSPsrkEos: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... def setF_scale_mix_i(self, double: float) -> None: ... def setH_scale_mix_i(self, double: float) -> None: ... - def setRefPhaseBWRS(self, phaseCSPsrkEos: jneqsim.thermo.phase.PhaseCSPsrkEos) -> None: ... + def setRefPhaseBWRS( + self, phaseCSPsrkEos: jneqsim.thermo.phase.PhaseCSPsrkEos + ) -> None: ... class ComponentEOSCGEos(ComponentGERG2008Eos): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def clone(self) -> 'ComponentEOSCGEos': ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def clone(self) -> "ComponentEOSCGEos": ... class ComponentGENRTLmodifiedHV(ComponentGeNRTL): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def getGamma(self) -> float: ... @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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... - @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 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> float: ... + @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: ... class ComponentGENRTLmodifiedWS(ComponentGeNRTL): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def getGamma(self) -> float: ... @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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> float: ... - @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 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> float: ... + @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: ... class ComponentGEUnifac(ComponentGEUniquac): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def addUNIFACgroup(self, int: int, int2: int) -> None: ... - def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calclnGammak( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload - def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - @typing.overload - def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def fugcoefDiffPres(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... - @typing.overload - def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - @typing.overload - def fugcoefDiffTemp(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + def fugcoef( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @typing.overload + def fugcoefDiffPres( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def fugcoefDiffPres( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @typing.overload + def fugcoefDiffTemp( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + @typing.overload + def fugcoefDiffTemp( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... @typing.overload def getGamma(self) -> 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 - 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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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 getNumberOfUNIFACgroups(self) -> int: ... def getQ(self) -> float: ... def getR(self) -> float: ... def getUnifacGroup(self, int: int) -> jneqsim.thermo.atomelement.UNIFACgroup: ... def getUnifacGroup2(self, int: int) -> jneqsim.thermo.atomelement.UNIFACgroup: ... - def getUnifacGroups(self) -> typing.MutableSequence[jneqsim.thermo.atomelement.UNIFACgroup]: ... - def getUnifacGroups2(self) -> java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def getUnifacGroups( + self, + ) -> typing.MutableSequence[jneqsim.thermo.atomelement.UNIFACgroup]: ... + def getUnifacGroups2( + self, + ) -> java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]: ... def initPCUNIFACGroups(self) -> None: ... def setQ(self, double: float) -> None: ... def setR(self, double: float) -> None: ... - def setUnifacGroups(self, arrayList: java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup]) -> None: ... + def setUnifacGroups( + self, arrayList: java.util.ArrayList[jneqsim.thermo.atomelement.UNIFACgroup] + ) -> None: ... class ComponentGEUniquacmodifiedHV(ComponentGEUniquac): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def getGamma(self) -> float: ... @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: ... - @typing.overload - def getGamma(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> float: ... + 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: ... + @typing.overload + def getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... class ComponentKentEisenberg(ComponentGeNRTL): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + 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: ... class ComponentModifiedFurstElectrolyteEos(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def FLRN(self) -> float: ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... - def calcGammaLRdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def calcXLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... + def calcGammaLRdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdndT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def calcXLRdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def calcdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def clone(self) -> 'ComponentModifiedFurstElectrolyteEos': ... - def dAlphaLRdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dEpsIonicdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsIonicdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFLRdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFSR2dNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def clone(self) -> "ComponentModifiedFurstElectrolyteEos": ... + def dAlphaLRdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dEpsIonicdNi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsIonicdNidV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsdNi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsdNidV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getAlphai(self) -> float: ... def getBornVal(self) -> float: ... def getDielectricConstantdn(self) -> float: ... @@ -1370,43 +3067,247 @@ class ComponentModifiedFurstElectrolyteEos(ComponentSrk): class ComponentModifiedFurstElectrolyteEosMod2004(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def FLRN(self) -> float: ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... - def calcGammaLRdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcSolventdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def calcXLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... + def calcGammaLRdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdndT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcSolventdiElectricdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def calcXLRdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def calcdiElectricdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdiElectricdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def clone(self) -> 'ComponentModifiedFurstElectrolyteEosMod2004': ... - def dAlphaLRdndn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dEpsIonicdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsIonicdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsdNi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dEpsdNidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFLRdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFLRdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFSR2dNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFSR2dNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdiElectricdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdiElectricdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def clone(self) -> "ComponentModifiedFurstElectrolyteEosMod2004": ... + def dAlphaLRdndn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dEpsIonicdNi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsIonicdNidV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsdNi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dEpsdNidV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFLRdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFSR2dNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getAlphai(self) -> float: ... def getBornVal(self) -> float: ... def getDielectricConstantdn(self) -> float: ... @@ -1420,31 +3321,135 @@ class ComponentModifiedFurstElectrolyteEosMod2004(ComponentSrk): class ComponentPCSAFT(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... - def calcF1dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcF2dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdahsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdghsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdmSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdnSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def clone(self) -> 'ComponentPCSAFT': ... - def dF_DISP1_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dF_DISP2_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dF_HC_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... + def calcF1dispSumTermdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcF2dispSumTermdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdahsSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdghsSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdmSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdnSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def clone(self) -> "ComponentPCSAFT": ... + def dF_DISP1_SAFTdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dF_DISP2_SAFTdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dF_HC_SAFTdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getDghsSAFTdi(self) -> float: ... def getDlogghsSAFTdi(self) -> float: ... def getDmSAFTdi(self) -> float: ... def getDnSAFTdi(self) -> float: ... def getdSAFTi(self) -> float: ... def getdahsSAFTdi(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... def setDghsSAFTdi(self, double: float) -> None: ... def setDlogghsSAFTdi(self, double: float) -> None: ... def setDmSAFTdi(self, double: float) -> None: ... @@ -1456,74 +3461,295 @@ class ComponentPRvolcor(ComponentPR): Cij: typing.MutableSequence[float] = ... Ci: float = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def calcc(self) -> float: ... def calccT(self) -> float: ... def calccTT(self) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getCi(self) -> float: ... def getCiT(self) -> float: ... def getCij(self, int: int) -> float: ... - def getFC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getFC( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getVolumeCorrection(self) -> float: ... def getc(self) -> float: ... def getcT(self) -> float: ... def getcTT(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... class ComponentPrCPA(ComponentPR, ComponentCPAInterface): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngi2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngi2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentPrCPA': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentPrCPA": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getVolumeCorrection(self) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... def setAttractiveTerm(self, int: int) -> None: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... class ComponentSAFTVRMie(ComponentSrk): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... @staticmethod - def calcEffectiveDiameter(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... - def calcF1dispI1dn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcF1dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcF2dispSumTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcF2dispZHCdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcEffectiveDiameter( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... + def calcF1dispI1dn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcF1dispSumTermdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcF2dispSumTermdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcF2dispZHCdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... @staticmethod def calcMiePrefactor(double: float, double2: float) -> float: ... - def calcdF1dispVolTermdn(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdahsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdghsSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdmSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def calcdnSAFTdi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def clone(self) -> 'ComponentSAFTVRMie': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dF_DISP_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dF_HC_SAFTdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def calcdF1dispVolTermdn( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdahsSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdghsSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdmSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def calcdnSAFTdi( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def clone(self) -> "ComponentSAFTVRMie": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dF_DISP_SAFTdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dF_HC_SAFTdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getDdSAFTidT(self) -> float: ... def getDmSAFTdi(self) -> float: ... def getDnSAFTdi(self) -> float: ... @@ -1533,52 +3759,158 @@ class ComponentSAFTVRMie(ComponentSrk): def getXsiteAssoc(self) -> typing.MutableSequence[float]: ... def getdSAFTi(self) -> float: ... def getmSAFTi(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... def initAssociationArrays(self, int: int) -> None: ... def recalcSAFTDiameter(self, double: float) -> None: ... def setXsiteAssoc(self, int: int, double: float) -> None: ... class ComponentSolid(ComponentSrk): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, double: float, double2: float) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getMolarVolumeSolid(self) -> float: ... def getVolumeCorrection2(self) -> float: ... - def setSolidRefFluidPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def setSolidRefFluidPhase( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... class ComponentSoreideWhitson(ComponentPR): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def clone(self) -> 'ComponentSoreideWhitson': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def clone(self) -> "ComponentSoreideWhitson": ... class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... def calc_hCPAdn(self) -> float: ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngij( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentSrkCPA': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentSrkCPA": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdNdXidXdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dFCPAdXidni( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... @@ -1593,18 +3925,27 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): def resizeXsitedni(self, int: int) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... @typing.overload - def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsiteOld( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsiteOld(self, int: int, double: float) -> None: ... def setXsitedT(self, int: int, double: float) -> None: ... def setXsitedTdT(self, int: int, double: float) -> None: ... def setXsitedV(self, int: int, double: float) -> None: ... @typing.overload - def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setXsitedni( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setXsitedni(self, int: int, int2: int, double: float) -> None: ... def seta(self, double: float) -> None: ... @@ -1612,65 +3953,227 @@ class ComponentSrkCPA(ComponentSrk, ComponentCPAInterface): class ComponentSrkPeneloux(ComponentSrk): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentSrkPeneloux': ... + def clone(self) -> "ComponentSrkPeneloux": ... def getVolumeCorrection(self) -> float: ... class ComponentSrkvolcor(ComponentSrk): Cij: typing.MutableSequence[float] = ... Ci: float = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def calcc(self) -> float: ... def calccT(self) -> float: ... def calccTT(self) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getCi(self) -> float: ... def getCiT(self) -> float: ... def getCij(self, int: int) -> float: ... - def getFC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def getFC( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getVolumeCorrection(self) -> float: ... def getc(self) -> float: ... def getcT(self) -> float: ... def getcTT(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... class ComponentUMRCPA(ComponentPR, ComponentCPAInterface): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calc_hCPAdn(self) -> float: ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngij( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentUMRCPA': ... - def createComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentUMRCPA": ... + def createComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdNdXidXdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dFCPAdXidni( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... @@ -1684,60 +4187,171 @@ class ComponentUMRCPA(ComponentPR, ComponentCPAInterface): def getXsitedni(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def setAttractiveTerm(self, int: int) -> None: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... @typing.overload - def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsiteOld( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsiteOld(self, int: int, double: float) -> None: ... def setXsitedT(self, int: int, double: float) -> None: ... def setXsitedTdT(self, int: int, double: float) -> None: ... def setXsitedV(self, int: int, double: float) -> None: ... @typing.overload - def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setXsitedni( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setXsitedni(self, int: int, int2: int, double: float) -> None: ... def seta(self, double: float) -> None: ... def setb(self, double: float) -> None: ... class ComponentCoutinhoWax(ComponentSolid): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcLambdaIJ(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calcLnGammaUNIQUAC(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calcSublimationEnthalpy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcLambdaIJ( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calcLnGammaUNIQUAC( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calcSublimationEnthalpy( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... @typing.overload def fugcoef(self, double: float, double2: float) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... -class ComponentElectrolyteCPA(ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface): - @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... +class ComponentElectrolyteCPA( + ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface +): + @typing.overload + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... def calc_hCPAdn(self) -> float: ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngij( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentElectrolyteCPA': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidni(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentElectrolyteCPA": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdNdXidXdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dFCPAdXidni( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getSurfaceTenisionInfluenceParameter(self, double: float) -> float: ... def getVolumeCorrection(self) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... @@ -1751,45 +4365,131 @@ class ComponentElectrolyteCPA(ComponentModifiedFurstElectrolyteEos, ComponentCPA def getXsitedni(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def setAttractiveTerm(self, int: int) -> None: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... @typing.overload - def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsiteOld( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsiteOld(self, int: int, double: float) -> None: ... def setXsitedT(self, int: int, double: float) -> None: ... def setXsitedTdT(self, int: int, double: float) -> None: ... def setXsitedV(self, int: int, double: float) -> None: ... @typing.overload - def setXsitedni(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setXsitedni( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setXsitedni(self, int: int, int2: int, double: float) -> None: ... def seta(self, double: float) -> None: ... def setb(self, double: float) -> None: ... -class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface): - @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... +class ComponentElectrolyteCPAOld( + ComponentModifiedFurstElectrolyteEos, ComponentCPAInterface +): + @typing.overload + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def calca(self) -> float: ... def calcb(self) -> float: ... - def clone(self) -> 'ComponentElectrolyteCPAOld': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def clone(self) -> "ComponentElectrolyteCPAOld": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdNdXidXdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getVolumeCorrection(self) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... def getXsiteOld(self) -> typing.MutableSequence[float]: ... @@ -1798,11 +4498,15 @@ class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, Component def getXsitedV(self) -> typing.MutableSequence[float]: ... def setAttractiveTerm(self, int: int) -> None: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... @typing.overload - def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsiteOld( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsiteOld(self, int: int, double: float) -> None: ... def setXsitedT(self, int: int, double: float) -> None: ... @@ -1813,38 +4517,137 @@ class ComponentElectrolyteCPAOld(ComponentModifiedFurstElectrolyteEos, Component def setb(self, double: float) -> None: ... class ComponentGEUnifacPSRK(ComponentGEUnifac): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calcaijdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calclnGammakdT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcaij( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calcaijdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calclnGammak( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calclnGammakdT( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... @typing.overload def getGamma(self) -> 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 - 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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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: ... class ComponentGEUnifacUMRPRU(ComponentGEUnifac): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calcGammaNumericalDerivatives(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calcGammaNumericalDerivatives( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> None: ... def calcSum2Comp(self) -> None: ... - def calcSum2CompdTdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcTempExpaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcUnifacGroupParams(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcUnifacGroupParamsdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calcaij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calcaijdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calcaijdTdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def calclnGammak(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calclnGammakdTdT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - def calclnGammakdn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int) -> None: ... + def calcSum2CompdTdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calcTempExpaij( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calcUnifacGroupParams( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calcUnifacGroupParamsdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calcaij( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calcaijdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calcaijdTdT( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def calclnGammak( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calclnGammakdTdT( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... + def calclnGammakdn( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int + ) -> None: ... @typing.overload def getGamma(self) -> 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 - 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 getGamma( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: jneqsim.thermo.phase.PhaseType, + ) -> float: ... + @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 getaij(self, int: int, int2: int) -> float: ... def getaijdT(self, int: int, int2: int) -> float: ... def getaijdTdT(self, int: int, int2: int) -> float: ... @@ -1852,34 +4655,107 @@ class ComponentGEUnifacUMRPRU(ComponentGEUnifac): class ComponentPCSAFTa(ComponentPCSAFT, ComponentCPAInterface): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def clone(self) -> 'ComponentPCSAFTa': ... - def dFCPAdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFCPAdNdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdNdXidXdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdVdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFCPAdXidXj(self, int: int, int2: int, int3: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def clone(self) -> "ComponentPCSAFTa": ... + def dFCPAdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFCPAdNdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdNdXidXdV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdVdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXi( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def dFCPAdXidXj( + self, + int: int, + int2: int, + int3: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getXsite(self) -> typing.MutableSequence[float]: ... def getXsiteOld(self) -> typing.MutableSequence[float]: ... def getXsitedT(self) -> typing.MutableSequence[float]: ... def getXsitedTdT(self) -> typing.MutableSequence[float]: ... def getXsitedV(self) -> typing.MutableSequence[float]: ... @typing.overload - def setXsite(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsite( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsite(self, int: int, double: float) -> None: ... @typing.overload - def setXsiteOld(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setXsiteOld( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... @typing.overload def setXsiteOld(self, int: int, double: float) -> None: ... def setXsitedT(self, int: int, double: float) -> None: ... @@ -1888,24 +4764,131 @@ class ComponentPCSAFTa(ComponentPCSAFT, ComponentCPAInterface): def setXsitedni(self, int: int, int2: int, double: float) -> None: ... class ComponentSrkCPAMM(ComponentSrkCPA): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - def clone(self) -> 'ComponentSrkCPAMM': ... - def dFBorndN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFBorndNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFBorndNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFDebyeHuckeldN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFDebyeHuckeldNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFDebyeHuckeldNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFDebyeHuckeldNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFShortRangedN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFShortRangedNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFShortRangedNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFShortRangedNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... + def clone(self) -> "ComponentSrkCPAMM": ... + def dFBorndN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFBorndNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFDebyeHuckeldN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFDebyeHuckeldNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFDebyeHuckeldNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFDebyeHuckeldNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFShortRangedN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFShortRangedNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFShortRangedNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFShortRangedNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... def getBornContribution(self) -> float: ... def getBornRadius(self) -> float: ... @@ -1922,83 +4905,233 @@ class ComponentSrkCPAMM(ComponentSrkCPA): class ComponentSrkCPAs(ComponentSrkCPA): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def clone(self) -> 'ComponentSrkCPAs': ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngij( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def clone(self) -> "ComponentSrkCPAs": ... class ComponentUMRCPAvolcor(ComponentUMRCPA): Cij: typing.MutableSequence[float] = ... Ci: float = ... @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... def calcc(self) -> float: ... def calccT(self) -> float: ... - def dFdN(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdN(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int2: int, double: float, double2: float) -> float: ... - def dFdNdT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... - def dFdNdV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, double: float, double2: float) -> float: ... + def dFdN( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdN( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int2: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... + def dFdNdV( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + int: int, + double: float, + double2: float, + ) -> float: ... def getCi(self) -> float: ... def getCiT(self) -> float: ... def getCij(self, int: int) -> float: ... def getc(self) -> float: ... def getcT(self) -> float: ... - def init(self, double: float, double2: float, double3: float, double4: float, int: int) -> None: ... + def init( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> None: ... class ComponentWax(ComponentSolid): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, double: float, double2: float) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentWaxWilson(ComponentSolid): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, double: float, double2: float) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getCharEnergyParamter(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int) -> float: ... - def getWilsonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getWilsonInteractionEnergy(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getCharEnergyParamter( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int, int2: int + ) -> float: ... + def getWilsonActivityCoefficient( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getWilsonInteractionEnergy( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentWonWax(ComponentSolid): - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... @typing.overload def fugcoef(self, double: float, double2: float) -> float: ... @typing.overload def fugcoef(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def fugcoef2(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getWonActivityCoefficient(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getWonParam(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def getWonVolume(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def fugcoef2( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getWonActivityCoefficient( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getWonParam( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def getWonVolume( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... class ComponentElectrolyteCPAstatoil(ComponentElectrolyteCPA): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def calc_lngi(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngidV(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def calc_lngij(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... - def clone(self) -> 'ComponentElectrolyteCPAstatoil': ... + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def calc_lngi( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngidV( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def calc_lngij( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... + def clone(self) -> "ComponentElectrolyteCPAstatoil": ... class ComponentElectrolyteCPAAdvanced(ComponentElectrolyteCPAstatoil): @typing.overload - def __init__(self, int: int, double: float, double2: float, double3: float, double4: float, double5: float): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int): ... - def Finit(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, double3: float, double4: float, int: int, int2: int) -> None: ... - def clone(self) -> 'ComponentElectrolyteCPAAdvanced': ... - + def __init__( + self, + int: int, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ): ... + def Finit( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + int2: int, + ) -> None: ... + def clone(self) -> "ComponentElectrolyteCPAAdvanced": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component")``. @@ -2043,8 +5176,12 @@ class __module_protocol__(Protocol): ComponentInterface: typing.Type[ComponentInterface] ComponentKentEisenberg: typing.Type[ComponentKentEisenberg] ComponentLeachmanEos: typing.Type[ComponentLeachmanEos] - ComponentModifiedFurstElectrolyteEos: typing.Type[ComponentModifiedFurstElectrolyteEos] - ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ComponentModifiedFurstElectrolyteEosMod2004] + ComponentModifiedFurstElectrolyteEos: typing.Type[ + ComponentModifiedFurstElectrolyteEos + ] + ComponentModifiedFurstElectrolyteEosMod2004: typing.Type[ + ComponentModifiedFurstElectrolyteEosMod2004 + ] ComponentPCSAFT: typing.Type[ComponentPCSAFT] ComponentPCSAFTa: typing.Type[ComponentPCSAFTa] ComponentPR: typing.Type[ComponentPR] diff --git a/src/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi b/src/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi index a644198b..507d4393 100644 --- a/src/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/thermo/component/attractiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,12 +11,10 @@ import jpype import jneqsim.thermo.component import typing - - class AttractiveTermInterface(java.lang.Cloneable, java.io.Serializable): def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermInterface': ... + def clone(self) -> "AttractiveTermInterface": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -28,10 +26,12 @@ class AttractiveTermInterface(java.lang.Cloneable, java.io.Serializable): def setm(self, double: float) -> None: ... class AttractiveTermBaseClass(AttractiveTermInterface): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermBaseClass': ... + def clone(self) -> "AttractiveTermBaseClass": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -44,12 +44,18 @@ class AttractiveTermBaseClass(AttractiveTermInterface): class AttractiveTermMollerup(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermMollerup': ... + def clone(self) -> "AttractiveTermMollerup": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -57,10 +63,12 @@ class AttractiveTermMollerup(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermPr(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPr': ... + def clone(self) -> "AttractiveTermPr": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -69,10 +77,12 @@ class AttractiveTermPr(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermRk(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermRk': ... + def clone(self) -> "AttractiveTermRk": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -81,12 +91,18 @@ class AttractiveTermRk(AttractiveTermBaseClass): class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermSchwartzentruber': ... + def clone(self) -> "AttractiveTermSchwartzentruber": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -94,10 +110,12 @@ class AttractiveTermSchwartzentruber(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermSrk(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermSrk': ... + def clone(self) -> "AttractiveTermSrk": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -106,10 +124,12 @@ class AttractiveTermSrk(AttractiveTermBaseClass): def setm(self, double: float) -> None: ... class AttractiveTermTwuCoon(AttractiveTermBaseClass): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermTwuCoon': ... + def clone(self) -> "AttractiveTermTwuCoon": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -118,12 +138,18 @@ class AttractiveTermTwuCoon(AttractiveTermBaseClass): class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermTwuCoonParam': ... + def clone(self) -> "AttractiveTermTwuCoonParam": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -132,12 +158,18 @@ class AttractiveTermTwuCoonParam(AttractiveTermBaseClass): class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermTwuCoonStatoil': ... + def clone(self) -> "AttractiveTermTwuCoonStatoil": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -145,10 +177,12 @@ class AttractiveTermTwuCoonStatoil(AttractiveTermBaseClass): def init(self) -> None: ... class AttractiveTermCPAstatoil(AttractiveTermSrk): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermCPAstatoil': ... + def clone(self) -> "AttractiveTermCPAstatoil": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -156,7 +190,9 @@ class AttractiveTermCPAstatoil(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermGERG(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def AttractiveTermGERG(self) -> typing.Any: ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... @@ -167,12 +203,18 @@ class AttractiveTermGERG(AttractiveTermPr): class AttractiveTermMatCop(AttractiveTermSrk): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermMatCop': ... + def clone(self) -> "AttractiveTermMatCop": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -181,12 +223,18 @@ class AttractiveTermMatCop(AttractiveTermSrk): class AttractiveTermMatCop5PRUMR(AttractiveTermPr): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermMatCop5PRUMR': ... + def clone(self) -> "AttractiveTermMatCop5PRUMR": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -194,12 +242,18 @@ class AttractiveTermMatCop5PRUMR(AttractiveTermPr): class AttractiveTermMatCopPR(AttractiveTermPr): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermMatCopPR': ... + def clone(self) -> "AttractiveTermMatCopPR": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -207,28 +261,38 @@ class AttractiveTermMatCopPR(AttractiveTermPr): class AttractiveTermMatCopPRUMR(AttractiveTermPr): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermMatCopPRUMR': ... + def clone(self) -> "AttractiveTermMatCopPRUMR": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def diffdiffalphaT(self, double: float) -> float: ... class AttractiveTermPr1978(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... - def clone(self) -> 'AttractiveTermPr1978': ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... + def clone(self) -> "AttractiveTermPr1978": ... def init(self) -> None: ... def setm(self, double: float) -> None: ... class AttractiveTermPrGassem2001(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPrGassem2001': ... + def clone(self) -> "AttractiveTermPrGassem2001": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -236,16 +300,20 @@ class AttractiveTermPrGassem2001(AttractiveTermPr): def init(self) -> None: ... class AttractiveTermPrLeeKesler(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... - def clone(self) -> 'AttractiveTermPrLeeKesler': ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... + def clone(self) -> "AttractiveTermPrLeeKesler": ... def init(self) -> None: ... def setm(self, double: float) -> None: ... class AttractiveTermTwu(AttractiveTermSrk): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermTwu': ... + def clone(self) -> "AttractiveTermTwu": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -253,28 +321,38 @@ class AttractiveTermTwu(AttractiveTermSrk): def init(self) -> None: ... class AttractiveTermUMRPRU(AttractiveTermPr): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... - def clone(self) -> 'AttractiveTermUMRPRU': ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... + def clone(self) -> "AttractiveTermUMRPRU": ... def init(self) -> None: ... class AtractiveTermMatCopPRUMRNew(AttractiveTermMatCopPRUMR): @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... @typing.overload - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AtractiveTermMatCopPRUMRNew': ... + def clone(self) -> "AtractiveTermMatCopPRUMRNew": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def diffdiffalphaT(self, double: float) -> float: ... class AttractiveTermPrDanesh(AttractiveTermPr1978): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPrDanesh': ... + def clone(self) -> "AttractiveTermPrDanesh": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... @@ -282,23 +360,26 @@ class AttractiveTermPrDanesh(AttractiveTermPr1978): def init(self) -> None: ... class AttractiveTermPrDelft1998(AttractiveTermPr1978): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def aT(self, double: float) -> float: ... def alpha(self, double: float) -> float: ... - def clone(self) -> 'AttractiveTermPrDelft1998': ... + def clone(self) -> "AttractiveTermPrDelft1998": ... def diffaT(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffaT(self, double: float) -> float: ... def diffdiffalphaT(self, double: float) -> float: ... class AttractiveTermSoreideWhitson(AttractiveTermPr1978): - def __init__(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface): ... + def __init__( + self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface + ): ... def alpha(self, double: float) -> float: ... def diffalphaT(self, double: float) -> float: ... def diffdiffalphaT(self, double: float) -> float: ... def setSalinityFromPhase(self, double: float) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.attractiveeosterm")``. diff --git a/src/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi b/src/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi index e32f2399..1910a740 100644 --- a/src/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi +++ b/src/jneqsim-stubs/thermo/component/repulsiveeosterm/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,11 +7,8 @@ else: import typing - - class RepulsiveTermInterface: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.component.repulsiveeosterm")``. diff --git a/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi b/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi index e69289e6..101dde0d 100644 --- a/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi +++ b/src/jneqsim-stubs/thermo/mixingrule/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,67 +15,119 @@ import jneqsim.thermo.phase import jneqsim.thermo.system import typing - - -class BIPEstimationMethod(java.lang.Enum['BIPEstimationMethod']): - CHUEH_PRAUSNITZ: typing.ClassVar['BIPEstimationMethod'] = ... - KATZ_FIROOZABADI: typing.ClassVar['BIPEstimationMethod'] = ... - DEFAULT: typing.ClassVar['BIPEstimationMethod'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # +class BIPEstimationMethod(java.lang.Enum["BIPEstimationMethod"]): + CHUEH_PRAUSNITZ: typing.ClassVar["BIPEstimationMethod"] = ... + KATZ_FIROOZABADI: typing.ClassVar["BIPEstimationMethod"] = ... + DEFAULT: typing.ClassVar["BIPEstimationMethod"] = ... + _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: ... + 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]) -> 'BIPEstimationMethod': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BIPEstimationMethod": ... @staticmethod - def values() -> typing.MutableSequence['BIPEstimationMethod']: ... + def values() -> typing.MutableSequence["BIPEstimationMethod"]: ... class BIPEstimator: DEFAULT_CHUEH_PRAUSNITZ_EXPONENT: typing.ClassVar[float] = ... @typing.overload @staticmethod - def applyEstimatedBIPs(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> None: ... + def applyEstimatedBIPs( + systemInterface: jneqsim.thermo.system.SystemInterface, + bIPEstimationMethod: BIPEstimationMethod, + ) -> None: ... @typing.overload @staticmethod - def applyEstimatedBIPs(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod, boolean: bool) -> None: ... + def applyEstimatedBIPs( + systemInterface: jneqsim.thermo.system.SystemInterface, + bIPEstimationMethod: BIPEstimationMethod, + boolean: bool, + ) -> None: ... @staticmethod - def applyMethaneC7PlusBIPs(systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def applyMethaneC7PlusBIPs( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> None: ... @staticmethod - def calculateBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, bIPEstimationMethod: BIPEstimationMethod) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def calculateBIPMatrix( + systemInterface: jneqsim.thermo.system.SystemInterface, + bIPEstimationMethod: BIPEstimationMethod, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @staticmethod - def canEstimateMercuryHydrocarbonKij(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> bool: ... + def canEstimateMercuryHydrocarbonKij( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + ) -> bool: ... @staticmethod - def classifyHydrocarbonType(componentInterface: jneqsim.thermo.component.ComponentInterface) -> 'BIPEstimator.MercuryHydrocarbonType': ... + def classifyHydrocarbonType( + componentInterface: jneqsim.thermo.component.ComponentInterface, + ) -> "BIPEstimator.MercuryHydrocarbonType": ... @staticmethod - def estimate(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, bIPEstimationMethod: BIPEstimationMethod) -> float: ... + def estimate( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + bIPEstimationMethod: BIPEstimationMethod, + ) -> float: ... @typing.overload @staticmethod - def estimateChuehPrausnitz(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> float: ... + def estimateChuehPrausnitz( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + ) -> float: ... @typing.overload @staticmethod - def estimateChuehPrausnitz(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, double: float) -> float: ... + def estimateChuehPrausnitz( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + double: float, + ) -> float: ... @staticmethod - def estimateKatzFiroozabadi(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface) -> float: ... + def estimateKatzFiroozabadi( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + ) -> float: ... @staticmethod - def estimateMercuryHydrocarbonKij(componentInterface: jneqsim.thermo.component.ComponentInterface, componentInterface2: jneqsim.thermo.component.ComponentInterface, boolean: bool) -> float: ... + def estimateMercuryHydrocarbonKij( + componentInterface: jneqsim.thermo.component.ComponentInterface, + componentInterface2: jneqsim.thermo.component.ComponentInterface, + boolean: bool, + ) -> float: ... @staticmethod - def printBIPMatrix(systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - class MercuryHydrocarbonType(java.lang.Enum['BIPEstimator.MercuryHydrocarbonType']): - PARAFFINIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... - NAPHTHENIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... - AROMATIC: typing.ClassVar['BIPEstimator.MercuryHydrocarbonType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def printBIPMatrix( + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + + class MercuryHydrocarbonType(java.lang.Enum["BIPEstimator.MercuryHydrocarbonType"]): + PARAFFINIC: typing.ClassVar["BIPEstimator.MercuryHydrocarbonType"] = ... + NAPHTHENIC: typing.ClassVar["BIPEstimator.MercuryHydrocarbonType"] = ... + AROMATIC: typing.ClassVar["BIPEstimator.MercuryHydrocarbonType"] = ... + _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: ... + 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]) -> 'BIPEstimator.MercuryHydrocarbonType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "BIPEstimator.MercuryHydrocarbonType": ... @staticmethod - def values() -> typing.MutableSequence['BIPEstimator.MercuryHydrocarbonType']: ... + def values() -> ( + typing.MutableSequence["BIPEstimator.MercuryHydrocarbonType"] + ): ... -class MixingRuleHandler(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): +class MixingRuleHandler( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): def __init__(self): ... def getName(self) -> java.lang.String: ... @@ -85,42 +137,175 @@ class MixingRuleTypeInterface: class MixingRulesInterface(java.io.Serializable, java.lang.Cloneable): def getName(self) -> java.lang.String: ... -class CPAMixingRuleType(java.lang.Enum['CPAMixingRuleType'], MixingRuleTypeInterface): - CPA_RADOCH: typing.ClassVar['CPAMixingRuleType'] = ... - PCSAFTA_RADOCH: typing.ClassVar['CPAMixingRuleType'] = ... +class CPAMixingRuleType(java.lang.Enum["CPAMixingRuleType"], MixingRuleTypeInterface): + CPA_RADOCH: typing.ClassVar["CPAMixingRuleType"] = ... + PCSAFTA_RADOCH: typing.ClassVar["CPAMixingRuleType"] = ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'CPAMixingRuleType': ... + def byName(string: typing.Union[java.lang.String, str]) -> "CPAMixingRuleType": ... @staticmethod - def byValue(int: int) -> 'CPAMixingRuleType': ... + def byValue(int: int) -> "CPAMixingRuleType": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'CPAMixingRuleType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "CPAMixingRuleType": ... @staticmethod - def values() -> typing.MutableSequence['CPAMixingRuleType']: ... + def values() -> typing.MutableSequence["CPAMixingRuleType"]: ... class CPAMixingRulesInterface(MixingRulesInterface): - def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... - def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcXi(self, intArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[int]]], jpype.JArray], intArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[int]]]], jpype.JArray], int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDelta( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltaNog( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadN( + self, + int: int, + int2: int, + int3: int, + int4: int, + int5: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int6: int, + ) -> float: ... + def calcDeltadT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcXi( + self, + intArray: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[int]]], + jpype.JArray, + ], + intArray2: typing.Union[ + typing.List[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[int]] + ] + ], + jpype.JArray, + ], + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... class ElectrolyteMixingRulesInterface(MixingRulesInterface): - def calcW(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def calcW( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWTT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... @typing.overload - def calcWij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcWij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload def calcWij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... def getWij(self, int: int, int2: int, double: float) -> float: ... @@ -133,55 +318,130 @@ class ElectrolyteMixingRulesInterface(MixingRulesInterface): def setWijT1Parameter(self, int: int, int2: int, double: float) -> None: ... def setWijT2Parameter(self, int: int, int2: int, double: float) -> None: ... -class EosMixingRuleType(java.lang.Enum['EosMixingRuleType'], MixingRuleTypeInterface): - NO: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC_HV: typing.ClassVar['EosMixingRuleType'] = ... - HV: typing.ClassVar['EosMixingRuleType'] = ... - WS: typing.ClassVar['EosMixingRuleType'] = ... - CPA_MIX: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC_T: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC_T_CPA: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC_TX_CPA: typing.ClassVar['EosMixingRuleType'] = ... - SOREIDE_WHITSON: typing.ClassVar['EosMixingRuleType'] = ... - CLASSIC_T2: typing.ClassVar['EosMixingRuleType'] = ... +class EosMixingRuleType(java.lang.Enum["EosMixingRuleType"], MixingRuleTypeInterface): + NO: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC_HV: typing.ClassVar["EosMixingRuleType"] = ... + HV: typing.ClassVar["EosMixingRuleType"] = ... + WS: typing.ClassVar["EosMixingRuleType"] = ... + CPA_MIX: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC_T: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC_T_CPA: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC_TX_CPA: typing.ClassVar["EosMixingRuleType"] = ... + SOREIDE_WHITSON: typing.ClassVar["EosMixingRuleType"] = ... + CLASSIC_T2: typing.ClassVar["EosMixingRuleType"] = ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'EosMixingRuleType': ... + def byName(string: typing.Union[java.lang.String, str]) -> "EosMixingRuleType": ... @staticmethod - def byValue(int: int) -> 'EosMixingRuleType': ... + def byValue(int: int) -> "EosMixingRuleType": ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'EosMixingRuleType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "EosMixingRuleType": ... @staticmethod - def values() -> typing.MutableSequence['EosMixingRuleType']: ... + def values() -> typing.MutableSequence["EosMixingRuleType"]: ... class EosMixingRulesInterface(MixingRulesInterface): - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def getBinaryInteractionParameter(self, int: int, int2: int) -> float: ... def getBinaryInteractionParameterT1(self, int: int, int2: int) -> float: ... - def getBinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBinaryInteractionParameters( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getBmixType(self) -> int: ... def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterT1(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterij(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterji(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameter( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterT1( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterij( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterji( + self, int: int, int2: int, double: float + ) -> None: ... def setBmixType(self, int: int) -> None: ... def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setnEOSkij(self, double: float) -> None: ... class HVMixingRulesInterface(EosMixingRulesInterface): @@ -189,7 +449,9 @@ class HVMixingRulesInterface(EosMixingRulesInterface): def getHVDijTParameter(self, int: int, int2: int) -> float: ... def getHValphaParameter(self, int: int, int2: int) -> float: ... def getKijWongSandler(self, int: int, int2: int) -> float: ... - def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setClassicOrHV( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... @@ -197,59 +459,325 @@ class HVMixingRulesInterface(EosMixingRulesInterface): class CPAMixingRuleHandler(MixingRuleHandler): def __init__(self): ... - def clone(self) -> 'CPAMixingRuleHandler': ... - def getInteractionMatrix(self, intArray: typing.Union[typing.List[int], jpype.JArray], intArray2: typing.Union[typing.List[int], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def clone(self) -> "CPAMixingRuleHandler": ... + def getInteractionMatrix( + self, + intArray: typing.Union[typing.List[int], jpype.JArray], + intArray2: typing.Union[typing.List[int], jpype.JArray], + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... @typing.overload def getMixingRule(self, int: int) -> CPAMixingRulesInterface: ... @typing.overload - def getMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> CPAMixingRulesInterface: ... + def getMixingRule( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> CPAMixingRulesInterface: ... @typing.overload - def getMixingRule(self, mixingRuleTypeInterface: typing.Union[MixingRuleTypeInterface, typing.Callable]) -> CPAMixingRulesInterface: ... - def resetMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> MixingRulesInterface: ... - def setAssociationScheme(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[typing.MutableSequence[int]]: ... - def setCrossAssociationScheme(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def getMixingRule( + self, + mixingRuleTypeInterface: typing.Union[MixingRuleTypeInterface, typing.Callable], + ) -> CPAMixingRulesInterface: ... + def resetMixingRule( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> MixingRulesInterface: ... + def setAssociationScheme( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + def setCrossAssociationScheme( + self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[typing.MutableSequence[int]]: ... + class CPA_Radoch(jneqsim.thermo.mixingrule.CPAMixingRuleHandler.CPA_Radoch_base): - def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... + def __init__(self, cPAMixingRuleHandler: "CPAMixingRuleHandler"): ... @typing.overload - def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDelta( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... @typing.overload - def calcDelta(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... - def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def getCrossAssociationEnergy(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def getCrossAssociationVolume(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcDelta( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcDeltaNog( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadN( + self, + int: int, + int2: int, + int3: int, + int4: int, + int5: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int6: int, + ) -> float: ... + def calcDeltadT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def getCrossAssociationEnergy( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def getCrossAssociationVolume( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def getName(self) -> java.lang.String: ... + class CPA_Radoch_base(CPAMixingRulesInterface): - def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... - def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltaNog(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadN(self, int: int, int2: int, int3: int, int4: int, int5: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int6: int) -> float: ... - def calcDeltadT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdT(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadTdV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... - def calcDeltadV(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def __init__(self, cPAMixingRuleHandler: "CPAMixingRuleHandler"): ... + def calcDelta( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltaNog( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadN( + self, + int: int, + int2: int, + int3: int, + int4: int, + int5: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int6: int, + ) -> float: ... + def calcDeltadT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdT( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadTdV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + def calcDeltadV( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... @typing.overload - def calcXi(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcXi( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload - def calcXi(self, intArray: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[int]]], jpype.JArray], intArray2: typing.Union[typing.List[typing.MutableSequence[typing.MutableSequence[typing.MutableSequence[int]]]], jpype.JArray], int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcXi( + self, + intArray: typing.Union[ + typing.List[typing.MutableSequence[typing.MutableSequence[int]]], + jpype.JArray, + ], + intArray2: typing.Union[ + typing.List[ + typing.MutableSequence[ + typing.MutableSequence[typing.MutableSequence[int]] + ] + ], + jpype.JArray, + ], + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... + class PCSAFTa_Radoch(jneqsim.thermo.mixingrule.CPAMixingRuleHandler.CPA_Radoch): - def __init__(self, cPAMixingRuleHandler: 'CPAMixingRuleHandler'): ... + def __init__(self, cPAMixingRuleHandler: "CPAMixingRuleHandler"): ... @typing.overload - def calcDelta(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcDelta( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload - def calcDelta(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def calcDelta( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... @typing.overload - def getCrossAssociationEnergy(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getCrossAssociationEnergy( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload - def getCrossAssociationEnergy(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def getCrossAssociationEnergy( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... @typing.overload - def getCrossAssociationVolume(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def getCrossAssociationVolume( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload - def getCrossAssociationVolume(self, int: int, int2: int, int3: int, int4: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int5: int) -> float: ... + def getCrossAssociationVolume( + self, + int: int, + int2: int, + int3: int, + int4: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int5: int, + ) -> float: ... class EosMixingRuleHandler(MixingRuleHandler): mixingRuleGEModel: java.lang.String = ... @@ -268,115 +796,395 @@ class EosMixingRuleHandler(MixingRuleHandler): nEOSkij: float = ... calcEOSInteractionParameters: typing.ClassVar[bool] = ... def __init__(self): ... - def clone(self) -> 'EosMixingRuleHandler': ... - def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str], phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def clone(self) -> "EosMixingRuleHandler": ... + def displayInteractionCoefficients( + self, + string: typing.Union[java.lang.String, str], + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getClassicOrHV(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getClassicOrWS(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getElectrolyteMixingRule(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> ElectrolyteMixingRulesInterface: ... + def getClassicOrHV( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getClassicOrWS( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getElectrolyteMixingRule( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> ElectrolyteMixingRulesInterface: ... def getHVDij(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getHVDijT(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getHValpha(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... @typing.overload def getMixingRule(self, int: int) -> EosMixingRulesInterface: ... @typing.overload - def getMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> EosMixingRulesInterface: ... + def getMixingRule( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> EosMixingRulesInterface: ... def getMixingRuleName(self) -> java.lang.String: ... def getNRTLDij(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getNRTLDijT(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getNRTLalpha(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getSRKbinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getWSintparam(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getSRKbinaryInteractionParameters( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getWSintparam( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def isCalcEOSInteractionParameters(self) -> bool: ... - def resetMixingRule(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> EosMixingRulesInterface: ... + def resetMixingRule( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> EosMixingRulesInterface: ... def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMixingRuleName(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMixingRuleName( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + class ClassicSRK(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicVdW): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def clone(self) -> 'EosMixingRuleHandler.ClassicSRK': ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def clone(self) -> "EosMixingRuleHandler.ClassicSRK": ... def getkij(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK): @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', int: int): ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiTT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def clone(self) -> 'EosMixingRuleHandler.ClassicSRKT': ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler", int: int): ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiTT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def clone(self) -> "EosMixingRuleHandler.ClassicSRKT": ... def getkij(self, double: float, int: int, int2: int) -> float: ... def getkijdT(self, double: float, int: int, int2: int) -> float: ... def getkijdTdT(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT2(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRKT): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... - def clone(self) -> 'EosMixingRuleHandler.ClassicSRKT': ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... + def clone(self) -> "EosMixingRuleHandler.ClassicSRKT": ... def getkij(self, double: float, int: int, int2: int) -> float: ... def getkijdT(self, double: float, int: int, int2: int) -> float: ... def getkijdTdT(self, double: float, int: int, int2: int) -> float: ... + class ClassicSRKT2x(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRKT2): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload def getkij(self, double: float, int: int, int2: int) -> float: ... @typing.overload - def getkij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int: int, int2: int) -> float: ... - def getkijdn(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int2: int, int3: int) -> float: ... - def getkijdndn(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, int3: int, int4: int) -> float: ... + def getkij( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + int: int, + int2: int, + ) -> float: ... + def getkijdn( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + int2: int, + int3: int, + ) -> float: ... + def getkijdndn( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + int3: int, + int4: int, + ) -> float: ... + class ClassicVdW(EosMixingRulesInterface): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBFull(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBi2(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBiFull(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def clone(self) -> 'EosMixingRuleHandler.ClassicVdW': ... + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBFull( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBi2( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBiFull( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def clone(self) -> "EosMixingRuleHandler.ClassicVdW": ... def equals(self, object: typing.Any) -> bool: ... def getA(self) -> float: ... def getB(self) -> float: ... def getBinaryInteractionParameter(self, int: int, int2: int) -> float: ... def getBinaryInteractionParameterT1(self, int: int, int2: int) -> float: ... - def getBinaryInteractionParameters(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBinaryInteractionParameters( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getBmixType(self) -> int: ... def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getName(self) -> java.lang.String: ... - def getbij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getbij( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... def prettyPrintKij(self) -> None: ... - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterT1(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterij(self, int: int, int2: int, double: float) -> None: ... - def setBinaryInteractionParameterji(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameter( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterT1( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterij( + self, int: int, int2: int, double: float + ) -> None: ... + def setBinaryInteractionParameterji( + self, int: int, int2: int, double: float + ) -> None: ... def setBmixType(self, int: int) -> None: ... def setCalcEOSInteractionParameters(self, boolean: bool) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setnEOSkij(self, double: float) -> None: ... + class ElectrolyteMixRule(ElectrolyteMixingRulesInterface): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... - def calcW(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + ): ... + def calcW( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWTT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcWi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... @typing.overload - def calcWij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcWij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... @typing.overload - def calcWij(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def calcWij( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... def getName(self) -> java.lang.String: ... def getWij(self, int: int, int2: int, double: float) -> float: ... def getWijParameter(self, int: int, int2: int) -> float: ... @@ -389,76 +1197,396 @@ class EosMixingRuleHandler(MixingRuleHandler): def setWijParameter(self, int: int, int2: int, double: float) -> None: ... def setWijT1Parameter(self, int: int, int2: int, double: float) -> None: ... def setWijT2Parameter(self, int: int, int2: int, double: float) -> None: ... - class SRKHuronVidal(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, HVMixingRulesInterface): + + class SRKHuronVidal( + jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, + HVMixingRulesInterface, + ): @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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]): ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + 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 + ], + ): ... @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def equals(self, object: typing.Any) -> bool: ... def getHVDijParameter(self, int: int, int2: int) -> float: ... def getHVDijTParameter(self, int: int, int2: int) -> float: ... def getHValphaParameter(self, int: int, int2: int) -> float: ... def getKijWongSandler(self, int: int, int2: int) -> float: ... - def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setClassicOrHV( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... def setKijWongSandler(self, int: int, int2: int, double: float) -> None: ... - class SRKHuronVidal2(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, HVMixingRulesInterface): + + class SRKHuronVidal2( + jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK, + HVMixingRulesInterface, + ): @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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]): ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + 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 + ], + ): ... @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def getGEPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getHVDijParameter(self, int: int, int2: int) -> float: ... def getHVDijTParameter(self, int: int, int2: int) -> float: ... def getHValphaParameter(self, int: int, int2: int) -> float: ... def getKijWongSandler(self, int: int, int2: int) -> float: ... - def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> None: ... - def setClassicOrHV(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> None: ... + def init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> None: ... + def setClassicOrHV( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> None: ... def setHVDijParameter(self, int: int, int2: int, double: float) -> None: ... def setHVDijTParameter(self, int: int, int2: int, double: float) -> None: ... def setHValphaParameter(self, int: int, int2: int, double: float) -> None: ... def setKijWongSandler(self, int: int, int2: int, double: float) -> None: ... - class WhitsonSoreideMixingRule(jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK): - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler'): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def getkijWhitsonSoreideAqueous(self, componentEosInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentEosInterface], jpype.JArray], double: float, double2: float, int: int, int2: int) -> float: ... - class WongSandlerMixingRule(jneqsim.thermo.mixingrule.EosMixingRuleHandler.SRKHuronVidal2): + + class WhitsonSoreideMixingRule( + jneqsim.thermo.mixingrule.EosMixingRuleHandler.ClassicSRK + ): + def __init__(self, eosMixingRuleHandler: "EosMixingRuleHandler"): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def getkijWhitsonSoreideAqueous( + self, + componentEosInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentEosInterface], + jpype.JArray, + ], + double: float, + double2: float, + int: int, + int2: int, + ) -> float: ... + + class WongSandlerMixingRule( + jneqsim.thermo.mixingrule.EosMixingRuleHandler.SRKHuronVidal2 + ): @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, 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]): ... + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + 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 + ], + ): ... @typing.overload - def __init__(self, eosMixingRuleHandler: 'EosMixingRuleHandler', phaseInterface: jneqsim.thermo.phase.PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]): ... - def calcA(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBTT(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBiT(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def init(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, double: float, double2: float, int: int) -> None: ... - + def __init__( + self, + eosMixingRuleHandler: "EosMixingRuleHandler", + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ): ... + def calcA( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcATT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBTT( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBiT( + self, + int: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def init( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + double: float, + double2: float, + int: int, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.mixingrule")``. diff --git a/src/jneqsim-stubs/thermo/phase/__init__.pyi b/src/jneqsim-stubs/thermo/phase/__init__.pyi index 7701d6c3..fbf7adc4 100644 --- a/src/jneqsim-stubs/thermo/phase/__init__.pyi +++ b/src/jneqsim-stubs/thermo/phase/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -18,10 +18,8 @@ import jneqsim.thermo.util.gerg import org.netlib.util import typing - - class CPAContribution(java.io.Serializable): - def __init__(self, phaseEos: 'PhaseEos'): ... + def __init__(self, phaseEos: "PhaseEos"): ... @staticmethod def calcG(double: float, double2: float) -> float: ... @staticmethod @@ -32,12 +30,36 @@ class CPAContribution(java.io.Serializable): def calc_lngVVV(self) -> float: ... class PhaseGEInterface: - def getExcessGibbsEnergy(self, phaseInterface: 'PhaseInterface', int: int, double: float, double2: 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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def getExcessGibbsEnergy( + self, + phaseInterface: "PhaseInterface", + int: int, + double: float, + double2: 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... -class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable): +class PhaseInterface( + jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.Cloneable +): def FB(self) -> float: ... def FBB(self) -> float: ... def FBD(self) -> float: ... @@ -54,23 +76,77 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C def Fn(self) -> float: ... def FnB(self) -> float: ... def FnV(self) -> float: ... - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def addMoles(self, int: int, double: float) -> None: ... @typing.overload def addMolesChemReac(self, int: int, double: float, double2: float) -> None: ... @typing.overload def addMolesChemReac(self, int: int, double: float) -> None: ... - def calcA(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... - def calcAT(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... - def calcAi(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: 'PhaseInterface', double: float, double2: float, int3: int) -> float: ... + def calcA( + self, phaseInterface: "PhaseInterface", double: float, double2: float, int: int + ) -> float: ... + def calcAT( + self, + int: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, phaseInterface: "PhaseInterface", double: float, double2: float, int: int + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: "PhaseInterface", + double: float, + double2: float, + int3: int, + ) -> float: ... def calcMolarVolume(self, boolean: bool) -> None: ... def calcR(self) -> float: ... - def clone(self) -> 'PhaseInterface': ... + def clone(self) -> "PhaseInterface": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -94,7 +170,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... def getActivityCoefficientSymetric(self, int: int) -> float: ... def getActivityCoefficientUnSymetric(self, int: int) -> float: ... def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... @@ -102,26 +180,46 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... @typing.overload - def getAlpha0_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[org.netlib.util.doubleW]: ... def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - @typing.overload - def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - @typing.overload - def getAlphares_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_EOSCG( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Vega( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getAntoineVaporPressure(self, double: float) -> float: ... def getB(self) -> float: ... def getBeta(self) -> float: ... @typing.overload def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... @typing.overload - def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponent( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.component.ComponentInterface: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getComponentWithIndex(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... - def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... - def getComposition(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getComponentWithIndex( + self, int: int + ) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponents( + self, + ) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getComposition( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getCompressibilityX(self) -> float: ... def getCompressibilityY(self) -> float: ... def getCorrectedVolume(self) -> float: ... @@ -145,7 +243,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDensity_Vega(self) -> float: ... @typing.overload def getEnthalpy(self) -> float: ... @@ -177,13 +277,17 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getIsobaricThermalExpansivity(self) -> float: ... def getIsothermalCompressibility(self) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -195,7 +299,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C def getMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMixGibbsEnergy(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.MixingRulesInterface: ... - def getMixingRuleType(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getMixingRuleType( + self, + ) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... def getModelName(self) -> java.lang.String: ... def getMolalMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMolarComposition(self) -> typing.MutableSequence[float]: ... @@ -215,11 +321,15 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C def getOsmoticCoefficient(self, int: int) -> float: ... def getOsmoticCoefficientOfWater(self) -> float: ... def getOsmoticCoefficientOfWaterMolality(self) -> float: ... - def getPhase(self) -> 'PhaseInterface': ... + def getPhase(self) -> "PhaseInterface": ... def getPhaseFraction(self) -> float: ... def getPhaseTypeName(self) -> java.lang.String: ... - def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... - def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... + def getPhysicalProperties( + self, + ) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel( + self, + ) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -229,7 +339,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getProperties_Leachman(self) -> typing.MutableSequence[float]: ... @typing.overload - def getProperties_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getProperties_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getProperties_Vega(self) -> typing.MutableSequence[float]: ... def getPseudoCriticalPressure(self) -> float: ... def getPseudoCriticalTemperature(self) -> float: ... @@ -238,9 +350,9 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getPureComponentFugacity(self, int: int, boolean: bool) -> float: ... @typing.overload - def getRefPhase(self, int: int) -> 'PhaseInterface': ... + def getRefPhase(self, int: int) -> "PhaseInterface": ... @typing.overload - def getRefPhase(self) -> typing.MutableSequence['PhaseInterface']: ... + def getRefPhase(self) -> typing.MutableSequence["PhaseInterface"]: ... @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload @@ -253,9 +365,11 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalVolume(self) -> float: ... - def getType(self) -> 'PhaseType': ... + def getType(self) -> "PhaseType": ... @typing.overload def getViscosity(self) -> float: ... @typing.overload @@ -269,13 +383,21 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C def getWtFrac(self, int: int) -> float: ... @typing.overload def getWtFrac(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getWtFraction(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getWtFraction( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def getWtFractionOfWaxFormingComponents(self) -> float: ... def getZ(self) -> float: ... def getZvolcorr(self) -> float: ... - def geta(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... - def getb(self, phaseInterface: 'PhaseInterface', double: float, double2: float, int: int) -> float: ... - def getcomponentArray(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def geta( + self, phaseInterface: "PhaseInterface", double: float, double2: float, int: int + ) -> float: ... + def getb( + self, phaseInterface: "PhaseInterface", double: float, double2: float, int: int + ) -> float: ... + def getcomponentArray( + self, + ) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... def getdPdTVn(self) -> float: ... def getdPdVTn(self) -> float: ... def getdPdrho(self) -> float: ... @@ -288,14 +410,18 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def getpH(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + def hasComponent( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> bool: ... @typing.overload def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hasIons(self) -> bool: ... def hasPlusFraction(self) -> bool: ... def hasTBPFraction(self) -> bool: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: 'PhaseType', double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: "PhaseType", double2: float + ) -> None: ... @typing.overload def init(self) -> None: ... @typing.overload @@ -303,89 +429,153 @@ class PhaseInterface(jneqsim.thermo.ThermodynamicConstantsInterface, java.lang.C @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initPhysicalProperties( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def initRefPhases(self, boolean: bool) -> None: ... def isAsphalteneRich(self) -> bool: ... def isConstantPhaseVolume(self) -> bool: ... def isMixingRuleDefined(self) -> bool: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: 'PhaseType') -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: "PhaseType", + ) -> float: ... def normalize(self) -> None: ... - def removeComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def removeComponent( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def resetPhysicalProperties(self) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... def setBeta(self, double: float) -> None: ... - def setComponentArray(self, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> None: ... + def setComponentArray( + self, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + ) -> None: ... def setConstantPhaseVolume(self, boolean: bool) -> None: ... def setEmptyFluid(self) -> None: ... def setInitType(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setMolarVolume(self, double: float) -> None: ... - def setMoleFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMoleFractions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNumberOfComponents(self, int: int) -> None: ... - def setParams(self, phaseInterface: 'PhaseInterface', 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setParams( + self, + phaseInterface: "PhaseInterface", + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def setPhaseTypeName(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setPhysicalProperties(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPhysicalProperties( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... @typing.overload def setPhysicalProperties(self) -> None: ... - def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... - def setPpm(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPhysicalPropertyModel( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... + def setPpm( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... def setPressure(self, double: float) -> None: ... - def setProperties(self, phaseInterface: 'PhaseInterface') -> None: ... + def setProperties(self, phaseInterface: "PhaseInterface") -> None: ... @typing.overload - def setRefPhase(self, int: int, phaseInterface: 'PhaseInterface') -> None: ... + def setRefPhase(self, int: int, phaseInterface: "PhaseInterface") -> None: ... @typing.overload - def setRefPhase(self, phaseInterfaceArray: typing.Union[typing.List['PhaseInterface'], jpype.JArray]) -> None: ... + def setRefPhase( + self, + phaseInterfaceArray: typing.Union[typing.List["PhaseInterface"], jpype.JArray], + ) -> None: ... def setTemperature(self, double: float) -> None: ... def setTotalVolume(self, double: float) -> None: ... - def setType(self, phaseType: 'PhaseType') -> None: ... + def setType(self, phaseType: "PhaseType") -> None: ... @typing.overload def useVolumeCorrection(self) -> bool: ... @typing.overload def useVolumeCorrection(self, boolean: bool) -> None: ... -class PhaseType(java.lang.Enum['PhaseType']): - LIQUID: typing.ClassVar['PhaseType'] = ... - GAS: typing.ClassVar['PhaseType'] = ... - OIL: typing.ClassVar['PhaseType'] = ... - AQUEOUS: typing.ClassVar['PhaseType'] = ... - HYDRATE: typing.ClassVar['PhaseType'] = ... - WAX: typing.ClassVar['PhaseType'] = ... - SOLID: typing.ClassVar['PhaseType'] = ... - SOLIDCOMPLEX: typing.ClassVar['PhaseType'] = ... - ASPHALTENE: typing.ClassVar['PhaseType'] = ... - LIQUID_ASPHALTENE: typing.ClassVar['PhaseType'] = ... +class PhaseType(java.lang.Enum["PhaseType"]): + LIQUID: typing.ClassVar["PhaseType"] = ... + GAS: typing.ClassVar["PhaseType"] = ... + OIL: typing.ClassVar["PhaseType"] = ... + AQUEOUS: typing.ClassVar["PhaseType"] = ... + HYDRATE: typing.ClassVar["PhaseType"] = ... + WAX: typing.ClassVar["PhaseType"] = ... + SOLID: typing.ClassVar["PhaseType"] = ... + SOLIDCOMPLEX: typing.ClassVar["PhaseType"] = ... + ASPHALTENE: typing.ClassVar["PhaseType"] = ... + LIQUID_ASPHALTENE: typing.ClassVar["PhaseType"] = ... @staticmethod - def byDesc(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... + def byDesc(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def byName(string: typing.Union[java.lang.String, str]) -> 'PhaseType': ... + def byName(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def byValue(int: int) -> 'PhaseType': ... + def byValue(int: int) -> "PhaseType": ... def getDesc(self) -> java.lang.String: ... def getValue(self) -> int: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'PhaseType': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "PhaseType": ... @staticmethod - def values() -> typing.MutableSequence['PhaseType']: ... + def values() -> typing.MutableSequence["PhaseType"]: ... -class StateOfMatter(java.lang.Enum['StateOfMatter']): - GAS: typing.ClassVar['StateOfMatter'] = ... - LIQUID: typing.ClassVar['StateOfMatter'] = ... - SOLID: typing.ClassVar['StateOfMatter'] = ... +class StateOfMatter(java.lang.Enum["StateOfMatter"]): + GAS: typing.ClassVar["StateOfMatter"] = ... + LIQUID: typing.ClassVar["StateOfMatter"] = ... + SOLID: typing.ClassVar["StateOfMatter"] = ... @staticmethod - def fromPhaseType(phaseType: PhaseType) -> 'StateOfMatter': ... + def fromPhaseType(phaseType: PhaseType) -> "StateOfMatter": ... @staticmethod def isAsphaltene(phaseType: PhaseType) -> bool: ... @staticmethod @@ -394,19 +584,23 @@ class StateOfMatter(java.lang.Enum['StateOfMatter']): def isLiquid(phaseType: PhaseType) -> bool: ... @staticmethod def isSolid(phaseType: PhaseType) -> bool: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'StateOfMatter': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "StateOfMatter": ... @staticmethod - def values() -> typing.MutableSequence['StateOfMatter']: ... + def values() -> typing.MutableSequence["StateOfMatter"]: ... class Phase(PhaseInterface): numberOfComponents: int = ... - componentArray: typing.MutableSequence[jneqsim.thermo.component.ComponentInterface] = ... + componentArray: typing.MutableSequence[ + jneqsim.thermo.component.ComponentInterface + ] = ... calcMolarVolume: bool = ... physicalPropertyHandler: jneqsim.physicalproperties.PhysicalPropertyHandler = ... chemSyst: bool = ... @@ -430,31 +624,94 @@ class Phase(PhaseInterface): def FnB(self) -> float: ... def FnV(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... def addMoles(self, int: int, double: float) -> None: ... @typing.overload def addMolesChemReac(self, int: int, double: float) -> None: ... @typing.overload def addMolesChemReac(self, int: int, double: float, double2: float) -> None: ... @typing.overload - def calcA(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - @typing.overload - def calcA(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcA( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + @typing.overload + def calcA( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcAT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcDiElectricConstant(self, double: float) -> float: ... def calcDiElectricConstantdT(self, double: float) -> float: ... def calcDiElectricConstantdTdT(self, double: float) -> float: ... def calcMolarVolume(self, boolean: bool) -> None: ... def calcR(self) -> float: ... - def clone(self) -> 'Phase': ... + def clone(self) -> "Phase": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -479,7 +736,9 @@ class Phase(PhaseInterface): @typing.overload def getActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... def getActivityCoefficientSymetric(self, int: int) -> float: ... def getActivityCoefficientUnSymetric(self, int: int) -> float: ... def getAiT(self) -> float: ... @@ -488,15 +747,27 @@ class Phase(PhaseInterface): @typing.overload def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... @typing.overload - def getAlpha0_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[org.netlib.util.doubleW]: ... + def getAlpha0_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[org.netlib.util.doubleW]: ... def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - @typing.overload - def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - @typing.overload - def getAlphares_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_EOSCG( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + @typing.overload + def getAlphares_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Vega( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getAntoineVaporPressure(self, double: float) -> float: ... def getB(self) -> float: ... def getBeta(self) -> float: ... @@ -504,11 +775,19 @@ class Phase(PhaseInterface): @typing.overload def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... @typing.overload - def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponent( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.component.ComponentInterface: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... - def getComponentWithIndex(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... - def getComponents(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... - def getComposition(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getComponentWithIndex( + self, int: int + ) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponents( + self, + ) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def getComposition( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getCompressibilityX(self) -> float: ... def getCompressibilityY(self) -> float: ... def getCorrectedVolume(self) -> float: ... @@ -533,7 +812,9 @@ class Phase(PhaseInterface): @typing.overload def getDensity_Leachman(self) -> float: ... @typing.overload - def getDensity_Leachman(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getDensity_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getDensity_Vega(self) -> float: ... def getDielectricConstant(self) -> float: ... @typing.overload @@ -570,13 +851,17 @@ class Phase(PhaseInterface): @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getIsobaricThermalExpansivity(self) -> float: ... def getIsothermalCompressibility(self) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... def getLogActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload @@ -590,7 +875,9 @@ class Phase(PhaseInterface): def getMass(self) -> float: ... def getMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMixGibbsEnergy(self) -> float: ... - def getMixingRuleType(self) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... + def getMixingRuleType( + self, + ) -> jneqsim.thermo.mixingrule.MixingRuleTypeInterface: ... def getModelName(self) -> java.lang.String: ... def getMolalMeanIonicActivity(self, int: int, int2: int) -> float: ... def getMolarComposition(self) -> typing.MutableSequence[float]: ... @@ -611,8 +898,12 @@ class Phase(PhaseInterface): def getOsmoticCoefficientOfWater(self) -> float: ... def getOsmoticCoefficientOfWaterMolality(self) -> float: ... def getPhase(self) -> PhaseInterface: ... - def getPhysicalProperties(self) -> jneqsim.physicalproperties.system.PhysicalProperties: ... - def getPhysicalPropertyModel(self) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... + def getPhysicalProperties( + self, + ) -> jneqsim.physicalproperties.system.PhysicalProperties: ... + def getPhysicalPropertyModel( + self, + ) -> jneqsim.physicalproperties.system.PhysicalPropertyModel: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -622,7 +913,9 @@ class Phase(PhaseInterface): @typing.overload def getProperties_Leachman(self) -> typing.MutableSequence[float]: ... @typing.overload - def getProperties_Leachman(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getProperties_Leachman( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getProperties_Vega(self) -> typing.MutableSequence[float]: ... def getPseudoCriticalPressure(self) -> float: ... def getPseudoCriticalTemperature(self) -> float: ... @@ -647,7 +940,9 @@ class Phase(PhaseInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getThermoPropertyModelName(self) -> java.lang.String: ... def getTotalVolume(self) -> float: ... def getType(self) -> PhaseType: ... @@ -664,13 +959,21 @@ class Phase(PhaseInterface): def getWtFrac(self, int: int) -> float: ... @typing.overload def getWtFrac(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getWtFraction(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def getWtFraction( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def getWtFractionOfWaxFormingComponents(self) -> float: ... def getZ(self) -> float: ... def getZvolcorr(self) -> float: ... - def geta(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def getb(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def getcomponentArray(self) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... + def geta( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def getb( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def getcomponentArray( + self, + ) -> typing.MutableSequence[jneqsim.thermo.component.ComponentInterface]: ... def getdPdTVn(self) -> float: ... def getdPdVTn(self) -> float: ... def getdPdrho(self) -> float: ... @@ -684,7 +987,9 @@ class Phase(PhaseInterface): def getpH(self, string: typing.Union[java.lang.String, str]) -> float: ... def groupTBPfractions(self) -> typing.MutableSequence[float]: ... @typing.overload - def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + def hasComponent( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> bool: ... @typing.overload def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... def hasPlusFraction(self) -> bool: ... @@ -694,44 +999,91 @@ class Phase(PhaseInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initPhysicalProperties( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... @typing.overload def initRefPhases(self, boolean: bool) -> None: ... @typing.overload - def initRefPhases(self, boolean: bool, string: typing.Union[java.lang.String, str]) -> None: ... + def initRefPhases( + self, boolean: bool, string: typing.Union[java.lang.String, str] + ) -> None: ... def isConstantPhaseVolume(self) -> bool: ... def isMixingRuleDefined(self) -> bool: ... def normalize(self) -> None: ... - def removeComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def removeComponent( + self, string: typing.Union[java.lang.String, str], double: float, double2: float + ) -> None: ... def resetPhysicalProperties(self) -> None: ... def setAttractiveTerm(self, int: int) -> None: ... def setBeta(self, double: float) -> None: ... - def setComponentArray(self, componentInterfaceArray: typing.Union[typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray]) -> None: ... + def setComponentArray( + self, + componentInterfaceArray: typing.Union[ + typing.List[jneqsim.thermo.component.ComponentInterface], jpype.JArray + ], + ) -> None: ... def setConstantPhaseVolume(self, boolean: bool) -> None: ... def setEmptyFluid(self) -> None: ... def setInitType(self, int: int) -> None: ... def setMolarVolume(self, double: float) -> None: ... - def setMoleFractions(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMoleFractions( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setNumberOfComponents(self, int: int) -> None: ... - def setParams(self, phaseInterface: PhaseInterface, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setParams( + self, + phaseInterface: PhaseInterface, + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setPhysicalProperties(self) -> None: ... @typing.overload - def setPhysicalProperties(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... - def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... - def setPpm(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPhysicalProperties( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... + def setPhysicalPropertyModel( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... + def setPpm( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... def setPressure(self, double: float) -> None: ... def setProperties(self, phaseInterface: PhaseInterface) -> None: ... @typing.overload def setRefPhase(self, int: int, phaseInterface: PhaseInterface) -> None: ... @typing.overload - def setRefPhase(self, phaseInterfaceArray: typing.Union[typing.List[PhaseInterface], jpype.JArray]) -> None: ... + def setRefPhase( + self, + phaseInterfaceArray: typing.Union[typing.List[PhaseInterface], jpype.JArray], + ) -> None: ... def setTemperature(self, double: float) -> None: ... def setTotalVolume(self, double: float) -> None: ... def setType(self, phaseType: PhaseType) -> None: ... @@ -748,7 +1100,9 @@ class PhaseEosInterface(PhaseInterface): def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... def dFdNdV(self, int: int) -> float: ... - def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str]) -> None: ... + def displayInteractionCoefficients( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def getAresTV(self) -> float: ... def getEosMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... def getMixingRuleName(self) -> java.lang.String: ... @@ -767,7 +1121,9 @@ class PhaseCPAInterface(PhaseEosInterface): def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... def getHcpatot(self) -> float: ... @@ -778,11 +1134,21 @@ class PhaseDefault(Phase): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, componentInterface: jneqsim.thermo.component.ComponentInterface): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def getGibbsEnergy(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @typing.overload @@ -793,14 +1159,35 @@ class PhaseDefault(Phase): def getSoundSpeed(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload def getSoundSpeed(self) -> float: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setComponentType(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setComponentType( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class PhaseEos(Phase, PhaseEosInterface): delta1: float = ... @@ -825,25 +1212,84 @@ class PhaseEos(Phase, PhaseEosInterface): def FnB(self) -> float: ... def FnV(self) -> float: ... @typing.overload - def calcA(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - @typing.overload - def calcA(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - @typing.overload - def calcAT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - @typing.overload - def calcAT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcATT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcAi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcAij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... - def calcB(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcBi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcBij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcA( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + @typing.overload + def calcA( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + @typing.overload + def calcAT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + @typing.overload + def calcAT( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcATT( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcAi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcAij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... + def calcB( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcBi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcBij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... def calcf(self) -> float: ... def calcg(self) -> float: ... - def clone(self) -> 'PhaseEos': ... + def clone(self) -> "PhaseEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -857,8 +1303,12 @@ class PhaseEos(Phase, PhaseEosInterface): def dFdxMatrix(self) -> typing.MutableSequence[float]: ... def dFdxMatrixSimple(self) -> typing.MutableSequence[float]: ... def dFdxdxMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def dFdxdxMatrixSimple(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def displayInteractionCoefficients(self, string: typing.Union[java.lang.String, str]) -> None: ... + def dFdxdxMatrixSimple( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def displayInteractionCoefficients( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def equals(self, object: typing.Any) -> bool: ... def fBB(self) -> float: ... def fBV(self) -> float: ... @@ -886,7 +1336,9 @@ class PhaseEos(Phase, PhaseEosInterface): def getHresTP(self) -> float: ... def getHresdP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getKappa(self) -> float: ... @@ -900,13 +1352,21 @@ class PhaseEos(Phase, PhaseEosInterface): def getSoundSpeed(self) -> float: ... def getSresTP(self) -> float: ... def getSresTV(self) -> float: ... - def getUSVHessianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def geta(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def getb(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... + def getUSVHessianMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def geta( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def getb( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... def getdPdTVn(self) -> float: ... def getdPdVTn(self) -> float: ... def getdPdrho(self) -> float: ... - def getdTVndSVnJaobiMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getdTVndSVnJaobiMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getdUdSVn(self) -> float: ... def getdUdSdSVn(self) -> float: ... def getdUdSdVn(self, phaseInterface: PhaseInterface) -> float: ... @@ -923,22 +1383,52 @@ class PhaseEos(Phase, PhaseEosInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class PhaseGE(Phase, PhaseGEInterface): def __init__(self): ... @typing.overload def getActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... def getActivityCoefficientInfDil(self, int: int) -> float: ... @@ -965,7 +1455,9 @@ class PhaseGE(Phase, PhaseGEInterface): @typing.overload def getEntropy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -983,15 +1475,38 @@ class PhaseGE(Phase, PhaseGEInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... - @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def init( + self, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + phaseType: PhaseType, + int2: int, + ) -> None: ... + @typing.overload + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class PhaseHydrate(Phase): @typing.overload @@ -999,11 +1514,21 @@ class PhaseHydrate(Phase): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseHydrate': ... - def getCavityOccupancy(self, string: typing.Union[java.lang.String, str], int: int, int2: int) -> float: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseHydrate": ... + def getCavityOccupancy( + self, string: typing.Union[java.lang.String, str], int: int, int2: int + ) -> float: ... def getCpres(self) -> float: ... def getCvres(self) -> float: ... @typing.overload @@ -1013,7 +1538,9 @@ class PhaseHydrate(Phase): def getHresTP(self) -> float: ... def getHydrationNumber(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getLargeCavityOccupancy(self, int: int) -> float: ... @@ -1026,7 +1553,9 @@ class PhaseHydrate(Phase): def getSresTP(self) -> float: ... def getStableHydrateStructure(self) -> int: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1038,23 +1567,52 @@ class PhaseHydrate(Phase): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setSolidRefFluidPhase(self, phaseInterface: PhaseInterface) -> None: ... class PhaseIdealGas(Phase): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseIdealGas': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseIdealGas": ... def getCpres(self) -> float: ... def getCvres(self) -> float: ... @typing.overload @@ -1063,7 +1621,9 @@ class PhaseIdealGas(Phase): def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMixingRule(self) -> jneqsim.thermo.mixingrule.EosMixingRulesInterface: ... @@ -1078,32 +1638,63 @@ class PhaseIdealGas(Phase): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def resetMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def resetMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setMixingRuleGEModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setMixingRuleGEModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setPressure(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... class PhaseAmmoniaEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... - def clone(self) -> 'PhaseAmmoniaEos': ... + def clone(self) -> "PhaseAmmoniaEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... def dFdNdV(self, int: int) -> float: ... def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1127,12 +1718,16 @@ class PhaseAmmoniaEos(PhaseEos): def getGibbsEnergy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... def getIsothermalCompressibility(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1140,7 +1735,9 @@ class PhaseAmmoniaEos(PhaseEos): @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload @@ -1153,17 +1750,36 @@ class PhaseAmmoniaEos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseDesmukhMather(PhaseGE): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1174,7 +1790,14 @@ class PhaseDesmukhMather(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> float: ... def getIonicStrength(self) -> float: ... def getSolventDensity(self) -> float: ... @@ -1185,70 +1808,225 @@ class PhaseDesmukhMather(PhaseGE): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - @typing.overload - def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def setAij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def setAlpha(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def setBij(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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + @typing.overload + def init( + self, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + phaseType: PhaseType, + int2: int, + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def setAij( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def setAlpha( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def setBij( + 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseDuanSun(PhaseGE): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> 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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseGENRTL(PhaseGE): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> 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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseGERG2004Eos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseGERG2004Eos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseGERG2004Eos": ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1267,11 +2045,15 @@ class PhaseGERG2004Eos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1279,19 +2061,36 @@ class PhaseGERG2004Eos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setxFracGERG(self) -> None: ... class PhaseGERG2008Eos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... - def clone(self) -> 'PhaseGERG2008Eos': ... + def clone(self) -> "PhaseGERG2008Eos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1300,8 +2099,12 @@ class PhaseGERG2008Eos(PhaseEos): def dFdVdV(self) -> float: ... def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphaRes(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphaRes( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1328,11 +2131,15 @@ class PhaseGERG2008Eos(PhaseEos): def getGresTP(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... @@ -1345,62 +2152,190 @@ class PhaseGERG2008Eos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def invalidateCache(self) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def setGergModelType( + self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type + ) -> None: ... class PhaseGEUniquac(PhaseGE): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> 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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... class PhaseGEWilson(PhaseGE): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> 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: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + 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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseLeachmanEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... - def clone(self) -> 'PhaseLeachmanEos': ... + def clone(self) -> "PhaseLeachmanEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1427,11 +2362,15 @@ class PhaseLeachmanEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -1443,20 +2382,39 @@ class PhaseLeachmanEos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def invalidateCache(self) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhasePitzer(PhaseGE): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getActivityCoefficient(self, int: int, int2: int) -> float: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1489,7 +2447,14 @@ class PhasePitzer(PhaseGE): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getHresTP(self) -> float: ... def getHresdP(self) -> float: ... def getIonicStrength(self) -> float: ... @@ -1500,45 +2465,98 @@ class PhasePitzer(PhaseGE): def getThetaij(self, int: int, int2: int) -> float: ... def isParametersLoaded(self) -> bool: ... def loadParametersFromDatabase(self) -> None: ... - 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 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 setBeta0T(self, int: int, int2: int, double: float, double2: float) -> None: ... def setBeta1T(self, int: int, int2: int, double: float, double2: float) -> None: ... def setBeta2(self, int: int, int2: int, double: float) -> None: ... - def setBinaryParameters(self, int: int, int2: int, double: float, double2: float, double3: float) -> None: ... + def setBinaryParameters( + self, int: int, int2: int, double: float, double2: float, double3: float + ) -> None: ... def setCphiT(self, int: int, int2: int, double: float, double2: float) -> None: ... - def setDij(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def setDijT(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: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setPsi(self, int: int, int2: int, int3: int, double: float) -> None: ... def setTheta(self, int: int, int2: int, double: float) -> None: ... class PhasePrEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhasePrEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhasePrEos": ... class PhaseRK(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseRK': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseRK": ... class PhaseSpanWagnerEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSpanWagnerEos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSpanWagnerEos": ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1561,11 +2579,15 @@ class PhaseSpanWagnerEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -1578,35 +2600,68 @@ class PhaseSpanWagnerEos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def invalidateCache(self) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseSrkEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkEos": ... class PhaseTSTEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseTSTEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseTSTEos": ... class PhaseVegaEos(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... - def clone(self) -> 'PhaseVegaEos': ... + def clone(self) -> "PhaseVegaEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... @@ -1633,11 +2688,15 @@ class PhaseVegaEos(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getZ(self) -> float: ... @@ -1649,19 +2708,36 @@ class PhaseVegaEos(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def invalidateCache(self) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseWaterIAPWS(PhaseEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPressure(self) -> float: ... def calcPressuredV(self) -> float: ... - def clone(self) -> 'PhaseWaterIAPWS': ... + def clone(self) -> "PhaseWaterIAPWS": ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -1680,7 +2756,9 @@ class PhaseWaterIAPWS(PhaseEos): def getEntropy(self) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload @@ -1692,31 +2770,70 @@ class PhaseWaterIAPWS(PhaseEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseBNS(PhasePrEos): - def __init__(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], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray], doubleArray6: typing.Union[typing.List[float], jpype.JArray], doubleArray7: typing.Union[typing.List[float], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseBNS': ... + def __init__( + 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], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + doubleArray6: typing.Union[typing.List[float], jpype.JArray], + doubleArray7: typing.Union[typing.List[float], jpype.JArray], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseBNS": ... def setBnsBips(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseBWRSEos(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcPVT(self) -> None: ... def calcPressure2(self) -> float: ... - def clone(self) -> 'PhaseBWRSEos': ... + def clone(self) -> "PhaseBWRSEos": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -1742,7 +2859,9 @@ class PhaseBWRSEos(PhaseSrkEos): def getFpoldVdVdV(self) -> float: ... def getGammadRho(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... def getMolarDensity(self) -> float: ... @@ -1758,16 +2877,33 @@ class PhaseBWRSEos(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseCSPsrkEos(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseCSPsrkEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseCSPsrkEos": ... def dFdV(self) -> float: ... def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... @@ -1782,8 +2918,17 @@ class PhaseCSPsrkEos(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setAcrefBWRSPhase(self, double: float) -> None: ... def setBrefBWRSPhase(self, double: float) -> None: ... def setF_scale_mix(self, double: float) -> None: ... @@ -1793,16 +2938,26 @@ class PhaseCSPsrkEos(PhaseSrkEos): class PhaseEOSCGEos(PhaseGERG2008Eos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseEOSCGEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseEOSCGEos": ... def dFdN(self, int: int) -> float: ... def dFdNdN(self, int: int, int2: int) -> float: ... def dFdNdT(self, int: int) -> float: ... def dFdNdV(self, int: int) -> float: ... def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getProperties_GERG2008(self) -> typing.MutableSequence[float]: ... def getdPdTVn(self) -> float: ... @typing.overload @@ -1810,41 +2965,142 @@ class PhaseEOSCGEos(PhaseGERG2008Eos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseGENRTLmodifiedHV(PhaseGENRTL): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> float: ... def getHresTP(self) -> float: ... - def setDijT(self, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setDijT( + self, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - def setParams(self, phaseInterface: PhaseInterface, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + def setParams( + self, + phaseInterface: PhaseInterface, + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... class PhaseGEUnifac(PhaseGEUniquac): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcaij(self) -> None: ... def checkGroups(self) -> None: ... def getAij(self, int: int, int2: int) -> float: ... @@ -1853,43 +3109,91 @@ class PhaseGEUnifac(PhaseGEUniquac): @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getGibbsEnergy(self) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, double2: float, double3: float, double4: float, int: int, phaseType: PhaseType, int2: int) -> None: ... - @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, + double: float, + double2: float, + double3: float, + double4: float, + int: int, + phaseType: PhaseType, + int2: int, + ) -> None: ... + @typing.overload + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def setAij(self, int: int, int2: int, double: float) -> None: ... def setBij(self, int: int, int2: int, double: float) -> None: ... def setCij(self, int: int, int2: int, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseGEUniquacmodifiedHV(PhaseGEUniquac): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... class PhaseKentEisenberg(PhaseGENRTL): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload - def getActivityCoefficient(self, int: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getActivityCoefficient( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getActivityCoefficient(self, int: int) -> float: ... @typing.overload @@ -1942,9 +3246,17 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def XLRdGammaLR(self) -> float: ... def XLRdndn(self, int: int, int2: int) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcBornX(self) -> float: ... def calcDiElectricConstant(self, double: float) -> float: ... def calcDiElectricConstantdT(self, double: float) -> float: ... @@ -1964,13 +3276,37 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def calcSolventDiElectricConstant(self, double: float) -> float: ... def calcSolventDiElectricConstantdT(self, double: float) -> float: ... def calcSolventDiElectricConstantdTdT(self, double: float) -> float: ... - def calcW(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcW( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcWi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcXLR(self) -> float: ... def calcXLRdT(self) -> float: ... - def clone(self) -> 'PhaseModifiedFurstElectrolyteEos': ... + def clone(self) -> "PhaseModifiedFurstElectrolyteEos": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -2001,10 +3337,14 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): def getAlphaLRV(self) -> float: ... def getDielectricConstantdT(self) -> float: ... def getDielectricConstantdV(self) -> float: ... - def getDielectricMixingRule(self) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... + def getDielectricMixingRule( + self, + ) -> "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule": ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule( + self, + ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -2024,25 +3364,57 @@ class PhaseModifiedFurstElectrolyteEos(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def reInitFurstParam(self) -> None: ... - def setDielectricMixingRule(self, dielectricMixingRule: 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule') -> None: ... - def setFurstIonicCoefficient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setDielectricMixingRule( + self, + dielectricMixingRule: "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule", + ) -> None: ... + def setFurstIonicCoefficient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def volInit(self) -> None: ... - class DielectricMixingRule(java.lang.Enum['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']): - MOLAR_AVERAGE: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... - VOLUME_AVERAGE: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... - LOOYENGA: typing.ClassVar['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DielectricMixingRule( + java.lang.Enum["PhaseModifiedFurstElectrolyteEos.DielectricMixingRule"] + ): + MOLAR_AVERAGE: typing.ClassVar[ + "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" + ] = ... + VOLUME_AVERAGE: typing.ClassVar[ + "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" + ] = ... + LOOYENGA: typing.ClassVar[ + "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" + ] = ... + _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: ... + 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]) -> 'PhaseModifiedFurstElectrolyteEos.DielectricMixingRule': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule": ... @staticmethod - def values() -> typing.MutableSequence['PhaseModifiedFurstElectrolyteEos.DielectricMixingRule']: ... + def values() -> ( + typing.MutableSequence[ + "PhaseModifiedFurstElectrolyteEos.DielectricMixingRule" + ] + ): ... class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def __init__(self): ... @@ -2091,9 +3463,17 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def XLRdGammaLR(self) -> float: ... def XLRdndn(self, int: int, int2: int) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcBornX(self) -> float: ... def calcDiElectricConstant(self, double: float) -> float: ... def calcDiElectricConstantdT(self, double: float) -> float: ... @@ -2112,12 +3492,36 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def calcSolventDiElectricConstant(self, double: float) -> float: ... def calcSolventDiElectricConstantdT(self, double: float) -> float: ... def calcSolventDiElectricConstantdTdT(self, double: float) -> float: ... - def calcW(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def calcW( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcWi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcXLR(self) -> float: ... - def clone(self) -> 'PhaseModifiedFurstElectrolyteEosMod2004': ... + def clone(self) -> "PhaseModifiedFurstElectrolyteEosMod2004": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFLRdT(self) -> float: ... @@ -2150,7 +3554,9 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): def getDielectricConstantdV(self) -> float: ... def getDielectricT(self) -> float: ... def getDielectricV(self) -> float: ... - def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getElectrolyteMixingRule( + self, + ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getEps(self) -> float: ... def getEpsIonic(self) -> float: ... def getEpsIonicdV(self) -> float: ... @@ -2170,10 +3576,21 @@ class PhaseModifiedFurstElectrolyteEosMod2004(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def reInitFurstParam(self) -> None: ... - def setFurstIonicCoefficient(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setFurstIonicCoefficient( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def volInit(self) -> None: ... class PhasePCSAFT(PhaseSrkEos): @@ -2182,9 +3599,17 @@ class PhasePCSAFT(PhaseSrkEos): def F_DISP2_SAFT(self) -> float: ... def F_HC_SAFT(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcF1dispI1(self) -> float: ... def calcF1dispI1dN(self) -> float: ... def calcF1dispI1dNdN(self) -> float: ... @@ -2217,7 +3642,7 @@ class PhasePCSAFT(PhaseSrkEos): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> 'PhasePCSAFT': ... + def clone(self) -> "PhasePCSAFT": ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdTdT(self) -> float: ... def dF_DISP1_SAFTdTdV(self) -> float: ... @@ -2258,8 +3683,22 @@ class PhasePCSAFT(PhaseSrkEos): def getNSAFT(self) -> float: ... def getNmSAFT(self) -> float: ... def getVolumeSAFT(self) -> float: ... - def getaSAFT(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def getaSAFTdm(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getaSAFT( + self, + int: int, + double: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> float: ... + def getaSAFTdm( + self, + int: int, + double: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> float: ... def getd2DSAFTdTdT(self) -> float: ... def getdDSAFTdT(self) -> float: ... def getmSAFT(self) -> float: ... @@ -2269,9 +3708,20 @@ class PhasePCSAFT(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume22(self, double: float, double2: float, double3: float, double4: float, int: int) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume22( + self, double: float, double2: float, double3: float, double4: float, int: int + ) -> float: ... def setAHSSAFT(self, double: float) -> None: ... def setDSAFT(self, double: float) -> None: ... def setDgHSSAFTdN(self, double: float) -> None: ... @@ -2297,9 +3747,17 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calc_g(self) -> float: ... def calc_hCPA(self) -> float: ... def calc_hCPAdT(self) -> float: ... @@ -2308,7 +3766,7 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> 'PhasePrCPA': ... + def clone(self) -> "PhasePrCPA": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -2321,7 +3779,9 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2332,7 +3792,9 @@ class PhasePrCPA(PhasePrEos, PhaseCPAInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def setHcpatot(self, double: float) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def solveX(self) -> bool: ... @@ -2350,17 +3812,51 @@ class PhasePrEosvolcor(PhasePrEos): def FTC(self) -> float: ... def FnC(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def calcC( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCT( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcf(self) -> float: ... def calcg(self) -> float: ... - def clone(self) -> 'PhasePrEosvolcor': ... + def clone(self) -> "PhasePrEosvolcor": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -2391,15 +3887,29 @@ class PhasePrEosvolcor(PhasePrEos): def getCT(self) -> float: ... def getCTT(self) -> float: ... def getc(self) -> float: ... - def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... - def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... - def getcijTT(self, componentPRvolcor: jneqsim.thermo.component.ComponentPRvolcor, componentPRvolcor2: jneqsim.thermo.component.ComponentPRvolcor) -> float: ... + def getcij( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... + def getcijT( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... + def getcijTT( + self, + componentPRvolcor: jneqsim.thermo.component.ComponentPRvolcor, + componentPRvolcor2: jneqsim.thermo.component.ComponentPRvolcor, + ) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseSAFTVRMie(PhaseSrkEos): def __init__(self): ... @@ -2407,15 +3917,40 @@ class PhaseSAFTVRMie(PhaseSrkEos): def F_DISP_SAFT(self) -> float: ... def F_HC_SAFT(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @staticmethod - def calcA1MieAtEta(double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> float: ... + def calcA1MieAtEta( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> float: ... @staticmethod - def calcA2MieAtEta(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calcA2MieAtEta( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod - def calcA3Mie(double: float, double2: float, double3: float, double4: float) -> float: ... + def calcA3Mie( + double: float, double2: float, double3: float, double4: float + ) -> float: ... @staticmethod def calcAS1Bare(double: float, double2: float) -> float: ... @staticmethod @@ -2431,13 +3966,31 @@ class PhaseSAFTVRMie(PhaseSrkEos): def calcF2dispI2dN(self) -> float: ... def calcF2dispI2dm(self) -> float: ... @staticmethod - def calcG1Chain(double: float, double2: float, double3: float, double4: float, double5: float) -> float: ... + def calcG1Chain( + double: float, double2: float, double3: float, double4: float, double5: float + ) -> float: ... @staticmethod - def calcG2Chain(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calcG2Chain( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod def calcGHS_x0(double: float, double2: float) -> float: ... @staticmethod - def calcGMie(double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float) -> float: ... + def calcGMie( + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + ) -> float: ... @staticmethod def calcKHS(double: float) -> float: ... @staticmethod @@ -2448,7 +4001,7 @@ class PhaseSAFTVRMie(PhaseSrkEos): def calcdmeanSAFT(self) -> float: ... def calcmSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> 'PhaseSAFTVRMie': ... + def clone(self) -> "PhaseSAFTVRMie": ... def dF_ASSOC_SAFTdT(self) -> float: ... def dF_ASSOC_SAFTdTdT(self) -> float: ... def dF_ASSOC_SAFTdTdV(self) -> float: ... @@ -2475,7 +4028,9 @@ class PhaseSAFTVRMie(PhaseSrkEos): def getA3Disp(self) -> float: ... def getADispPerComp(self, int: int) -> float: ... def getAHSSAFT(self) -> float: ... - def getCrossAssociationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssociationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getDSAFT(self) -> float: ... def getDa1DispDeta(self) -> float: ... def getDa2DispDeta(self) -> float: ... @@ -2501,24 +4056,43 @@ class PhaseSAFTVRMie(PhaseSrkEos): def getVolumeSAFT(self) -> float: ... def getd2DSAFTdTdT(self) -> float: ... def getdDSAFTdT(self) -> float: ... - def getdDSAFTdTprime(self, double: float, double2: float, double3: float) -> float: ... + def getdDSAFTdTprime( + self, double: float, double2: float, double3: float + ) -> float: ... def getmSAFT(self) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def volInit(self) -> None: ... class PhaseSolid(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSolid': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSolid": ... @typing.overload def getCp(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload @@ -2540,7 +4114,9 @@ class PhaseSolid(PhaseSrkEos): def getEnthalpy(self) -> float: ... def getHresTP(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload @@ -2553,7 +4129,9 @@ class PhaseSolid(PhaseSrkEos): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def isAsphaltenePhase(self) -> bool: ... def isUseEosProperties(self) -> bool: ... def setSolidRefFluidPhase(self, phaseInterface: PhaseInterface) -> None: ... @@ -2563,11 +4141,19 @@ class PhaseSolid(PhaseSrkEos): class PhaseSoreideWhitson(PhasePrEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def addSalinity(self, double: float) -> None: ... - def clone(self) -> 'PhaseSoreideWhitson': ... + def clone(self) -> "PhaseSoreideWhitson": ... def getSalinity(self, double: float) -> float: ... def getSalinityConcentration(self) -> float: ... def setSalinityConcentration(self, double: float) -> None: ... @@ -2578,15 +4164,31 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcDelta(self) -> None: ... def calcPressure(self) -> float: ... def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... def calcXsitedV(self) -> None: ... - def clone(self) -> 'PhaseSrkCPA': ... - def croeneckerProduct(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 clone(self) -> "PhaseSrkCPA": ... + def croeneckerProduct( + 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 dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdTdV(self) -> float: ... @@ -2600,7 +4202,9 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2612,20 +4216,57 @@ class PhaseSrkCPA(PhaseSrkEos, PhaseCPAInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def initCPAMatrix(self, int: int) -> None: ... def initCPAMatrixOld(self, int: int) -> None: ... - def initOld2(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeOld(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def initOld2( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeOld( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setGcpav(self, double: float) -> None: ... def setHcpatot(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def solveX(self) -> bool: ... def solveX2(self, int: int) -> bool: ... @@ -2645,17 +4286,51 @@ class PhaseSrkEosvolcor(PhaseSrkEos): def FTC(self) -> float: ... def FnC(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def calcC( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCT( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcf(self) -> float: ... def calcg(self) -> float: ... - def clone(self) -> 'PhaseSrkEosvolcor': ... + def clone(self) -> "PhaseSrkEosvolcor": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -2686,23 +4361,45 @@ class PhaseSrkEosvolcor(PhaseSrkEos): def getCT(self) -> float: ... def getCTT(self) -> float: ... def getc(self) -> float: ... - def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... - def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... - def getcijTT(self, componentSrkvolcor: jneqsim.thermo.component.ComponentSrkvolcor, componentSrkvolcor2: jneqsim.thermo.component.ComponentSrkvolcor) -> float: ... + def getcij( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... + def getcijT( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... + def getcijTT( + self, + componentSrkvolcor: jneqsim.thermo.component.ComponentSrkvolcor, + componentSrkvolcor2: jneqsim.thermo.component.ComponentSrkvolcor, + ) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseSrkPenelouxEos(PhaseSrkEos): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkPenelouxEos': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkPenelouxEos": ... class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... @@ -2710,15 +4407,31 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcDelta(self) -> None: ... def calcPressure(self) -> float: ... def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... def calcXsitedV(self) -> None: ... - def clone(self) -> 'PhaseUMRCPA': ... - def croeneckerProduct(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 clone(self) -> "PhaseUMRCPA": ... + def croeneckerProduct( + 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 dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdTdV(self) -> float: ... @@ -2732,7 +4445,9 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2744,20 +4459,57 @@ class PhaseUMRCPA(PhasePrEos, PhaseCPAInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def initCPAMatrix(self, int: int) -> None: ... def initCPAMatrixOld(self, int: int) -> None: ... - def initOld2(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeOld(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def initOld2( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeOld( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setGcpav(self, double: float) -> None: ... def setHcpatot(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def solveX(self) -> bool: ... def solveX2(self, int: int) -> bool: ... @@ -2770,15 +4522,31 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcDelta(self) -> None: ... def calcPressure(self) -> float: ... def calcRootVolFinder(self, phaseType: PhaseType) -> float: ... def calcXsitedV(self) -> None: ... - def clone(self) -> 'PhaseElectrolyteCPA': ... - def croeneckerProduct(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 clone(self) -> "PhaseElectrolyteCPA": ... + def croeneckerProduct( + 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 dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdTdV(self) -> float: ... @@ -2792,7 +4560,9 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2803,17 +4573,45 @@ class PhaseElectrolyteCPA(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setGcpav(self, double: float) -> None: ... def setHcpatot(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def solveX(self) -> bool: ... def solveX2(self, int: int) -> bool: ... @@ -2844,9 +4642,17 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def FSR2epsepseps(self) -> float: ... def FShortRange(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcBornRadius(self, double: float, int: int) -> float: ... def calcBornX(self) -> float: ... def calcIonSolventW(self) -> float: ... @@ -2866,11 +4672,15 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def calcSolventPermittivitydTdT(self, double: float) -> float: ... def calcSolventPermittivitydn(self, int: int, double: float) -> float: ... def calcSolventPermittivitydndT(self, int: int, double: float) -> float: ... - def calcSolventPermittivitydndn(self, int: int, int2: int, double: float) -> float: ... + def calcSolventPermittivitydndn( + self, int: int, int2: int, double: float + ) -> float: ... def calcWi(self, int: int, double: float, double2: float, int2: int) -> float: ... def calcWiT(self, int: int, double: float, double2: float, int2: int) -> float: ... - def calcWij(self, int: int, int2: int, double: float, double2: float, int3: int) -> float: ... - def clone(self) -> 'PhaseElectrolyteCPAMM': ... + def calcWij( + self, int: int, int2: int, double: float, double2: float, int3: int + ) -> float: ... + def clone(self) -> "PhaseElectrolyteCPAMM": ... def dFBorndT(self) -> float: ... def dFBorndTdT(self) -> float: ... def dFBorndV(self) -> float: ... @@ -2894,8 +4704,12 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def dFdVdVdV(self) -> float: ... def getBornX(self) -> float: ... def getDebyeLength(self) -> float: ... - def getDielectricMixingRule(self) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... - def getElectrolyteMixingRule(self) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... + def getDielectricMixingRule( + self, + ) -> "PhaseElectrolyteCPAMM.DielectricMixingRule": ... + def getElectrolyteMixingRule( + self, + ) -> jneqsim.thermo.mixingrule.ElectrolyteMixingRulesInterface: ... def getF(self) -> float: ... def getIonSolventW(self) -> float: ... def getKappa(self) -> float: ... @@ -2916,7 +4730,9 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... def initElectrolyteProperties(self) -> None: ... def initMixingRuleWij(self) -> None: ... def isBornOn(self) -> bool: ... @@ -2924,23 +4740,41 @@ class PhaseElectrolyteCPAMM(PhaseSrkCPA): def isShortRangeOn(self) -> bool: ... def setBornOn(self, boolean: bool) -> None: ... def setDebyeHuckelOn(self, boolean: bool) -> None: ... - def setDielectricMixingRule(self, dielectricMixingRule: 'PhaseElectrolyteCPAMM.DielectricMixingRule') -> None: ... + def setDielectricMixingRule( + self, dielectricMixingRule: "PhaseElectrolyteCPAMM.DielectricMixingRule" + ) -> None: ... def setShortRangeOn(self, boolean: bool) -> None: ... - class DielectricMixingRule(java.lang.Enum['PhaseElectrolyteCPAMM.DielectricMixingRule']): - MOLAR_AVERAGE: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... - VOLUME_AVERAGE: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... - LOOYENGA: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... - OSTER: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... - LICHTENECKER: typing.ClassVar['PhaseElectrolyteCPAMM.DielectricMixingRule'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class DielectricMixingRule( + java.lang.Enum["PhaseElectrolyteCPAMM.DielectricMixingRule"] + ): + MOLAR_AVERAGE: typing.ClassVar["PhaseElectrolyteCPAMM.DielectricMixingRule"] = ( + ... + ) + VOLUME_AVERAGE: typing.ClassVar[ + "PhaseElectrolyteCPAMM.DielectricMixingRule" + ] = ... + LOOYENGA: typing.ClassVar["PhaseElectrolyteCPAMM.DielectricMixingRule"] = ... + OSTER: typing.ClassVar["PhaseElectrolyteCPAMM.DielectricMixingRule"] = ... + LICHTENECKER: typing.ClassVar["PhaseElectrolyteCPAMM.DielectricMixingRule"] = ( + ... + ) + _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: ... + 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]) -> 'PhaseElectrolyteCPAMM.DielectricMixingRule': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "PhaseElectrolyteCPAMM.DielectricMixingRule": ... @staticmethod - def values() -> typing.MutableSequence['PhaseElectrolyteCPAMM.DielectricMixingRule']: ... + def values() -> ( + typing.MutableSequence["PhaseElectrolyteCPAMM.DielectricMixingRule"] + ): ... class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface): cpaSelect: jneqsim.thermo.mixingrule.CPAMixingRuleHandler = ... @@ -2948,9 +4782,17 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcXsitedT(self) -> None: ... def calc_g(self) -> float: ... def calc_hCPA(self) -> float: ... @@ -2960,7 +4802,7 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> 'PhaseElectrolyteCPAOld': ... + def clone(self) -> "PhaseElectrolyteCPAOld": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdV(self) -> float: ... @@ -2973,7 +4815,9 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -2985,16 +4829,44 @@ class PhaseElectrolyteCPAOld(PhaseModifiedFurstElectrolyteEos, PhaseCPAInterface @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume2(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolume3(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume2( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolume3( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setGcpav(self, double: float) -> None: ... def setHcpatot(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def setXsiteOld(self) -> None: ... def setXsitedV(self, double: float) -> None: ... @@ -3004,69 +4876,201 @@ class PhaseGENRTLmodifiedWS(PhaseGENRTLmodifiedHV): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + 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 + ], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseGEUnifacPSRK(PhaseGEUnifac): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcbij(self) -> None: ... def calccij(self) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhaseGEUnifacUMRPRU(PhaseGEUnifac): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: PhaseInterface, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], doubleArray2: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray], doubleArray3: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def calcCommontemp(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> None: ... + def __init__( + self, + phaseInterface: PhaseInterface, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + doubleArray2: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + doubleArray3: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def calcCommontemp( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> None: ... def calcaij(self) -> None: ... def calcbij(self) -> None: ... def calccij(self) -> None: ... @typing.overload def getExcessGibbsEnergy(self) -> float: ... @typing.overload - def getExcessGibbsEnergy(self, phaseInterface: PhaseInterface, int: int, double: float, double2: float, phaseType: PhaseType) -> float: ... + def getExcessGibbsEnergy( + self, + phaseInterface: PhaseInterface, + int: int, + double: float, + double2: float, + phaseType: PhaseType, + ) -> float: ... def getFCommontemp(self) -> float: ... def getQmix(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getQmixdN(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getQmixdN( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getVCommontemp(self) -> float: ... def initQmix(self) -> None: ... def initQmixdN(self) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... class PhasePCSAFTRahmat(PhasePCSAFT): def __init__(self): ... @@ -3074,9 +5078,17 @@ class PhasePCSAFTRahmat(PhasePCSAFT): def F_DISP2_SAFT(self) -> float: ... def F_HC_SAFT(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcF1dispI1(self) -> float: ... def calcF1dispI1dN(self) -> float: ... def calcF1dispI1dNdN(self) -> float: ... @@ -3104,7 +5116,7 @@ class PhasePCSAFTRahmat(PhasePCSAFT): def calcmSAFT(self) -> float: ... def calcmdSAFT(self) -> float: ... def calcmmin1SAFT(self) -> float: ... - def clone(self) -> 'PhasePCSAFTRahmat': ... + def clone(self) -> "PhasePCSAFTRahmat": ... def dF_DISP1_SAFTdT(self) -> float: ... def dF_DISP1_SAFTdV(self) -> float: ... def dF_DISP1_SAFTdVdV(self) -> float: ... @@ -3122,16 +5134,39 @@ class PhasePCSAFTRahmat(PhasePCSAFT): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getF(self) -> float: ... - def getaSAFT(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... - def getaSAFTdm(self, int: int, double: float, doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> float: ... + def getaSAFT( + self, + int: int, + double: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> float: ... + def getaSAFTdm( + self, + int: int, + double: float, + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> float: ... def getdDSAFTdT(self) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def volInit(self) -> None: ... class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): @@ -3140,14 +5175,22 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): def __init__(self): ... def FCPA(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calc_hCPA(self) -> float: ... def calc_hCPAdT(self) -> float: ... def calc_hCPAdTdT(self) -> float: ... def calc_lngni(self, int: int) -> float: ... - def clone(self) -> 'PhasePCSAFTa': ... + def clone(self) -> "PhasePCSAFTa": ... def dFCPAdT(self) -> float: ... def dFCPAdTdT(self) -> float: ... def dFCPAdTdV(self) -> float: ... @@ -3161,7 +5204,9 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): def dFdVdV(self) -> float: ... def dFdVdVdV(self) -> float: ... def getCpaMixingRule(self) -> jneqsim.thermo.mixingrule.CPAMixingRulesInterface: ... - def getCrossAssosiationScheme(self, int: int, int2: int, int3: int, int4: int) -> int: ... + def getCrossAssosiationScheme( + self, int: int, int2: int, int3: int, int4: int + ) -> int: ... def getF(self) -> float: ... def getGcpa(self) -> float: ... def getGcpav(self) -> float: ... @@ -3172,42 +5217,66 @@ class PhasePCSAFTa(PhasePCSAFT, PhaseCPAInterface): @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def setHcpatot(self, double: float) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... def setTotalNumberOfAccociationSites(self, int: int) -> None: ... def solveX(self) -> bool: ... def volInit(self) -> None: ... class PhasePureComponentSolid(PhaseSolid): def __init__(self): ... - def clone(self) -> 'PhasePureComponentSolid': ... + def clone(self) -> "PhasePureComponentSolid": ... class PhaseSolidComplex(PhaseSolid): def __init__(self): ... - def clone(self) -> 'PhaseSolidComplex': ... + def clone(self) -> "PhaseSolidComplex": ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseSrkCPAs(PhaseSrkCPA): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calc_g(self) -> float: ... def calc_lngV(self) -> float: ... def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... - def clone(self) -> 'PhaseSrkCPAs': ... + def clone(self) -> "PhaseSrkCPAs": ... class PhaseUMRCPAvolcor(PhaseUMRCPA): C: float = ... @@ -3221,17 +5290,51 @@ class PhaseUMRCPAvolcor(PhaseUMRCPA): def FTC(self) -> float: ... def FnC(self) -> float: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def calcC(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCT(self, phaseInterface: PhaseInterface, double: float, double2: float, int: int) -> float: ... - def calcCi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcCij(self, int: int, int2: int, phaseInterface: PhaseInterface, double: float, double2: float, int3: int) -> float: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def calcC( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCT( + self, phaseInterface: PhaseInterface, double: float, double2: float, int: int + ) -> float: ... + def calcCi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcCij( + self, + int: int, + int2: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int3: int, + ) -> float: ... def calcf(self) -> float: ... def calcg(self) -> float: ... - def clone(self) -> 'PhaseUMRCPAvolcor': ... + def clone(self) -> "PhaseUMRCPAvolcor": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -3262,80 +5365,162 @@ class PhaseUMRCPAvolcor(PhaseUMRCPA): def getCT(self) -> float: ... def getCTT(self) -> float: ... def getc(self) -> float: ... - def getcij(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... - def getcijT(self, componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface) -> float: ... + def getcij( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... + def getcijT( + self, + componentEosInterface: jneqsim.thermo.component.ComponentEosInterface, + componentEosInterface2: jneqsim.thermo.component.ComponentEosInterface, + ) -> float: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... class PhaseWax(PhaseSolid): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseWax': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseWax": ... def getWaxComponentModel(self) -> java.lang.String: ... @typing.overload def init(self) -> None: ... @typing.overload def init(self, double: float, int: int, int2: int, double2: float) -> None: ... @typing.overload - def init(self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float) -> None: ... - def setWaxComponentModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def init( + self, double: float, int: int, int2: int, phaseType: PhaseType, double2: float + ) -> None: ... + def setWaxComponentModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class PhaseElectrolyteCPAstatoil(PhaseElectrolyteCPA): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calc_g(self) -> float: ... def calc_lngV(self) -> float: ... def calc_lngVV(self) -> float: ... def calc_lngVVV(self) -> float: ... - def clone(self) -> 'PhaseElectrolyteCPAstatoil': ... + def clone(self) -> "PhaseElectrolyteCPAstatoil": ... class PhaseSrkCPABroydenImplicit(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPABroydenImplicit': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPABroydenImplicit": ... @staticmethod def getProfileSummary() -> java.lang.String: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... @staticmethod def resetProfileCounters() -> None: ... class PhaseSrkCPAandersonMixing(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPAandersonMixing': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPAandersonMixing": ... @staticmethod def getProfileSummary() -> java.lang.String: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... @staticmethod def resetProfileCounters() -> None: ... class PhaseSrkCPAandersonReduced(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPAandersonReduced': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPAandersonReduced": ... @staticmethod def getAndersonConvergedCount() -> int: ... @staticmethod @@ -3345,33 +5530,77 @@ class PhaseSrkCPAandersonReduced(PhaseSrkCPAs): @staticmethod def getProfileSummary() -> java.lang.String: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... @staticmethod def resetProfileCounters() -> None: ... class PhaseSrkCPAfullyImplicit(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPAfullyImplicit': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPAfullyImplicit": ... @staticmethod def getProfileSummary() -> java.lang.String: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... @staticmethod def resetProfileCounters() -> None: ... class PhaseSrkCPAfullyImplicitReduced(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPAfullyImplicitReduced': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPAfullyImplicitReduced": ... def getCallCount(self) -> int: ... def getFallbackCount(self) -> int: ... def getJacobianEvals(self) -> int: ... @@ -3379,16 +5608,38 @@ class PhaseSrkCPAfullyImplicitReduced(PhaseSrkCPAs): def getLastNumTypes(self) -> int: ... def getTotalIters(self) -> int: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... class PhaseSrkCPAreduced(PhaseSrkCPAs): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... - def clone(self) -> 'PhaseSrkCPAreduced': ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... + def clone(self) -> "PhaseSrkCPAreduced": ... def getBroydenUpdates(self) -> int: ... def getCallCount(self) -> int: ... def getFallbackCount(self) -> int: ... @@ -3397,20 +5648,56 @@ class PhaseSrkCPAreduced(PhaseSrkCPAs): def getLastNumTypes(self) -> int: ... def getTotalIters(self) -> int: ... def initCPAMatrix(self, int: int) -> None: ... - def molarVolume(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... - def molarVolumeChangePhase(self, double: float, double2: float, double3: float, double4: float, phaseType: PhaseType) -> float: ... + def molarVolume( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... + def molarVolumeChangePhase( + self, + double: float, + double2: float, + double3: float, + double4: float, + phaseType: PhaseType, + ) -> float: ... def resetProfiling(self) -> None: ... class PhaseElectrolyteCPAAdvanced(PhaseElectrolyteCPAstatoil): def __init__(self): ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, int: int) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + int: int, + ) -> None: ... def calcBornX(self) -> float: ... - def calcWi(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def calcWiT(self, int: int, phaseInterface: PhaseInterface, double: float, double2: float, int2: int) -> float: ... - def clone(self) -> 'PhaseElectrolyteCPAAdvanced': ... + def calcWi( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def calcWiT( + self, + int: int, + phaseInterface: PhaseInterface, + double: float, + double2: float, + int2: int, + ) -> float: ... + def clone(self) -> "PhaseElectrolyteCPAAdvanced": ... def dFdT(self) -> float: ... def dFdTdT(self) -> float: ... def dFdTdV(self) -> float: ... @@ -3426,7 +5713,6 @@ class PhaseElectrolyteCPAAdvanced(PhaseElectrolyteCPAstatoil): def setIonPairOn(self, double: float) -> None: ... def volInit(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.phase")``. @@ -3467,7 +5753,9 @@ class __module_protocol__(Protocol): PhaseKentEisenberg: typing.Type[PhaseKentEisenberg] PhaseLeachmanEos: typing.Type[PhaseLeachmanEos] PhaseModifiedFurstElectrolyteEos: typing.Type[PhaseModifiedFurstElectrolyteEos] - PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[PhaseModifiedFurstElectrolyteEosMod2004] + PhaseModifiedFurstElectrolyteEosMod2004: typing.Type[ + PhaseModifiedFurstElectrolyteEosMod2004 + ] PhasePCSAFT: typing.Type[PhasePCSAFT] PhasePCSAFTRahmat: typing.Type[PhasePCSAFTRahmat] PhasePCSAFTa: typing.Type[PhasePCSAFTa] diff --git a/src/jneqsim-stubs/thermo/system/__init__.pyi b/src/jneqsim-stubs/thermo/system/__init__.pyi index d0b90d95..fe12720e 100644 --- a/src/jneqsim-stubs/thermo/system/__init__.pyi +++ b/src/jneqsim-stubs/thermo/system/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -22,138 +22,293 @@ import jneqsim.thermo.util.gerg import jneqsim.util.validation import typing - - class FluidBuilder(java.io.Serializable): @staticmethod - def acidGas(double: float, double2: float) -> 'SystemInterface': ... - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> 'FluidBuilder': ... - def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'FluidBuilder': ... - def addTBPFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> 'FluidBuilder': ... - def build(self) -> 'SystemInterface': ... + def acidGas(double: float, double2: float) -> "SystemInterface": ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> "FluidBuilder": ... + def addPlusFraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "FluidBuilder": ... + def addTBPFraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> "FluidBuilder": ... + def build(self) -> "SystemInterface": ... @staticmethod - def co2Rich(double: float, double2: float) -> 'SystemInterface': ... + def co2Rich(double: float, double2: float) -> "SystemInterface": ... @staticmethod - def create(double: float, double2: float) -> 'FluidBuilder': ... + def create(double: float, double2: float) -> "FluidBuilder": ... @staticmethod - def dryExportGas(double: float, double2: float) -> 'SystemInterface': ... + def dryExportGas(double: float, double2: float) -> "SystemInterface": ... @staticmethod - def gasCondensate(double: float, double2: float) -> 'SystemInterface': ... + def gasCondensate(double: float, double2: float) -> "SystemInterface": ... @staticmethod - def leanNaturalGas(double: float, double2: float) -> 'SystemInterface': ... + def leanNaturalGas(double: float, double2: float) -> "SystemInterface": ... @staticmethod - def richNaturalGas(double: float, double2: float) -> 'SystemInterface': ... + def richNaturalGas(double: float, double2: float) -> "SystemInterface": ... @staticmethod - def typicalBlackOil(double: float, double2: float) -> 'SystemInterface': ... - def withEOS(self, eOSType: 'FluidBuilder.EOSType') -> 'FluidBuilder': ... - def withLumpedComponents(self, int: int) -> 'FluidBuilder': ... - @typing.overload - def withMixingRule(self, int: int) -> 'FluidBuilder': ... - @typing.overload - def withMixingRule(self, string: typing.Union[java.lang.String, str]) -> 'FluidBuilder': ... - def withMultiPhaseCheck(self) -> 'FluidBuilder': ... - def withSolidPhaseCheck(self) -> 'FluidBuilder': ... - class EOSType(java.lang.Enum['FluidBuilder.EOSType']): - SRK: typing.ClassVar['FluidBuilder.EOSType'] = ... - PR: typing.ClassVar['FluidBuilder.EOSType'] = ... - SRK_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... - PR_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... - ELECTROLYTE_CPA: typing.ClassVar['FluidBuilder.EOSType'] = ... - GERG2008: typing.ClassVar['FluidBuilder.EOSType'] = ... - SRK_PENELOUX: typing.ClassVar['FluidBuilder.EOSType'] = ... - PR_1978: typing.ClassVar['FluidBuilder.EOSType'] = ... - PR_LK: typing.ClassVar['FluidBuilder.EOSType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def typicalBlackOil(double: float, double2: float) -> "SystemInterface": ... + def withEOS(self, eOSType: "FluidBuilder.EOSType") -> "FluidBuilder": ... + def withLumpedComponents(self, int: int) -> "FluidBuilder": ... + @typing.overload + def withMixingRule(self, int: int) -> "FluidBuilder": ... + @typing.overload + def withMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> "FluidBuilder": ... + def withMultiPhaseCheck(self) -> "FluidBuilder": ... + def withSolidPhaseCheck(self) -> "FluidBuilder": ... + + class EOSType(java.lang.Enum["FluidBuilder.EOSType"]): + SRK: typing.ClassVar["FluidBuilder.EOSType"] = ... + PR: typing.ClassVar["FluidBuilder.EOSType"] = ... + SRK_CPA: typing.ClassVar["FluidBuilder.EOSType"] = ... + PR_CPA: typing.ClassVar["FluidBuilder.EOSType"] = ... + ELECTROLYTE_CPA: typing.ClassVar["FluidBuilder.EOSType"] = ... + GERG2008: typing.ClassVar["FluidBuilder.EOSType"] = ... + SRK_PENELOUX: typing.ClassVar["FluidBuilder.EOSType"] = ... + PR_1978: typing.ClassVar["FluidBuilder.EOSType"] = ... + PR_LK: typing.ClassVar["FluidBuilder.EOSType"] = ... + _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: ... + 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]) -> 'FluidBuilder.EOSType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "FluidBuilder.EOSType": ... @staticmethod - def values() -> typing.MutableSequence['FluidBuilder.EOSType']: ... + def values() -> typing.MutableSequence["FluidBuilder.EOSType"]: ... class SystemInterface(java.lang.Cloneable, java.io.Serializable): - def addCapeOpenProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addCharacterized(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], 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 addCapeOpenProperty( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def addCharacterized( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + 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: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponents(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def addComponents( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload - def addComponents(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addComponents( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... @typing.overload - def addFluid(self, systemInterface: 'SystemInterface') -> 'SystemInterface': ... + def addFluid(self, systemInterface: "SystemInterface") -> "SystemInterface": ... @typing.overload - def addFluid(self, systemInterface: 'SystemInterface', int: int) -> 'SystemInterface': ... + def addFluid( + self, systemInterface: "SystemInterface", int: int + ) -> "SystemInterface": ... @staticmethod - def addFluids(systemInterface: 'SystemInterface', systemInterface2: 'SystemInterface') -> 'SystemInterface': ... + def addFluids( + systemInterface: "SystemInterface", systemInterface2: "SystemInterface" + ) -> "SystemInterface": ... def addGasToLiquid(self, double: float) -> None: ... def addLiquidToGas(self, double: float) -> None: ... @typing.overload - def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> None: ... - @typing.overload - def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool, boolean2: bool, int: int) -> None: ... + def addOilFractions( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + ) -> None: ... + @typing.overload + def addOilFractions( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + boolean2: bool, + int: int, + ) -> None: ... def addPhase(self) -> None: ... @typing.overload - def addPhaseFractionToPhase(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addPhaseFractionToPhase(self, double: float, 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]) -> None: ... - def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addSalt(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addSolidComplexPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - def addTBPfraction2(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTBPfraction3(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTBPfraction4(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - def addToComponentNames(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addPhaseFractionToPhase( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addPhaseFractionToPhase( + self, + double: float, + 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], + ) -> None: ... + def addPlusFraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addSalt( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addSolidComplexPhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + @typing.overload + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + @typing.overload + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + def addTBPfraction2( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addTBPfraction3( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addTBPfraction4( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + def addToComponentNames( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def allowPhaseShift(self) -> bool: ... @typing.overload def allowPhaseShift(self, boolean: bool) -> None: ... def autoSelectMixingRule(self) -> None: ... - def autoSelectModel(self) -> 'SystemInterface': ... - def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... + def autoSelectModel(self) -> "SystemInterface": ... + def calcHenrysConstant( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def calcInterfaceProperties(self) -> None: ... def calcKIJ(self, boolean: bool) -> None: ... - def calcResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def calcResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def calc_x_y(self) -> None: ... def calc_x_y_nonorm(self) -> None: ... - def calculateDensityFromBoilingPoint(self, double: float, double2: float) -> float: ... - def calculateMolarMassFromDensityAndBoilingPoint(self, double: float, double2: float) -> float: ... - def changeComponentName(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calculateDensityFromBoilingPoint( + self, double: float, double2: float + ) -> float: ... + def calculateMolarMassFromDensityAndBoilingPoint( + self, double: float, double2: float + ) -> float: ... + def changeComponentName( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def characterizeToReference(systemInterface: 'SystemInterface', systemInterface2: 'SystemInterface') -> 'SystemInterface': ... + def characterizeToReference( + systemInterface: "SystemInterface", systemInterface2: "SystemInterface" + ) -> "SystemInterface": ... @typing.overload def checkStability(self) -> bool: ... @typing.overload def checkStability(self, boolean: bool) -> None: ... def chemicalReactionInit(self) -> None: ... def clearAll(self) -> None: ... - def clone(self) -> 'SystemInterface': ... + def clone(self) -> "SystemInterface": ... @staticmethod - def combineReservoirFluids(int: int, *systemInterface: 'SystemInterface') -> 'SystemInterface': ... + def combineReservoirFluids( + int: int, *systemInterface: "SystemInterface" + ) -> "SystemInterface": ... def createDatabase(self, boolean: bool) -> None: ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def deleteFluidPhase(self, int: int) -> None: ... @typing.overload def display(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -171,14 +326,18 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getCapeOpenProperties10(self) -> typing.MutableSequence[java.lang.String]: ... def getCapeOpenProperties11(self) -> typing.MutableSequence[java.lang.String]: ... def getCharacterization(self) -> jneqsim.thermo.characterization.Characterise: ... - def getChemicalReactionOperations(self) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... + def getChemicalReactionOperations( + self, + ) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... def getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... @typing.overload def getComponent(self, int: int) -> jneqsim.thermo.component.ComponentInterface: ... @typing.overload - def getComponent(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.component.ComponentInterface: ... + def getComponent( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.component.ComponentInterface: ... def getComponentNameTag(self) -> java.lang.String: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getCorrectedVolume(self) -> float: ... @@ -195,8 +354,14 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getDensity(self) -> float: ... @typing.overload def getDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getDensityAtReferenceConditions(self, double: float, string: typing.Union[java.lang.String, str], double2: float, string2: typing.Union[java.lang.String, str]) -> float: ... - def getEmptySystemClone(self) -> 'SystemInterface': ... + def getDensityAtReferenceConditions( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + string2: typing.Union[java.lang.String, str], + ) -> float: ... + def getEmptySystemClone(self) -> "SystemInterface": ... @typing.overload def getEnthalpy(self) -> float: ... @typing.overload @@ -208,7 +373,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergy( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getFluidInfo(self) -> java.lang.String: ... def getFluidName(self) -> java.lang.String: ... @@ -221,27 +388,45 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getHydrateCheck(self) -> bool: ... def getHydrateFraction(self) -> float: ... def getHydratePhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... - def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getIdealLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInterfacialTension(self, int: int, int2: int) -> float: ... @typing.overload - def getInterfacialTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getInterfacialTension( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getInterfacialTension(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getInterfacialTension( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInterphaseProperties(self) -> jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getInterphaseProperties( + self, + ) -> ( + jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface + ): ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... @typing.overload def getKinematicViscosity(self) -> float: ... @typing.overload - def getKinematicViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKinematicViscosity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKvector(self) -> typing.MutableSequence[float]: ... def getLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getLiquidVolume(self) -> float: ... @@ -269,7 +454,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def getNumberOfMoles(self) -> float: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + def getOilAssayCharacterisation( + self, + ) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... def getOilFractionIDs(self) -> typing.MutableSequence[int]: ... def getOilFractionLiquidDensityAt25C(self) -> typing.MutableSequence[float]: ... def getOilFractionMolecularMass(self) -> typing.MutableSequence[float]: ... @@ -278,36 +465,63 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getPhase(self, int: int) -> jneqsim.thermo.phase.PhaseInterface: ... @typing.overload - def getPhase(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhase( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.phase.PhaseInterface: ... @typing.overload - def getPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> jneqsim.thermo.phase.PhaseInterface: ... - def getPhaseFraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getPhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhaseFraction( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getPhaseIndex(self, int: int) -> int: ... @typing.overload def getPhaseIndex(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... + def getPhaseIndex( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> int: ... + def getPhaseNumberOfPhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... - def getPhaseOfType(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... - def getPhases(self) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... + def getPhaseNumberOfPhase( + self, string: typing.Union[java.lang.String, str] + ) -> int: ... + def getPhaseOfType( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhases( + self, + ) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... @typing.overload def getPressure(self) -> float: ... @typing.overload def getPressure(self, int: int) -> float: ... @typing.overload def getPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getProperties(self) -> 'SystemProperties': ... + def getProperties(self) -> "SystemProperties": ... @typing.overload def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + def getProperty( + self, string: typing.Union[java.lang.String, str], int: int + ) -> float: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getProperty( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> float: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload @@ -315,7 +529,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getStandard( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.standards.StandardInterface: ... def getTC(self) -> float: ... @typing.overload def getTemperature(self) -> float: ... @@ -326,7 +542,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -337,7 +555,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def getVolume(self, string: typing.Union[java.lang.String, str]) -> float: ... def getVolumeFraction(self, int: int) -> float: ... - def getWaxCharacterisation(self) -> jneqsim.thermo.characterization.WaxCharacterise: ... + def getWaxCharacterisation( + self, + ) -> jneqsim.thermo.characterization.WaxCharacterise: ... def getWaxModel(self) -> jneqsim.thermo.characterization.WaxModelInterface: ... def getWeightBasedComposition(self) -> typing.MutableSequence[float]: ... def getWtFraction(self, int: int) -> float: ... @@ -350,7 +570,9 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def hasComponent(self, string: typing.Union[java.lang.String, str]) -> bool: ... @typing.overload - def hasComponent(self, string: typing.Union[java.lang.String, str], boolean: bool) -> bool: ... + def hasComponent( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> bool: ... def hasHydratePhase(self) -> bool: ... def hasIons(self) -> bool: ... @typing.overload @@ -369,9 +591,13 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initPhysicalProperties( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def initProperties(self) -> None: ... def initRefPhases(self) -> None: ... def initThermoProperties(self) -> None: ... @@ -396,23 +622,37 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): def normalizeBeta(self) -> None: ... def orderByDensity(self) -> None: ... @typing.overload - def phaseToSystem(self, int: int) -> 'SystemInterface': ... + def phaseToSystem(self, int: int) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, int: int, int2: int) -> 'SystemInterface': ... + def phaseToSystem(self, int: int, int2: int) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + def phaseToSystem( + self, string: typing.Union[java.lang.String, str] + ) -> "SystemInterface": ... @typing.overload - def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> 'SystemInterface': ... + def phaseToSystem( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> "SystemInterface": ... def prettyPrint(self) -> None: ... def reInitPhaseType(self) -> None: ... def readFluid(self, string: typing.Union[java.lang.String, str]) -> None: ... - def readObject(self, int: int) -> 'SystemInterface': ... - def readObjectFromFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... + def readObject(self, int: int) -> "SystemInterface": ... + def readObjectFromFile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "SystemInterface": ... def removeComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... def removePhase(self, int: int) -> None: ... def removePhaseKeepTotalComposition(self, int: int) -> None: ... - def renameComponent(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def replacePhase(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def renameComponent( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def replacePhase( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... def reset(self) -> None: ... def resetCharacterisation(self) -> None: ... def resetDatabase(self) -> None: ... @@ -422,9 +662,17 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def saveFluid(self, int: int) -> None: ... @typing.overload - def saveFluid(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... - def saveObject(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... - def saveObjectToFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def saveFluid( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... + def saveObject( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... + def saveObjectToFile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def saveToDataBase(self) -> None: ... def setAllComponentsInPhase(self, int: int) -> None: ... def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... @@ -434,78 +682,151 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameter( + self, int: int, int2: int, double: float + ) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBinaryInteractionParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def setBmixType(self, int: int) -> None: ... @typing.overload - def setComponentCriticalParameters(self, int: int, double: float, double2: float, double3: float) -> None: ... - @typing.overload - def setComponentCriticalParameters(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def setComponentFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNameTag(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNameTagOnNormalComponents(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setComponentCriticalParameters( + self, int: int, double: float, double2: float, double3: float + ) -> None: ... + @typing.overload + def setComponentCriticalParameters( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def setComponentFlowRates( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setComponentNameTag( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setComponentNameTagOnNormalComponents( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setComponentNames( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def setComponentVolumeCorrection(self, int: int, double: float) -> None: ... @typing.overload - def setComponentVolumeCorrection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setComponentVolumeCorrection( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setEmptyFluid(self) -> None: ... def setEnhancedMultiPhaseCheck(self, boolean: bool) -> None: ... def setFluidInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFluidName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setForcePhaseTypes(self, boolean: bool) -> None: ... @typing.overload - def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setForceSinglePhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setForceSinglePhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> None: ... def setHeavyTBPfractionAsPlusFraction(self) -> bool: ... def setHydrateCheck(self, boolean: bool) -> None: ... def setImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... def setImplementedPressureDeriativesofFugacity(self, boolean: bool) -> None: ... def setImplementedTemperatureDeriativesofFugacity(self, boolean: bool) -> None: ... @typing.overload - def setLiquidDensityModel(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setLiquidDensityModel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setLiquidDensityModel(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setLiquidDensityModel( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setMaxNumberOfPhases(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setModel(self, string: typing.Union[java.lang.String, str]) -> 'SystemInterface': ... - def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionOfNamedComponents(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionOfPlusFluid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionPlus(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setModel( + self, string: typing.Union[java.lang.String, str] + ) -> "SystemInterface": ... + def setMolarComposition( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarCompositionOfNamedComponents( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setMolarCompositionOfPlusFluid( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarCompositionPlus( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setMultiPhaseCheck(self, boolean: bool) -> None: ... def setMultiphaseWaxCheck(self, boolean: bool) -> None: ... def setNumberOfPhases(self, int: int) -> None: ... def setNumericDerivatives(self, boolean: bool) -> None: ... def setPC(self, double: float) -> None: ... - def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> None: ... + def setPhase( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> None: ... def setPhaseIndex(self, int: int, int2: int) -> None: ... @typing.overload - def setPhaseType(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setPhaseType( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setPhaseType(self, int: int, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setPhaseType( + self, int: int, phaseType: jneqsim.thermo.phase.PhaseType + ) -> None: ... @typing.overload def setPhysicalPropertyModel(self, int: int) -> None: ... @typing.overload - def setPhysicalPropertyModel(self, physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel) -> None: ... + def setPhysicalPropertyModel( + self, + physicalPropertyModel: jneqsim.physicalproperties.system.PhysicalPropertyModel, + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setSolidPhaseCheck(self, boolean: bool) -> None: ... @typing.overload - def setSolidPhaseCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSolidPhaseCheck( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTC(self, double: float) -> None: ... @typing.overload @@ -513,17 +834,28 @@ class SystemInterface(java.lang.Cloneable, java.io.Serializable): @typing.overload def setTemperature(self, double: float, int: int) -> None: ... @typing.overload - 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 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 setUseTVasIndependentVariables(self, boolean: bool) -> None: ... def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toCompJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... - def tuneModel(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def tuneModel( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... def useVolumeCorrection(self, boolean: bool) -> None: ... def validateSetup(self) -> jneqsim.util.validation.ValidationResult: ... - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... class SystemProperties: nCols: typing.ClassVar[int] = ... @@ -541,8 +873,16 @@ class SystemThermo(SystemInterface): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def addCapeOpenProperty(self, string: typing.Union[java.lang.String, str]) -> None: ... - def addCharacterized(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], 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 addCapeOpenProperty( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def addCharacterized( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + 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: ... @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @@ -550,69 +890,182 @@ class SystemThermo(SystemInterface): @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addFluid(self, systemInterface: SystemInterface) -> SystemInterface: ... @typing.overload - def addFluid(self, systemInterface: SystemInterface, int: int) -> SystemInterface: ... + def addFluid( + self, systemInterface: SystemInterface, int: int + ) -> SystemInterface: ... def addGasToLiquid(self, double: float) -> None: ... def addHydratePhase(self) -> None: ... def addHydratePhase2(self) -> None: ... def addLiquidToGas(self, double: float) -> None: ... @typing.overload - def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool) -> None: ... - @typing.overload - def addOilFractions(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], boolean: bool, boolean2: bool, int: int) -> None: ... + def addOilFractions( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + ) -> None: ... + @typing.overload + def addOilFractions( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + boolean: bool, + boolean2: bool, + int: int, + ) -> None: ... def addPhase(self) -> None: ... @typing.overload - def addPhaseFractionToPhase(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addPhaseFractionToPhase(self, double: float, 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]) -> None: ... - def addPlusFraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addSalt(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def addSolidComplexPhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addPhaseFractionToPhase( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addPhaseFractionToPhase( + self, + double: float, + 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], + ) -> None: ... + def addPlusFraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addSalt( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def addSolidComplexPhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def addSolidPhase(self) -> None: ... @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - def addTBPfraction2(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTBPfraction3(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def addTBPfraction4(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - def addToComponentNames(self, string: typing.Union[java.lang.String, str]) -> None: ... + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + @typing.overload + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + def addTBPfraction2( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addTBPfraction3( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def addTBPfraction4( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + def addToComponentNames( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def allowPhaseShift(self) -> bool: ... @typing.overload def allowPhaseShift(self, boolean: bool) -> None: ... def autoSelectMixingRule(self) -> None: ... def autoSelectModel(self) -> SystemInterface: ... - def calcHenrysConstant(self, string: typing.Union[java.lang.String, str]) -> float: ... + def calcHenrysConstant( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def calcInterfaceProperties(self) -> None: ... def calcKIJ(self, boolean: bool) -> None: ... def calc_x_y(self) -> None: ... def calc_x_y_nonorm(self) -> None: ... - def calculateDensityFromBoilingPoint(self, double: float, double2: float) -> float: ... - def calculateMolarMassFromDensityAndBoilingPoint(self, double: float, double2: float) -> float: ... - def changeComponentName(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calculateDensityFromBoilingPoint( + self, double: float, double2: float + ) -> float: ... + def calculateMolarMassFromDensityAndBoilingPoint( + self, double: float, double2: float + ) -> float: ... + def changeComponentName( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def checkStability(self) -> bool: ... @typing.overload def checkStability(self, boolean: bool) -> None: ... def chemicalReactionInit(self) -> None: ... def clearAll(self) -> None: ... - def clone(self) -> 'SystemThermo': ... + def clone(self) -> "SystemThermo": ... def createDatabase(self, boolean: bool) -> None: ... - def createTable(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def createTable( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def deleteFluidPhase(self, int: int) -> None: ... @typing.overload def display(self) -> None: ... @@ -631,7 +1084,9 @@ class SystemThermo(SystemInterface): def getCapeOpenProperties10(self) -> typing.MutableSequence[java.lang.String]: ... def getCapeOpenProperties11(self) -> typing.MutableSequence[java.lang.String]: ... def getCharacterization(self) -> jneqsim.thermo.characterization.Characterise: ... - def getChemicalReactionOperations(self) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... + def getChemicalReactionOperations( + self, + ) -> jneqsim.chemicalreactions.ChemicalReactionOperations: ... def getCompFormulaes(self) -> typing.MutableSequence[java.lang.String]: ... def getCompIDs(self) -> typing.MutableSequence[java.lang.String]: ... def getCompNames(self) -> typing.MutableSequence[java.lang.String]: ... @@ -662,7 +1117,9 @@ class SystemThermo(SystemInterface): @typing.overload def getExergy(self, double: float) -> float: ... @typing.overload - def getExergy(self, double: float, string: typing.Union[java.lang.String, str]) -> float: ... + def getExergy( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> float: ... def getFlowRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getFluidInfo(self) -> java.lang.String: ... def getFluidName(self) -> java.lang.String: ... @@ -672,27 +1129,45 @@ class SystemThermo(SystemInterface): def getHeatOfVaporization(self) -> float: ... def getHelmholtzEnergy(self) -> float: ... def getHydrateCheck(self) -> bool: ... - def getIdealLiquidDensity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getIdealLiquidDensity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload def getInterfacialTension(self, int: int, int2: int) -> float: ... @typing.overload - def getInterfacialTension(self, int: int, int2: int, string: typing.Union[java.lang.String, str]) -> float: ... + def getInterfacialTension( + self, int: int, int2: int, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getInterfacialTension(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getInterfacialTension( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getInternalEnergy(self) -> float: ... @typing.overload - def getInternalEnergy(self, string: typing.Union[java.lang.String, str]) -> float: ... - def getInterphaseProperties(self) -> jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface: ... + def getInternalEnergy( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... + def getInterphaseProperties( + self, + ) -> ( + jneqsim.physicalproperties.interfaceproperties.InterphasePropertiesInterface + ): ... @typing.overload def getJouleThomsonCoefficient(self) -> float: ... @typing.overload - def getJouleThomsonCoefficient(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getJouleThomsonCoefficient( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKappa(self) -> float: ... @typing.overload def getKinematicViscosity(self) -> float: ... @typing.overload - def getKinematicViscosity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getKinematicViscosity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getKvector(self) -> typing.MutableSequence[float]: ... def getLiquidPhase(self) -> jneqsim.thermo.phase.PhaseInterface: ... def getLiquidVolume(self) -> float: ... @@ -719,7 +1194,9 @@ class SystemThermo(SystemInterface): def getNumberOfComponents(self) -> int: ... def getNumberOfOilFractionComponents(self) -> int: ... def getNumberOfPhases(self) -> int: ... - def getOilAssayCharacterisation(self) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... + def getOilAssayCharacterisation( + self, + ) -> jneqsim.thermo.characterization.OilAssayCharacterisation: ... def getOilFractionIDs(self) -> typing.MutableSequence[int]: ... def getOilFractionLiquidDensityAt25C(self) -> typing.MutableSequence[float]: ... def getOilFractionMolecularMass(self) -> typing.MutableSequence[float]: ... @@ -728,22 +1205,40 @@ class SystemThermo(SystemInterface): @typing.overload def getPhase(self, int: int) -> jneqsim.thermo.phase.PhaseInterface: ... @typing.overload - def getPhase(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhase( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.phase.PhaseInterface: ... @typing.overload - def getPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> jneqsim.thermo.phase.PhaseInterface: ... - def getPhaseFraction(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getPhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhaseFraction( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getPhaseIndex(self, int: int) -> int: ... @typing.overload def getPhaseIndex(self, string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload - def getPhaseIndex(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> int: ... + def getPhaseIndex( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, string: typing.Union[java.lang.String, str]) -> int: ... + def getPhaseNumberOfPhase( + self, string: typing.Union[java.lang.String, str] + ) -> int: ... @typing.overload - def getPhaseNumberOfPhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> int: ... - def getPhaseOfType(self, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.phase.PhaseInterface: ... - def getPhases(self) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... + def getPhaseNumberOfPhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> int: ... + def getPhaseOfType( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.phase.PhaseInterface: ... + def getPhases( + self, + ) -> typing.MutableSequence[jneqsim.thermo.phase.PhaseInterface]: ... @typing.overload def getPressure(self) -> float: ... @typing.overload @@ -754,10 +1249,19 @@ class SystemThermo(SystemInterface): @typing.overload def getProperty(self, string: typing.Union[java.lang.String, str]) -> float: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], int: int) -> float: ... + def getProperty( + self, string: typing.Union[java.lang.String, str], int: int + ) -> float: ... @typing.overload - def getProperty(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], int: int) -> float: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getProperty( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + int: int, + ) -> float: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload def getSoundSpeed(self) -> float: ... @typing.overload @@ -765,7 +1269,9 @@ class SystemThermo(SystemInterface): @typing.overload def getStandard(self) -> jneqsim.standards.StandardInterface: ... @typing.overload - def getStandard(self, string: typing.Union[java.lang.String, str]) -> jneqsim.standards.StandardInterface: ... + def getStandard( + self, string: typing.Union[java.lang.String, str] + ) -> jneqsim.standards.StandardInterface: ... def getSumBeta(self) -> float: ... def getTC(self) -> float: ... @typing.overload @@ -777,7 +1283,9 @@ class SystemThermo(SystemInterface): @typing.overload def getThermalConductivity(self) -> float: ... @typing.overload - def getThermalConductivity(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getThermalConductivity( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getTotalNumberOfMoles(self) -> float: ... @typing.overload def getViscosity(self) -> float: ... @@ -788,7 +1296,9 @@ class SystemThermo(SystemInterface): @typing.overload def getVolume(self) -> float: ... def getVolumeFraction(self, int: int) -> float: ... - def getWaxCharacterisation(self) -> jneqsim.thermo.characterization.WaxCharacterise: ... + def getWaxCharacterisation( + self, + ) -> jneqsim.thermo.characterization.WaxCharacterise: ... def getWaxModel(self) -> jneqsim.thermo.characterization.WaxModelInterface: ... def getWeightBasedComposition(self) -> typing.MutableSequence[float]: ... def getWtFraction(self, int: int) -> float: ... @@ -820,11 +1330,15 @@ class SystemThermo(SystemInterface): @typing.overload def initNumeric(self, int: int, int2: int) -> None: ... @typing.overload - def initPhysicalProperties(self, string: typing.Union[java.lang.String, str]) -> None: ... + def initPhysicalProperties( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def initPhysicalProperties(self) -> None: ... @typing.overload - def initPhysicalProperties(self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType) -> None: ... + def initPhysicalProperties( + self, physicalPropertyType: jneqsim.physicalproperties.PhysicalPropertyType + ) -> None: ... def initRefPhases(self) -> None: ... def initTotalNumberOfMoles(self, double: float) -> None: ... def init_x_y(self) -> None: ... @@ -852,19 +1366,33 @@ class SystemThermo(SystemInterface): @typing.overload def phaseToSystem(self, int: int, int2: int) -> SystemInterface: ... @typing.overload - def phaseToSystem(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def phaseToSystem( + self, string: typing.Union[java.lang.String, str] + ) -> SystemInterface: ... @typing.overload - def phaseToSystem(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> SystemInterface: ... + def phaseToSystem( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> SystemInterface: ... def reInitPhaseInformation(self) -> None: ... def reInitPhaseType(self) -> None: ... def readFluid(self, string: typing.Union[java.lang.String, str]) -> None: ... def readObject(self, int: int) -> SystemInterface: ... - def readObjectFromFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def readObjectFromFile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> SystemInterface: ... def removeComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... def removePhase(self, int: int) -> None: ... def removePhaseKeepTotalComposition(self, int: int) -> None: ... - def renameComponent(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def replacePhase(self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... + def renameComponent( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def replacePhase( + self, int: int, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> None: ... def reset(self) -> None: ... def resetCharacterisation(self) -> None: ... def resetDatabase(self) -> None: ... @@ -874,9 +1402,17 @@ class SystemThermo(SystemInterface): @typing.overload def saveFluid(self, int: int) -> None: ... @typing.overload - def saveFluid(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... - def saveObject(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... - def saveObjectToFile(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def saveFluid( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... + def saveObject( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... + def saveObjectToFile( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def saveToDataBase(self) -> None: ... def setAllComponentsInPhase(self, int: int) -> None: ... def setAllPhaseType(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... @@ -886,31 +1422,62 @@ class SystemThermo(SystemInterface): @typing.overload def setBeta(self, int: int, double: float) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, int: int, int2: int, double: float) -> None: ... + def setBinaryInteractionParameter( + self, int: int, int2: int, double: float + ) -> None: ... @typing.overload - def setBinaryInteractionParameter(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def setBinaryInteractionParameter( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def setBmixType(self, int: int) -> None: ... @typing.overload - def setComponentCriticalParameters(self, int: int, double: float, double2: float, double3: float) -> None: ... - @typing.overload - def setComponentCriticalParameters(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - def setComponentFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNameTag(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNameTagOnNormalComponents(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setComponentNames(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def setComponentCriticalParameters( + self, int: int, double: float, double2: float, double3: float + ) -> None: ... + @typing.overload + def setComponentCriticalParameters( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + def setComponentFlowRates( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + string: typing.Union[java.lang.String, str], + ) -> None: ... + def setComponentNameTag( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setComponentNameTagOnNormalComponents( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setComponentNames( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def setComponentVolumeCorrection(self, int: int, double: float) -> None: ... @typing.overload - def setComponentVolumeCorrection(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def setComponentVolumeCorrection( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... def setEmptyFluid(self) -> None: ... def setEnhancedMultiPhaseCheck(self, boolean: bool) -> None: ... def setFluidInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... def setFluidName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setForcePhaseTypes(self, boolean: bool) -> None: ... @typing.overload - def setForceSinglePhase(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setForceSinglePhase( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setForceSinglePhase(self, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setForceSinglePhase( + self, phaseType: jneqsim.thermo.phase.PhaseType + ) -> None: ... def setHeavyTBPfractionAsPlusFraction(self) -> bool: ... def setHydrateCheck(self, boolean: bool) -> None: ... def setImplementedCompositionDeriativesofFugacity(self, boolean: bool) -> None: ... @@ -923,37 +1490,74 @@ class SystemThermo(SystemInterface): @typing.overload def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... - @typing.overload - def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def setMixingRuleGEmodel(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMixingRuleParametersForComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setModel(self, string: typing.Union[java.lang.String, str]) -> SystemInterface: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... + @typing.overload + def setMixingRule( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def setMixingRuleGEmodel( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setMixingRuleParametersForComponent( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... + def setModel( + self, string: typing.Union[java.lang.String, str] + ) -> SystemInterface: ... def setModelName(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setMolarComposition(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionOfNamedComponents(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionOfPlusFluid(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarCompositionPlus(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - def setMolarFlowRates(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def setMolarComposition( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarCompositionOfNamedComponents( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... + def setMolarCompositionOfPlusFluid( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarCompositionPlus( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + def setMolarFlowRates( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def setMultiPhaseCheck(self, boolean: bool) -> None: ... def setMultiphaseWaxCheck(self, boolean: bool) -> None: ... def setNumberOfPhases(self, int: int) -> None: ... def setNumericDerivatives(self, boolean: bool) -> None: ... def setPC(self, double: float) -> None: ... - def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int) -> None: ... + def setPhase( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, int: int + ) -> None: ... def setPhaseIndex(self, int: int, int2: int) -> None: ... @typing.overload - def setPhaseType(self, int: int, string: typing.Union[java.lang.String, str]) -> None: ... + def setPhaseType( + self, int: int, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setPhaseType(self, int: int, phaseType: jneqsim.thermo.phase.PhaseType) -> None: ... + def setPhaseType( + self, int: int, phaseType: jneqsim.thermo.phase.PhaseType + ) -> None: ... @typing.overload def setPressure(self, double: float) -> None: ... @typing.overload - def setPressure(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setPressure( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def setSolidPhaseCheck(self, boolean: bool) -> None: ... @typing.overload - def setSolidPhaseCheck(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setSolidPhaseCheck( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setStandard(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTC(self, double: float) -> None: ... @typing.overload @@ -961,20 +1565,31 @@ class SystemThermo(SystemInterface): @typing.overload def setTemperature(self, double: float) -> None: ... @typing.overload - 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 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 setUseTVasIndependentVariables(self, boolean: bool) -> None: ... def setWaxModelType(self, string: typing.Union[java.lang.String, str]) -> None: ... def toCompJson(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... - def tuneModel(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... + def tuneModel( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... def useTVasIndependentVariables(self) -> bool: ... def useVolumeCorrection(self, boolean: bool) -> None: ... @typing.overload def write(self) -> java.lang.String: ... @typing.overload - def write(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> None: ... + def write( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> None: ... class SystemEos(SystemThermo): @typing.overload @@ -990,7 +1605,7 @@ class SystemIdealGas(SystemThermo): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemIdealGas': ... + def clone(self) -> "SystemIdealGas": ... class SystemAmmoniaEos(SystemEos): @typing.overload @@ -1002,22 +1617,46 @@ class SystemAmmoniaEos(SystemEos): @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def clone(self) -> 'SystemAmmoniaEos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def clone(self) -> "SystemAmmoniaEos": ... class SystemBWRSEos(SystemEos): @typing.overload @@ -1026,7 +1665,7 @@ class SystemBWRSEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemBWRSEos': ... + def clone(self) -> "SystemBWRSEos": ... class SystemBnsEos(SystemEos): @typing.overload @@ -1034,21 +1673,50 @@ class SystemBnsEos(SystemEos): @typing.overload def __init__(self, double: float, double2: float): ... @typing.overload - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, double7: float, boolean: bool): ... - def clone(self) -> 'SystemBnsEos': ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + double7: float, + boolean: bool, + ): ... + def clone(self) -> "SystemBnsEos": ... def setAssociatedGas(self, boolean: bool) -> None: ... @typing.overload - def setComposition(self, double: float, double2: float, double3: float, double4: float) -> None: ... + def setComposition( + self, double: float, double2: float, double3: float, double4: float + ) -> None: ... @typing.overload - def setComposition(self, double: float, double2: float, double3: float, double4: float, double5: float, boolean: bool) -> None: ... + def setComposition( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + boolean: bool, + ) -> None: ... @typing.overload def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setRelativeDensity(self, double: float) -> None: ... class SystemDesmukhMather(SystemEos): @@ -1058,7 +1726,7 @@ class SystemDesmukhMather(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemDesmukhMather': ... + def clone(self) -> "SystemDesmukhMather": ... class SystemDuanSun(SystemEos): @typing.overload @@ -1070,22 +1738,46 @@ class SystemDuanSun(SystemEos): @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def clone(self) -> 'SystemDuanSun': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def clone(self) -> "SystemDuanSun": ... class SystemEOSCGEos(SystemEos): @typing.overload @@ -1094,7 +1786,7 @@ class SystemEOSCGEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemEOSCGEos': ... + def clone(self) -> "SystemEOSCGEos": ... def commonInitialization(self) -> None: ... class SystemGERG2004Eos(SystemEos): @@ -1104,7 +1796,7 @@ class SystemGERG2004Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERG2004Eos': ... + def clone(self) -> "SystemGERG2004Eos": ... def commonInitialization(self) -> None: ... class SystemGERG2008Eos(SystemEos): @@ -1114,12 +1806,14 @@ class SystemGERG2008Eos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERG2008Eos': ... + def clone(self) -> "SystemGERG2008Eos": ... def commonInitialization(self) -> None: ... def getGergModelType(self) -> jneqsim.thermo.util.gerg.GERG2008Type: ... def isUsingAmmoniaExtendedModel(self) -> bool: ... def isUsingHydrogenEnhancedModel(self) -> bool: ... - def setGergModelType(self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type) -> None: ... + def setGergModelType( + self, gERG2008Type: jneqsim.thermo.util.gerg.GERG2008Type + ) -> None: ... def useAmmoniaExtendedModel(self) -> None: ... def useHydrogenEnhancedModel(self) -> None: ... @@ -1130,7 +1824,7 @@ class SystemGEWilson(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGEWilson': ... + def clone(self) -> "SystemGEWilson": ... class SystemKentEisenberg(SystemEos): @typing.overload @@ -1139,7 +1833,7 @@ class SystemKentEisenberg(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemKentEisenberg': ... + def clone(self) -> "SystemKentEisenberg": ... class SystemLeachmanEos(SystemEos): @typing.overload @@ -1151,22 +1845,46 @@ class SystemLeachmanEos(SystemEos): @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def clone(self) -> 'SystemLeachmanEos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def clone(self) -> "SystemLeachmanEos": ... def commonInitialization(self) -> None: ... class SystemNRTL(SystemEos): @@ -1176,7 +1894,7 @@ class SystemNRTL(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemNRTL': ... + def clone(self) -> "SystemNRTL": ... class SystemPitzer(SystemEos): @typing.overload @@ -1185,15 +1903,24 @@ class SystemPitzer(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPitzer': ... + def clone(self) -> "SystemPitzer": ... @typing.overload def setMixingRule(self, int: int) -> None: ... @typing.overload - def setMixingRule(self, mixingRuleTypeInterface: typing.Union[jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable]) -> None: ... + def setMixingRule( + self, + mixingRuleTypeInterface: typing.Union[ + jneqsim.thermo.mixingrule.MixingRuleTypeInterface, typing.Callable + ], + ) -> None: ... @typing.overload def setMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def setMixingRule(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setMixingRule( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def setMultiPhaseCheck(self, boolean: bool) -> None: ... class SystemPrEos(SystemEos): @@ -1203,7 +1930,7 @@ class SystemPrEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEos': ... + def clone(self) -> "SystemPrEos": ... class SystemRKEos(SystemEos): @typing.overload @@ -1212,7 +1939,7 @@ class SystemRKEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemRKEos': ... + def clone(self) -> "SystemRKEos": ... class SystemSpanWagnerEos(SystemEos): @typing.overload @@ -1224,22 +1951,46 @@ class SystemSpanWagnerEos(SystemEos): @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - def clone(self) -> 'SystemSpanWagnerEos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + def clone(self) -> "SystemSpanWagnerEos": ... def commonInitialization(self) -> None: ... class SystemSrkEos(SystemEos): @@ -1249,7 +2000,7 @@ class SystemSrkEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkEos': ... + def clone(self) -> "SystemSrkEos": ... class SystemTSTEos(SystemEos): @typing.overload @@ -1258,7 +2009,7 @@ class SystemTSTEos(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemTSTEos': ... + def clone(self) -> "SystemTSTEos": ... class SystemUNIFAC(SystemEos): @typing.overload @@ -1267,7 +2018,7 @@ class SystemUNIFAC(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUNIFAC': ... + def clone(self) -> "SystemUNIFAC": ... class SystemUNIFACpsrk(SystemEos): @typing.overload @@ -1276,7 +2027,7 @@ class SystemUNIFACpsrk(SystemEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUNIFACpsrk': ... + def clone(self) -> "SystemUNIFACpsrk": ... class SystemVegaEos(SystemEos): @typing.overload @@ -1292,18 +2043,42 @@ class SystemVegaEos(SystemEos): @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... - def clone(self) -> 'SystemVegaEos': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + @typing.overload + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... + def clone(self) -> "SystemVegaEos": ... def commonInitialization(self) -> None: ... class SystemWaterIF97(SystemEos): @@ -1320,18 +2095,42 @@ class SystemWaterIF97(SystemEos): @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... - def clone(self) -> 'SystemWaterIF97': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + @typing.overload + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... + def clone(self) -> "SystemWaterIF97": ... def commonInitialization(self) -> None: ... class SystemCSPsrkEos(SystemSrkEos): @@ -1341,21 +2140,21 @@ class SystemCSPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemCSPsrkEos': ... + def clone(self) -> "SystemCSPsrkEos": ... class SystemFurstElectrolyteEos(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemFurstElectrolyteEos': ... + def clone(self) -> "SystemFurstElectrolyteEos": ... class SystemFurstElectrolyteEosMod2004(SystemSrkEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemFurstElectrolyteEosMod2004': ... + def clone(self) -> "SystemFurstElectrolyteEosMod2004": ... class SystemGERGwaterEos(SystemPrEos): @typing.overload @@ -1364,7 +2163,7 @@ class SystemGERGwaterEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemGERGwaterEos': ... + def clone(self) -> "SystemGERGwaterEos": ... class SystemPCSAFT(SystemSrkEos): @typing.overload @@ -1374,10 +2173,25 @@ class SystemPCSAFT(SystemSrkEos): @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... - @typing.overload - def addTBPfraction(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - def clone(self) -> 'SystemPCSAFT': ... + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + @typing.overload + def addTBPfraction( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + def clone(self) -> "SystemPCSAFT": ... def commonInitialization(self) -> None: ... class SystemPCSAFTa(SystemSrkEos): @@ -1387,7 +2201,7 @@ class SystemPCSAFTa(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPCSAFTa': ... + def clone(self) -> "SystemPCSAFTa": ... class SystemPrCPA(SystemPrEos): @typing.overload @@ -1396,7 +2210,7 @@ class SystemPrCPA(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrCPA': ... + def clone(self) -> "SystemPrCPA": ... class SystemPrDanesh(SystemPrEos): @typing.overload @@ -1405,7 +2219,7 @@ class SystemPrDanesh(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrDanesh': ... + def clone(self) -> "SystemPrDanesh": ... class SystemPrEos1978(SystemPrEos): @typing.overload @@ -1414,7 +2228,7 @@ class SystemPrEos1978(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEos1978': ... + def clone(self) -> "SystemPrEos1978": ... class SystemPrEosDelft1998(SystemPrEos): @typing.overload @@ -1423,7 +2237,7 @@ class SystemPrEosDelft1998(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrEosDelft1998': ... + def clone(self) -> "SystemPrEosDelft1998": ... class SystemPrEosvolcor(SystemPrEos): @typing.overload @@ -1438,7 +2252,7 @@ class SystemPrGassemEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrGassemEos': ... + def clone(self) -> "SystemPrGassemEos": ... class SystemPrLeeKeslerEos(SystemPrEos): @typing.overload @@ -1447,7 +2261,7 @@ class SystemPrLeeKeslerEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrLeeKeslerEos': ... + def clone(self) -> "SystemPrLeeKeslerEos": ... class SystemPrMathiasCopeman(SystemPrEos): @typing.overload @@ -1456,7 +2270,7 @@ class SystemPrMathiasCopeman(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPrMathiasCopeman': ... + def clone(self) -> "SystemPrMathiasCopeman": ... class SystemPsrkEos(SystemSrkEos): @typing.overload @@ -1465,7 +2279,7 @@ class SystemPsrkEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemPsrkEos': ... + def clone(self) -> "SystemPsrkEos": ... class SystemSAFTVRMie(SystemSrkEos): @typing.overload @@ -1485,22 +2299,46 @@ class SystemSrkCPA(SystemSrkEos): @typing.overload def addComponent(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload def addComponent(self, int: int, double: float) -> None: ... @typing.overload def addComponent(self, int: int, double: float, int2: int) -> None: ... @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, double4: float) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, int: int) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... - @typing.overload - def addComponent(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str], int: int) -> None: ... - @typing.overload - def addComponent(self, componentInterface: jneqsim.thermo.component.ComponentInterface) -> None: ... - def clone(self) -> 'SystemSrkCPA': ... + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + double4: float, + ) -> None: ... + @typing.overload + def addComponent( + self, string: typing.Union[java.lang.String, str], double: float, int: int + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... + @typing.overload + def addComponent( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + int: int, + ) -> None: ... + @typing.overload + def addComponent( + self, componentInterface: jneqsim.thermo.component.ComponentInterface + ) -> None: ... + def clone(self) -> "SystemSrkCPA": ... def commonInitialization(self) -> None: ... class SystemSrkEosvolcor(SystemSrkEos): @@ -1516,7 +2354,7 @@ class SystemSrkMathiasCopeman(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkMathiasCopeman': ... + def clone(self) -> "SystemSrkMathiasCopeman": ... class SystemSrkPenelouxEos(SystemSrkEos): @typing.overload @@ -1525,7 +2363,7 @@ class SystemSrkPenelouxEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkPenelouxEos': ... + def clone(self) -> "SystemSrkPenelouxEos": ... class SystemSrkSchwartzentruberEos(SystemSrkEos): @typing.overload @@ -1534,7 +2372,7 @@ class SystemSrkSchwartzentruberEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkSchwartzentruberEos': ... + def clone(self) -> "SystemSrkSchwartzentruberEos": ... class SystemSrkTwuCoonEos(SystemSrkEos): @typing.overload @@ -1543,7 +2381,7 @@ class SystemSrkTwuCoonEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonEos': ... + def clone(self) -> "SystemSrkTwuCoonEos": ... class SystemSrkTwuCoonParamEos(SystemSrkEos): @typing.overload @@ -1552,7 +2390,7 @@ class SystemSrkTwuCoonParamEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonParamEos': ... + def clone(self) -> "SystemSrkTwuCoonParamEos": ... class SystemSrkTwuCoonStatoilEos(SystemSrkEos): @typing.overload @@ -1561,7 +2399,7 @@ class SystemSrkTwuCoonStatoilEos(SystemSrkEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkTwuCoonStatoilEos': ... + def clone(self) -> "SystemSrkTwuCoonStatoilEos": ... class SystemUMRCPAEoS(SystemPrEos): @typing.overload @@ -1576,7 +2414,7 @@ class SystemUMRPRUEos(SystemPrEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUEos': ... + def clone(self) -> "SystemUMRPRUEos": ... def commonInitialization(self) -> None: ... class SystemElectrolyteCPA(SystemFurstElectrolyteEos): @@ -1584,14 +2422,14 @@ class SystemElectrolyteCPA(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPA': ... + def clone(self) -> "SystemElectrolyteCPA": ... class SystemElectrolyteCPAAdvanced(SystemFurstElectrolyteEos): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPAAdvanced': ... + def clone(self) -> "SystemElectrolyteCPAAdvanced": ... class SystemElectrolyteCPAMM(SystemSrkCPA): @typing.overload @@ -1600,7 +2438,7 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemElectrolyteCPAMM': ... + def clone(self) -> "SystemElectrolyteCPAMM": ... def getDebyeLength(self, int: int) -> float: ... def getMixturePermittivity(self, int: int) -> float: ... def getSolventPermittivity(self, int: int) -> float: ... @@ -1611,9 +2449,14 @@ class SystemElectrolyteCPAMM(SystemSrkCPA): def setBornOn(self, boolean: bool) -> None: ... def setDebyeHuckelOn(self, boolean: bool) -> None: ... @typing.overload - def setDielectricMixingRule(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setDielectricMixingRule( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def setDielectricMixingRule(self, dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule) -> None: ... + def setDielectricMixingRule( + self, + dielectricMixingRule: jneqsim.thermo.phase.PhaseElectrolyteCPAMM.DielectricMixingRule, + ) -> None: ... def setShortRangeOn(self, boolean: bool) -> None: ... class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): @@ -1621,7 +2464,7 @@ class SystemElectrolyteCPAstatoil(SystemFurstElectrolyteEos): def __init__(self): ... @typing.overload def __init__(self, double: float, double2: float): ... - def clone(self) -> 'SystemElectrolyteCPAstatoil': ... + def clone(self) -> "SystemElectrolyteCPAstatoil": ... class SystemSoreideWhitson(SystemPrEos1978): @typing.overload @@ -1631,13 +2474,22 @@ class SystemSoreideWhitson(SystemPrEos1978): @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... @typing.overload - def addSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def addSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload - def addSalinity(self, string: typing.Union[java.lang.String, str], double: float, string2: typing.Union[java.lang.String, str]) -> None: ... + def addSalinity( + self, + string: typing.Union[java.lang.String, str], + double: float, + string2: typing.Union[java.lang.String, str], + ) -> None: ... def calcSalinity(self) -> bool: ... - def clone(self) -> 'SystemSoreideWhitson': ... + def clone(self) -> "SystemSoreideWhitson": ... def getSalinity(self) -> float: ... - def setSalinity(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def setSalinity( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... class SystemSrkCPAs(SystemSrkCPA): @typing.overload @@ -1646,7 +2498,7 @@ class SystemSrkCPAs(SystemSrkCPA): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAs': ... + def clone(self) -> "SystemSrkCPAs": ... class SystemUMRCPAvolcor(SystemUMRCPAEoS): @typing.overload @@ -1661,7 +2513,7 @@ class SystemUMRPRUMCEos(SystemUMRPRUEos): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemUMRPRUMCEos': ... + def clone(self) -> "SystemUMRPRUMCEos": ... class SystemSrkCPAstatoil(SystemSrkCPAs): @typing.overload @@ -1670,7 +2522,7 @@ class SystemSrkCPAstatoil(SystemSrkCPAs): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoil': ... + def clone(self) -> "SystemSrkCPAstatoil": ... class SystemUMRPRUMCEosNew(SystemUMRPRUMCEos): @typing.overload @@ -1685,7 +2537,7 @@ class SystemSrkCPAstatoilAndersonMixing(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilAndersonMixing': ... + def clone(self) -> "SystemSrkCPAstatoilAndersonMixing": ... class SystemSrkCPAstatoilAndersonReduced(SystemSrkCPAstatoil): @typing.overload @@ -1694,7 +2546,7 @@ class SystemSrkCPAstatoilAndersonReduced(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilAndersonReduced': ... + def clone(self) -> "SystemSrkCPAstatoilAndersonReduced": ... class SystemSrkCPAstatoilBroydenImplicit(SystemSrkCPAstatoil): @typing.overload @@ -1703,7 +2555,7 @@ class SystemSrkCPAstatoilBroydenImplicit(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilBroydenImplicit': ... + def clone(self) -> "SystemSrkCPAstatoilBroydenImplicit": ... class SystemSrkCPAstatoilFullyImplicit(SystemSrkCPAstatoil): @typing.overload @@ -1712,7 +2564,7 @@ class SystemSrkCPAstatoilFullyImplicit(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilFullyImplicit': ... + def clone(self) -> "SystemSrkCPAstatoilFullyImplicit": ... class SystemSrkCPAstatoilFullyImplicitReduced(SystemSrkCPAstatoil): @typing.overload @@ -1721,7 +2573,7 @@ class SystemSrkCPAstatoilFullyImplicitReduced(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilFullyImplicitReduced': ... + def clone(self) -> "SystemSrkCPAstatoilFullyImplicitReduced": ... class SystemSrkCPAstatoilReduced(SystemSrkCPAstatoil): @typing.overload @@ -1730,8 +2582,7 @@ class SystemSrkCPAstatoilReduced(SystemSrkCPAstatoil): def __init__(self, double: float, double2: float): ... @typing.overload def __init__(self, double: float, double2: float, boolean: bool): ... - def clone(self) -> 'SystemSrkCPAstatoilReduced': ... - + def clone(self) -> "SystemSrkCPAstatoilReduced": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.system")``. @@ -1785,7 +2636,9 @@ class __module_protocol__(Protocol): SystemSrkCPAstatoilAndersonReduced: typing.Type[SystemSrkCPAstatoilAndersonReduced] SystemSrkCPAstatoilBroydenImplicit: typing.Type[SystemSrkCPAstatoilBroydenImplicit] SystemSrkCPAstatoilFullyImplicit: typing.Type[SystemSrkCPAstatoilFullyImplicit] - SystemSrkCPAstatoilFullyImplicitReduced: typing.Type[SystemSrkCPAstatoilFullyImplicitReduced] + SystemSrkCPAstatoilFullyImplicitReduced: typing.Type[ + SystemSrkCPAstatoilFullyImplicitReduced + ] SystemSrkCPAstatoilReduced: typing.Type[SystemSrkCPAstatoilReduced] SystemSrkEos: typing.Type[SystemSrkEos] SystemSrkEosvolcor: typing.Type[SystemSrkEosvolcor] diff --git a/src/jneqsim-stubs/thermo/util/Vega/__init__.pyi b/src/jneqsim-stubs/thermo/util/Vega/__init__.pyi index 012a82bc..370c0a05 100644 --- a/src/jneqsim-stubs/thermo/util/Vega/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/Vega/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,42 +11,89 @@ import jneqsim.thermo.phase import org.netlib.util import typing - - class NeqSimVega: @typing.overload def __init__(self): ... @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... def getAlpha0_Vega(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_Vega(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Vega( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarDensity(self) -> float: ... @typing.overload - def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getPressure(self) -> float: ... - def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def propertiesVega(self) -> typing.MutableSequence[float]: ... @typing.overload - def propertiesVega(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def propertiesVega( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... class Vega: def __init__(self): ... - def DensityVega(self, int: int, double: float, double2: float, doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def PressureVega(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def DensityVega( + self, + int: int, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def PressureVega( + self, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... def SetupVega(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def propertiesVega(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def propertiesVega( + self, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.Vega")``. diff --git a/src/jneqsim-stubs/thermo/util/__init__.pyi b/src/jneqsim-stubs/thermo/util/__init__.pyi index dd4afede..49e3ac0f 100644 --- a/src/jneqsim-stubs/thermo/util/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -25,56 +25,85 @@ import jneqsim.thermo.util.spanwagner import jneqsim.thermo.util.steam import typing - - class FluidClassifier: @staticmethod - def calculateC7PlusContent(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calculateC7PlusContent( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def classify(systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ReservoirFluidType': ... + def classify( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> "ReservoirFluidType": ... @staticmethod - def classifyByC7Plus(double: float) -> 'ReservoirFluidType': ... + def classifyByC7Plus(double: float) -> "ReservoirFluidType": ... @staticmethod - def classifyByGOR(double: float) -> 'ReservoirFluidType': ... + def classifyByGOR(double: float) -> "ReservoirFluidType": ... @staticmethod - def classifyWithPhaseEnvelope(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> 'ReservoirFluidType': ... + def classifyWithPhaseEnvelope( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> "ReservoirFluidType": ... @staticmethod - def estimateAPIGravity(systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def estimateAPIGravity( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> float: ... @staticmethod - def generateClassificationReport(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def generateClassificationReport( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... class ProducedWaterFluidBuilder: @staticmethod - def addGasToWater(systemInterface: jneqsim.thermo.system.SystemInterface, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]], double: float) -> jneqsim.thermo.system.SystemInterface: ... + def addGasToWater( + systemInterface: jneqsim.thermo.system.SystemInterface, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + double: float, + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def createFromIons(double: float, double2: float, map: typing.Union[java.util.Map[typing.Union[java.lang.String, str], float], typing.Mapping[typing.Union[java.lang.String, str], float]]) -> jneqsim.thermo.system.SystemInterface: ... + def createFromIons( + double: float, + double2: float, + map: typing.Union[ + java.util.Map[typing.Union[java.lang.String, str], float], + typing.Mapping[typing.Union[java.lang.String, str], float], + ], + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def createFromTDS(double: float, double2: float, double3: float, double4: float) -> jneqsim.thermo.system.SystemInterface: ... + def createFromTDS( + double: float, double2: float, double3: float, double4: float + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def createFromType(double: float, double2: float, string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def createFromType( + double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... -class ReservoirFluidType(java.lang.Enum['ReservoirFluidType']): - DRY_GAS: typing.ClassVar['ReservoirFluidType'] = ... - WET_GAS: typing.ClassVar['ReservoirFluidType'] = ... - GAS_CONDENSATE: typing.ClassVar['ReservoirFluidType'] = ... - VOLATILE_OIL: typing.ClassVar['ReservoirFluidType'] = ... - BLACK_OIL: typing.ClassVar['ReservoirFluidType'] = ... - HEAVY_OIL: typing.ClassVar['ReservoirFluidType'] = ... - UNKNOWN: typing.ClassVar['ReservoirFluidType'] = ... +class ReservoirFluidType(java.lang.Enum["ReservoirFluidType"]): + DRY_GAS: typing.ClassVar["ReservoirFluidType"] = ... + WET_GAS: typing.ClassVar["ReservoirFluidType"] = ... + GAS_CONDENSATE: typing.ClassVar["ReservoirFluidType"] = ... + VOLATILE_OIL: typing.ClassVar["ReservoirFluidType"] = ... + BLACK_OIL: typing.ClassVar["ReservoirFluidType"] = ... + HEAVY_OIL: typing.ClassVar["ReservoirFluidType"] = ... + UNKNOWN: typing.ClassVar["ReservoirFluidType"] = ... def getDisplayName(self) -> java.lang.String: ... def getTypicalC7PlusRange(self) -> java.lang.String: ... def getTypicalGORRange(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'ReservoirFluidType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ReservoirFluidType": ... @staticmethod - def values() -> typing.MutableSequence['ReservoirFluidType']: ... - + def values() -> typing.MutableSequence["ReservoirFluidType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util")``. diff --git a/src/jneqsim-stubs/thermo/util/amines/__init__.pyi b/src/jneqsim-stubs/thermo/util/amines/__init__.pyi index 387c860a..60de769e 100644 --- a/src/jneqsim-stubs/thermo/util/amines/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/amines/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,70 +11,93 @@ import java.util import jneqsim.thermo.system import typing - - class AmineHeatOfAbsorption(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, amineType: 'AmineHeatOfAbsorption.AmineType', double: float, double2: float, double3: float): ... + def __init__( + self, + amineType: "AmineHeatOfAbsorption.AmineType", + double: float, + double2: float, + double3: float, + ): ... def calcHeatOfAbsorptionCO2(self) -> float: ... def calcHeatOfAbsorptionH2S(self) -> float: ... def calcTotalHeatReleased(self) -> float: ... def getAbsorptionProperties(self) -> java.util.Map[java.lang.String, float]: ... def getAmineConcentration(self) -> float: ... - def getAmineType(self) -> 'AmineHeatOfAbsorption.AmineType': ... + def getAmineType(self) -> "AmineHeatOfAbsorption.AmineType": ... def getCO2Loading(self) -> float: ... def getTemperature(self) -> float: ... def setAmineConcentration(self, double: float) -> None: ... - def setAmineType(self, amineType: 'AmineHeatOfAbsorption.AmineType') -> None: ... + def setAmineType(self, amineType: "AmineHeatOfAbsorption.AmineType") -> None: ... def setCO2Loading(self, double: float) -> None: ... def setTemperature(self, double: float) -> None: ... - class AmineType(java.lang.Enum['AmineHeatOfAbsorption.AmineType']): - MEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... - DEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... - MDEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... - AMDEA: typing.ClassVar['AmineHeatOfAbsorption.AmineType'] = ... + + class AmineType(java.lang.Enum["AmineHeatOfAbsorption.AmineType"]): + MEA: typing.ClassVar["AmineHeatOfAbsorption.AmineType"] = ... + DEA: typing.ClassVar["AmineHeatOfAbsorption.AmineType"] = ... + MDEA: typing.ClassVar["AmineHeatOfAbsorption.AmineType"] = ... + AMDEA: typing.ClassVar["AmineHeatOfAbsorption.AmineType"] = ... def getMaxLoading(self) -> float: ... def getMolarMass(self) -> float: ... def getName(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'AmineHeatOfAbsorption.AmineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AmineHeatOfAbsorption.AmineType": ... @staticmethod - def values() -> typing.MutableSequence['AmineHeatOfAbsorption.AmineType']: ... + def values() -> typing.MutableSequence["AmineHeatOfAbsorption.AmineType"]: ... class AmineKentEisenberg(java.io.Serializable): @staticmethod def amineMolarity(double: float, double2: float) -> float: ... @staticmethod - def partialPressureCO2Bara(amineType: 'AmineKentEisenberg.AmineType', double: float, double2: float, double3: float) -> float: ... - class AmineType(java.lang.Enum['AmineKentEisenberg.AmineType']): - MEA: typing.ClassVar['AmineKentEisenberg.AmineType'] = ... - DEA: typing.ClassVar['AmineKentEisenberg.AmineType'] = ... - MDEA: typing.ClassVar['AmineKentEisenberg.AmineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def partialPressureCO2Bara( + amineType: "AmineKentEisenberg.AmineType", + double: float, + double2: float, + double3: float, + ) -> float: ... + + class AmineType(java.lang.Enum["AmineKentEisenberg.AmineType"]): + MEA: typing.ClassVar["AmineKentEisenberg.AmineType"] = ... + DEA: typing.ClassVar["AmineKentEisenberg.AmineType"] = ... + MDEA: typing.ClassVar["AmineKentEisenberg.AmineType"] = ... + _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: ... + 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]) -> 'AmineKentEisenberg.AmineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AmineKentEisenberg.AmineType": ... @staticmethod - def values() -> typing.MutableSequence['AmineKentEisenberg.AmineType']: ... + def values() -> typing.MutableSequence["AmineKentEisenberg.AmineType"]: ... class AmineSystem(java.io.Serializable): @typing.overload - def __init__(self, amineType: 'AmineSystem.AmineType'): ... + def __init__(self, amineType: "AmineSystem.AmineType"): ... @typing.overload - def __init__(self, amineType: 'AmineSystem.AmineType', double: float, double2: float): ... + def __init__( + self, amineType: "AmineSystem.AmineType", double: float, double2: float + ): ... def calcBubblePointPressure(self) -> float: ... def createSystem(self) -> jneqsim.thermo.system.SystemInterface: ... - def getAmineType(self) -> 'AmineSystem.AmineType': ... + def getAmineType(self) -> "AmineSystem.AmineType": ... def getCO2PartialPressure(self) -> float: ... def getCO2PartialPressureRigorous(self) -> float: ... def getHeatCalculator(self) -> AmineHeatOfAbsorption: ... @@ -89,21 +112,26 @@ class AmineSystem(java.io.Serializable): def setH2SLoading(self, double: float) -> None: ... def setPiperazineConcentration(self, double: float) -> None: ... def toString(self) -> java.lang.String: ... - class AmineType(java.lang.Enum['AmineSystem.AmineType']): - MEA: typing.ClassVar['AmineSystem.AmineType'] = ... - DEA: typing.ClassVar['AmineSystem.AmineType'] = ... - MDEA: typing.ClassVar['AmineSystem.AmineType'] = ... - AMDEA: typing.ClassVar['AmineSystem.AmineType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class AmineType(java.lang.Enum["AmineSystem.AmineType"]): + MEA: typing.ClassVar["AmineSystem.AmineType"] = ... + DEA: typing.ClassVar["AmineSystem.AmineType"] = ... + MDEA: typing.ClassVar["AmineSystem.AmineType"] = ... + AMDEA: typing.ClassVar["AmineSystem.AmineType"] = ... + _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: ... + 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]) -> 'AmineSystem.AmineType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AmineSystem.AmineType": ... @staticmethod - def values() -> typing.MutableSequence['AmineSystem.AmineType']: ... - + def values() -> typing.MutableSequence["AmineSystem.AmineType"]: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.amines")``. diff --git a/src/jneqsim-stubs/thermo/util/benchmark/__init__.pyi b/src/jneqsim-stubs/thermo/util/benchmark/__init__.pyi index af230659..90911ef5 100644 --- a/src/jneqsim-stubs/thermo/util/benchmark/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/benchmark/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,23 +9,26 @@ import java.lang import jpype import typing - - class TPflash_benchmark: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class TPflash_benchmark_UMR: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class TPflash_benchmark_fullcomp: def __init__(self): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.benchmark")``. diff --git a/src/jneqsim-stubs/thermo/util/constants/__init__.pyi b/src/jneqsim-stubs/thermo/util/constants/__init__.pyi index 5c303492..56794f87 100644 --- a/src/jneqsim-stubs/thermo/util/constants/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/constants/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import java.util import jpype import typing - - class FurstElectrolyteConstants(java.io.Serializable): furstParams: typing.ClassVar[typing.MutableSequence[float]] = ... furstParamsCPA: typing.ClassVar[typing.MutableSequence[float]] = ... @@ -51,9 +49,15 @@ class FurstElectrolyteConstants(java.io.Serializable): @staticmethod def getFurstParamTEG(int: int) -> float: ... @staticmethod - def getIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def getIonSpecificWij( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> typing.MutableSequence[float]: ... @staticmethod - def getMixtureDielectricConstant(doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getMixtureDielectricConstant( + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... @staticmethod def getPredictiveWij(double: float, double2: float, boolean: bool) -> float: ... @staticmethod @@ -61,7 +65,10 @@ class FurstElectrolyteConstants(java.io.Serializable): @staticmethod def getPredictiveWijSlope(double: float, boolean: bool) -> float: ... @staticmethod - def hasIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + def hasIonSpecificWij( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... @staticmethod def setFurstParam(int: int, double: float) -> None: ... @staticmethod @@ -87,32 +94,59 @@ class FurstElectrolyteConstants(java.io.Serializable): @staticmethod def setFurstParams(string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod - def setIonSpecificWij(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float) -> None: ... + def setIonSpecificWij( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + ) -> None: ... class IonParametersAdvanced(java.io.Serializable): T_REF: typing.ClassVar[float] = ... @staticmethod - def calcBornRadius(string: typing.Union[java.lang.String, str], double: float) -> float: ... + def calcBornRadius( + string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @staticmethod - def calcIonPairConstant(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + def calcIonPairConstant( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> float: ... @staticmethod def calcW(string: typing.Union[java.lang.String, str], double: float) -> float: ... @staticmethod - def calcWdT(string: typing.Union[java.lang.String, str], double: float) -> float: ... + def calcWdT( + string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @staticmethod def calcWdTdT(string: typing.Union[java.lang.String, str]) -> float: ... @staticmethod - def getIonData(string: typing.Union[java.lang.String, str]) -> 'IonParametersAdvanced.AdvancedIonData': ... + def getIonData( + string: typing.Union[java.lang.String, str] + ) -> "IonParametersAdvanced.AdvancedIonData": ... @staticmethod - def getIonPairData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'IonParametersAdvanced.IonPairData': ... + def getIonPairData( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "IonParametersAdvanced.IonPairData": ... @staticmethod def hasIonData(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def hasIonPairData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + def hasIonPairData( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... @staticmethod def setW0(string: typing.Union[java.lang.String, str], double: float) -> None: ... @staticmethod - def setWParameters(string: typing.Union[java.lang.String, str], double: float, double2: float, double3: float) -> None: ... + def setWParameters( + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + ) -> None: ... + class AdvancedIonData(java.io.Serializable): sigma: float = ... w0: float = ... @@ -122,7 +156,18 @@ class IonParametersAdvanced(java.io.Serializable): rBornT: float = ... charge: int = ... dGhydration: float = ... - def __init__(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float, int: int, double7: float): ... + def __init__( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + int: int, + double7: float, + ): ... + class IonPairData(java.io.Serializable): k0: float = ... dH: float = ... @@ -147,30 +192,53 @@ class IonParametersMM: def getCharge(string: typing.Union[java.lang.String, str]) -> int: ... @typing.overload @staticmethod - def getInteractionEnergy(string: typing.Union[java.lang.String, str], double: float) -> float: ... + def getInteractionEnergy( + string: typing.Union[java.lang.String, str], double: float + ) -> float: ... @typing.overload @staticmethod - def getInteractionEnergy(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> float: ... + def getInteractionEnergy( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> float: ... @typing.overload @staticmethod - def getInteractionEnergydT(string: typing.Union[java.lang.String, str]) -> float: ... + def getInteractionEnergydT( + string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload @staticmethod - def getInteractionEnergydT(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getInteractionEnergydT( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def getIonData(string: typing.Union[java.lang.String, str]) -> 'IonParametersMM.IonData': ... + def getIonData( + string: typing.Union[java.lang.String, str] + ) -> "IonParametersMM.IonData": ... @staticmethod def getSigma(string: typing.Union[java.lang.String, str]) -> float: ... @staticmethod - def getU0(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getU0( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod - def getUT(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getUT( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @staticmethod def hasIonData(string: typing.Union[java.lang.String, str]) -> bool: ... @staticmethod - def hasSolventSpecificData(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> bool: ... + def hasSolventSpecificData( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> bool: ... @staticmethod def isSupportedSolvent(string: typing.Union[java.lang.String, str]) -> bool: ... + class IonData: sigma: float = ... u0_iw: float = ... @@ -179,13 +247,13 @@ class IonParametersMM: def __init__(self, double: float, double2: float, double3: float, int: int): ... def getBornRadius(self) -> float: ... def getInteractionEnergy(self, double: float) -> float: ... + class SolventInteractionData: u0_is: float = ... uT_is: float = ... def __init__(self, double: float, double2: float): ... def getInteractionEnergy(self, double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.constants")``. diff --git a/src/jneqsim-stubs/thermo/util/derivatives/__init__.pyi b/src/jneqsim-stubs/thermo/util/derivatives/__init__.pyi index 58c39c3f..a607952b 100644 --- a/src/jneqsim-stubs/thermo/util/derivatives/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/derivatives/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,31 @@ import jpype import jneqsim.thermo.system import typing - - class DifferentiableFlash(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def computeFlashGradients(self) -> 'FlashGradients': ... - def computePropertyGradient(self, string: typing.Union[java.lang.String, str]) -> 'PropertyGradient': ... - def extractFugacityJacobian(self, int: int) -> 'FugacityJacobian': ... - def getFugacityJacobians(self) -> typing.MutableSequence['FugacityJacobian']: ... + def computeFlashGradients(self) -> "FlashGradients": ... + def computePropertyGradient( + self, string: typing.Union[java.lang.String, str] + ) -> "PropertyGradient": ... + def extractFugacityJacobian(self, int: int) -> "FugacityJacobian": ... + def getFugacityJacobians(self) -> typing.MutableSequence["FugacityJacobian"]: ... class FlashGradients(java.io.Serializable): @typing.overload - def __init__(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float, doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], double6: float, double7: float, doubleArray5: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + double6: float, + double7: float, + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... @typing.overload def __init__(self, int: int, string: typing.Union[java.lang.String, str]): ... def getBeta(self) -> float: ... @@ -46,8 +59,12 @@ class FlashGradients(java.io.Serializable): @typing.overload def getDKdz(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getDKdzRow(self, int: int) -> typing.MutableSequence[float]: ... - def getDxdT(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def getDydT(self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def getDxdT( + self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... + def getDydT( + self, int: int, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> float: ... def getErrorMessage(self) -> java.lang.String: ... def getKValue(self, int: int) -> float: ... def getKValues(self) -> typing.MutableSequence[float]: ... @@ -58,9 +75,30 @@ class FlashGradients(java.io.Serializable): def toString(self) -> java.lang.String: ... class FugacityJacobian(java.io.Serializable): - def __init__(self, int: int, 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], doubleArray4: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - def checkSymmetry(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], double2: float) -> bool: ... - def directionalDerivative(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def __init__( + self, + int: int, + 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], + doubleArray4: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + def checkSymmetry( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + double2: float, + ) -> bool: ... + def directionalDerivative( + self, + int: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... @typing.overload def getDlnPhidP(self, int: int) -> float: ... @@ -86,10 +124,32 @@ class FugacityJacobian(java.io.Serializable): class PropertyGradient(java.io.Serializable): @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, double2: float, double3: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... - def directionalDerivative(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> float: ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + double2: float, + double3: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... + def directionalDerivative( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getDerivativeWrtComponent(self, int: int) -> float: ... def getDerivativeWrtComposition(self) -> typing.MutableSequence[float]: ... @@ -102,8 +162,12 @@ class PropertyGradient(java.io.Serializable): def toArray(self) -> typing.MutableSequence[float]: ... def toString(self) -> java.lang.String: ... @staticmethod - def zero(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float, int: int) -> 'PropertyGradient': ... - + def zero( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + int: int, + ) -> "PropertyGradient": ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.derivatives")``. diff --git a/src/jneqsim-stubs/thermo/util/empiric/__init__.pyi b/src/jneqsim-stubs/thermo/util/empiric/__init__.pyi index a039a5cc..66f243f7 100644 --- a/src/jneqsim-stubs/thermo/util/empiric/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/empiric/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,33 +9,40 @@ import java.lang import jpype import typing - - class BukacekWaterInGas: def __init__(self): ... @staticmethod def getWaterInGas(double: float, double2: float) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod def waterDewPointTemperature(double: float, double2: float) -> float: ... class DuanSun: def __init__(self): ... - def bublePointPressure(self, double: float, double2: float, double3: float) -> float: ... - def calcCO2solubility(self, double: float, double2: float, double3: float) -> float: ... + def bublePointPressure( + self, double: float, double2: float, double3: float + ) -> float: ... + def calcCO2solubility( + self, double: float, double2: float, double3: float + ) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class Water: def __init__(self): ... def density(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @staticmethod def waterDensity(double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.empiric")``. diff --git a/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi b/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi index 3b266f12..0f2e16e6 100644 --- a/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/gerg/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,78 +11,319 @@ import jneqsim.thermo.phase import org.netlib.util import typing - - class DETAIL: def __init__(self): ... - def DensityDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def MolarMassDetail(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... - def PressureDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... - def PropertiesDetail(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW) -> None: ... + def DensityDetail( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def MolarMassDetail( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + ) -> None: ... + def PressureDetail( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... + def PropertiesDetail( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + ) -> None: ... def SetupDetail(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def sq(self, double: float) -> float: ... class EOSCG: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, eOSCGCorrelationBackend: 'EOSCGCorrelationBackend'): ... - def alpha0(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray]) -> None: ... - def alphar(self, int: int, int2: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray]) -> None: ... - def density(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def molarMass(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... - def pressure(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... - def properties(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def __init__(self, eOSCGCorrelationBackend: "EOSCGCorrelationBackend"): ... + def alpha0( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray], + ) -> None: ... + def alphar( + self, + int: int, + int2: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleWArray: typing.Union[ + typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray + ], + ) -> None: ... + def density( + self, + int: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def molarMass( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + ) -> None: ... + def pressure( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... + def properties( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... def setup(self) -> None: ... class EOSCGCorrelationBackend: def __init__(self): ... - def alpha0(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray]) -> None: ... - def alphar(self, int: int, int2: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleWArray: typing.Union[typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray]) -> None: ... - def density(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def molarMass(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... - def pressure(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... - def properties(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def alpha0( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleWArray: typing.Union[typing.List[org.netlib.util.doubleW], jpype.JArray], + ) -> None: ... + def alphar( + self, + int: int, + int2: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleWArray: typing.Union[ + typing.List[typing.MutableSequence[org.netlib.util.doubleW]], jpype.JArray + ], + ) -> None: ... + def density( + self, + int: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def molarMass( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + ) -> None: ... + def pressure( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... + def properties( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... def setup(self) -> None: ... class EOSCGModel: def __init__(self): ... - def DensityEOSCG(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def MolarMassEOSCG(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... - def PressureEOSCG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... - def PropertiesEOSCG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def DensityEOSCG( + self, + int: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def MolarMassEOSCG( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + ) -> None: ... + def PressureEOSCG( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... + def PropertiesEOSCG( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... def SetupEOSCG(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class GERG2008: def __init__(self): ... - def DensityGERG(self, int: int, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def MolarMassGERG(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW) -> None: ... - def PressureGERG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... - def PropertiesGERG(self, double: float, double2: float, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def DensityGERG( + self, + int: int, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def MolarMassGERG( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + ) -> None: ... + def PressureGERG( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... + def PropertiesGERG( + self, + double: float, + double2: float, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... def SetupGERG(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... -class GERG2008Type(java.lang.Enum['GERG2008Type']): - STANDARD: typing.ClassVar['GERG2008Type'] = ... - HYDROGEN_ENHANCED: typing.ClassVar['GERG2008Type'] = ... - AMMONIA_EXTENDED: typing.ClassVar['GERG2008Type'] = ... +class GERG2008Type(java.lang.Enum["GERG2008Type"]): + STANDARD: typing.ClassVar["GERG2008Type"] = ... + HYDROGEN_ENHANCED: typing.ClassVar["GERG2008Type"] = ... + AMMONIA_EXTENDED: typing.ClassVar["GERG2008Type"] = ... def getDescription(self) -> java.lang.String: ... def getName(self) -> java.lang.String: ... def toString(self) -> java.lang.String: ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + _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: ... + 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]) -> 'GERG2008Type': ... + def valueOf(string: typing.Union[java.lang.String, str]) -> "GERG2008Type": ... @staticmethod - def values() -> typing.MutableSequence['GERG2008Type']: ... + def values() -> typing.MutableSequence["GERG2008Type"]: ... class NeqSimAGA8Detail: @typing.overload @@ -92,21 +333,33 @@ class NeqSimAGA8Detail: @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarDensity(self) -> float: ... @typing.overload - def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getMolarMass(self) -> float: ... def getPressure(self) -> float: ... - def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def normalizeComposition(self) -> None: ... @typing.overload def propertiesDetail(self) -> typing.MutableSequence[float]: ... @typing.overload - def propertiesDetail(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def propertiesDetail( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... class NeqSimEOSCG: @@ -117,18 +370,28 @@ class NeqSimEOSCG: @staticmethod def clearCache() -> None: ... def getAlpha0_EOSCG(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_EOSCG(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_EOSCG( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarDensity(self) -> float: ... @typing.overload - def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getMolarMass(self) -> float: ... def getPressure(self) -> float: ... - def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def normalizeComposition(self) -> None: ... def propertiesEOSCG(self) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... @@ -139,30 +402,48 @@ class NeqSimGERG2008: @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... @typing.overload - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, gERG2008Type: GERG2008Type): ... + def __init__( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + gERG2008Type: GERG2008Type, + ): ... @staticmethod def clearCache() -> None: ... def getAlpha0_GERG2008(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_GERG2008(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_GERG2008( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getModelType(self) -> GERG2008Type: ... @typing.overload def getMolarDensity(self) -> float: ... @typing.overload - def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getMolarMass(self) -> float: ... def getPressure(self) -> float: ... - def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def normalizeComposition(self) -> None: ... @typing.overload def propertiesGERG(self) -> typing.MutableSequence[float]: ... @typing.overload - def propertiesGERG(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def propertiesGERG( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... def setModelType(self, gERG2008Type: GERG2008Type) -> None: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... @@ -170,14 +451,17 @@ class GERG2008H2(GERG2008): def __init__(self): ... def SetupGERG(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class GERG2008NH3(GERG2008): def __init__(self): ... def SetupGERG(self) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.gerg")``. diff --git a/src/jneqsim-stubs/thermo/util/humidair/__init__.pyi b/src/jneqsim-stubs/thermo/util/humidair/__init__.pyi index 7be24693..1189ec12 100644 --- a/src/jneqsim-stubs/thermo/util/humidair/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/humidair/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,6 @@ else: import typing - - class HumidAir: @staticmethod def cairSat(double: float) -> float: ... @@ -23,7 +21,6 @@ class HumidAir: @staticmethod def saturationPressureWater(double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.humidair")``. diff --git a/src/jneqsim-stubs/thermo/util/hydrogen/__init__.pyi b/src/jneqsim-stubs/thermo/util/hydrogen/__init__.pyi index f9cfcb9a..88e260da 100644 --- a/src/jneqsim-stubs/thermo/util/hydrogen/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/hydrogen/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,13 +9,15 @@ import java.io import java.lang import typing - - class ParaOrthoH2Correction(java.io.Serializable): @staticmethod - def estimateEquilibrationTimeSeconds(double: float, conversionCatalyst: 'ParaOrthoH2Correction.ConversionCatalyst') -> float: ... + def estimateEquilibrationTimeSeconds( + double: float, conversionCatalyst: "ParaOrthoH2Correction.ConversionCatalyst" + ) -> float: ... @staticmethod - def getConversionHeatJPerKg(double: float, double2: float, double3: float) -> float: ... + def getConversionHeatJPerKg( + double: float, double2: float, double3: float + ) -> float: ... @staticmethod def getCpCorrectionJPerKgK(double: float) -> float: ... @staticmethod @@ -35,22 +37,39 @@ class ParaOrthoH2Correction(java.io.Serializable): def getThermalConductivityCorrectionFactor(double: float) -> float: ... @typing.overload @staticmethod - def getThermalConductivityCorrectionFactor(double: float, double2: float) -> float: ... - class ConversionCatalyst(java.lang.Enum['ParaOrthoH2Correction.ConversionCatalyst']): - NONE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... - ACTIVATED_CHARCOAL: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... - HYDROUS_FERRIC_OXIDE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... - PARAMAGNETIC_OXIDE: typing.ClassVar['ParaOrthoH2Correction.ConversionCatalyst'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def getThermalConductivityCorrectionFactor( + double: float, double2: float + ) -> float: ... + + class ConversionCatalyst( + java.lang.Enum["ParaOrthoH2Correction.ConversionCatalyst"] + ): + NONE: typing.ClassVar["ParaOrthoH2Correction.ConversionCatalyst"] = ... + ACTIVATED_CHARCOAL: typing.ClassVar[ + "ParaOrthoH2Correction.ConversionCatalyst" + ] = ... + HYDROUS_FERRIC_OXIDE: typing.ClassVar[ + "ParaOrthoH2Correction.ConversionCatalyst" + ] = ... + PARAMAGNETIC_OXIDE: typing.ClassVar[ + "ParaOrthoH2Correction.ConversionCatalyst" + ] = ... + _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: ... + 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]) -> 'ParaOrthoH2Correction.ConversionCatalyst': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ParaOrthoH2Correction.ConversionCatalyst": ... @staticmethod - def values() -> typing.MutableSequence['ParaOrthoH2Correction.ConversionCatalyst']: ... - + def values() -> ( + typing.MutableSequence["ParaOrthoH2Correction.ConversionCatalyst"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.hydrogen")``. diff --git a/src/jneqsim-stubs/thermo/util/jni/__init__.pyi b/src/jneqsim-stubs/thermo/util/jni/__init__.pyi index 41c4037d..ee39c8bd 100644 --- a/src/jneqsim-stubs/thermo/util/jni/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/jni/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,43 +9,349 @@ import java.lang import jpype import typing - - class GERG2004EOS: nameList: typing.MutableSequence[java.lang.String] = ... def __init__(self): ... @staticmethod - def AOTPX(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, int: int) -> float: ... + def AOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def CPOTPX(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, int: int) -> float: ... + def CPOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def CVOTPX(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, int: int) -> float: ... + def CVOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def GOTPX(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, int: int) -> float: ... + def GOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def HOTPX(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, int: int) -> float: ... + def HOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def POTDX(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) -> float: ... + def POTDX( + 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, + ) -> float: ... @staticmethod - def RJTOTPX(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, int: int) -> float: ... + def RJTOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def SALLOTPX(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, int: int) -> typing.MutableSequence[float]: ... + def SALLOTPX( + 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, + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def SFUGOTPX(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, int: int) -> typing.MutableSequence[float]: ... + def SFUGOTPX( + 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, + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def SOTPX(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, int: int) -> float: ... + def SOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def SPHIOTPX(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, int: int) -> typing.MutableSequence[float]: ... + def SPHIOTPX( + 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, + int: int, + ) -> typing.MutableSequence[float]: ... @staticmethod - def UOTPX(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, int: int) -> float: ... + def UOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def WOTPX(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, int: int) -> float: ... + def WOTPX( + 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, + int: int, + ) -> float: ... @staticmethod - def ZOTPX(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, int: int) -> float: ... + def ZOTPX( + 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, + int: int, + ) -> float: ... def getNameList(self) -> typing.MutableSequence[java.lang.String]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.jni")``. diff --git a/src/jneqsim-stubs/thermo/util/leachman/__init__.pyi b/src/jneqsim-stubs/thermo/util/leachman/__init__.pyi index da6badba..2a3fa1a2 100644 --- a/src/jneqsim-stubs/thermo/util/leachman/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/leachman/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,46 +11,97 @@ import jneqsim.thermo.phase import org.netlib.util import typing - - class Leachman: def __init__(self): ... - def DensityLeachman(self, int: int, double: float, double2: float, doubleW: org.netlib.util.doubleW, intW: org.netlib.util.intW, stringW: org.netlib.util.StringW) -> None: ... - def PressureLeachman(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW) -> None: ... + def DensityLeachman( + self, + int: int, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + intW: org.netlib.util.intW, + stringW: org.netlib.util.StringW, + ) -> None: ... + def PressureLeachman( + self, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + ) -> None: ... @typing.overload def SetupLeachman(self) -> None: ... @typing.overload def SetupLeachman(self, string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def propertiesLeachman(self, double: float, double2: float, doubleW: org.netlib.util.doubleW, doubleW2: org.netlib.util.doubleW, doubleW3: org.netlib.util.doubleW, doubleW4: org.netlib.util.doubleW, doubleW5: org.netlib.util.doubleW, doubleW6: org.netlib.util.doubleW, doubleW7: org.netlib.util.doubleW, doubleW8: org.netlib.util.doubleW, doubleW9: org.netlib.util.doubleW, doubleW10: org.netlib.util.doubleW, doubleW11: org.netlib.util.doubleW, doubleW12: org.netlib.util.doubleW, doubleW13: org.netlib.util.doubleW, doubleW14: org.netlib.util.doubleW, doubleW15: org.netlib.util.doubleW, doubleW16: org.netlib.util.doubleW) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def propertiesLeachman( + self, + double: float, + double2: float, + doubleW: org.netlib.util.doubleW, + doubleW2: org.netlib.util.doubleW, + doubleW3: org.netlib.util.doubleW, + doubleW4: org.netlib.util.doubleW, + doubleW5: org.netlib.util.doubleW, + doubleW6: org.netlib.util.doubleW, + doubleW7: org.netlib.util.doubleW, + doubleW8: org.netlib.util.doubleW, + doubleW9: org.netlib.util.doubleW, + doubleW10: org.netlib.util.doubleW, + doubleW11: org.netlib.util.doubleW, + doubleW12: org.netlib.util.doubleW, + doubleW13: org.netlib.util.doubleW, + doubleW14: org.netlib.util.doubleW, + doubleW15: org.netlib.util.doubleW, + doubleW16: org.netlib.util.doubleW, + ) -> None: ... class NeqSimLeachman: @typing.overload def __init__(self): ... @typing.overload - def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + string: typing.Union[java.lang.String, str], + ): ... def getAlpha0_Leachman(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphares_Leachman(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphares_Leachman( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... @typing.overload def getDensity(self) -> float: ... @typing.overload - def getDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... @typing.overload def getMolarDensity(self) -> float: ... @typing.overload - def getMolarDensity(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> float: ... + def getMolarDensity( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> float: ... def getPressure(self) -> float: ... - def getProperties(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> typing.MutableSequence[float]: ... + def getProperties( + self, + phaseInterface: jneqsim.thermo.phase.PhaseInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... @typing.overload def propertiesLeachman(self) -> typing.MutableSequence[float]: ... @typing.overload - def propertiesLeachman(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> typing.MutableSequence[float]: ... + def propertiesLeachman( + self, phaseInterface: jneqsim.thermo.phase.PhaseInterface + ) -> typing.MutableSequence[float]: ... def setPhase(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.leachman")``. diff --git a/src/jneqsim-stubs/thermo/util/readwrite/__init__.pyi b/src/jneqsim-stubs/thermo/util/readwrite/__init__.pyi index ada466d5..56d9f1c4 100644 --- a/src/jneqsim-stubs/thermo/util/readwrite/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/readwrite/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,121 +14,225 @@ import jpype.protocol import jneqsim.thermo.system import typing - - class EclipseFluidReadWrite: pseudoName: typing.ClassVar[java.lang.String] = ... def __init__(self): ... @staticmethod - def addWaterToFluid(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> None: ... + def addWaterToFluid( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> None: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], boolean: bool + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], boolean: bool, double: float + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + boolean: bool, + double: float, + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> jneqsim.thermo.system.SystemInterface: ... @staticmethod - def readE300File(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def readE300File( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def setComposition(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def setComposition( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def setComposition(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def setComposition( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def toE300String(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def toE300String( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toE300String(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... + def toE300String( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> java.lang.String: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + double: float, + ) -> None: ... class JsonFluidReadWrite: @typing.overload @staticmethod - def convertE300ToJson(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def convertE300ToJson( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def convertE300ToJson(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def convertE300ToJson( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... @typing.overload @staticmethod - def convertJsonToE300(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def convertJsonToE300( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def convertJsonToE300(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def convertJsonToE300( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], boolean: bool + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str], boolean: bool, double: float + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def readString(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def readString( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def readString(string: typing.Union[java.lang.String, str], boolean: bool) -> jneqsim.thermo.system.SystemInterface: ... + def readString( + string: typing.Union[java.lang.String, str], boolean: bool + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def readString(string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> jneqsim.thermo.system.SystemInterface: ... + def readString( + string: typing.Union[java.lang.String, str], boolean: bool, double: float + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def toJsonString(systemInterface: jneqsim.thermo.system.SystemInterface) -> java.lang.String: ... + def toJsonString( + systemInterface: jneqsim.thermo.system.SystemInterface, + ) -> java.lang.String: ... @typing.overload @staticmethod - def toJsonString(systemInterface: jneqsim.thermo.system.SystemInterface, double: float) -> java.lang.String: ... + def toJsonString( + systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ) -> java.lang.String: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath]) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + ) -> None: ... @typing.overload @staticmethod - def write(systemInterface: jneqsim.thermo.system.SystemInterface, path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], double: float) -> None: ... + def write( + systemInterface: jneqsim.thermo.system.SystemInterface, + path: typing.Union[java.nio.file.Path, jpype.protocol.SupportsPath], + double: float, + ) -> None: ... class TablePrinter(java.io.Serializable): def __init__(self): ... @staticmethod - def convertDoubleToString(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def convertDoubleToString( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ] + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... @typing.overload @staticmethod - def printTable(doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def printTable( + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ] + ) -> None: ... @typing.overload @staticmethod - def printTable(stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def printTable( + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ] + ) -> None: ... class WhitsonPVTReader: def __init__(self): ... @@ -140,11 +244,15 @@ class WhitsonPVTReader: def getOmegaB(self) -> float: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str]) -> jneqsim.thermo.system.SystemInterface: ... + def read( + string: typing.Union[java.lang.String, str] + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload @staticmethod - def read(string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> jneqsim.thermo.system.SystemInterface: ... - + def read( + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> jneqsim.thermo.system.SystemInterface: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.readwrite")``. diff --git a/src/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi b/src/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi index 66ccfabd..543ceca4 100644 --- a/src/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/referenceequations/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,15 +11,15 @@ import jneqsim.thermo.phase import org.netlib.util import typing - - class Ammonia2023: @typing.overload def __init__(self): ... @typing.overload def __init__(self, phaseInterface: jneqsim.thermo.phase.PhaseInterface): ... def getAlpha0(self) -> typing.MutableSequence[org.netlib.util.doubleW]: ... - def getAlphaRes(self) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... + def getAlphaRes( + self, + ) -> typing.MutableSequence[typing.MutableSequence[org.netlib.util.doubleW]]: ... def getDensity(self) -> float: ... def getThermalConductivity(self) -> float: ... def getViscosity(self) -> float: ... @@ -30,10 +30,11 @@ class methaneBWR32: def __init__(self): ... def calcPressure(self, double: float, double2: float) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def molDens(self, double: float, double2: float, boolean: bool) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.referenceequations")``. diff --git a/src/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi b/src/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi index 52f76b4a..386d6ec5 100644 --- a/src/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/spanwagner/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,15 +8,14 @@ else: import jneqsim.thermo.phase import typing - - class NeqSimSpanWagner: @staticmethod - def getProperties(double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType) -> typing.MutableSequence[float]: ... + def getProperties( + double: float, double2: float, phaseType: jneqsim.thermo.phase.PhaseType + ) -> typing.MutableSequence[float]: ... @staticmethod def getSaturationPressure(double: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.spanwagner")``. diff --git a/src/jneqsim-stubs/thermo/util/steam/__init__.pyi b/src/jneqsim-stubs/thermo/util/steam/__init__.pyi index 7853ef0c..39b6b988 100644 --- a/src/jneqsim-stubs/thermo/util/steam/__init__.pyi +++ b/src/jneqsim-stubs/thermo/util/steam/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -7,8 +7,6 @@ else: import typing - - class Iapws_if97: @staticmethod def T4_p(double: float) -> float: ... @@ -29,7 +27,6 @@ class Iapws_if97: @staticmethod def w_pt(double: float, double2: float) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermo.util.steam")``. diff --git a/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi index edb5a678..aef660e6 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -19,18 +19,34 @@ import jneqsim.thermodynamicoperations.propertygenerator import org.jfree.chart import typing - - class OperationInterface(java.lang.Runnable, java.io.Serializable): - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + @typing.overload + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -39,14 +55,36 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def OLGApropTable(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int, string: typing.Union[java.lang.String, str], int3: int) -> None: ... - def OLGApropTablePH(self, double: float, double2: float, int: int, double3: float, double4: float, int2: int, string: typing.Union[java.lang.String, str], int3: int) -> None: ... + def OLGApropTable( + self, + double: float, + double2: float, + int: int, + double3: float, + double4: float, + int2: int, + string: typing.Union[java.lang.String, str], + int3: int, + ) -> None: ... + def OLGApropTablePH( + self, + double: float, + double2: float, + int: int, + double3: float, + double4: float, + int2: int, + string: typing.Union[java.lang.String, str], + int3: int, + ) -> None: ... @typing.overload def PHflash(self, double: float) -> None: ... @typing.overload def PHflash(self, double: float, int: int) -> None: ... @typing.overload - def PHflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PHflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def PHflash2(self, double: float, int: int) -> None: ... def PHflashGERG2008(self, double: float) -> None: ... def PHflashLeachman(self, double: float) -> None: ... @@ -55,7 +93,9 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def PSflash(self, double: float) -> None: ... @typing.overload - def PSflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PSflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def PSflash2(self, double: float) -> None: ... def PSflashGERG2008(self, double: float) -> None: ... def PSflashLeachman(self, double: float) -> None: ... @@ -63,57 +103,110 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def PUflash(self, double: float) -> None: ... @typing.overload - def PUflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def PUflash( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload - def PUflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PUflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def PVFflash(self, double: float) -> None: ... @typing.overload - def PVFflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PVFflash( + self, double: float, double2: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def PVflash(self, double: float) -> None: ... @typing.overload - def PVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def PVflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def PVrefluxFlash(self, double: float, int: int) -> None: ... @typing.overload def THflash(self, double: float) -> None: ... @typing.overload - def THflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def THflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def TPSolidflash(self) -> None: ... - def TPVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TPVflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def TPflash(self) -> None: ... @typing.overload def TPflash(self, boolean: bool) -> None: ... def TPflashSoreideWhitson(self) -> None: ... - def TPgradientFlash(self, double: float, double2: float) -> jneqsim.thermo.system.SystemInterface: ... + def TPgradientFlash( + self, double: float, double2: float + ) -> jneqsim.thermo.system.SystemInterface: ... @typing.overload def TSflash(self, double: float) -> None: ... @typing.overload - def TSflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TSflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def TUflash(self, double: float) -> None: ... @typing.overload - def TUflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TUflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def TVflash(self, double: float) -> None: ... @typing.overload - def TVflash(self, double: float, string: typing.Union[java.lang.String, str]) -> None: ... + def TVflash( + self, double: float, string: typing.Union[java.lang.String, str] + ) -> None: ... def TVfractionFlash(self, double: float) -> None: ... @typing.overload def VHflash(self, double: float, double2: float) -> None: ... @typing.overload - def VHflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def VHflash( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def VSflash(self, double: float, double2: float) -> None: ... @typing.overload - def VSflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def VSflash( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def VUflash(self, double: float, double2: float) -> None: ... @typing.overload - def VUflash(self, double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - def addIonToScaleSaturation(self, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def VUflash( + self, + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + def addIonToScaleSaturation( + self, + int: int, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def asphalteneOnsetPressure(self) -> float: ... @typing.overload @@ -121,17 +214,33 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): @typing.overload def asphalteneOnsetTemperature(self) -> float: ... @typing.overload - def asphalteneOnsetTemperature(self, double: float, double2: float, double3: float) -> float: ... + def asphalteneOnsetTemperature( + self, double: float, double2: float, double3: float + ) -> float: ... @typing.overload def bubblePointPressureFlash(self) -> None: ... @typing.overload def bubblePointPressureFlash(self, boolean: bool) -> None: ... def bubblePointTemperatureFlash(self) -> None: ... - def calcCricoP(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: ... - def calcCricoT(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: ... + def calcCricoP( + 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: ... + def calcCricoT( + 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: ... def calcCricondenBar(self) -> float: ... def calcHPTphaseEnvelope(self) -> None: ... - def calcImobilePhaseHydrateTemperature(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcImobilePhaseHydrateTemperature( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def calcIonComposition(self, int: int) -> None: ... @typing.overload def calcPTphaseEnvelope(self) -> None: ... @@ -145,31 +254,58 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def calcPTphaseEnvelope(self, double: float, double2: float) -> None: ... def calcPTphaseEnvelope2(self) -> None: ... def calcPTphaseEnvelopeNew(self) -> None: ... - def calcPTphaseEnvelopeNew3(self, double: float, double2: float, double3: float, double4: float, double5: float, double6: float) -> None: ... - @typing.overload - def calcPTphaseEnvelopeWithQualityLines(self, boolean: bool, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... - @typing.overload - def calcPTphaseEnvelopeWithQualityLines(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def calcPTphaseEnvelopeNew3( + self, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ) -> None: ... + @typing.overload + def calcPTphaseEnvelopeWithQualityLines( + self, boolean: bool, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... + @typing.overload + def calcPTphaseEnvelopeWithQualityLines( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def calcPTphaseEnvelopeWithStabilityAnalysis(self) -> None: ... def calcPloadingCurve(self) -> None: ... - def calcSaltSaturation(self, string: typing.Union[java.lang.String, str]) -> None: ... + def calcSaltSaturation( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... @typing.overload def calcSolidComlexTemperature(self) -> None: ... @typing.overload - def calcSolidComlexTemperature(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def calcSolidComlexTemperature( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def calcTOLHydrateFormationTemperature(self) -> float: ... def calcWAT(self) -> None: ... @typing.overload def capillaryDewPointTemperatureFlash(self, double: float) -> None: ... @typing.overload - def capillaryDewPointTemperatureFlash(self, double: float, double2: float) -> None: ... + def capillaryDewPointTemperatureFlash( + self, double: float, double2: float + ) -> None: ... def checkScalePotential(self, int: int) -> None: ... def chemicalEquilibrium(self) -> None: ... def constantPhaseFractionPressureFlash(self, double: float) -> None: ... def constantPhaseFractionTemperatureFlash(self, double: float) -> None: ... def criticalPointFlash(self) -> None: ... - def dTPflash(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... - def dewPointMach(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], double: float) -> None: ... + def dTPflash( + self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... + def dewPointMach( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + double: float, + ) -> None: ... def dewPointPressureFlash(self) -> None: ... def dewPointPressureFlashHC(self) -> None: ... def dewPointTemperatureCondensationRate(self) -> float: ... @@ -179,22 +315,45 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def dewPointTemperatureFlash(self, boolean: bool) -> None: ... def display(self) -> None: ... def displayResult(self) -> None: ... - def flash(self, flashType: 'ThermodynamicOperations.FlashType', double: float, double2: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def flash( + self, + flashType: "ThermodynamicOperations.FlashType", + double: float, + double2: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload def freezingPointTemperatureFlash(self) -> None: ... @typing.overload - def freezingPointTemperatureFlash(self, string: typing.Union[java.lang.String, str]) -> None: ... + def freezingPointTemperatureFlash( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def gasHydrateTPflash(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... def getData(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getDataPoints(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... - def getEnvelopeSegments(self) -> java.util.List[jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.EnvelopeSegment]: ... + def getDataPoints( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getEnvelopeSegments( + self, + ) -> java.util.List[ + jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.EnvelopeSegment + ]: ... def getJfreeChart(self) -> org.jfree.chart.JFreeChart: ... def getOperation(self) -> OperationInterface: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getThermoOperationThread(self) -> java.lang.Thread: ... def hydrateEquilibriumLine(self, double: float, double2: float) -> None: ... @@ -205,23 +364,41 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def hydrateFormationTemperature(self, double: float) -> None: ... @typing.overload def hydrateFormationTemperature(self, int: int) -> None: ... - def hydrateInhibitorConcentration(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... - def hydrateInhibitorConcentrationSet(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def hydrateInhibitorConcentration( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... + def hydrateInhibitorConcentrationSet( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @typing.overload def hydrateTPflash(self) -> None: ... @typing.overload def hydrateTPflash(self, boolean: bool) -> None: ... def isRunAsThread(self) -> bool: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def propertyFlash(self, list: java.util.List[float], list2: java.util.List[float], int: int, list3: java.util.List[typing.Union[java.lang.String, str]], list4: java.util.List[java.util.List[float]]) -> jneqsim.api.ioc.CalculationResult: ... + def propertyFlash( + self, + list: java.util.List[float], + list2: java.util.List[float], + int: int, + list3: java.util.List[typing.Union[java.lang.String, str]], + list4: java.util.List[java.util.List[float]], + ) -> jneqsim.api.ioc.CalculationResult: ... def reactivePHflash(self, double: float, int: int) -> None: ... def reactivePSflash(self, double: float) -> None: ... def reactiveTPflash(self) -> None: ... def run(self) -> None: ... def saturateWithWater(self) -> None: ... - def setResultTable(self, stringArray: typing.Union[typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray]) -> None: ... + def setResultTable( + self, + stringArray: typing.Union[ + typing.List[typing.MutableSequence[java.lang.String]], jpype.JArray + ], + ) -> None: ... def setRunAsThread(self, boolean: bool) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setThermoOperationThread(self, thread: java.lang.Thread) -> None: ... def waitAndCheckForFinishedCalculation(self, int: int) -> bool: ... def waitToFinishCalculation(self) -> None: ... @@ -229,44 +406,73 @@ class ThermodynamicOperations(java.io.Serializable, java.lang.Cloneable): def waterDewPointTemperatureFlash(self) -> None: ... def waterDewPointTemperatureMultiphaseFlash(self) -> None: ... def waterPrecipitationTemperature(self) -> None: ... - class FlashType(java.lang.Enum['ThermodynamicOperations.FlashType']): - TP: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - PT: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - PH: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - PS: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - TV: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - TS: typing.ClassVar['ThermodynamicOperations.FlashType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FlashType(java.lang.Enum["ThermodynamicOperations.FlashType"]): + TP: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + PT: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + PH: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + PS: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + TV: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + TS: typing.ClassVar["ThermodynamicOperations.FlashType"] = ... + _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: ... + 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]) -> 'ThermodynamicOperations.FlashType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ThermodynamicOperations.FlashType": ... @staticmethod - def values() -> typing.MutableSequence['ThermodynamicOperations.FlashType']: ... + def values() -> typing.MutableSequence["ThermodynamicOperations.FlashType"]: ... class BaseOperation(OperationInterface): def __init__(self): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... - @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... + @typing.overload + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + @typing.overload + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations")``. BaseOperation: typing.Type[BaseOperation] OperationInterface: typing.Type[OperationInterface] ThermodynamicOperations: typing.Type[ThermodynamicOperations] - chemicalequilibrium: jneqsim.thermodynamicoperations.chemicalequilibrium.__module_protocol__ + chemicalequilibrium: ( + jneqsim.thermodynamicoperations.chemicalequilibrium.__module_protocol__ + ) flashops: jneqsim.thermodynamicoperations.flashops.__module_protocol__ - phaseenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ - propertygenerator: jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ + phaseenvelopeops: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.__module_protocol__ + ) + propertygenerator: ( + jneqsim.thermodynamicoperations.propertygenerator.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi index 83f601bf..7f05b79a 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/chemicalequilibrium/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,18 +11,21 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing - - class ChemicalEquilibrium(jneqsim.thermodynamicoperations.BaseOperation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def displayResult(self) -> None: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.chemicalequilibrium")``. diff --git a/src/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi index 073167ae..724478c4 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/flashops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -17,20 +17,28 @@ import org.ejml.simple import org.jfree.chart import typing - - class Flash(jneqsim.thermodynamicoperations.BaseOperation): minGibsPhaseLogZ: typing.MutableSequence[float] = ... minGibsLogFugCoef: typing.MutableSequence[float] = ... def __init__(self): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... def findLowestGibbsEnergyPhase(self) -> int: ... def getLastStabilityAnalysisFailureMessage(self) -> java.lang.String: ... def getLastStabilityOutcome(self) -> java.lang.String: ... def getLastTangentPlaneDistances(self) -> typing.MutableSequence[float]: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def hasLastStabilityAnalysisFailed(self) -> bool: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def solidPhaseFlash(self) -> None: ... @@ -39,10 +47,24 @@ class Flash(jneqsim.thermodynamicoperations.BaseOperation): class RachfordRice(java.io.Serializable): def __init__(self): ... - def calcBeta(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def calcBetaMichelsen2001(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def calcBetaNielsen2023(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> float: ... - def calcBetaS(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> float: ... + def calcBeta( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... + def calcBetaMichelsen2001( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... + def calcBetaNielsen2023( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> float: ... + def calcBetaS( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> float: ... def getBeta(self) -> typing.MutableSequence[float]: ... @staticmethod def getMethod() -> java.lang.String: ... @@ -51,9 +73,20 @@ class RachfordRice(java.io.Serializable): class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int, int3: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + int3: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setSpec(self, double: float) -> None: ... @@ -62,17 +95,29 @@ class SysNewtonRhapsonPHflash(jneqsim.thermo.ThermodynamicConstantsInterface): def solve(self, int: int) -> int: ... class SysNewtonRhapsonTPflash(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def getNumberOfComponents(self) -> int: ... def init(self) -> None: ... def setJac(self) -> None: ... - def setSystem(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> None: ... + def setSystem( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> None: ... def setfvec(self) -> None: ... def setu(self) -> None: ... def solve(self) -> float: ... class SysNewtonRhapsonTPflashNew(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -80,9 +125,15 @@ class SysNewtonRhapsonTPflashNew(java.io.Serializable): def solve(self, int: int) -> None: ... class CalcIonicComposition(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def run(self) -> None: ... class CriticalPointFlash(Flash): @@ -93,99 +144,172 @@ class CriticalPointFlash(Flash): def run(self) -> None: ... class ImprovedVUflashQfunc(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class OptimizedVUflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PHflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... def solveQ2(self) -> float: ... class PHflashGERG2008(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... def solveQ2(self) -> float: ... class PHflashLeachman(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PHflashSingleComp(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class PHflashVega(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PHsolidFlash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class PSflashSingleComp(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class PUflash(Flash): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PVFflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class PVrefluxflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class QfuncFlash(Flash): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -195,10 +319,14 @@ class TPflash(Flash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def accselerateSucsSubs(self) -> None: ... def equals(self, object: typing.Any) -> bool: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def resetK(self) -> None: ... def run(self) -> None: ... def setNewK(self) -> None: ... @@ -208,7 +336,12 @@ class TPgradientFlash(Flash): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def run(self) -> None: ... def setJac(self) -> None: ... @@ -216,19 +349,27 @@ class TPgradientFlash(Flash): def setfvec(self) -> None: ... class TVflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdV(self) -> float: ... def calcdQdVdP(self) -> float: ... def getIterations(self) -> int: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class TVfractionFlash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdV(self) -> float: ... def calcdQdVdP(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def isConverged(self) -> bool: ... def isUseVolumeCorrection(self) -> bool: ... def run(self) -> None: ... @@ -236,61 +377,114 @@ class TVfractionFlash(Flash): def solveQ(self) -> float: ... class VHflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class VHflashQfunc(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... def calcdQdT(self) -> float: ... def calcdQdTP(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... def solveQ(self) -> float: ... class VSflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... def calcdQdT(self) -> float: ... def calcdQdTP(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... def solveQ(self) -> float: ... class VUflash(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class VUflashQfunc(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... def calcdQdT(self) -> float: ... def calcdQdTP(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... def solveQ(self) -> float: ... class VUflashSingleComp(Flash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... class PSFlash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def onPhaseSolve(self) -> None: ... @@ -298,45 +492,59 @@ class PSFlash(QfuncFlash): def solveQ(self) -> float: ... class PSFlashGERG2008(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PSFlashLeachman(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PSFlashVega(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... def run(self) -> None: ... def solveQ(self) -> float: ... class PVflash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class SaturateWithWater(QfuncFlash): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def run(self) -> None: ... class SolidFlash(TPflash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -379,10 +587,14 @@ class SolidFlash12(TPflash): def solvebeta1(self) -> float: ... class THflash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... @@ -390,9 +602,13 @@ class TPHydrateFlash(TPflash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def equals(self, object: typing.Any) -> bool: ... - def getCavityOccupancy(self, string: typing.Union[java.lang.String, str], int: int, int2: int) -> float: ... + def getCavityOccupancy( + self, string: typing.Union[java.lang.String, str], int: int, int2: int + ) -> float: ... def getHydrateFraction(self) -> float: ... def getStableHydrateStructure(self) -> int: ... def hashCode(self) -> int: ... @@ -405,14 +621,18 @@ class TPflashSAFT(TPflash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def run(self) -> None: ... class TPmultiflash(TPflash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -429,7 +649,9 @@ class TPmultiflashWAX(TPflash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcE(self) -> None: ... def calcMultiPhaseBeta(self) -> None: ... def calcQ(self) -> float: ... @@ -439,30 +661,41 @@ class TPmultiflashWAX(TPflash): def stabilityAnalysis(self) -> None: ... class TSFlash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... def calcdQdT(self) -> float: ... def calcdQdTT(self) -> float: ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def onPhaseSolve(self) -> None: ... def run(self) -> None: ... def solveQ(self) -> float: ... class TUflash(QfuncFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def calcdQdP(self) -> float: ... def calcdQdPP(self) -> float: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def run(self) -> None: ... def solveQ(self) -> float: ... class dTPflash(TPflash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops")``. @@ -513,5 +746,9 @@ class __module_protocol__(Protocol): VUflashQfunc: typing.Type[VUflashQfunc] VUflashSingleComp: typing.Type[VUflashSingleComp] dTPflash: typing.Type[dTPflash] - reactiveflash: jneqsim.thermodynamicoperations.flashops.reactiveflash.__module_protocol__ - saturationops: jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ + reactiveflash: ( + jneqsim.thermodynamicoperations.flashops.reactiveflash.__module_protocol__ + ) + saturationops: ( + jneqsim.thermodynamicoperations.flashops.saturationops.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi index 5f785799..ede46407 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/flashops/reactiveflash/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,11 +13,13 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class DIISAccelerator(java.io.Serializable): def __init__(self, int: int, int2: int): ... - def addEntry(self, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def addEntry( + self, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def canExtrapolate(self) -> bool: ... def extrapolate(self) -> typing.MutableSequence[float]: ... def getCount(self) -> int: ... @@ -25,10 +27,19 @@ class DIISAccelerator(java.io.Serializable): class FormulaMatrix(java.io.Serializable): @typing.overload - def __init__(self, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]): ... + def __init__( + self, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + stringArray2: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def computeElementVector(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def computeElementVector( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def get(self, int: int, int2: int) -> float: ... def getComponentNames(self) -> typing.MutableSequence[java.lang.String]: ... def getElementNames(self) -> typing.MutableSequence[java.lang.String]: ... @@ -42,14 +53,20 @@ class FormulaMatrix(java.io.Serializable): def isIon(self, int: int) -> bool: ... class ModifiedRANDSolver(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, formulaMatrix: FormulaMatrix): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + formulaMatrix: FormulaMatrix, + ): ... def getDiisStepsAccepted(self) -> int: ... def getFinalResidual(self) -> float: ... def getG0(self) -> typing.MutableSequence[float]: ... def getIterationsUsed(self) -> int: ... def getLagrangeMultipliers(self) -> typing.MutableSequence[float]: ... def getLnPhiRef(self) -> typing.MutableSequence[float]: ... - def getMoleFractions(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getMoleFractions( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMoles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPhaseAmounts(self) -> typing.MutableSequence[float]: ... def getTotalMoles(self) -> float: ... @@ -61,13 +78,26 @@ class ModifiedRANDSolver(java.io.Serializable): class ReactiveMultiphasePHflash(jneqsim.thermodynamicoperations.BaseOperation): @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, int: int): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + int: int, + ): ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... def getEquilibriumTemperature(self) -> float: ... - def getLastTPflash(self) -> 'ReactiveMultiphaseTPflash': ... + def getLastTPflash(self) -> "ReactiveMultiphaseTPflash": ... def getNumberOfPhases(self) -> int: ... def getOuterIterations(self) -> int: ... def getSummary(self) -> java.lang.String: ... @@ -84,11 +114,21 @@ class ReactiveMultiphaseTPflash(jneqsim.thermodynamicoperations.BaseOperation): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... def getDiisStepsAccepted(self) -> int: ... - def getEquilibriumMoles(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getEquilibriumMoles( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getEquilibriumTotalMoles(self) -> float: ... def getFinalGibbsEnergy(self) -> float: ... def getFormulaMatrix(self) -> FormulaMatrix: ... @@ -106,15 +146,20 @@ class ReactiveMultiphaseTPflash(jneqsim.thermodynamicoperations.BaseOperation): def setUseDIIS(self, boolean: bool) -> None: ... class ReactiveStabilityAnalysis(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, formulaMatrix: FormulaMatrix): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + formulaMatrix: FormulaMatrix, + ): ... def getMostUnstableTrial(self) -> typing.MutableSequence[float]: ... def getNumberOfUnstableTrials(self) -> int: ... def getTpdValues(self) -> java.util.List[float]: ... - def getUnstableTrialCompositions(self) -> java.util.List[typing.MutableSequence[float]]: ... + def getUnstableTrialCompositions( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... def isUnstable(self) -> bool: ... def run(self) -> bool: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops.reactiveflash")``. diff --git a/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi index 0b2c605d..b7898eb2 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/flashops/saturationops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,13 +14,16 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing - - class ConstantDutyFlashInterface(jneqsim.thermodynamicoperations.OperationInterface): def isSuperCritical(self) -> bool: ... class CricondenBarTemp(java.io.Serializable): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def init(self) -> None: ... def setJac(self) -> None: ... def setfvec(self) -> None: ... @@ -30,10 +33,18 @@ class CricondenBarTemp(java.io.Serializable): class CricondenBarTemp1(java.io.Serializable): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def displayResult(self) -> None: ... - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def init(self) -> None: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -48,14 +59,30 @@ class ConstantDutyFlash(ConstantDutyFlashInterface): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def isSuperCritical(self) -> bool: ... def run(self) -> None: ... def setSuperCritical(self, boolean: bool) -> None: ... @@ -64,12 +91,21 @@ class AsphalteneOnsetPressureFlash(ConstantDutyFlash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... @typing.overload def getOnsetPressure(self) -> float: ... @typing.overload - def getOnsetPressure(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOnsetPressure( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getPrecipitatedFraction(self) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def isOnsetFound(self) -> bool: ... @@ -82,12 +118,22 @@ class AsphalteneOnsetTemperatureFlash(ConstantDutyFlash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + ): ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... @typing.overload def getOnsetTemperature(self) -> float: ... @typing.overload - def getOnsetTemperature(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getOnsetTemperature( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def isOnsetFound(self) -> bool: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @@ -97,7 +143,9 @@ class AsphalteneOnsetTemperatureFlash(ConstantDutyFlash): class ConstantDutyPressureFlash(ConstantDutyFlash): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -107,14 +155,24 @@ class ConstantDutyTemperatureFlash(ConstantDutyFlash): def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... class AddIonToScaleSaturation(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -139,15 +197,26 @@ class BubblePointTemperatureNoDer(ConstantDutyTemperatureFlash): def run(self) -> None: ... class CalcSaltSatauration(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ): ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... class CapillaryDewPointFlash(ConstantDutyTemperatureFlash): @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... def getBulkDewPointTemperature(self) -> float: ... def getCapillaryPressure(self) -> float: ... def getContactAngle(self) -> float: ... @@ -159,8 +228,12 @@ class CapillaryDewPointFlash(ConstantDutyTemperatureFlash): def setPoreRadius(self, double: float) -> None: ... class CheckScalePotential(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int): ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int + ): ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -189,7 +262,9 @@ class DewPointTemperatureFlashDer(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezeOut( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): FCompTemp: typing.MutableSequence[float] = ... FCompNames: typing.MutableSequence[java.lang.String] = ... noFreezeFlash: bool = ... @@ -197,7 +272,9 @@ class FreezeOut(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConsta def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezingPointTemperatureFlash( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): noFreezeFlash: bool = ... Niterations: int = ... name: java.lang.String = ... @@ -205,12 +282,19 @@ class FreezingPointTemperatureFlash(ConstantDutyTemperatureFlash, jneqsim.thermo @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def calcFunc(self) -> float: ... @typing.overload def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def printToFile(self, string: typing.Union[java.lang.String, str], stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def printToFile( + self, + string: typing.Union[java.lang.String, str], + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> None: ... def run(self) -> None: ... class FreezingPointTemperatureFlashOld(ConstantDutyTemperatureFlash): @@ -218,7 +302,9 @@ class FreezingPointTemperatureFlashOld(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FreezingPointTemperatureFlashTR( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): noFreezeFlash: bool = ... Niterations: int = ... FCompNames: typing.MutableSequence[java.lang.String] = ... @@ -231,12 +317,16 @@ class FreezingPointTemperatureFlashTR(ConstantDutyTemperatureFlash, jneqsim.ther @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, boolean: bool + ): ... def getNiterations(self) -> int: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... -class FugTestConstP(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface): +class FugTestConstP( + ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicConstantsInterface +): temp: float = ... pres: float = ... testSystem: jneqsim.thermo.system.SystemInterface = ... @@ -249,7 +339,9 @@ class FugTestConstP(ConstantDutyTemperatureFlash, jneqsim.thermo.ThermodynamicCo @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float): ... + def __init__( + self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float + ): ... def initTestSystem2(self, int: int) -> None: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -260,8 +352,15 @@ class HCdewPointPressureFlash(ConstantDutyTemperatureFlash): def run(self) -> None: ... class HydrateEquilibriumLine(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def run(self) -> None: ... class HydrateFormationPressureFlash(ConstantDutyTemperatureFlash): @@ -279,15 +378,27 @@ class HydrateFormationTemperatureFlash(ConstantDutyTemperatureFlash): def stop(self) -> None: ... class HydrateInhibitorConcentrationFlash(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + ): ... @staticmethod - def main(stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]) -> None: ... + def main( + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray] + ) -> None: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... def stop(self) -> None: ... class HydrateInhibitorwtFlash(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + ): ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... def stop(self) -> None: ... @@ -299,7 +410,12 @@ class SolidComplexTemperatureCalc(ConstantDutyTemperatureFlash): @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getHrefComplex(self) -> float: ... def getKcomplex(self) -> float: ... def getTrefComplex(self) -> float: ... @@ -316,8 +432,15 @@ class WATcalc(ConstantDutyTemperatureFlash): def run(self) -> None: ... class WaterDewPointEquilibriumLine(ConstantDutyTemperatureFlash): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float): ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + ): ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def run(self) -> None: ... class WaterDewPointTemperatureFlash(ConstantDutyTemperatureFlash): @@ -330,7 +453,6 @@ class WaterDewPointTemperatureMultiphaseFlash(ConstantDutyTemperatureFlash): def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.flashops.saturationops")``. @@ -369,4 +491,6 @@ class __module_protocol__(Protocol): WATcalc: typing.Type[WATcalc] WaterDewPointEquilibriumLine: typing.Type[WaterDewPointEquilibriumLine] WaterDewPointTemperatureFlash: typing.Type[WaterDewPointTemperatureFlash] - WaterDewPointTemperatureMultiphaseFlash: typing.Type[WaterDewPointTemperatureMultiphaseFlash] + WaterDewPointTemperatureMultiphaseFlash: typing.Type[ + WaterDewPointTemperatureMultiphaseFlash + ] diff --git a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi index 10fb5fe4..d83a1f58 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -9,9 +9,12 @@ import jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeop import jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves import typing - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops")``. - multicomponentenvelopeops: jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.__module_protocol__ - reactivecurves: jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves.__module_protocol__ + multicomponentenvelopeops: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops.__module_protocol__ + ) + reactivecurves: ( + jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves.__module_protocol__ + ) diff --git a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi index d8f01541..701289e6 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/multicomponentenvelopeops/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -14,36 +14,54 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing - - class EnvelopeSegment(java.io.Serializable): - def __init__(self, phaseType: 'EnvelopeSegment.PhaseType', doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray], doubleArray3: typing.Union[typing.List[float], jpype.JArray], doubleArray4: typing.Union[typing.List[float], jpype.JArray], doubleArray5: typing.Union[typing.List[float], jpype.JArray]): ... + def __init__( + self, + phaseType: "EnvelopeSegment.PhaseType", + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + doubleArray3: typing.Union[typing.List[float], jpype.JArray], + doubleArray4: typing.Union[typing.List[float], jpype.JArray], + doubleArray5: typing.Union[typing.List[float], jpype.JArray], + ): ... def getDensities(self) -> typing.MutableSequence[float]: ... def getEnthalpies(self) -> typing.MutableSequence[float]: ... def getEntropies(self) -> typing.MutableSequence[float]: ... - def getPhaseType(self) -> 'EnvelopeSegment.PhaseType': ... + def getPhaseType(self) -> "EnvelopeSegment.PhaseType": ... def getPressures(self) -> typing.MutableSequence[float]: ... def getTemperatures(self) -> typing.MutableSequence[float]: ... def size(self) -> int: ... - class PhaseType(java.lang.Enum['EnvelopeSegment.PhaseType']): - DEW: typing.ClassVar['EnvelopeSegment.PhaseType'] = ... - BUBBLE: typing.ClassVar['EnvelopeSegment.PhaseType'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class PhaseType(java.lang.Enum["EnvelopeSegment.PhaseType"]): + DEW: typing.ClassVar["EnvelopeSegment.PhaseType"] = ... + BUBBLE: typing.ClassVar["EnvelopeSegment.PhaseType"] = ... + _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: ... + 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]) -> 'EnvelopeSegment.PhaseType': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "EnvelopeSegment.PhaseType": ... @staticmethod - def values() -> typing.MutableSequence['EnvelopeSegment.PhaseType']: ... + def values() -> typing.MutableSequence["EnvelopeSegment.PhaseType"]: ... class HPTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def displayResult(self) -> None: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -51,15 +69,30 @@ class PTPhaseEnvelopeMichelsen(jneqsim.thermodynamicoperations.BaseOperation): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... - def calcQualityLines(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ): ... + def calcQualityLines( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> None: ... def checkPhaseCount(self, double: float, double2: float) -> int: ... def checkStabilityAlongEnvelope(self) -> None: ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... def getBubblePointPressures(self) -> typing.MutableSequence[float]: ... def getBubblePointTemperatures(self) -> typing.MutableSequence[float]: ... def getCricondenBar(self) -> typing.MutableSequence[float]: ... @@ -69,10 +102,16 @@ class PTPhaseEnvelopeMichelsen(jneqsim.thermodynamicoperations.BaseOperation): def getDewPointPressures(self) -> typing.MutableSequence[float]: ... def getDewPointTemperatures(self) -> typing.MutableSequence[float]: ... def getNumberOfCriticalPoints(self) -> int: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getQualityBetaValues(self) -> typing.MutableSequence[float]: ... - def getQualityLine(self, double: float) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getQualityLine( + self, double: float + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getSegments(self) -> java.util.List[EnvelopeSegment]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def getThreePhaseRegionP(self) -> typing.MutableSequence[float]: ... @@ -90,17 +129,42 @@ class PTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: float, double2: float, boolean: bool): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: float, + double2: float, + boolean: bool, + ): ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def calcHydrateLine(self) -> None: ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def isBubblePointFirst(self) -> bool: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -108,28 +172,63 @@ class PTphaseEnvelope(jneqsim.thermodynamicoperations.BaseOperation): def tempKWilson(self, double: float, double2: float) -> float: ... class PTphaseEnvelopeNew3(jneqsim.thermodynamicoperations.OperationInterface): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, double: float, double2: float, double3: float, double4: float, double5: float, double6: float): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + double: float, + double2: float, + double3: float, + double4: float, + double5: float, + double6: float, + ): ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def coarse(self) -> None: ... def displayResult(self) -> None: ... def findBettaTransitionsAndRefine(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getBettaMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getBettaTransitionRegion(self) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getBettaMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getBettaTransitionRegion( + self, + ) -> typing.MutableSequence[typing.MutableSequence[bool]]: ... def getCricondenbar(self) -> float: ... def getCricondentherm(self) -> float: ... def getDewPointPressures(self) -> typing.MutableSequence[float]: ... def getDewPointTemperatures(self) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPhaseMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPhaseMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getPressurePhaseEnvelope(self) -> java.util.List[float]: ... def getPressures(self) -> typing.MutableSequence[float]: ... - def getRefinedTransitionPoints(self) -> java.util.List[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def getRefinedTransitionPoints( + self, + ) -> java.util.List[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getTemperaturePhaseEnvelope(self) -> java.util.List[float]: ... def getTemperatures(self) -> typing.MutableSequence[float]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... @@ -140,7 +239,12 @@ class SysNewtonRhapsonPhaseEnvelope(java.io.Serializable): @typing.overload def __init__(self): ... @typing.overload - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, int: int, int2: int): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + int: int, + int2: int, + ): ... def calcCrit(self) -> None: ... def calcInc(self, int: int) -> None: ... def calcInc2(self, int: int) -> None: ... @@ -159,14 +263,29 @@ class SysNewtonRhapsonPhaseEnvelope(java.io.Serializable): def useAsSpecEq(self, int: int) -> None: ... class CricondenBarFlash(PTphaseEnvelope): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: 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]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: 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], + ): ... def run(self) -> None: ... class CricondenThermFlash(PTphaseEnvelope): - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str], double: 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]): ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + double: 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], + ): ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.multicomponentenvelopeops")``. diff --git a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi index 8884d512..df140500 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/phaseenvelopeops/reactivecurves/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,22 +12,38 @@ import jneqsim.thermodynamicoperations import org.jfree.chart import typing - - class PloadingCurve(jneqsim.thermodynamicoperations.OperationInterface): @typing.overload def __init__(self): ... @typing.overload def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def addData(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[typing.MutableSequence[float]], jpype.JArray]) -> None: ... + def addData( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[ + typing.List[typing.MutableSequence[float]], jpype.JArray + ], + ) -> None: ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... @@ -36,17 +52,28 @@ class PloadingCurve2(jneqsim.thermodynamicoperations.BaseOperation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def displayResult(self) -> None: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str], doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def get( + self, + string: typing.Union[java.lang.String, str], + doubleArray: typing.Union[typing.List[float], jpype.JArray], + ) -> typing.MutableSequence[float]: ... @typing.overload - def get(self, string: typing.Union[java.lang.String, str]) -> typing.MutableSequence[float]: ... - def getJFreeChart(self, string: typing.Union[java.lang.String, str]) -> org.jfree.chart.JFreeChart: ... - def getPoints(self, int: int) -> typing.MutableSequence[typing.MutableSequence[float]]: ... - def getResultTable(self) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... + def get( + self, string: typing.Union[java.lang.String, str] + ) -> typing.MutableSequence[float]: ... + def getJFreeChart( + self, string: typing.Union[java.lang.String, str] + ) -> org.jfree.chart.JFreeChart: ... + def getPoints( + self, int: int + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getResultTable( + self, + ) -> typing.MutableSequence[typing.MutableSequence[java.lang.String]]: ... def getThermoSystem(self) -> jneqsim.thermo.system.SystemInterface: ... def printToFile(self, string: typing.Union[java.lang.String, str]) -> None: ... def run(self) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.phaseenvelopeops.reactivecurves")``. diff --git a/src/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi b/src/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi index 28533b78..d5ef4a6e 100644 --- a/src/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi +++ b/src/jneqsim-stubs/thermodynamicoperations/propertygenerator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,8 +11,6 @@ import jneqsim.thermo.system import jneqsim.thermodynamicoperations import typing - - class OLGApropertyTableGenerator(jneqsim.thermodynamicoperations.BaseOperation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calcPhaseEnvelope(self) -> None: ... @@ -22,11 +20,19 @@ class OLGApropertyTableGenerator(jneqsim.thermodynamicoperations.BaseOperation): def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... -class OLGApropertyTableGeneratorKeywordFormat(jneqsim.thermodynamicoperations.BaseOperation): +class OLGApropertyTableGeneratorKeywordFormat( + jneqsim.thermodynamicoperations.BaseOperation +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def displayResult(self) -> None: ... def initCalc(self) -> None: ... @@ -37,9 +43,15 @@ class OLGApropertyTableGeneratorKeywordFormat(jneqsim.thermodynamicoperations.Ba class OLGApropertyTableGeneratorWater(jneqsim.thermodynamicoperations.BaseOperation): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def calcRSWTOB(self) -> None: ... def displayResult(self) -> None: ... @@ -50,13 +62,23 @@ class OLGApropertyTableGeneratorWater(jneqsim.thermodynamicoperations.BaseOperat def setPressureRange(self, double: float, double2: float, int: int) -> None: ... def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterEven(jneqsim.thermodynamicoperations.BaseOperation): +class OLGApropertyTableGeneratorWaterEven( + jneqsim.thermodynamicoperations.BaseOperation +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def calcRSWTOB(self) -> None: ... def displayResult(self) -> None: ... @@ -67,13 +89,23 @@ class OLGApropertyTableGeneratorWaterEven(jneqsim.thermodynamicoperations.BaseOp def setPressureRange(self, double: float, double2: float, int: int) -> None: ... def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterKeywordFormat(jneqsim.thermodynamicoperations.BaseOperation): +class OLGApropertyTableGeneratorWaterKeywordFormat( + jneqsim.thermodynamicoperations.BaseOperation +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def calcRSWTOB(self) -> None: ... def displayResult(self) -> None: ... @@ -83,11 +115,19 @@ class OLGApropertyTableGeneratorWaterKeywordFormat(jneqsim.thermodynamicoperatio def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... -class OLGApropertyTableGeneratorWaterStudents(jneqsim.thermodynamicoperations.BaseOperation): +class OLGApropertyTableGeneratorWaterStudents( + jneqsim.thermodynamicoperations.BaseOperation +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def calcRSWTOB(self) -> None: ... def displayResult(self) -> None: ... @@ -98,13 +138,23 @@ class OLGApropertyTableGeneratorWaterStudents(jneqsim.thermodynamicoperations.Ba def setPressureRange(self, double: float, double2: float, int: int) -> None: ... def setTemperatureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... -class OLGApropertyTableGeneratorWaterStudentsPH(jneqsim.thermodynamicoperations.BaseOperation): +class OLGApropertyTableGeneratorWaterStudentsPH( + jneqsim.thermodynamicoperations.BaseOperation +): def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... - def calcBubP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcBubT(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... - def calcDewP(self, doubleArray: typing.Union[typing.List[float], jpype.JArray]) -> typing.MutableSequence[float]: ... + def calcBubP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcBubT( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... + def calcDewP( + self, doubleArray: typing.Union[typing.List[float], jpype.JArray] + ) -> typing.MutableSequence[float]: ... def calcPhaseEnvelope(self) -> None: ... def calcRSWTOB(self) -> None: ... def displayResult(self) -> None: ... @@ -115,16 +165,27 @@ class OLGApropertyTableGeneratorWaterStudentsPH(jneqsim.thermodynamicoperations. def setFileName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setPressureRange(self, double: float, double2: float, int: int) -> None: ... def writeOLGAinpFile(self, string: typing.Union[java.lang.String, str]) -> None: ... - def writeOLGAinpFile2(self, string: typing.Union[java.lang.String, str]) -> None: ... - + def writeOLGAinpFile2( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.thermodynamicoperations.propertygenerator")``. OLGApropertyTableGenerator: typing.Type[OLGApropertyTableGenerator] - OLGApropertyTableGeneratorKeywordFormat: typing.Type[OLGApropertyTableGeneratorKeywordFormat] + OLGApropertyTableGeneratorKeywordFormat: typing.Type[ + OLGApropertyTableGeneratorKeywordFormat + ] OLGApropertyTableGeneratorWater: typing.Type[OLGApropertyTableGeneratorWater] - OLGApropertyTableGeneratorWaterEven: typing.Type[OLGApropertyTableGeneratorWaterEven] - OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[OLGApropertyTableGeneratorWaterKeywordFormat] - OLGApropertyTableGeneratorWaterStudents: typing.Type[OLGApropertyTableGeneratorWaterStudents] - OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[OLGApropertyTableGeneratorWaterStudentsPH] + OLGApropertyTableGeneratorWaterEven: typing.Type[ + OLGApropertyTableGeneratorWaterEven + ] + OLGApropertyTableGeneratorWaterKeywordFormat: typing.Type[ + OLGApropertyTableGeneratorWaterKeywordFormat + ] + OLGApropertyTableGeneratorWaterStudents: typing.Type[ + OLGApropertyTableGeneratorWaterStudents + ] + OLGApropertyTableGeneratorWaterStudentsPH: typing.Type[ + OLGApropertyTableGeneratorWaterStudentsPH + ] diff --git a/src/jneqsim-stubs/util/__init__.pyi b/src/jneqsim-stubs/util/__init__.pyi index 9fbc8362..dcbb42f6 100644 --- a/src/jneqsim-stubs/util/__init__.pyi +++ b/src/jneqsim-stubs/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -21,8 +21,6 @@ import jneqsim.util.util import jneqsim.util.validation import typing - - class ExcludeFromJacocoGeneratedReport(java.lang.annotation.Annotation): def equals(self, object: typing.Any) -> bool: ... def hashCode(self) -> int: ... @@ -45,7 +43,9 @@ class NeqSimLogging: class NeqSimThreadPool: @staticmethod - def execute(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> None: ... + def execute( + runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> None: ... @staticmethod def getDefaultPoolSize() -> int: ... @staticmethod @@ -62,9 +62,11 @@ class NeqSimThreadPool: def isShutdown() -> bool: ... @staticmethod def isTerminated() -> bool: ... - _newCompletionService__T = typing.TypeVar('_newCompletionService__T') # + _newCompletionService__T = typing.TypeVar("_newCompletionService__T") # @staticmethod - def newCompletionService() -> java.util.concurrent.CompletionService[_newCompletionService__T]: ... + def newCompletionService() -> ( + java.util.concurrent.CompletionService[_newCompletionService__T] + ): ... @staticmethod def resetPoolSize() -> None: ... @staticmethod @@ -78,16 +80,25 @@ class NeqSimThreadPool: @staticmethod def shutdown() -> None: ... @staticmethod - def shutdownAndAwait(long: int, timeUnit: java.util.concurrent.TimeUnit) -> bool: ... + def shutdownAndAwait( + long: int, timeUnit: java.util.concurrent.TimeUnit + ) -> bool: ... @staticmethod def shutdownNow() -> None: ... - _submit_1__T = typing.TypeVar('_submit_1__T') # + _submit_1__T = typing.TypeVar("_submit_1__T") # @typing.overload @staticmethod - def submit(runnable: typing.Union[java.lang.Runnable, typing.Callable]) -> java.util.concurrent.Future[typing.Any]: ... + def submit( + runnable: typing.Union[java.lang.Runnable, typing.Callable] + ) -> java.util.concurrent.Future[typing.Any]: ... @typing.overload @staticmethod - def submit(callable: typing.Union[java.util.concurrent.Callable[_submit_1__T], typing.Callable[[], _submit_1__T]]) -> java.util.concurrent.Future[_submit_1__T]: ... + def submit( + callable: typing.Union[ + java.util.concurrent.Callable[_submit_1__T], + typing.Callable[[], _submit_1__T], + ] + ) -> java.util.concurrent.Future[_submit_1__T]: ... class NamedBaseClass(NamedInterface, java.io.Serializable): name: java.lang.String = ... @@ -97,7 +108,6 @@ class NamedBaseClass(NamedInterface, java.io.Serializable): def setName(self, string: typing.Union[java.lang.String, str]) -> None: ... def setTagNumber(self, string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util")``. diff --git a/src/jneqsim-stubs/util/agentic/__init__.pyi b/src/jneqsim-stubs/util/agentic/__init__.pyi index a9f7a6df..3d9cb998 100644 --- a/src/jneqsim-stubs/util/agentic/__init__.pyi +++ b/src/jneqsim-stubs/util/agentic/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,187 +11,287 @@ import java.util import jneqsim.process.processmodel import typing - - class AgentBenchmarkSuite(java.io.Serializable): def __init__(self, string: typing.Union[java.lang.String, str]): ... - def addConvergenceResult(self, string: typing.Union[java.lang.String, str], boolean: bool) -> None: ... - def addProblem(self, benchmarkProblem: 'AgentBenchmarkSuite.BenchmarkProblem') -> None: ... - def addResult(self, string: typing.Union[java.lang.String, str], double: float) -> None: ... + def addConvergenceResult( + self, string: typing.Union[java.lang.String, str], boolean: bool + ) -> None: ... + def addProblem( + self, benchmarkProblem: "AgentBenchmarkSuite.BenchmarkProblem" + ) -> None: ... + def addResult( + self, string: typing.Union[java.lang.String, str], double: float + ) -> None: ... @staticmethod - def createStandardSuite() -> 'AgentBenchmarkSuite': ... - def evaluate(self) -> 'AgentBenchmarkSuite.BenchmarkReport': ... - def getProblems(self) -> java.util.List['AgentBenchmarkSuite.BenchmarkProblem']: ... + def createStandardSuite() -> "AgentBenchmarkSuite": ... + def evaluate(self) -> "AgentBenchmarkSuite.BenchmarkReport": ... + def getProblems(self) -> java.util.List["AgentBenchmarkSuite.BenchmarkProblem"]: ... def getSuiteName(self) -> java.lang.String: ... def toJson(self) -> java.lang.String: ... + class BenchmarkProblem(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], problemCategory: 'AgentBenchmarkSuite.ProblemCategory', difficulty: 'AgentBenchmarkSuite.Difficulty', string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str], double: float, double2: float, string4: typing.Union[java.lang.String, str]): ... - def getCategory(self) -> 'AgentBenchmarkSuite.ProblemCategory': ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + problemCategory: "AgentBenchmarkSuite.ProblemCategory", + difficulty: "AgentBenchmarkSuite.Difficulty", + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + double: float, + double2: float, + string4: typing.Union[java.lang.String, str], + ): ... + def getCategory(self) -> "AgentBenchmarkSuite.ProblemCategory": ... def getDescription(self) -> java.lang.String: ... - def getDifficulty(self) -> 'AgentBenchmarkSuite.Difficulty': ... + def getDifficulty(self) -> "AgentBenchmarkSuite.Difficulty": ... def getExpectedValue(self) -> float: ... def getId(self) -> java.lang.String: ... def getReferenceSource(self) -> java.lang.String: ... def getTolerancePct(self) -> float: ... def getUnit(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... + class BenchmarkReport(java.io.Serializable): - def __init__(self, string: typing.Union[java.lang.String, str], list: java.util.List['AgentBenchmarkSuite.ProblemResult'], int: int, int2: int, int3: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + list: java.util.List["AgentBenchmarkSuite.ProblemResult"], + int: int, + int2: int, + int3: int, + ): ... def getConvergenceRate(self) -> float: ... def getFailed(self) -> int: ... - def getFailedProblems(self) -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... + def getFailedProblems( + self, + ) -> java.util.List["AgentBenchmarkSuite.ProblemResult"]: ... def getNotAttempted(self) -> int: ... def getPassRate(self) -> float: ... def getPassed(self) -> int: ... - def getResults(self) -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... - def getResultsByCategory(self, problemCategory: 'AgentBenchmarkSuite.ProblemCategory') -> java.util.List['AgentBenchmarkSuite.ProblemResult']: ... + def getResults(self) -> java.util.List["AgentBenchmarkSuite.ProblemResult"]: ... + def getResultsByCategory( + self, problemCategory: "AgentBenchmarkSuite.ProblemCategory" + ) -> java.util.List["AgentBenchmarkSuite.ProblemResult"]: ... def toJson(self) -> java.lang.String: ... - class Difficulty(java.lang.Enum['AgentBenchmarkSuite.Difficulty']): - BASIC: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... - INTERMEDIATE: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... - ADVANCED: typing.ClassVar['AgentBenchmarkSuite.Difficulty'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Difficulty(java.lang.Enum["AgentBenchmarkSuite.Difficulty"]): + BASIC: typing.ClassVar["AgentBenchmarkSuite.Difficulty"] = ... + INTERMEDIATE: typing.ClassVar["AgentBenchmarkSuite.Difficulty"] = ... + ADVANCED: typing.ClassVar["AgentBenchmarkSuite.Difficulty"] = ... + _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: ... + 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]) -> 'AgentBenchmarkSuite.Difficulty': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgentBenchmarkSuite.Difficulty": ... @staticmethod - def values() -> typing.MutableSequence['AgentBenchmarkSuite.Difficulty']: ... - class ProblemCategory(java.lang.Enum['AgentBenchmarkSuite.ProblemCategory']): - THERMO: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - FLASH: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - PROCESS: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - PIPELINE: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - ECONOMICS: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - SAFETY: typing.ClassVar['AgentBenchmarkSuite.ProblemCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["AgentBenchmarkSuite.Difficulty"]: ... + + class ProblemCategory(java.lang.Enum["AgentBenchmarkSuite.ProblemCategory"]): + THERMO: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + FLASH: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + PROCESS: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + PIPELINE: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + ECONOMICS: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + SAFETY: typing.ClassVar["AgentBenchmarkSuite.ProblemCategory"] = ... + _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: ... + 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]) -> 'AgentBenchmarkSuite.ProblemCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgentBenchmarkSuite.ProblemCategory": ... @staticmethod - def values() -> typing.MutableSequence['AgentBenchmarkSuite.ProblemCategory']: ... + def values() -> ( + typing.MutableSequence["AgentBenchmarkSuite.ProblemCategory"] + ): ... + class ProblemResult(java.io.Serializable): - def __init__(self, benchmarkProblem: 'AgentBenchmarkSuite.BenchmarkProblem', double: float, boolean: bool, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + benchmarkProblem: "AgentBenchmarkSuite.BenchmarkProblem", + double: float, + boolean: bool, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... def getActualValue(self) -> float: ... def getDetail(self) -> java.lang.String: ... - def getProblem(self) -> 'AgentBenchmarkSuite.BenchmarkProblem': ... + def getProblem(self) -> "AgentBenchmarkSuite.BenchmarkProblem": ... def getVerdict(self) -> java.lang.String: ... def isPassed(self) -> bool: ... class AgentFeedbackCollector(java.io.Serializable): def __init__(self): ... @staticmethod - def classifyFailure(string: typing.Union[java.lang.String, str]) -> 'AgentFeedbackCollector.FailureCategory': ... - def computeLearningTrend(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... - def generateRemediations(self) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def classifyFailure( + string: typing.Union[java.lang.String, str] + ) -> "AgentFeedbackCollector.FailureCategory": ... + def computeLearningTrend( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... + def generateRemediations( + self, + ) -> java.util.List[java.util.Map[java.lang.String, typing.Any]]: ... def getAverageSimulationSuccessRate(self) -> float: ... - def getDiscoveredAPIGaps(self) -> java.util.List['AgentFeedbackCollector.APIGap']: ... + def getDiscoveredAPIGaps( + self, + ) -> java.util.List["AgentFeedbackCollector.APIGap"]: ... def getFailureCategoryCounts(self) -> java.util.Map[java.lang.String, int]: ... - def getMostImpactfulGap(self) -> 'AgentFeedbackCollector.APIGap': ... + def getMostImpactfulGap(self) -> "AgentFeedbackCollector.APIGap": ... def getOverallSuccessRate(self) -> float: ... def getSessionCount(self) -> int: ... def getSuccessRate(self, string: typing.Union[java.lang.String, str]) -> float: ... def getSummaryReport(self) -> java.lang.String: ... - def recordAPIGap(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def recordSession(self, agentSession: 'AgentSession') -> None: ... + def recordAPIGap( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def recordSession(self, agentSession: "AgentSession") -> None: ... + class APIGap(java.io.Serializable): description: java.lang.String = ... suggestedPackage: java.lang.String = ... priority: java.lang.String = ... discoveredAt: int = ... - class FailureCategory(java.lang.Enum['AgentFeedbackCollector.FailureCategory']): - CONVERGENCE: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - MISSING_API: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - INVALID_INPUT: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - CODE_ERROR: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - TIMEOUT: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - OTHER: typing.ClassVar['AgentFeedbackCollector.FailureCategory'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class FailureCategory(java.lang.Enum["AgentFeedbackCollector.FailureCategory"]): + CONVERGENCE: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + MISSING_API: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + INVALID_INPUT: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + CODE_ERROR: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + TIMEOUT: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + OTHER: typing.ClassVar["AgentFeedbackCollector.FailureCategory"] = ... + _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: ... + 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]) -> 'AgentFeedbackCollector.FailureCategory': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgentFeedbackCollector.FailureCategory": ... @staticmethod - def values() -> typing.MutableSequence['AgentFeedbackCollector.FailureCategory']: ... + def values() -> ( + typing.MutableSequence["AgentFeedbackCollector.FailureCategory"] + ): ... + class SessionSummary(java.io.Serializable): sessionId: java.lang.String = ... agentName: java.lang.String = ... taskDescription: java.lang.String = ... - outcome: 'AgentSession.Outcome' = ... + outcome: "AgentSession.Outcome" = ... durationSeconds: float = ... totalSimulations: int = ... successfulSimulations: int = ... failureCategory: java.lang.String = ... class AgentSession(java.io.Serializable): - def addMetadata(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def beginPhase(self, phase: 'AgentSession.Phase') -> None: ... - def complete(self, outcome: 'AgentSession.Outcome') -> None: ... - def endPhase(self, phase: 'AgentSession.Phase') -> None: ... + def addMetadata( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def beginPhase(self, phase: "AgentSession.Phase") -> None: ... + def complete(self, outcome: "AgentSession.Outcome") -> None: ... + def endPhase(self, phase: "AgentSession.Phase") -> None: ... def fail(self, string: typing.Union[java.lang.String, str]) -> None: ... def getAgentName(self) -> java.lang.String: ... def getDurationSeconds(self) -> float: ... def getFailureReason(self) -> java.lang.String: ... - def getOutcome(self) -> 'AgentSession.Outcome': ... - def getPhases(self) -> java.util.List['AgentSession.PhaseRecord']: ... + def getOutcome(self) -> "AgentSession.Outcome": ... + def getPhases(self) -> java.util.List["AgentSession.PhaseRecord"]: ... def getSessionId(self) -> java.lang.String: ... def getSimulationRunCount(self) -> int: ... - def getSimulationRuns(self) -> java.util.List['AgentSession.SimulationRun']: ... + def getSimulationRuns(self) -> java.util.List["AgentSession.SimulationRun"]: ... def getSuccessfulSimulationCount(self) -> int: ... def getTaskDescription(self) -> java.lang.String: ... def getToolInvocationCount(self) -> int: ... - def getToolInvocations(self) -> java.util.List['AgentSession.ToolInvocation']: ... - def recordSimulationRun(self, string: typing.Union[java.lang.String, str], boolean: bool, double: float) -> None: ... - def recordToolUse(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def getToolInvocations(self) -> java.util.List["AgentSession.ToolInvocation"]: ... + def recordSimulationRun( + self, string: typing.Union[java.lang.String, str], boolean: bool, double: float + ) -> None: ... + def recordToolUse( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod - def start(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> 'AgentSession': ... + def start( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> "AgentSession": ... def toJson(self) -> java.lang.String: ... - class Outcome(java.lang.Enum['AgentSession.Outcome']): - SUCCESS: typing.ClassVar['AgentSession.Outcome'] = ... - PARTIAL: typing.ClassVar['AgentSession.Outcome'] = ... - FAILED: typing.ClassVar['AgentSession.Outcome'] = ... - ABANDONED: typing.ClassVar['AgentSession.Outcome'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Outcome(java.lang.Enum["AgentSession.Outcome"]): + SUCCESS: typing.ClassVar["AgentSession.Outcome"] = ... + PARTIAL: typing.ClassVar["AgentSession.Outcome"] = ... + FAILED: typing.ClassVar["AgentSession.Outcome"] = ... + ABANDONED: typing.ClassVar["AgentSession.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: ... + 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]) -> 'AgentSession.Outcome': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgentSession.Outcome": ... @staticmethod - def values() -> typing.MutableSequence['AgentSession.Outcome']: ... - class Phase(java.lang.Enum['AgentSession.Phase']): - SCOPE: typing.ClassVar['AgentSession.Phase'] = ... - RESEARCH: typing.ClassVar['AgentSession.Phase'] = ... - ANALYSIS: typing.ClassVar['AgentSession.Phase'] = ... - VALIDATION: typing.ClassVar['AgentSession.Phase'] = ... - REPORTING: typing.ClassVar['AgentSession.Phase'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def values() -> typing.MutableSequence["AgentSession.Outcome"]: ... + + class Phase(java.lang.Enum["AgentSession.Phase"]): + SCOPE: typing.ClassVar["AgentSession.Phase"] = ... + RESEARCH: typing.ClassVar["AgentSession.Phase"] = ... + ANALYSIS: typing.ClassVar["AgentSession.Phase"] = ... + VALIDATION: typing.ClassVar["AgentSession.Phase"] = ... + REPORTING: typing.ClassVar["AgentSession.Phase"] = ... + _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: ... + 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]) -> 'AgentSession.Phase': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AgentSession.Phase": ... @staticmethod - def values() -> typing.MutableSequence['AgentSession.Phase']: ... + def values() -> typing.MutableSequence["AgentSession.Phase"]: ... + class PhaseRecord(java.io.Serializable): - phase: 'AgentSession.Phase' = ... + phase: "AgentSession.Phase" = ... startTimeMillis: int = ... endTimeMillis: int = ... def getDurationSeconds(self) -> float: ... + class SimulationRun(java.io.Serializable): description: java.lang.String = ... success: bool = ... durationSeconds: float = ... timestamp: int = ... + class ToolInvocation(java.io.Serializable): toolName: java.lang.String = ... description: java.lang.String = ... @@ -200,11 +300,17 @@ class AgentSession(java.io.Serializable): class AgenticEngineeringKernel(java.io.Serializable): SCHEMA_VERSION: typing.ClassVar[java.lang.String] = ... @staticmethod - def assessReadiness(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def assessReadiness( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def evaluateTrust(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def evaluateTrust( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod - def planWorkflow(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def planWorkflow( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... @staticmethod def run(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod @@ -215,51 +321,79 @@ class SimulationQualityGate(java.io.Serializable): DEFAULT_ENERGY_BALANCE_TOLERANCE: typing.ClassVar[float] = ... def __init__(self, processSystem: jneqsim.process.processmodel.ProcessSystem): ... def getErrorCount(self) -> int: ... - def getIssues(self) -> java.util.List['SimulationQualityGate.QualityIssue']: ... + def getIssues(self) -> java.util.List["SimulationQualityGate.QualityIssue"]: ... def getWarningCount(self) -> int: ... def isPassed(self) -> bool: ... def setEnergyBalanceTolerance(self, double: float) -> None: ... def setMassBalanceTolerance(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def validate(self) -> None: ... + class QualityIssue(java.io.Serializable): - severity: 'SimulationQualityGate.Severity' = ... + severity: "SimulationQualityGate.Severity" = ... category: java.lang.String = ... message: java.lang.String = ... remediation: java.lang.String = ... - def __init__(self, severity: 'SimulationQualityGate.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - class Severity(java.lang.Enum['SimulationQualityGate.Severity']): - ERROR: typing.ClassVar['SimulationQualityGate.Severity'] = ... - WARNING: typing.ClassVar['SimulationQualityGate.Severity'] = ... - INFO: typing.ClassVar['SimulationQualityGate.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def __init__( + self, + severity: "SimulationQualityGate.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + + class Severity(java.lang.Enum["SimulationQualityGate.Severity"]): + ERROR: typing.ClassVar["SimulationQualityGate.Severity"] = ... + WARNING: typing.ClassVar["SimulationQualityGate.Severity"] = ... + INFO: typing.ClassVar["SimulationQualityGate.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: ... + 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]) -> 'SimulationQualityGate.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SimulationQualityGate.Severity": ... @staticmethod - def values() -> typing.MutableSequence['SimulationQualityGate.Severity']: ... + def values() -> typing.MutableSequence["SimulationQualityGate.Severity"]: ... class TaskResultValidator(java.io.Serializable): @staticmethod - def validate(string: typing.Union[java.lang.String, str]) -> 'TaskResultValidator.ValidationReport': ... + def validate( + string: typing.Union[java.lang.String, str] + ) -> "TaskResultValidator.ValidationReport": ... + class ValidationReport(java.io.Serializable): def __init__(self): ... - def addError(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... - def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def addError( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... + def addWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... def getErrorCount(self) -> int: ... - def getErrors(self) -> java.util.List['TaskResultValidator.ValidationReport.Issue']: ... + def getErrors( + self, + ) -> java.util.List["TaskResultValidator.ValidationReport.Issue"]: ... def getWarningCount(self) -> int: ... - def getWarnings(self) -> java.util.List['TaskResultValidator.ValidationReport.Issue']: ... + def getWarnings( + self, + ) -> java.util.List["TaskResultValidator.ValidationReport.Issue"]: ... def isValid(self) -> bool: ... def toJson(self) -> java.lang.String: ... + class Issue(java.io.Serializable): field: java.lang.String = ... message: java.lang.String = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.agentic")``. diff --git a/src/jneqsim-stubs/util/annotation/__init__.pyi b/src/jneqsim-stubs/util/annotation/__init__.pyi index b3d356a6..c917fdde 100644 --- a/src/jneqsim-stubs/util/annotation/__init__.pyi +++ b/src/jneqsim-stubs/util/annotation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -12,8 +12,6 @@ import java.util import jpype import typing - - class AIExposable(java.lang.annotation.Annotation): def category(self) -> java.lang.String: ... def description(self) -> java.lang.String: ... @@ -40,31 +38,67 @@ class AIParameter(java.lang.annotation.Annotation): class AISchemaDiscovery(java.io.Serializable): def __init__(self): ... - def discoverCommonMethods(self, class_: typing.Type[typing.Any]) -> java.util.List['AISchemaDiscovery.MethodSchema']: ... - def discoverCoreAPIs(self) -> java.util.Map[java.lang.String, java.util.List['AISchemaDiscovery.MethodSchema']]: ... - def discoverMethods(self, class_: typing.Type[typing.Any]) -> java.util.List['AISchemaDiscovery.MethodSchema']: ... - def generateMethodPrompt(self, list: java.util.List['AISchemaDiscovery.MethodSchema']) -> java.lang.String: ... + def discoverCommonMethods( + self, class_: typing.Type[typing.Any] + ) -> java.util.List["AISchemaDiscovery.MethodSchema"]: ... + def discoverCoreAPIs( + self, + ) -> java.util.Map[ + java.lang.String, java.util.List["AISchemaDiscovery.MethodSchema"] + ]: ... + def discoverMethods( + self, class_: typing.Type[typing.Any] + ) -> java.util.List["AISchemaDiscovery.MethodSchema"]: ... + def generateMethodPrompt( + self, list: java.util.List["AISchemaDiscovery.MethodSchema"] + ) -> java.lang.String: ... def getQuickStartPrompt(self) -> java.lang.String: ... + class MethodSchema(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], string4: typing.Union[java.lang.String, str], string5: typing.Union[java.lang.String, str], int: int, boolean: bool, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], list: java.util.List['AISchemaDiscovery.ParameterSchema'], string7: typing.Union[java.lang.String, str]): ... + def __init__( + self, + 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], + string5: typing.Union[java.lang.String, str], + int: int, + boolean: bool, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + list: java.util.List["AISchemaDiscovery.ParameterSchema"], + string7: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getClassName(self) -> java.lang.String: ... def getDescription(self) -> java.lang.String: ... def getExample(self) -> java.lang.String: ... def getMethodName(self) -> java.lang.String: ... - def getParameters(self) -> java.util.List['AISchemaDiscovery.ParameterSchema']: ... + def getParameters( + self, + ) -> java.util.List["AISchemaDiscovery.ParameterSchema"]: ... def getPriority(self) -> int: ... def getReturnType(self) -> java.lang.String: ... def getTags(self) -> typing.MutableSequence[java.lang.String]: ... def isSafe(self) -> bool: ... def toPromptText(self) -> java.lang.String: ... + class ParameterSchema(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], string4: typing.Union[java.lang.String, str], double: float, double2: float, string5: typing.Union[java.lang.String, str], boolean: bool, stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray]): ... + def __init__( + self, + 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], + double: float, + double2: float, + string5: typing.Union[java.lang.String, str], + boolean: bool, + stringArray: typing.Union[typing.List[java.lang.String], jpype.JArray], + ): ... def getName(self) -> java.lang.String: ... def getType(self) -> java.lang.String: ... def toPromptText(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.annotation")``. diff --git a/src/jneqsim-stubs/util/database/__init__.pyi b/src/jneqsim-stubs/util/database/__init__.pyi index 031de4c8..4465d133 100644 --- a/src/jneqsim-stubs/util/database/__init__.pyi +++ b/src/jneqsim-stubs/util/database/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,16 +11,22 @@ import java.sql import jneqsim.util.util import typing - - class AspenIP21Database(jneqsim.util.util.FileSystemSettings, java.io.Serializable): def __init__(self): ... @typing.overload - def getResultSet(self, string: typing.Union[java.lang.String, str]) -> java.sql.ResultSet: ... + 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: ... + def getResultSet( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> java.sql.ResultSet: ... def getStatement(self) -> java.sql.Statement: ... - def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... + 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): @@ -33,7 +39,9 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa 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 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 @@ -44,14 +52,19 @@ class NeqSimBlobDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializa def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @staticmethod - def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + 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( + jneqsim.util.util.FileSystemSettings, java.io.Serializable, java.lang.AutoCloseable +): dataBasePath: typing.ClassVar[java.lang.String] = ... def __init__(self): ... def close(self) -> None: ... @@ -66,7 +79,9 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, 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 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: ... @@ -76,7 +91,10 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, def initH2DatabaseFromCSVfiles() -> None: ... def openConnection(self) -> java.sql.Connection: ... @staticmethod - def replaceTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def replaceTable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod def setConnectionString(string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod @@ -86,7 +104,10 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @staticmethod - def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -97,11 +118,16 @@ class NeqSimDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializable, def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @staticmethod - def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def updateTable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @staticmethod def useExtendedComponentDatabase(boolean: bool) -> None: ... -class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Serializable): +class NeqSimExperimentDatabase( + jneqsim.util.util.FileSystemSettings, java.io.Serializable +): dataBasePath: typing.ClassVar[java.lang.String] = ... username: typing.ClassVar[java.lang.String] = ... password: typing.ClassVar[java.lang.String] = ... @@ -114,7 +140,9 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser 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 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 @@ -125,7 +153,10 @@ class NeqSimExperimentDatabase(jneqsim.util.util.FileSystemSettings, java.io.Ser def setDataBaseType(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @staticmethod - def setDataBaseType(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + 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: ... @@ -138,10 +169,18 @@ class NeqSimFluidDataBase(jneqsim.util.util.FileSystemSettings, java.io.Serializ 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: ... - def openConnection(self, string: typing.Union[java.lang.String, str]) -> java.sql.Connection: ... + 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: ... + def openConnection( + self, string: typing.Union[java.lang.String, str] + ) -> java.sql.Connection: ... class NeqSimContractDataBase(NeqSimDataBase): dataBasePath: typing.ClassVar[java.lang.String] = ... @@ -153,7 +192,10 @@ class NeqSimContractDataBase(NeqSimDataBase): def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload @staticmethod - def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def updateTable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... class NeqSimProcessDesignDataBase(NeqSimDataBase): dataBasePath: typing.ClassVar[java.lang.String] = ... @@ -162,12 +204,14 @@ class NeqSimProcessDesignDataBase(NeqSimDataBase): def initH2DatabaseFromCSVfiles() -> None: ... @typing.overload @staticmethod - def updateTable(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> None: ... + def updateTable( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> None: ... @typing.overload @staticmethod def updateTable(string: typing.Union[java.lang.String, str]) -> None: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.database")``. diff --git a/src/jneqsim-stubs/util/exception/__init__.pyi b/src/jneqsim-stubs/util/exception/__init__.pyi index 02dd9845..8565db18 100644 --- a/src/jneqsim-stubs/util/exception/__init__.pyi +++ b/src/jneqsim-stubs/util/exception/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,68 +8,159 @@ else: import java.lang import typing - - class ThermoException(java.lang.Exception): @typing.overload def __init__(self, string: typing.Union[java.lang.String, str]): ... @typing.overload - 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 __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... class InvalidInputException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + 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], + ): ... def getRemediation(self) -> java.lang.String: ... class InvalidOutputException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + 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], + ): ... def getRemediation(self) -> java.lang.String: ... class IsNaNException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - @typing.overload - 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 __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + @typing.overload + 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 getRemediation(self) -> java.lang.String: ... class NotImplementedException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str]): ... + def __init__( + self, object: typing.Any, string: typing.Union[java.lang.String, str] + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... class NotInitializedException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... - @typing.overload - def __init__(self, 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]): ... + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + object: typing.Any, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... + @typing.overload + def __init__( + self, + 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], + ): ... def getRemediation(self) -> java.lang.String: ... class TooManyIterationsException(ThermoException): @typing.overload - def __init__(self, object: typing.Any, string: typing.Union[java.lang.String, str], long: int): ... + def __init__( + self, object: typing.Any, string: typing.Union[java.lang.String, str], long: int + ): ... @typing.overload - def __init__(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], long: int): ... + def __init__( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + long: int, + ): ... def getRemediation(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.exception")``. diff --git a/src/jneqsim-stubs/util/generator/__init__.pyi b/src/jneqsim-stubs/util/generator/__init__.pyi index cecd9fbe..b1a915c2 100644 --- a/src/jneqsim-stubs/util/generator/__init__.pyi +++ b/src/jneqsim-stubs/util/generator/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -11,14 +11,18 @@ import jpype import jneqsim.thermo.system import typing - - class PropertyGenerator: - def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface, doubleArray: typing.Union[typing.List[float], jpype.JArray], doubleArray2: typing.Union[typing.List[float], jpype.JArray]): ... - def calculate(self) -> java.util.HashMap[java.lang.String, typing.MutableSequence[float]]: ... + def __init__( + self, + systemInterface: jneqsim.thermo.system.SystemInterface, + doubleArray: typing.Union[typing.List[float], jpype.JArray], + doubleArray2: typing.Union[typing.List[float], jpype.JArray], + ): ... + def calculate( + self, + ) -> java.util.HashMap[java.lang.String, typing.MutableSequence[float]]: ... def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.generator")``. diff --git a/src/jneqsim-stubs/util/nucleation/__init__.pyi b/src/jneqsim-stubs/util/nucleation/__init__.pyi index 729408ca..a5bb2d17 100644 --- a/src/jneqsim-stubs/util/nucleation/__init__.pyi +++ b/src/jneqsim-stubs/util/nucleation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,8 +10,6 @@ import java.util import jneqsim.thermo.system import typing - - class AttainableMetastabilityVolumeBalance: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def calculateLimit(self, double: float, double2: float) -> None: ... @@ -41,7 +39,10 @@ class ClassicalNucleationTheory: def calculate(self) -> None: ... def calculateParticleDiameter(self, double: float, double2: float) -> float: ... @staticmethod - def fromThermoSystem(systemInterface: jneqsim.thermo.system.SystemInterface, string: typing.Union[java.lang.String, str]) -> 'ClassicalNucleationTheory': ... + def fromThermoSystem( + systemInterface: jneqsim.thermo.system.SystemInterface, + string: typing.Union[java.lang.String, str], + ) -> "ClassicalNucleationTheory": ... def getCoagulationKernel(self) -> float: ... def getCondensedPhaseDensity(self) -> float: ... def getContactAngle(self) -> float: ... @@ -58,7 +59,9 @@ class ClassicalNucleationTheory: @typing.overload def getMeanParticleDiameter(self) -> float: ... @typing.overload - def getMeanParticleDiameter(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getMeanParticleDiameter( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getMeanParticleRadius(self) -> float: ... def getNucleationRate(self) -> float: ... def getParticleMassConcentration(self) -> float: ... @@ -71,9 +74,9 @@ class ClassicalNucleationTheory: def isCalculated(self) -> bool: ... def isHeterogeneous(self) -> bool: ... @staticmethod - def naphthalene() -> 'ClassicalNucleationTheory': ... + def naphthalene() -> "ClassicalNucleationTheory": ... @staticmethod - def paraffinWax() -> 'ClassicalNucleationTheory': ... + def paraffinWax() -> "ClassicalNucleationTheory": ... def setCarrierGasMolarMass(self, double: float) -> None: ... def setContactAngle(self, double: float) -> None: ... def setGasDiffusivity(self, double: float) -> None: ... @@ -90,12 +93,12 @@ class ClassicalNucleationTheory: def setTemperature(self, double: float) -> None: ... def setTotalPressure(self, double: float) -> None: ... @staticmethod - def sulfurS8() -> 'ClassicalNucleationTheory': ... + def sulfurS8() -> "ClassicalNucleationTheory": ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... @staticmethod - def waterIce() -> 'ClassicalNucleationTheory': ... + def waterIce() -> "ClassicalNucleationTheory": ... class MulticomponentNucleation: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... @@ -110,30 +113,42 @@ class MulticomponentNucleation: def getEffectiveSupersaturation(self) -> float: ... def getEffectiveSurfaceTension(self) -> float: ... def getMeanParticleDiameter(self) -> float: ... - def getMode(self) -> 'MulticomponentNucleation.NucleationMode': ... + def getMode(self) -> "MulticomponentNucleation.NucleationMode": ... def getNumberOfCondensableComponents(self) -> int: ... def getPseudocomponentCNT(self) -> ClassicalNucleationTheory: ... def getTotalNucleationRate(self) -> float: ... def isCalculated(self) -> bool: ... def setCondensableThreshold(self, double: float) -> None: ... def setHeterogeneous(self, boolean: bool, double: float) -> None: ... - def setMode(self, nucleationMode: 'MulticomponentNucleation.NucleationMode') -> None: ... + def setMode( + self, nucleationMode: "MulticomponentNucleation.NucleationMode" + ) -> None: ... def setResidenceTime(self, double: float) -> None: ... def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class NucleationMode(java.lang.Enum['MulticomponentNucleation.NucleationMode']): - PSEUDOCOMPONENT: typing.ClassVar['MulticomponentNucleation.NucleationMode'] = ... - INDEPENDENT: typing.ClassVar['MulticomponentNucleation.NucleationMode'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class NucleationMode(java.lang.Enum["MulticomponentNucleation.NucleationMode"]): + PSEUDOCOMPONENT: typing.ClassVar["MulticomponentNucleation.NucleationMode"] = ( + ... + ) + INDEPENDENT: typing.ClassVar["MulticomponentNucleation.NucleationMode"] = ... + _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: ... + 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]) -> 'MulticomponentNucleation.NucleationMode': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "MulticomponentNucleation.NucleationMode": ... @staticmethod - def values() -> typing.MutableSequence['MulticomponentNucleation.NucleationMode']: ... + def values() -> ( + typing.MutableSequence["MulticomponentNucleation.NucleationMode"] + ): ... class PopulationBalanceModel: def __init__(self, classicalNucleationTheory: ClassicalNucleationTheory): ... @@ -164,11 +179,13 @@ class SpinodalDecompositionDetector: def __init__(self, systemInterface: jneqsim.thermo.system.SystemInterface): ... def analyze(self) -> None: ... def getDominantWavelength(self) -> float: ... - def getHessianMatrix(self) -> typing.MutableSequence[typing.MutableSequence[float]]: ... + def getHessianMatrix( + self, + ) -> typing.MutableSequence[typing.MutableSequence[float]]: ... def getMinEigenvalue(self) -> float: ... def getRecommendation(self) -> java.lang.String: ... def getStabilityMargin(self) -> float: ... - def getStabilityState(self) -> 'SpinodalDecompositionDetector.StabilityState': ... + def getStabilityState(self) -> "SpinodalDecompositionDetector.StabilityState": ... def getUnstableComponentPair(self) -> java.lang.String: ... def isAnalyzed(self) -> bool: ... def isInsideSpinodal(self) -> bool: ... @@ -178,26 +195,39 @@ class SpinodalDecompositionDetector: def toJson(self) -> java.lang.String: ... def toMap(self) -> java.util.Map[java.lang.String, typing.Any]: ... def toString(self) -> java.lang.String: ... - class StabilityState(java.lang.Enum['SpinodalDecompositionDetector.StabilityState']): - STABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... - METASTABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... - UNSTABLE: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... - UNKNOWN: typing.ClassVar['SpinodalDecompositionDetector.StabilityState'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class StabilityState( + java.lang.Enum["SpinodalDecompositionDetector.StabilityState"] + ): + STABLE: typing.ClassVar["SpinodalDecompositionDetector.StabilityState"] = ... + METASTABLE: typing.ClassVar["SpinodalDecompositionDetector.StabilityState"] = ( + ... + ) + UNSTABLE: typing.ClassVar["SpinodalDecompositionDetector.StabilityState"] = ... + UNKNOWN: typing.ClassVar["SpinodalDecompositionDetector.StabilityState"] = ... + _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: ... + 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]) -> 'SpinodalDecompositionDetector.StabilityState': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "SpinodalDecompositionDetector.StabilityState": ... @staticmethod - def values() -> typing.MutableSequence['SpinodalDecompositionDetector.StabilityState']: ... - + def values() -> ( + typing.MutableSequence["SpinodalDecompositionDetector.StabilityState"] + ): ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.nucleation")``. - AttainableMetastabilityVolumeBalance: typing.Type[AttainableMetastabilityVolumeBalance] + AttainableMetastabilityVolumeBalance: typing.Type[ + AttainableMetastabilityVolumeBalance + ] ClassicalNucleationTheory: typing.Type[ClassicalNucleationTheory] MulticomponentNucleation: typing.Type[MulticomponentNucleation] PopulationBalanceModel: typing.Type[PopulationBalanceModel] diff --git a/src/jneqsim-stubs/util/serialization/__init__.pyi b/src/jneqsim-stubs/util/serialization/__init__.pyi index bcd85c2b..9182f40a 100644 --- a/src/jneqsim-stubs/util/serialization/__init__.pyi +++ b/src/jneqsim-stubs/util/serialization/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,22 +8,23 @@ else: import java.lang import typing - - class NeqSimXtream: def __init__(self): ... @staticmethod def openNeqsim(string: typing.Union[java.lang.String, str]) -> typing.Any: ... @staticmethod - def saveNeqsim(object: typing.Any, string: typing.Union[java.lang.String, str]) -> bool: ... + def saveNeqsim( + object: typing.Any, string: typing.Union[java.lang.String, str] + ) -> bool: ... class SerializationManager: def __init__(self): ... @staticmethod def open(string: typing.Union[java.lang.String, str]) -> typing.Any: ... @staticmethod - def save(object: typing.Any, string: typing.Union[java.lang.String, str]) -> None: ... - + def save( + object: typing.Any, string: typing.Union[java.lang.String, str] + ) -> None: ... class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.serialization")``. diff --git a/src/jneqsim-stubs/util/unit/__init__.pyi b/src/jneqsim-stubs/util/unit/__init__.pyi index 684b7330..7af0483f 100644 --- a/src/jneqsim-stubs/util/unit/__init__.pyi +++ b/src/jneqsim-stubs/util/unit/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -10,25 +10,32 @@ import java.util import jneqsim.thermo import typing - - class NeqSimUnitSet: def __init__(self): ... def getComponentConcentrationUnit(self) -> java.lang.String: ... def getFlowRateUnit(self) -> java.lang.String: ... def getPressureUnit(self) -> java.lang.String: ... def getTemperatureUnit(self) -> java.lang.String: ... - def setComponentConcentrationUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setComponentConcentrationUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... def setFlowRateUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... @staticmethod def setNeqSimUnits(string: typing.Union[java.lang.String, str]) -> None: ... def setPressureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... - def setTemperatureUnit(self, string: typing.Union[java.lang.String, str]) -> None: ... + def setTemperatureUnit( + self, string: typing.Union[java.lang.String, str] + ) -> None: ... class Unit: def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... @@ -50,86 +57,158 @@ class Units: @staticmethod def getSymbol(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... @staticmethod - def getSymbolName(string: typing.Union[java.lang.String, str]) -> java.lang.String: ... + def getSymbolName( + string: typing.Union[java.lang.String, str] + ) -> java.lang.String: ... def getTemperatureUnits(self) -> typing.MutableSequence[java.lang.String]: ... @staticmethod - def setUnit(string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def setUnit( + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + class UnitDescription: symbol: java.lang.String = ... symbolName: java.lang.String = ... - def __init__(self, units: 'Units', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]): ... + def __init__( + self, + units: "Units", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ): ... class BaseUnit(Unit, jneqsim.thermo.ThermodynamicConstantsInterface): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class EnergyUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class LengthUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class PowerUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class PressureUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class RateUnit(BaseUnit): - def __init__(self, double: float, string: typing.Union[java.lang.String, str], double2: float, double3: float, double4: float): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def __init__( + self, + double: float, + string: typing.Union[java.lang.String, str], + double2: float, + double3: float, + double4: float, + ): ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class TemperatureUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... class TimeUnit(BaseUnit): def __init__(self, double: float, string: typing.Union[java.lang.String, str]): ... - def getConversionFactor(self, string: typing.Union[java.lang.String, str]) -> float: ... + def getConversionFactor( + self, string: typing.Union[java.lang.String, str] + ) -> float: ... def getSIvalue(self) -> float: ... @typing.overload - def getValue(self, double: float, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str]) -> float: ... + def getValue( + self, + double: float, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + ) -> float: ... @typing.overload def getValue(self, string: typing.Union[java.lang.String, str]) -> float: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.unit")``. diff --git a/src/jneqsim-stubs/util/util/__init__.pyi b/src/jneqsim-stubs/util/util/__init__.pyi index 620e9bf8..ccfe72d9 100644 --- a/src/jneqsim-stubs/util/util/__init__.pyi +++ b/src/jneqsim-stubs/util/util/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -8,14 +8,12 @@ else: import java.lang import typing - - class DoubleCloneable(java.lang.Cloneable): @typing.overload def __init__(self): ... @typing.overload def __init__(self, double: float): ... - def clone(self) -> 'DoubleCloneable': ... + def clone(self) -> "DoubleCloneable": ... def doubleValue(self) -> float: ... def set(self, double: float) -> None: ... @@ -27,7 +25,6 @@ class FileSystemSettings: relativeFilePath: typing.ClassVar[java.lang.String] = ... fileExtension: typing.ClassVar[java.lang.String] = ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.util")``. diff --git a/src/jneqsim-stubs/util/validation/__init__.pyi b/src/jneqsim-stubs/util/validation/__init__.pyi index 86798429..2eeded61 100644 --- a/src/jneqsim-stubs/util/validation/__init__.pyi +++ b/src/jneqsim-stubs/util/validation/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -15,50 +15,74 @@ import jneqsim.thermo.system import jneqsim.util.validation.contracts import typing - - class AIIntegrationHelper(java.io.Serializable): def createRLEnvironment(self) -> jneqsim.process.ml.RLEnvironment: ... @staticmethod - def forProcess(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'AIIntegrationHelper': ... + def forProcess( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "AIIntegrationHelper": ... def getAPIDocumentation(self) -> java.lang.String: ... def getIssuesAsText(self) -> typing.MutableSequence[java.lang.String]: ... def getProcess(self) -> jneqsim.process.processmodel.ProcessSystem: ... def getValidationReport(self) -> java.lang.String: ... def isReady(self) -> bool: ... - def safeRun(self) -> 'AIIntegrationHelper.ExecutionResult': ... - def validate(self) -> 'ValidationResult': ... - def validateEquipment(self, processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... - def validateFluid(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> 'ValidationResult': ... + def safeRun(self) -> "AIIntegrationHelper.ExecutionResult": ... + def validate(self) -> "ValidationResult": ... + def validateEquipment( + self, + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ValidationResult": ... + def validateFluid( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> "ValidationResult": ... + class ExecutionResult(java.io.Serializable): @staticmethod - def error(string: typing.Union[java.lang.String, str], exception: java.lang.Exception) -> 'AIIntegrationHelper.ExecutionResult': ... + def error( + string: typing.Union[java.lang.String, str], exception: java.lang.Exception + ) -> "AIIntegrationHelper.ExecutionResult": ... @staticmethod - def failure(string: typing.Union[java.lang.String, str], validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + def failure( + string: typing.Union[java.lang.String, str], + validationResult: "ValidationResult", + ) -> "AIIntegrationHelper.ExecutionResult": ... def getException(self) -> java.lang.Exception: ... def getMessage(self) -> java.lang.String: ... - def getStatus(self) -> 'AIIntegrationHelper.ExecutionResult.Status': ... - def getValidation(self) -> 'ValidationResult': ... + def getStatus(self) -> "AIIntegrationHelper.ExecutionResult.Status": ... + def getValidation(self) -> "ValidationResult": ... def isSuccess(self) -> bool: ... @staticmethod - def success(validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... + def success( + validationResult: "ValidationResult", + ) -> "AIIntegrationHelper.ExecutionResult": ... def toAIReport(self) -> java.lang.String: ... @staticmethod - def warning(string: typing.Union[java.lang.String, str], validationResult: 'ValidationResult') -> 'AIIntegrationHelper.ExecutionResult': ... - class Status(java.lang.Enum['AIIntegrationHelper.ExecutionResult.Status']): - SUCCESS: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... - WARNING: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... - FAILURE: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... - ERROR: typing.ClassVar['AIIntegrationHelper.ExecutionResult.Status'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + def warning( + string: typing.Union[java.lang.String, str], + validationResult: "ValidationResult", + ) -> "AIIntegrationHelper.ExecutionResult": ... + + class Status(java.lang.Enum["AIIntegrationHelper.ExecutionResult.Status"]): + SUCCESS: typing.ClassVar["AIIntegrationHelper.ExecutionResult.Status"] = ... + WARNING: typing.ClassVar["AIIntegrationHelper.ExecutionResult.Status"] = ... + FAILURE: typing.ClassVar["AIIntegrationHelper.ExecutionResult.Status"] = ... + ERROR: typing.ClassVar["AIIntegrationHelper.ExecutionResult.Status"] = ... + _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: ... + 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]) -> 'AIIntegrationHelper.ExecutionResult.Status': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "AIIntegrationHelper.ExecutionResult.Status": ... @staticmethod - def values() -> typing.MutableSequence['AIIntegrationHelper.ExecutionResult.Status']: ... + def values() -> ( + typing.MutableSequence["AIIntegrationHelper.ExecutionResult.Status"] + ): ... class SimulationValidator: @staticmethod @@ -66,15 +90,19 @@ class SimulationValidator: @staticmethod def isReady(object: typing.Any) -> bool: ... @staticmethod - def validate(object: typing.Any) -> 'ValidationResult': ... + def validate(object: typing.Any) -> "ValidationResult": ... @typing.overload @staticmethod - def validateAndRun(processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface) -> 'ValidationResult': ... + def validateAndRun( + processEquipmentInterface: jneqsim.process.equipment.ProcessEquipmentInterface, + ) -> "ValidationResult": ... @typing.overload @staticmethod - def validateAndRun(processSystem: jneqsim.process.processmodel.ProcessSystem) -> 'ValidationResult': ... + def validateAndRun( + processSystem: jneqsim.process.processmodel.ProcessSystem, + ) -> "ValidationResult": ... @staticmethod - def validateOutput(object: typing.Any) -> 'ValidationResult': ... + def validateOutput(object: typing.Any) -> "ValidationResult": ... class ValidationResult: @typing.overload @@ -84,45 +112,67 @@ class ValidationResult: @typing.overload def addError(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addError(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... + def addError( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... def addInfo(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload def addWarning(self, string: typing.Union[java.lang.String, str]) -> None: ... @typing.overload - def addWarning(self, string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]) -> None: ... - def getErrors(self) -> java.util.List['ValidationResult.ValidationIssue']: ... - def getIssues(self) -> java.util.List['ValidationResult.ValidationIssue']: ... + def addWarning( + self, + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ) -> None: ... + def getErrors(self) -> java.util.List["ValidationResult.ValidationIssue"]: ... + def getIssues(self) -> java.util.List["ValidationResult.ValidationIssue"]: ... def getReport(self) -> java.lang.String: ... def getValidationTimeMs(self) -> int: ... - def getWarnings(self) -> java.util.List['ValidationResult.ValidationIssue']: ... + def getWarnings(self) -> java.util.List["ValidationResult.ValidationIssue"]: ... def hasWarnings(self) -> bool: ... def isReady(self) -> bool: ... def isValid(self) -> bool: ... def setValidationTimeMs(self, long: int) -> None: ... def toString(self) -> java.lang.String: ... - class Severity(java.lang.Enum['ValidationResult.Severity']): - CRITICAL: typing.ClassVar['ValidationResult.Severity'] = ... - MAJOR: typing.ClassVar['ValidationResult.Severity'] = ... - MINOR: typing.ClassVar['ValidationResult.Severity'] = ... - INFO: typing.ClassVar['ValidationResult.Severity'] = ... - _valueOf_0__T = typing.TypeVar('_valueOf_0__T', bound=java.lang.Enum) # + + class Severity(java.lang.Enum["ValidationResult.Severity"]): + CRITICAL: typing.ClassVar["ValidationResult.Severity"] = ... + MAJOR: typing.ClassVar["ValidationResult.Severity"] = ... + MINOR: typing.ClassVar["ValidationResult.Severity"] = ... + INFO: typing.ClassVar["ValidationResult.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: ... + 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]) -> 'ValidationResult.Severity': ... + def valueOf( + string: typing.Union[java.lang.String, str] + ) -> "ValidationResult.Severity": ... @staticmethod - def values() -> typing.MutableSequence['ValidationResult.Severity']: ... + def values() -> typing.MutableSequence["ValidationResult.Severity"]: ... + class ValidationIssue: - def __init__(self, severity: 'ValidationResult.Severity', string: typing.Union[java.lang.String, str], string2: typing.Union[java.lang.String, str], string3: typing.Union[java.lang.String, str]): ... + def __init__( + self, + severity: "ValidationResult.Severity", + string: typing.Union[java.lang.String, str], + string2: typing.Union[java.lang.String, str], + string3: typing.Union[java.lang.String, str], + ): ... def getCategory(self) -> java.lang.String: ... def getMessage(self) -> java.lang.String: ... def getRemediation(self) -> java.lang.String: ... - def getSeverity(self) -> 'ValidationResult.Severity': ... + def getSeverity(self) -> "ValidationResult.Severity": ... def toString(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.validation")``. diff --git a/src/jneqsim-stubs/util/validation/contracts/__init__.pyi b/src/jneqsim-stubs/util/validation/contracts/__init__.pyi index 4244d6e2..aa2bc0cd 100644 --- a/src/jneqsim-stubs/util/validation/contracts/__init__.pyi +++ b/src/jneqsim-stubs/util/validation/contracts/__init__.pyi @@ -1,5 +1,5 @@ - import sys + if sys.version_info >= (3, 8): from typing import Protocol else: @@ -13,54 +13,76 @@ import jneqsim.thermo.system import jneqsim.util.validation import typing +_ModuleContract__T = typing.TypeVar("_ModuleContract__T") # - -_ModuleContract__T = typing.TypeVar('_ModuleContract__T') # class ModuleContract(typing.Generic[_ModuleContract__T]): - def checkPostconditions(self, t: _ModuleContract__T) -> jneqsim.util.validation.ValidationResult: ... - def checkPreconditions(self, t: _ModuleContract__T) -> jneqsim.util.validation.ValidationResult: ... + def checkPostconditions( + self, t: _ModuleContract__T + ) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions( + self, t: _ModuleContract__T + ) -> jneqsim.util.validation.ValidationResult: ... def getContractName(self) -> java.lang.String: ... def getProvidesDescription(self) -> java.lang.String: ... def getRequirementsDescription(self) -> java.lang.String: ... class ProcessSystemContract(ModuleContract[jneqsim.process.processmodel.ProcessSystem]): - def checkPostconditions(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... - def checkPreconditions(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + def checkPostconditions( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> jneqsim.util.validation.ValidationResult: ... def getContractName(self) -> java.lang.String: ... @staticmethod - def getInstance() -> 'ProcessSystemContract': ... + def getInstance() -> "ProcessSystemContract": ... def getProvidesDescription(self) -> java.lang.String: ... def getRequirementsDescription(self) -> java.lang.String: ... - def validateConnectivity(self, processSystem: jneqsim.process.processmodel.ProcessSystem) -> jneqsim.util.validation.ValidationResult: ... + def validateConnectivity( + self, processSystem: jneqsim.process.processmodel.ProcessSystem + ) -> jneqsim.util.validation.ValidationResult: ... class SeparatorContract(ModuleContract[jneqsim.process.equipment.separator.Separator]): - def checkPostconditions(self, separator: jneqsim.process.equipment.separator.Separator) -> jneqsim.util.validation.ValidationResult: ... - def checkPreconditions(self, separator: jneqsim.process.equipment.separator.Separator) -> jneqsim.util.validation.ValidationResult: ... + def checkPostconditions( + self, separator: jneqsim.process.equipment.separator.Separator + ) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions( + self, separator: jneqsim.process.equipment.separator.Separator + ) -> jneqsim.util.validation.ValidationResult: ... def getContractName(self) -> java.lang.String: ... @staticmethod - def getInstance() -> 'SeparatorContract': ... + def getInstance() -> "SeparatorContract": ... def getProvidesDescription(self) -> java.lang.String: ... def getRequirementsDescription(self) -> java.lang.String: ... class StreamContract(ModuleContract[jneqsim.process.equipment.stream.StreamInterface]): - def checkPostconditions(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.util.validation.ValidationResult: ... - def checkPreconditions(self, streamInterface: jneqsim.process.equipment.stream.StreamInterface) -> jneqsim.util.validation.ValidationResult: ... + def checkPostconditions( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions( + self, streamInterface: jneqsim.process.equipment.stream.StreamInterface + ) -> jneqsim.util.validation.ValidationResult: ... def getContractName(self) -> java.lang.String: ... @staticmethod - def getInstance() -> 'StreamContract': ... + def getInstance() -> "StreamContract": ... def getProvidesDescription(self) -> java.lang.String: ... def getRequirementsDescription(self) -> java.lang.String: ... -class ThermodynamicSystemContract(ModuleContract[jneqsim.thermo.system.SystemInterface]): - def checkPostconditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.util.validation.ValidationResult: ... - def checkPreconditions(self, systemInterface: jneqsim.thermo.system.SystemInterface) -> jneqsim.util.validation.ValidationResult: ... +class ThermodynamicSystemContract( + ModuleContract[jneqsim.thermo.system.SystemInterface] +): + def checkPostconditions( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> jneqsim.util.validation.ValidationResult: ... + def checkPreconditions( + self, systemInterface: jneqsim.thermo.system.SystemInterface + ) -> jneqsim.util.validation.ValidationResult: ... def getContractName(self) -> java.lang.String: ... @staticmethod - def getInstance() -> 'ThermodynamicSystemContract': ... + def getInstance() -> "ThermodynamicSystemContract": ... def getProvidesDescription(self) -> java.lang.String: ... def getRequirementsDescription(self) -> java.lang.String: ... - class __module_protocol__(Protocol): # A module protocol which reflects the result of ``jp.JPackage("jneqsim.util.validation.contracts")``. diff --git a/src/jpype-stubs/__init__.pyi b/src/jpype-stubs/__init__.pyi index fe25482e..380acf75 100644 --- a/src/jpype-stubs/__init__.pyi +++ b/src/jpype-stubs/__init__.pyi @@ -1,8 +1,8 @@ import types import typing - import sys + if sys.version_info >= (3, 8): from typing import Literal else: @@ -10,14 +10,8 @@ else: import neqsim - @typing.overload -def JPackage(__package_name: Literal['neqsim']) -> jneqsim.__module_protocol__: ... - - +def JPackage(__package_name: Literal["neqsim"]) -> jneqsim.__module_protocol__: ... @typing.overload def JPackage(__package_name: str) -> types.ModuleType: ... - - def JPackage(__package_name) -> types.ModuleType: ... - diff --git a/src/neqsim/__init__.pyi b/src/neqsim/__init__.pyi index f214c306..36f7b613 100644 --- a/src/neqsim/__init__.pyi +++ b/src/neqsim/__init__.pyi @@ -6,7 +6,6 @@ from typing import Any import jneqsim as jneqsim import jpype as jpype - def methods(checkClass: Any) -> None: ... def has_matplotlib() -> ModuleSpec | None: ... def has_tabulate() -> ModuleSpec | None: ... diff --git a/src/neqsim/lib/java8/neqsim-3.15.0-Java8.jar b/src/neqsim/lib/java8/neqsim-3.15.0-Java8.jar deleted file mode 100644 index 213c9d86..00000000 Binary files a/src/neqsim/lib/java8/neqsim-3.15.0-Java8.jar and /dev/null differ diff --git a/src/neqsim/lib/java11/neqsim-3.15.0.jar b/src/neqsim/lib/neqsim-3.15.0.jar similarity index 100% rename from src/neqsim/lib/java11/neqsim-3.15.0.jar rename to src/neqsim/lib/neqsim-3.15.0.jar diff --git a/src/neqsim/neqsimpython.py b/src/neqsim/neqsimpython.py index 582540d9..786d2789 100644 --- a/src/neqsim/neqsimpython.py +++ b/src/neqsim/neqsimpython.py @@ -1,4 +1,15 @@ +""" +JVM bootstrap for NeqSim. + +Importing this module starts the Java Virtual Machine (JVM) used by NeqSim, +unless automatic startup has been disabled via the ``NEQSIM_JVM_AUTOSTART`` +environment variable (set it to "0" to disable). When autostart is disabled, +call :func:`init_jvm` explicitly before using ``jneqsim``. +""" + +import os from pathlib import Path +from typing import Any, Dict, List, Optional import jpype @@ -6,56 +17,121 @@ class NeqSimJVMError(Exception): """Exception raised when JVM initialization fails.""" - pass - def _get_jvm_error_message() -> str: """Return helpful error message for JVM issues.""" return ( "Failed to start Java Virtual Machine (JVM).\n\n" "Common solutions:\n" - "1. Install Java JDK 11+ from https://adoptium.net/\n" + "1. Install Java JDK 17+ from https://adoptium.net/\n" "2. Ensure JAVA_HOME environment variable is set\n" "3. Ensure 64-bit Python matches 64-bit Java (or 32-bit with 32-bit)\n\n" "See: https://github.com/equinor/neqsim-python#prerequisites" ) -try: - if not jpype.isJVMStarted(): - # Could call jpype.getDefaultJVMPath() to get default JVM, - # but not able to get the orders to force loading a specific JVM - # - # Pass "-Xrs" to reduce the JVM's use of OS signals. Without this, - # the JVM installs signal handlers (SIGINT/SIGTERM/SIGSEGV) that can - # crash embedded Python kernels in IDEs such as Spyder 6 and some - # Jupyter setups, producing "The kernel died, restarting..." errors - # immediately on `import neqsim`. "-Xrs" is safe for normal use. - # - # In addition, JPype >= 1.5 installs its own Python-level signal - # handler chain for SIGINT to forward Ctrl+C into Java. In embedded - # kernels (Spyder 6, QtConsole, some Jupyter setups) this conflicts - # with the host's signal handling and can still kill the kernel on - # `import neqsim` even with "-Xrs". Passing `interrupt=False` tells - # JPype to leave signal handling to the host process, which resolves - # the "kernel died, restarting" error in Spyder. - start_kwargs = {"convertStrings": False} +def _default_jvm_args() -> List[str]: + """ + Build the default JVM startup arguments. + + "-Xrs" reduces the JVM's use of OS signals. Without this, the JVM + installs signal handlers (SIGINT/SIGTERM/SIGSEGV) that can crash + embedded Python kernels in IDEs such as Spyder 6 and some Jupyter + setups, producing "The kernel died, restarting..." errors immediately + on `import neqsim`. "-Xrs" is safe for normal use. + + Extra arguments can be supplied via the ``NEQSIM_JVM_ARGS`` environment + variable (space separated), and a max heap size via + ``NEQSIM_JVM_MAX_HEAP`` (e.g. "2g"). + + Returns: + The list of JVM startup argument strings. + """ + args = ["-Xrs"] + extra = os.environ.get("NEQSIM_JVM_ARGS", "").strip() + if extra: + args.extend(extra.split()) + max_heap = os.environ.get("NEQSIM_JVM_MAX_HEAP", "").strip() + if max_heap: + args.append(f"-Xmx{max_heap}") + return args + + +def is_jvm_started() -> bool: + """ + Check whether the Java Virtual Machine has already been started. + + Returns: + True if the JVM is running, False otherwise. + """ + return jpype.isJVMStarted() + + +def init_jvm(jvm_args: Optional[List[str]] = None, interrupt: bool = False) -> None: + """ + Start the JVM used by NeqSim, if it is not already running. + + Safe to call multiple times: if the JVM is already started this is a + no-op. Call this explicitly when automatic startup has been disabled via + ``NEQSIM_JVM_AUTOSTART=0``, e.g. to control JVM startup arguments before + any NeqSim classes are used. + + Args: + jvm_args: Optional list of JVM startup arguments. Defaults to + :func:`_default_jvm_args` when not provided. + interrupt: Passed to ``jpype.startJVM`` (JPype >= 1.5). When False, + JPype leaves SIGINT handling to the host process, which avoids + "kernel died, restarting" errors in some embedded kernels. + + Raises: + NeqSimJVMError: If the JVM fails to start, or the detected Java + version is older than 17. + """ + if jpype.isJVMStarted(): + return + + try: + args = jvm_args if jvm_args is not None else _default_jvm_args() + start_kwargs: Dict[str, Any] = {"convertStrings": False} try: # `interrupt` kwarg was added in JPype 1.5.0. Guard with a # fallback for older versions just in case. - jpype.startJVM("-Xrs", interrupt=False, **start_kwargs) + jpype.startJVM(*args, interrupt=interrupt, **start_kwargs) except TypeError: - jpype.startJVM("-Xrs", **start_kwargs) + jpype.startJVM(*args, **start_kwargs) + jvm_version = jpype.getJVMVersion()[0] - if jvm_version >= 11: - module_dir = Path(__file__).resolve().parent - jpype.addClassPath(str(module_dir / "lib" / "java11" / "*")) - else: - print( - "Your version of Java is not supported. Please upgrade to Java version 11 or higher." + if jvm_version < 17: + raise NeqSimJVMError( + "Detected Java version below 17. NeqSim from version 3.15 " + "requires Java 17 or higher.\n" + "Download Java 17+ from: https://adoptium.net/\n" + "See: https://github.com/equinor/neqsim-python#prerequisites" ) - print("See: https://github.com/equinor/neqsim-python#prerequisites") -except Exception as e: - raise NeqSimJVMError(_get_jvm_error_message()) from e + + module_dir = Path(__file__).resolve().parent + jpype.addClassPath(str(module_dir / "lib" / "*")) + except NeqSimJVMError: + raise + except Exception as e: + raise NeqSimJVMError(_get_jvm_error_message()) from e + + +def _autostart_enabled() -> bool: + """ + Check whether automatic JVM startup on import is enabled. + + Returns: + True unless ``NEQSIM_JVM_AUTOSTART`` is set to "0", "false", or "no". + """ + return os.environ.get("NEQSIM_JVM_AUTOSTART", "1").strip().lower() not in ( + "0", + "false", + "no", + ) + + +if _autostart_enabled(): + init_jvm() jneqsim = jpype.JPackage("neqsim") diff --git a/uv.lock b/uv.lock index bffd8823..be5b2440 100644 --- a/uv.lock +++ b/uv.lock @@ -2,9 +2,12 @@ version = 1 revision = 3 requires-python = ">=3.9, <4" resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -37,9 +40,12 @@ name = "anyio" version = "4.13.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -128,6 +134,47 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/ed/c9/d7977eaacb9df673210491da99e6a247e93df98c715fc43fd136ce1d3d33/arrow-1.4.0-py3-none-any.whl", hash = "sha256:749f0769958ebdc79c173ff0b0670d59051a535fa26e8eba02953dc19eb43205", size = 68797, upload-time = "2025-10-18T17:46:45.663Z" }, ] +[[package]] +name = "ast-serialize" +version = "0.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/58/ad/0d70a3a2d6e01968d985415259e8ec7ad3f777903f9b1c1f3c8c44642c60/ast_serialize-0.6.0.tar.gz", hash = "sha256:aadd3ffcf4858c9726bf3515f7b199c7eadbe504f96028e4a87172c0da65a8fe", size = 61489, upload-time = "2026-06-30T20:02:55.555Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/3f/12/3e5f575f156555547c250a8b0d1347517a3a20fc7f4492e9703a69d4f45e/ast_serialize-0.6.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:a7520b672827885bafeae7501f684d14d47d17e5f45256f9df547686cca52264", size = 1177640, upload-time = "2026-06-30T20:02:06.708Z" }, + { url = "https://files.pythonhosted.org/packages/a2/a4/921a9e27951627983b0f368859ea00f8330a551dc0bf4c2fdcb11855a98b/ast_serialize-0.6.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:a14191beec7e0c078d2fc1f6edc0aee88bcd4db9f18e1bc9f8052b559c22dddc", size = 1168111, upload-time = "2026-06-30T20:02:08.366Z" }, + { url = "https://files.pythonhosted.org/packages/00/69/950cf404de7b8782cf95e5c1237e25e2aa46177b287f39f9eeddf481fd6f/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:32ef62ec34cf6be20ad77d4799556638fbdf187f3ae10698dfb20ef9f2c89516", size = 1227656, upload-time = "2026-06-30T20:02:09.843Z" }, + { url = "https://files.pythonhosted.org/packages/4c/a8/46f8f6a6479d9d2273980957bb091a506c55f5b95d3c029ee58518a78407/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:13b7769970a39983b0adf2f38917b1cd3b8946f76df045756c3d741bc689f089", size = 1227706, upload-time = "2026-06-30T20:02:11.367Z" }, + { url = "https://files.pythonhosted.org/packages/b7/b9/9ac415bda0a40e49eab8fea3b2741c19c98bb84d57d62c4cfc6230eb67be/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:6f7a408601bb3edaefb3bc67a4c01f5235e3253653b6a5729a2ee2382b35341c", size = 1431705, upload-time = "2026-06-30T20:02:12.737Z" }, + { url = "https://files.pythonhosted.org/packages/e5/06/8807115d441444879f7561b5eede5ac18fc80392f11826d61ccf31f503b1/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:8670bfa51208a2c0c8d138928e40e998fab158f9200d53bb80c088b5b8eda7b8", size = 1249533, upload-time = "2026-06-30T20:02:14.571Z" }, + { url = "https://files.pythonhosted.org/packages/3e/c0/c2ba82ef9618650357d9421a1fdb27ffec862a7f57e8e2de82a3ccd11e12/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a4826809eb8597a8cd59fd924b6d7c285b8969a1e0007e2cb652cab62376270f", size = 1252619, upload-time = "2026-06-30T20:02:16.219Z" }, + { url = "https://files.pythonhosted.org/packages/0f/a7/fa31d52dd4102cede29fb9634e98d214129b2783b4f95528c6dc6a8f6587/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:577a6c189068686869f5f1ddc38363f3ae1808a4753b577266f9202071a7bb66", size = 1242983, upload-time = "2026-06-30T20:02:17.813Z" }, + { url = "https://files.pythonhosted.org/packages/b1/20/ddf742b5ad3c4bafd3466f2265037cfd99bc1b9a5ee46a5d58c90d523242/ast_serialize-0.6.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:085de7f62dc9cc247eb01e965a362707d1d90b1d89a82c5bf78301a60a3c417b", size = 1296148, upload-time = "2026-06-30T20:02:19.146Z" }, + { url = "https://files.pythonhosted.org/packages/24/cb/9f6f217cce8b3b632c5568b478d195a35e79dce4dbe309438cb89ba6ea4f/ast_serialize-0.6.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:9f8a8b78b13173de6a9ec22111d9be674874cd5bdccda04f14ae5ebc2bef403a", size = 1403826, upload-time = "2026-06-30T20:02:20.696Z" }, + { url = "https://files.pythonhosted.org/packages/2d/f8/9d16d4f0107a183924425cc0e7618d8bf76f96b45afa9ff19f924ed1ad57/ast_serialize-0.6.0-cp314-cp314t-musllinux_1_2_armv7l.whl", hash = "sha256:f2ff3baffc3a29c1f15bc9098aa0c09763410262d5e6cef42116f7356c184554", size = 1502943, upload-time = "2026-06-30T20:02:22.034Z" }, + { url = "https://files.pythonhosted.org/packages/80/dd/bbc1c38756350dddf7e24acae1c9482ef42051c267417e019aecc1ed4075/ast_serialize-0.6.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:0067b25fce104eaae5b88383de9ab803faeb671831e14ca698b771b356e2600f", size = 1497632, upload-time = "2026-06-30T20:02:23.517Z" }, + { url = "https://files.pythonhosted.org/packages/42/7e/9daffefcf5b97e6bb4c3e0b3c024c1aee9722f23d3cf7cd2ff80d6fb4a40/ast_serialize-0.6.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:c617417f9cbb0cb144f6283c3cbe0d2e0f01beaf9f608f662b21191058a626ec", size = 1448858, upload-time = "2026-06-30T20:02:24.889Z" }, + { url = "https://files.pythonhosted.org/packages/e5/1f/f9baaab81a677ea0af7d2458cac2f94ebcc85958f8a3c15ba9d9e5dab653/ast_serialize-0.6.0-cp314-cp314t-win32.whl", hash = "sha256:5337cb256dcea3df9288205213d1601581536526b8f4da44b6974f1180f3252a", size = 1052600, upload-time = "2026-06-30T20:02:26.263Z" }, + { url = "https://files.pythonhosted.org/packages/9e/1f/41b535866519512d8cf6669cb2cff7823b7672bb6279c0333b4ff89d7d9f/ast_serialize-0.6.0-cp314-cp314t-win_amd64.whl", hash = "sha256:2d947e45cafc4b09bd7528917fa84c517654a43de173c79785574b7b3068ac24", size = 1095570, upload-time = "2026-06-30T20:02:27.639Z" }, + { url = "https://files.pythonhosted.org/packages/50/64/e472fe3e3a2d33d874b987e8518aedf24562919e3b6161a4fa1797e89c0f/ast_serialize-0.6.0-cp314-cp314t-win_arm64.whl", hash = "sha256:6e15ec740436e1a0d62de848641abe5f3a2f89a7f94907d534795ac91bbacf14", size = 1067267, upload-time = "2026-06-30T20:02:28.949Z" }, + { url = "https://files.pythonhosted.org/packages/52/19/ac8348ae8711c9b5ae834634f635780cab62a0f5e6f988882e048b89c2ae/ast_serialize-0.6.0-cp39-abi3-macosx_10_12_x86_64.whl", hash = "sha256:093cb8bb91b720d8523580498d031791bb1bbaa048599c3d21085d380e11a596", size = 1185367, upload-time = "2026-06-30T20:02:30.427Z" }, + { url = "https://files.pythonhosted.org/packages/c1/f6/ec7ec652c51db77c2f61d8573338e13e4704303265ccc658cb4031d9f354/ast_serialize-0.6.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:e61580a69faf47e3689795367ed211f2a10fd741478cc0f36a0f128793360aad", size = 1178657, upload-time = "2026-06-30T20:02:31.964Z" }, + { url = "https://files.pythonhosted.org/packages/6f/02/613a7534a41d0122f37d1e0c64aa8ac78bfb831f8c92f6db057a311abb3c/ast_serialize-0.6.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:305802f2ce2a7c4e87835078ea85c58b586ddda8095b92fe2ead9364ae19c80a", size = 1238620, upload-time = "2026-06-30T20:02:33.664Z" }, + { url = "https://files.pythonhosted.org/packages/4d/21/087957bba486242afc52f49b2d9e21c9dad00289356cf9efe67084015a9d/ast_serialize-0.6.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c7b8b8f0c42f752ea00b2b7d7c090b3f80d9c1c5c75cadf16423790a0cc74081", size = 1236075, upload-time = "2026-06-30T20:02:34.936Z" }, + { url = "https://files.pythonhosted.org/packages/82/04/78128bbb170071c2c72a210a181f1c00e11cc1cec60a8beef747b07f9201/ast_serialize-0.6.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cd5b91b9e6f2356ace3a556963b0cd783b395fbbb0bb17b4defc283415466e77", size = 1441348, upload-time = "2026-06-30T20:02:36.245Z" }, + { url = "https://files.pythonhosted.org/packages/64/64/62fb99d6faf199b4c3e5b08a07136e9a0d7664bb249c6de3670e5b63e9b6/ast_serialize-0.6.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:4d6ef91590258ada18909b9caea344dac4de2013906b035473cd674a43f4b790", size = 1258580, upload-time = "2026-06-30T20:02:37.53Z" }, + { url = "https://files.pythonhosted.org/packages/ca/87/b4d6c38e0ccd5e85dc54cecdf933a152c60b28fe5d993a6d8a72fa6d5896/ast_serialize-0.6.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcbed41e9386059fc0261d602445ede0976c2ecec2939688bcbcb9ed0b6f28b7", size = 1261693, upload-time = "2026-06-30T20:02:39.123Z" }, + { url = "https://files.pythonhosted.org/packages/0e/4b/3676ca2191f39bafb75f93f99b2f429ec464586158fece2165f3572805dc/ast_serialize-0.6.0-cp39-abi3-manylinux_2_31_riscv64.whl", hash = "sha256:cdc4e6f930b9090c2f92c9036ad12ffb8e6e44d4a5ba06f1458a05d60f203f7b", size = 1252517, upload-time = "2026-06-30T20:02:40.511Z" }, + { url = "https://files.pythonhosted.org/packages/f3/58/494ef8c4b4acb2f4a265ac934caf45f792a08fe27d6b853de35ad991941a/ast_serialize-0.6.0-cp39-abi3-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:897ac47b5637be41c0c07061c8a912fafa967ef1dc73fa115e4bfa70882a093b", size = 1304843, upload-time = "2026-06-30T20:02:41.961Z" }, + { url = "https://files.pythonhosted.org/packages/b1/f2/13736d920ab3d49bbee80ef1a277dd7b7aaf3b3545efd9d2a8114fe05525/ast_serialize-0.6.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:c4af9a1386166e40ed01464991806f89038a2d89782576c7774876fa77034e32", size = 1413698, upload-time = "2026-06-30T20:02:44.179Z" }, + { url = "https://files.pythonhosted.org/packages/a8/5a/e046f3899e2acba4677d7427b76431443a1aa1a0e583dfb05b55b69d55cf/ast_serialize-0.6.0-cp39-abi3-musllinux_1_2_armv7l.whl", hash = "sha256:c901adbd750029b9ac4ad3d6aa56853e0ad4875119fbf52b7b8298afc223828b", size = 1512209, upload-time = "2026-06-30T20:02:45.584Z" }, + { url = "https://files.pythonhosted.org/packages/cc/c7/e42aaca7bb2d22a7c06d5a8c7930086c5a334e93d716e6fa5e6647a4515f/ast_serialize-0.6.0-cp39-abi3-musllinux_1_2_i686.whl", hash = "sha256:3ae22a366b752ab4496191525b78b097b5b72d531752e3c1dd7e383a8f2c8a1a", size = 1508464, upload-time = "2026-06-30T20:02:46.942Z" }, + { url = "https://files.pythonhosted.org/packages/95/93/5524a3dc6c3f593de3228ed9cbef73afa047625b7000ec21b7f58e6eb4d4/ast_serialize-0.6.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:4ed29121da8b3fdc291002801a1de0f76248fa07dce89157a5f277842cf6126e", size = 1457164, upload-time = "2026-06-30T20:02:48.294Z" }, + { url = "https://files.pythonhosted.org/packages/4f/c0/36a6ffb4d653cf621427b4c4928671f53ad800c453474de2b82564a44ad9/ast_serialize-0.6.0-cp39-abi3-pyemscripten_2026_0_wasm32.whl", hash = "sha256:b1dac4e09d341c1300ba69cdcbe62867b32a8c75d90db9bf4d083bec3b039f0b", size = 863014, upload-time = "2026-06-30T20:02:49.742Z" }, + { url = "https://files.pythonhosted.org/packages/09/c7/7d5ad8b49e1278e1c2a1e0274bd7850560b3f09313aa00c13bc8d5544792/ast_serialize-0.6.0-cp39-abi3-win32.whl", hash = "sha256:82c312a7844d2fdeb4d5c48bd3d215bf940dafd4704e1a9bcf252a99010a99b1", size = 1063165, upload-time = "2026-06-30T20:02:50.98Z" }, + { url = "https://files.pythonhosted.org/packages/47/ae/6710c14ecb276031cf10249f6adf5a59e2d3fdb3b5183bd59f70524067ee/ast_serialize-0.6.0-cp39-abi3-win_amd64.whl", hash = "sha256:113b58346f9ceb664352032770caca817d4a3c86f611c6088e6ef65ddaa70f0e", size = 1101444, upload-time = "2026-06-30T20:02:52.554Z" }, + { url = "https://files.pythonhosted.org/packages/66/40/c53deb2cd0c9b0fb636d24d9f40924cf2e65028e6b20b10cd5c1eeb2c730/ast_serialize-0.6.0-cp39-abi3-win_arm64.whl", hash = "sha256:ccd132fe8db56f61fe743b1f644d01b8d65b83248a8da506f3132bda86d6ed5e", size = 1072965, upload-time = "2026-06-30T20:02:54.097Z" }, +] + [[package]] name = "asttokens" version = "3.0.1" @@ -157,9 +204,12 @@ name = "async-lru" version = "2.3.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -258,9 +308,12 @@ name = "black" version = "26.5.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -334,9 +387,12 @@ name = "bleach" version = "6.3.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -479,9 +535,12 @@ name = "cfgv" version = "3.5.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -636,9 +695,12 @@ name = "click" version = "8.4.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -826,9 +888,12 @@ name = "contourpy" version = "1.3.3" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1030,9 +1095,12 @@ name = "filelock" version = "3.29.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1119,9 +1187,12 @@ name = "fonttools" version = "4.63.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1247,9 +1318,12 @@ name = "identify" version = "2.6.19" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1313,9 +1387,12 @@ name = "iniconfig" version = "2.3.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1361,9 +1438,12 @@ name = "ipykernel" version = "7.2.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1448,9 +1528,12 @@ name = "ipython" version = "9.14.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1539,9 +1622,12 @@ name = "jedi" version = "0.20.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1647,9 +1733,12 @@ name = "jsonpointer" version = "3.1.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1699,9 +1788,12 @@ name = "jsonschema" version = "4.26.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1791,9 +1883,12 @@ name = "jupyter-client" version = "8.8.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1860,9 +1955,12 @@ name = "jupyter-core" version = "5.9.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -1954,9 +2052,12 @@ name = "jupyter-server" version = "2.19.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -2182,9 +2283,12 @@ name = "kiwisolver" version = "1.5.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -2322,6 +2426,105 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/82/3d/14ce75ef66813643812f3093ab17e46d3a206942ce7376d31ec2d36229e7/lark-1.3.1-py3-none-any.whl", hash = "sha256:c629b661023a014c37da873b4ff58a817398d12635d3bbb2c5a03be7fe5d1e12", size = 113151, upload-time = "2025-10-27T18:25:54.882Z" }, ] +[[package]] +name = "librt" +version = "0.12.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c6/e0/dbd0f2a68a1c1a1991eb7921ff6014465d56608cdc9a9fb468a616210a37/librt-0.12.0.tar.gz", hash = "sha256:cb26faedbd09c6130e9c1b64d8000efec5076ffd18d606c6cd1cf02730e6d8b0", size = 203841, upload-time = "2026-06-30T16:14:29.671Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e1/66/c9d88366893b4b0df6b5375c27ebc9f14c43419d9e244b493be20e85bc74/librt-0.12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:fe3547407bbce45c09885591f90168325c5a31a6795b9a13f6b9ff3d25093d93", size = 144398, upload-time = "2026-06-30T16:12:03.947Z" }, + { url = "https://files.pythonhosted.org/packages/bd/f2/9be1c6da204701163ec3aaedbf893d2f656b363d8fa302af536ce6471eb4/librt-0.12.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:5925eca673207204a3adca040a91bdd3738fc7ba48da647ccd55732692a35736", size = 148924, upload-time = "2026-06-30T16:12:05.583Z" }, + { url = "https://files.pythonhosted.org/packages/d8/f3/256824ee27649c6e0a693db25d391f97b43b52364f8efb466014a564bbc7/librt-0.12.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:0f9ef097a7711465a204454c69658bbb6b2a6be9bdef0eeeba9a042016d00688", size = 479654, upload-time = "2026-06-30T16:12:07.175Z" }, + { url = "https://files.pythonhosted.org/packages/a8/3f/f4adbb3f293a04bd3dc2eb91d814f5b1e221e6b4522585696ba6901a0b9a/librt-0.12.0-cp310-cp310-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:57abc8b65edf1a8e80e5472c81c108a7527202e5febfda9e00a684dbaeae534e", size = 472318, upload-time = "2026-06-30T16:12:08.758Z" }, + { url = "https://files.pythonhosted.org/packages/9d/b5/362c93f7b43d4ef84a3d5f156c8d4eeddb22badcf5529a1281c387abbbd7/librt-0.12.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:51e6f53732a8ae5012a3b6ae092da2933be74ec4169d16038f4af87a0019afea", size = 501555, upload-time = "2026-06-30T16:12:10.623Z" }, + { url = "https://files.pythonhosted.org/packages/24/1d/2d6abf059c3a4b88a6668e7bb81af332b14463028ac8f2b08a1212eb1ebc/librt-0.12.0-cp310-cp310-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:edb5f06cdb38d6ef9fd7ae06d62962d65c881b5f965d5e8a6c53e59c15ae4338", size = 494118, upload-time = "2026-06-30T16:12:12.503Z" }, + { url = "https://files.pythonhosted.org/packages/39/c1/f91f3094be2c76361d88aca613d8b7586d15b6026714d59d2e3dc0e35f44/librt-0.12.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:1473ef42263dfee7553a5c460f11730a4409acf0d52629b284eb1e6b13eb460a", size = 516318, upload-time = "2026-06-30T16:12:14.192Z" }, + { url = "https://files.pythonhosted.org/packages/8e/e2/5211af94252458cbed7a6250163dff9c5a84aec29609121c828375a3b319/librt-0.12.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:1d6f69a06295fb6ad8dcf92b4b2d15d211842005e86eedce64d88e0633592f58", size = 522294, upload-time = "2026-06-30T16:12:15.879Z" }, + { url = "https://files.pythonhosted.org/packages/90/9b/de31f5b9fdf7fa3699c4bbbecf82ebd52013d5d6b500b70b07b0ebacbd51/librt-0.12.0-cp310-cp310-musllinux_1_2_riscv64.whl", hash = "sha256:3275d0270cd07ca9c2e140ae4da34e24a0350e98c6e3815dce96ead67cf0487d", size = 502494, upload-time = "2026-06-30T16:12:17.394Z" }, + { url = "https://files.pythonhosted.org/packages/b1/48/22c18dff89f3900dddb3e470e6f7febcda37ff3667b73097a848c9a608b2/librt-0.12.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:a4834462ec68613024d063c7efe9b188e350d40fda9ba937372039883d2a8051", size = 543422, upload-time = "2026-06-30T16:12:19.006Z" }, + { url = "https://files.pythonhosted.org/packages/52/7b/74691b4b55944227245fffef063714e3ab9707ab1111eb0068512b428c7c/librt-0.12.0-cp310-cp310-win32.whl", hash = "sha256:bcf9b55ac089e8cf201d2146833e1097812c15dcea61911e84d6a2904cf78893", size = 97642, upload-time = "2026-06-30T16:12:20.386Z" }, + { url = "https://files.pythonhosted.org/packages/c5/dc/7f8fa369a1f7cc9b090fecd373659ada0e9bab1ae4a3ac9f163eabd04977/librt-0.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:c0a122002f7e0d5c93e84465c4b3fe86621402b7b92f1e2bc0784ebe67793112", size = 117583, upload-time = "2026-06-30T16:12:21.829Z" }, + { url = "https://files.pythonhosted.org/packages/9e/ab/628490f42d1eba82f3c7e5821aa62013e6df7f525b7a9e92c048f8d1cc1c/librt-0.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:3f13c1e8563102c2b17581cf37fcb2c6dae7ad485ccea93ae46258998c25f9a1", size = 143821, upload-time = "2026-06-30T16:12:23.248Z" }, + { url = "https://files.pythonhosted.org/packages/38/5f/793e8b6f4b6ac16e7d7198478c0af3670606fbb535c768d5f3e954781423/librt-0.12.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:d1ddff067610a122387024c4df527493b909d41e54a6e5b2d0e6c1041d6dfa09", size = 148442, upload-time = "2026-06-30T16:12:24.582Z" }, + { url = "https://files.pythonhosted.org/packages/ad/92/c780fe37a9e0982f3bd8fd9a631d6b95d09a5a7201c6c50366ce843b7e42/librt-0.12.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c8dc7ebb5f3eec062398e9d0ef1938acd21b589e74286c4a8906d0183318d91b", size = 478276, upload-time = "2026-06-30T16:12:26.101Z" }, + { url = "https://files.pythonhosted.org/packages/41/bb/226d444bc20d7dff4a19ec6c1ff2c13a76385eebddb59c9c00c923b67536/librt-0.12.0-cp311-cp311-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:198de569ea9d5f6f33808f1c00cc3db9de62bf4d6deafa3b052bd08255083038", size = 472337, upload-time = "2026-06-30T16:12:27.83Z" }, + { url = "https://files.pythonhosted.org/packages/12/79/98ac0840ee90a75d4e1155c79062860b12ccca508587ff2119fc086965f2/librt-0.12.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e958678a8bca56016aedc891b391c0e0813ea382a874b54a2c1b313c1d232720", size = 502087, upload-time = "2026-06-30T16:12:29.443Z" }, + { url = "https://files.pythonhosted.org/packages/6f/72/a6b1a0d080606a7f5f646b79a1496f21d709f8563877759ace9ce5adad73/librt-0.12.0-cp311-cp311-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:575a6eca68c8437ed4a8e0f534e31d74b562ba1049a0ee4b5f09e114bcc21be1", size = 493202, upload-time = "2026-06-30T16:12:31.077Z" }, + { url = "https://files.pythonhosted.org/packages/69/cf/e1b036b45f2fc272205ee18bf272b47e8d684bf1a75af26db440c7504359/librt-0.12.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:86f241c50dc9e9a3f0db6dbb37a607c8205aa87b920802dabbd50b70d40f6939", size = 514139, upload-time = "2026-06-30T16:12:33.032Z" }, + { url = "https://files.pythonhosted.org/packages/40/34/b193b3e6985469a2f8afa86c90012329c86480b6ff4f2e4bd7b5b937e134/librt-0.12.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:113417b934fbf38220a9c7fe94578cefbe7dbb047adcb75aa197905af2b13724", size = 519486, upload-time = "2026-06-30T16:12:34.996Z" }, + { url = "https://files.pythonhosted.org/packages/31/9e/7de4947b1695f247c813f833e3c1e7b77b52e52a7dba2c35411cf806b58e/librt-0.12.0-cp311-cp311-musllinux_1_2_riscv64.whl", hash = "sha256:762f17c0eb6b5d74e269126996cea8a89e35ab6464c5151619163abcd8623ae2", size = 499609, upload-time = "2026-06-30T16:12:36.663Z" }, + { url = "https://files.pythonhosted.org/packages/59/11/f3730e04e758b1fbf215359062ad2d5b6bd0b0ab5ac46b1c140628795be7/librt-0.12.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:6aa93b3bd7f7588c628f6e9bf66485d3467fd9a1ccdb8975b770178f39f35697", size = 542205, upload-time = "2026-06-30T16:12:38.56Z" }, + { url = "https://files.pythonhosted.org/packages/1f/8f/710453617eabe20e18433864f335534c8aff63fbc68d8cd9dbc70a3d08f6/librt-0.12.0-cp311-cp311-win32.whl", hash = "sha256:aaa04b44d4fe86d824616b1f9c13e34c7c01ec0c96dd2abc4f59423696f788e2", size = 98067, upload-time = "2026-06-30T16:12:40.102Z" }, + { url = "https://files.pythonhosted.org/packages/42/53/401bff50a56e95daf151d911c99adf5732af2190e8f4d11886c9a229103c/librt-0.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:9aaeeddb8e7e4ae3bb9f944e0e618418cb91c0071d5ddbfcc3584b3cf59d39f0", size = 118346, upload-time = "2026-06-30T16:12:41.388Z" }, + { url = "https://files.pythonhosted.org/packages/e5/9a/a3a9078fe88bfc2d2d99dcf1c18593938ae830089cf84c3b2532a6c49d63/librt-0.12.0-cp311-cp311-win_arm64.whl", hash = "sha256:18a2402fa3123ab76ecca670e6fb33038fde7c1e91181b885226ec4d30af2c2c", size = 104760, upload-time = "2026-06-30T16:12:43.112Z" }, + { url = "https://files.pythonhosted.org/packages/d5/1a/5bec493821b0e85b91de4f234912b50133d1aedb875048eef27938ec3f96/librt-0.12.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:9bce19aa7c05f91c989f9da7b567f81d21d57a2e6501e2b811aa0f3f79614c1a", size = 146756, upload-time = "2026-06-30T16:12:44.395Z" }, + { url = "https://files.pythonhosted.org/packages/b9/d0/cc04b48a57c1f275387f5578847214c4a6c21bfb24c6c8c8d6ba753fe403/librt-0.12.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:b0ace09f5bf4d982fe726015f102fb856658b41580597104e301e630ed1d8d86", size = 145537, upload-time = "2026-06-30T16:12:45.95Z" }, + { url = "https://files.pythonhosted.org/packages/9e/10/c02325556beb2aa158c9e549ddade8cc9a23b36cdad14756dbed730c1ff1/librt-0.12.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d007efe9243ede81ce75990ad7aa172da1e2024144b3eff17ba46a5fff1fff3c", size = 488637, upload-time = "2026-06-30T16:12:47.658Z" }, + { url = "https://files.pythonhosted.org/packages/cb/9e/7b49ca1c30baa9c8df96024aa09a97c35a97455e36004c9b5311703c56f3/librt-0.12.0-cp312-cp312-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:ad324a5e4858388a4864915b90a42efc8b374376393f14b9940f2454e791912b", size = 483651, upload-time = "2026-06-30T16:12:49.283Z" }, + { url = "https://files.pythonhosted.org/packages/4d/71/03c8c8cec39645fda451132ff9d6d662fc5aea42a1a188a77a4fddb35906/librt-0.12.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:10a40cf74cdd97b6f8f905056db73f5d459783de2ca04c6ebd1bf47652818e7e", size = 518359, upload-time = "2026-06-30T16:12:50.999Z" }, + { url = "https://files.pythonhosted.org/packages/e0/ec/a9f357f94bbcba92277d22af22cff42ef706ae5d9d6d58b69bebf3a67954/librt-0.12.0-cp312-cp312-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:92e61c09de95217ae02a9d17f4f66cf073253cdc51bcfdc0f15c62c9a70baa85", size = 509510, upload-time = "2026-06-30T16:12:52.631Z" }, + { url = "https://files.pythonhosted.org/packages/7a/34/717055325d028743aa01a7691ad59a63352a26a8ff2e7eeb0c9249514150/librt-0.12.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0461344061d6fc3718940f5855d95647831cef6d03a6c7506897f98222784ad4", size = 527302, upload-time = "2026-06-30T16:12:54.244Z" }, + { url = "https://files.pythonhosted.org/packages/95/f8/7612eeedb3395d92f7c6a84dca5f15e282d650483a4dc01aa5b9cffdfda3/librt-0.12.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:e6dfe89074732c9287b3c0f5a6af575c9ede380a788013876cc7b14fe0da0361", size = 532568, upload-time = "2026-06-30T16:12:55.74Z" }, + { url = "https://files.pythonhosted.org/packages/79/1e/a9afe85d5bb8b65dc27be3809ed1d69082079e1e9717fd2c66aa9939600c/librt-0.12.0-cp312-cp312-musllinux_1_2_riscv64.whl", hash = "sha256:9efed79d51ad1383bba0855f613cca7aa91c943e709af2413ac7f4bb9936ce08", size = 521579, upload-time = "2026-06-30T16:12:57.884Z" }, + { url = "https://files.pythonhosted.org/packages/b3/1e/93aebb219d52c37ea578f83b0588cd7b040974e464d4e435086a48b4dc4d/librt-0.12.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:1eac6cc0e23e448fb3c1446ed85ff796afb616eed5897c978d35dbec030b7c7c", size = 558743, upload-time = "2026-06-30T16:12:59.577Z" }, + { url = "https://files.pythonhosted.org/packages/3c/85/1680c0ec332f238e3145c5608d313ab0a43281e210a5dd87e3bc3cc25631/librt-0.12.0-cp312-cp312-win32.whl", hash = "sha256:0ab8ee0210047ae86ca023ccfbfe3df82077fd1c9bc021aebbf37d993ef64af0", size = 99200, upload-time = "2026-06-30T16:13:01.015Z" }, + { url = "https://files.pythonhosted.org/packages/30/0e/abca12d8904875aa2ad66327390a3f7b1b75ebc43c0a00fc763cecf32ea5/librt-0.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:51c8bfa12632c81b94401c101bcedd0c56c3a1f8fa3273ca3472b28cd2f54003", size = 119390, upload-time = "2026-06-30T16:13:02.493Z" }, + { url = "https://files.pythonhosted.org/packages/32/a5/4203481b6d3a3bb348c82ac71abf1fcb4cb3ae8422a24a8dee4cd3ac5bd7/librt-0.12.0-cp312-cp312-win_arm64.whl", hash = "sha256:5eebd451f5def089369ba6d8ff0291303d035e8154f9f26f7633835c5b029ade", size = 105117, upload-time = "2026-06-30T16:13:03.952Z" }, + { url = "https://files.pythonhosted.org/packages/f2/87/568d948c8079c9ff3c9e8110cf85f1eb70218e1209af29d0b7b89aa4a60c/librt-0.12.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:8d9a55760a34ae5ce70434aabb6a6c61c6c44a0ec58ca1cfd9cd86e4745d417d", size = 146808, upload-time = "2026-06-30T16:13:05.417Z" }, + { url = "https://files.pythonhosted.org/packages/e7/1d/bea471ecea210088847bb5f3c4b4b424d596518934c06679b78ca85d6e63/librt-0.12.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:ff0b197e338b4cf432873e0d6ef025213fdea85311ec4d87d2ea88c28adf2409", size = 145503, upload-time = "2026-06-30T16:13:07.023Z" }, + { url = "https://files.pythonhosted.org/packages/eb/9e/984ad422b56de95fdce158f06b051655373784ebea0aba9a7fcbc41614d1/librt-0.12.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7e69f120a20b69e2539d603bbd4d62db38399b10f8bf73a1cf445038a621e8af", size = 488421, upload-time = "2026-06-30T16:13:08.492Z" }, + { url = "https://files.pythonhosted.org/packages/50/03/1a2f94009b07ea71f8e1a4cfe53370565b56da9caa341b89e0699325e9f5/librt-0.12.0-cp313-cp313-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:fde3cde595e947fc8e755b0a21f919a1622483d07c662d00496e040773d22591", size = 483488, upload-time = "2026-06-30T16:13:10.169Z" }, + { url = "https://files.pythonhosted.org/packages/aa/3b/084bdc295823fbb6ab91670047adf8f420787f9e8794bf2d140b66dc196b/librt-0.12.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d977447315fa09ea4e8c7ae9b4e22f7659b5128161c1fd55ff786b5349f73503", size = 518428, upload-time = "2026-06-30T16:13:11.681Z" }, + { url = "https://files.pythonhosted.org/packages/c9/22/5a307390b93a115ffbecd95c64eecb4e56269680e45e9415ada7285f2cf4/librt-0.12.0-cp313-cp313-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7ffac8a67e4143cea9a549d4822b93bc0bbaad73fc25aa0ab0ba5ec27d178677", size = 509744, upload-time = "2026-06-30T16:13:13.217Z" }, + { url = "https://files.pythonhosted.org/packages/b5/90/83f3cb6184f5d669660717b4b2e317c9ddaccf7ca5bb97f2196deac1a3b7/librt-0.12.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:94af1ed773ff104ef08ef3d669a0ba9d3a5916c609eb698cffe5d5476d66ff9b", size = 527749, upload-time = "2026-06-30T16:13:15.277Z" }, + { url = "https://files.pythonhosted.org/packages/7d/3b/f162be5cc88d47378e3a20776fe425fa1c2bece755da15e2783ebf06d3d6/librt-0.12.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:548199d21d22fb26398dfbbe0ba953a52465c66f3a49f38e6fddce1b127faf53", size = 532582, upload-time = "2026-06-30T16:13:17.074Z" }, + { url = "https://files.pythonhosted.org/packages/c9/28/6c5d2f6b7232fd24f284fc4cab37a459fe69a9096a09942f44cc5c55e073/librt-0.12.0-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:c8f1f413b966a9dd3ecf80cd337b0ad7bb3de2474a4ff448ed3ebabfc3f803fc", size = 522235, upload-time = "2026-06-30T16:13:18.823Z" }, + { url = "https://files.pythonhosted.org/packages/a9/1c/bd115360587fdc22c8ae8fac14c040a556b442e2965d4370d2cf274c8b95/librt-0.12.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:55f13f95b629be5b6ab38918e439bf14169d6f9a8deaae55e0c14e12fb0c74b9", size = 559055, upload-time = "2026-06-30T16:13:20.509Z" }, + { url = "https://files.pythonhosted.org/packages/fe/5a/c26f49f576437014825a86faea3cec60c1ed17f976abd567b6c12b8e35a7/librt-0.12.0-cp313-cp313-pyemscripten_2025_0_wasm32.whl", hash = "sha256:8b2dc079dfe29e77a47a19073d2040fa4879aa3656501f1650f8402ddce0313c", size = 79809, upload-time = "2026-06-30T16:13:22.401Z" }, + { url = "https://files.pythonhosted.org/packages/69/0b/a55244261d9ad7375ac039b8af06d42602722e2e8b8d8d6b86e4a3888c02/librt-0.12.0-cp313-cp313-win32.whl", hash = "sha256:da58944be8270f2bfee628a9a2a60c1cf6a12c8bea8e2c9b6edf3e5414ca7793", size = 99308, upload-time = "2026-06-30T16:13:23.661Z" }, + { url = "https://files.pythonhosted.org/packages/c9/bf/ed9465e58d44c5a5637795547d0841c8934aab905ea452cac1adf14672cf/librt-0.12.0-cp313-cp313-win_amd64.whl", hash = "sha256:1db4be3037e4ce065a071fa7deee93e78ebc25f448340a02a6c1c0b82c37e383", size = 119438, upload-time = "2026-06-30T16:13:25.188Z" }, + { url = "https://files.pythonhosted.org/packages/c0/44/3cad652aeb892e6e8ffe48d0fafa2bc652f28ec7ed3f4403fcbb1be4f948/librt-0.12.0-cp313-cp313-win_arm64.whl", hash = "sha256:05fd2542892ad770b5dd45003fd080477cf220b611d3ee59b0792097eb0873a9", size = 105118, upload-time = "2026-06-30T16:13:26.533Z" }, + { url = "https://files.pythonhosted.org/packages/0e/51/3a0e05618c12423b6fc5141b590ec02a6efb645833edc8736a6c7b46d1ec/librt-0.12.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:b37ee42e09722284a6d9288fe44a191f7276060a3195939bb77c6502058dbb34", size = 145579, upload-time = "2026-06-30T16:13:27.909Z" }, + { url = "https://files.pythonhosted.org/packages/77/9e/fd399d099dfb4020f3f7c34e7e6210c389fa89f7d79ca92f5afb0395f278/librt-0.12.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:ade11988728b3e4768dadc5696e82c60e9b35fc95335a9b4d1f5d69e753ccec7", size = 150139, upload-time = "2026-06-30T16:13:29.357Z" }, + { url = "https://files.pythonhosted.org/packages/7a/ee/610239fbd8c4b005443664c5d4c3bc1717daedd8c71369bf45011aa87194/librt-0.12.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f351ed425380e39bd86df382578aa5b8c5b98e2e265112de7379e7d030258150", size = 480457, upload-time = "2026-06-30T16:13:30.78Z" }, + { url = "https://files.pythonhosted.org/packages/0c/10/ceddc9010f26c541444be36e1153a79b64626694db2d33a524c719fa3e46/librt-0.12.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:857d2163e088c868967717ace8e980017fd868a735f3de010412af02bdc30319", size = 479002, upload-time = "2026-06-30T16:13:32.398Z" }, + { url = "https://files.pythonhosted.org/packages/4e/f1/b1523d9718e8192e5403e6b41a02742e17ba554369f0729b9f30ab590e2d/librt-0.12.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e2befc80aa5f2f5b93f28abaaf11feff6677931dd548320e44c52deaa9399744", size = 510527, upload-time = "2026-06-30T16:13:34.615Z" }, + { url = "https://files.pythonhosted.org/packages/f6/0e/0f3ff43befb18a531615736791e52fb67eaa71ff7b89e6e5f7004b64cc6e/librt-0.12.0-cp314-cp314-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:be3694dcfa97c6715dd19ac73d3e1b21a805514a5785663e57fecacd3ff64e5a", size = 500988, upload-time = "2026-06-30T16:13:36.408Z" }, + { url = "https://files.pythonhosted.org/packages/a8/1a/0278ea4a9e599dc507c43839a87f2c764ad04bf69418e2d763d58659e55f/librt-0.12.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:2d5f67e86f45638843d025b0828f2e9e55fc45ff9180d2618ccdeaf72a796050", size = 519318, upload-time = "2026-06-30T16:13:37.883Z" }, + { url = "https://files.pythonhosted.org/packages/59/55/090e10e62be2f35265e41601337f83ac9f83be9aca1bf92692e3a82effdd/librt-0.12.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:64572c85e4ab7d572c9b72cd76b5f90b21181b1459fa6b1aac6f8958c4fcff31", size = 527127, upload-time = "2026-06-30T16:13:39.682Z" }, + { url = "https://files.pythonhosted.org/packages/1f/34/8052c9ec678be6ba751279947831f089aa69b009000b985ce91d1979669a/librt-0.12.0-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:8b961912b0e688c1eb4658a46bdb0606b31918d65597fbe7356ca83aa653ffcc", size = 509766, upload-time = "2026-06-30T16:13:41.266Z" }, + { url = "https://files.pythonhosted.org/packages/6f/f8/8761b36189e9ec8dc20b49fa84cef22852c6c41fcda56f760f7fc1360da5/librt-0.12.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:722375903e3f079436a7a33da51ce73931536dd041f9feb01536f05d8e010c96", size = 552043, upload-time = "2026-06-30T16:13:43.197Z" }, + { url = "https://files.pythonhosted.org/packages/c8/98/7283971ef6b70269938b49c7b25f670ec6325d252265fbcc996f9b364379/librt-0.12.0-cp314-cp314-pyemscripten_2026_0_wasm32.whl", hash = "sha256:a5a96a8f536b65ef1bf910c09e7e71647edde5111f6e1b51f413c6fba5bfe71b", size = 79472, upload-time = "2026-06-30T16:13:44.64Z" }, + { url = "https://files.pythonhosted.org/packages/c3/5e/b30940dea935e8ac5bd0e0abb1985f5274590d557ac3a252ca0d5392ce52/librt-0.12.0-cp314-cp314-win32.whl", hash = "sha256:8ffc99c356f1777c506e1b69dc303879153ae2640ba15b8f3d4448bc87139149", size = 94246, upload-time = "2026-06-30T16:13:45.962Z" }, + { url = "https://files.pythonhosted.org/packages/7d/4e/0af9fe63f35fa304da3b05688f30ff6a329bcc59581b1cc51dc87fd30141/librt-0.12.0-cp314-cp314-win_amd64.whl", hash = "sha256:1e68fb20798f455cda41d20a306a23c901218883f17a4bab1ed6e1331b265fb7", size = 114951, upload-time = "2026-06-30T16:13:47.279Z" }, + { url = "https://files.pythonhosted.org/packages/b1/8e/843c495d7db35e13b84cd533898fa89145c40dc255da0bc316d53d631464/librt-0.12.0-cp314-cp314-win_arm64.whl", hash = "sha256:2df534f97916cf38ec9b1ddafeb68ae1a4cd4a54775ff26a797026774c0517cf", size = 100562, upload-time = "2026-06-30T16:13:48.699Z" }, + { url = "https://files.pythonhosted.org/packages/75/30/c686d0f978d5fd6867c5bbad96b015c9445746764d1c228e16a2d30d9382/librt-0.12.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:c09e581b1c2b8a62b809d4f4bd101ca3de93791e5b0ed1a14085d911be3dee3f", size = 153897, upload-time = "2026-06-30T16:13:50.017Z" }, + { url = "https://files.pythonhosted.org/packages/40/46/f6f2d77ce46628b48fb5280709013b5109cf3a2c46a2472093cdfc03519d/librt-0.12.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:976888d0d831402086e641018bcc3208e0a38f0835789da91f72894b2cb4161f", size = 156391, upload-time = "2026-06-30T16:13:51.462Z" }, + { url = "https://files.pythonhosted.org/packages/c2/46/cd790c7e19e460779471530ffab454541d6ea4a3b7d338cad7f16ff96995/librt-0.12.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:563c37cdb41d08fe1e3f08b201abac0e317ca18e88b91285466ee0a585797520", size = 564151, upload-time = "2026-06-30T16:13:53.146Z" }, + { url = "https://files.pythonhosted.org/packages/54/12/724559a15fb023cbdef7aee1e81fbfbc3ee22fd09009baa816cea63e3a60/librt-0.12.0-cp314-cp314t-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:b97eb1a3140e279cc76f85b0fb92b7eb3dfbe0471260ee878bc9dc4bf9a0d649", size = 546002, upload-time = "2026-06-30T16:13:54.665Z" }, + { url = "https://files.pythonhosted.org/packages/4b/7e/f9d8c257ab4909f101c7c13734367749e782fd8625545f0343502c2f09f1/librt-0.12.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:06e0623351ab9904cf628245f99c714586f4dd23dc740b88c8bc670d8401a847", size = 584204, upload-time = "2026-06-30T16:13:56.301Z" }, + { url = "https://files.pythonhosted.org/packages/9b/33/64665810575ac23b6cb6ef364de51309b7803620c12885b6e895ebc29591/librt-0.12.0-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:da12f017b2e404554be14d466cd992459feaa44f252b0f18d909a85266ce1237", size = 573688, upload-time = "2026-06-30T16:13:58.1Z" }, + { url = "https://files.pythonhosted.org/packages/0f/01/27522995c6627455abc7a939d57535fb1a7836d398ccedb3d7585f46039e/librt-0.12.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:d97f31003a5c86b9e78155a829572c3a26484064fb7ac1d9695fe628bd93d029", size = 604719, upload-time = "2026-06-30T16:13:59.831Z" }, + { url = "https://files.pythonhosted.org/packages/ee/1f/099e61b1b688551d6d2ce9d4d2ae2242a938759db8551e6cbac7f7176ee5/librt-0.12.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:bd43a6c69876aef4f04eaae3d3b99b0be64755fda274002fa445b92480bf664e", size = 598183, upload-time = "2026-06-30T16:14:01.457Z" }, + { url = "https://files.pythonhosted.org/packages/bf/c1/050400249665503bdd5b83cec518fa7b183b609341c8dcd58161775c4226/librt-0.12.0-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:c01755c72fca1dc6b8d5c2ed228b8e7b2ffe184675c22f0f05ebd8fe188b9250", size = 582559, upload-time = "2026-06-30T16:14:03.29Z" }, + { url = "https://files.pythonhosted.org/packages/da/d1/eef8f0e6722518b65a3d3bcd9309f9f44e208ce5d6728070820f988e7078/librt-0.12.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:625ae561d5fa36400856dcc27464400d047bc2d5e3446be88f437b03fefd72e4", size = 626375, upload-time = "2026-06-30T16:14:04.957Z" }, + { url = "https://files.pythonhosted.org/packages/8b/78/f0bb41a6f2bbd3c77bdcc66980dc0d69ca1192a0ecec25377afcc5e6db73/librt-0.12.0-cp314-cp314t-win32.whl", hash = "sha256:8d73191883553ee0739741544bf3b00aba2a1224e45d9580b30cbc29e21dc03b", size = 97752, upload-time = "2026-06-30T16:14:06.555Z" }, + { url = "https://files.pythonhosted.org/packages/92/24/e279c27972ab051a070237cfa45728fa51670c3f22f1a4d391711e9f4c31/librt-0.12.0-cp314-cp314t-win_amd64.whl", hash = "sha256:e1cbb037324e759f0afa270229731ff0047772667f3cb38ef5df2cabf0175ede", size = 119562, upload-time = "2026-06-30T16:14:07.908Z" }, + { url = "https://files.pythonhosted.org/packages/06/e6/42a475bfca683b0cd5366f6dd06580062b7e567bb8534d225c877c2f14f3/librt-0.12.0-cp314-cp314t-win_arm64.whl", hash = "sha256:bca1472acbd473eff61059b4409f802c5a1bcb4cd0344d06f939df9c4c125d40", size = 104282, upload-time = "2026-06-30T16:14:09.29Z" }, + { url = "https://files.pythonhosted.org/packages/30/a5/dcef86dccd761009bbae8144916c034e8c2cbc23b1c303b438398f60e967/librt-0.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:dcdd59453508a53e7433c3a8bcb188e8a911d140eec9d545f3b5b78a78f4018c", size = 144411, upload-time = "2026-06-30T16:14:10.83Z" }, + { url = "https://files.pythonhosted.org/packages/ac/56/67dc2854cfdbf79d2b92ec0886b16807270b8e1fce20635108026f2cbbb3/librt-0.12.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:2079da12bec9553a32f053be3bb51fd72850b9377cb9101bb52d2af55861d2fe", size = 145327, upload-time = "2026-06-30T16:14:12.239Z" }, + { url = "https://files.pythonhosted.org/packages/7f/b2/b4743c39966a90d0ba3da299fa8573451ddddc2772cb78fbe736eb79c46e/librt-0.12.0-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:685fc30997465ac8c27dd6765dd1cb7951f3e6d2b00c36d3aa0740ac8e40c415", size = 478655, upload-time = "2026-06-30T16:14:13.882Z" }, + { url = "https://files.pythonhosted.org/packages/28/ac/e2cb65389e7f8b966164c9371335ab5c45a0c070fe130d69ede8245c5d32/librt-0.12.0-cp39-cp39-manylinux2014_i686.manylinux_2_17_i686.manylinux_2_28_i686.whl", hash = "sha256:b2d7ea43f153e6f0fedb856a6e0fd797b1eee61864171fbdb98ae1040ee3e8c0", size = 470741, upload-time = "2026-06-30T16:14:15.582Z" }, + { url = "https://files.pythonhosted.org/packages/b2/ca/7fd10f6f2c560efa16a213e606389baff2485b5d7defaeec5e0576b26ba3/librt-0.12.0-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:d80fd1ace06eb10335e0b44ea10f0d04b8436432612c9c62a29c65d386c90438", size = 500859, upload-time = "2026-06-30T16:14:17.104Z" }, + { url = "https://files.pythonhosted.org/packages/f0/75/32f8e4466d35ae6443983259739253189bb1696b4b11c1b230c3b424f4b7/librt-0.12.0-cp39-cp39-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:c799f0ecdfee69ac6ae49ee86542fdf418b73f303691ec0f848d2eb17d57d258", size = 493389, upload-time = "2026-06-30T16:14:18.761Z" }, + { url = "https://files.pythonhosted.org/packages/8d/54/86227a7fbbd8b8ff3495661ac0dca739a9698c3245f0583cac142ca1857b/librt-0.12.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:9fdef3e1dad8f4c89697e54c65f135be6ea8c1dd2b3204228915410bd8a1aefa", size = 515363, upload-time = "2026-06-30T16:14:20.472Z" }, + { url = "https://files.pythonhosted.org/packages/de/7d/f7eeb7020963a80ad15e7e83e97e14b2c5a7bfe2dd3f1a4c897c6c2acee4/librt-0.12.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:01dc12202915ce24fb1af54f48770200787f0eda76b63e89f3a08ba9b15acae1", size = 521818, upload-time = "2026-06-30T16:14:22.099Z" }, + { url = "https://files.pythonhosted.org/packages/2f/c9/a2169ca727e146dd5c96a05112dc74e94527d1c539d5150aeb335945c4f2/librt-0.12.0-cp39-cp39-musllinux_1_2_riscv64.whl", hash = "sha256:34a5599ee6c62b454b88d061be4cde70904812335c18df08b7900c59cec40593", size = 501705, upload-time = "2026-06-30T16:14:23.708Z" }, + { url = "https://files.pythonhosted.org/packages/4a/ce/0557c5445d6986730c34e58aca97ac7d7fb3bc877758d884606c5cc07d79/librt-0.12.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:10c6bb57f13f836f1da62b3e59b134005a469f9b2bcb9253d80e4ffa210367b4", size = 542766, upload-time = "2026-06-30T16:14:25.367Z" }, + { url = "https://files.pythonhosted.org/packages/e3/c3/323a2abb0ccae664b7c7b95f798d302aa6f3467c58ceccf9ed6763f8a472/librt-0.12.0-cp39-cp39-win32.whl", hash = "sha256:713b3d670a10045f72be03887afab5e3edca3e0fdaaeb680914bdbec407eecf1", size = 98032, upload-time = "2026-06-30T16:14:26.871Z" }, + { url = "https://files.pythonhosted.org/packages/ad/54/f0410359b1476258ed3edbec0fefa7c8837ad03592fab17acf86ecb7aaea/librt-0.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:e749611fbec555265f6119f644f7f2ae042b27978242bbe7a8df846f7d8dcf91", size = 118084, upload-time = "2026-06-30T16:14:28.196Z" }, +] + [[package]] name = "markupsafe" version = "3.0.3" @@ -2486,9 +2689,12 @@ name = "matplotlib" version = "3.10.9" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -2592,6 +2798,135 @@ wheels = [ { url = "https://files.pythonhosted.org/packages/2a/7f/a946aa4f8752b37102b41e64dca18a1976ac705c3a0d1dfe74d820a02552/mistune-3.2.1-py3-none-any.whl", hash = "sha256:78cdb0ba5e938053ccf63651b352508d2efa9411dc8810bfb05f2dc5140c0048", size = 53749, upload-time = "2026-05-03T14:33:20.551Z" }, ] +[[package]] +name = "mypy" +version = "1.19.1" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version < '3.10'", +] +dependencies = [ + { name = "librt", marker = "python_full_version < '3.10' and platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions", marker = "python_full_version < '3.10'" }, + { name = "pathspec", marker = "python_full_version < '3.10'" }, + { name = "tomli", marker = "python_full_version < '3.10'" }, + { name = "typing-extensions", marker = "python_full_version < '3.10'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/f5/db/4efed9504bc01309ab9c2da7e352cc223569f05478012b5d9ece38fd44d2/mypy-1.19.1.tar.gz", hash = "sha256:19d88bb05303fe63f71dd2c6270daca27cb9401c4ca8255fe50d1d920e0eb9ba", size = 3582404, upload-time = "2025-12-15T05:03:48.42Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/63/e499890d8e39b1ff2df4c0c6ce5d371b6844ee22b8250687a99fd2f657a8/mypy-1.19.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:5f05aa3d375b385734388e844bc01733bd33c644ab48e9684faa54e5389775ec", size = 13101333, upload-time = "2025-12-15T05:03:03.28Z" }, + { url = "https://files.pythonhosted.org/packages/72/4b/095626fc136fba96effc4fd4a82b41d688ab92124f8c4f7564bffe5cf1b0/mypy-1.19.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:022ea7279374af1a5d78dfcab853fe6a536eebfda4b59deab53cd21f6cd9f00b", size = 12164102, upload-time = "2025-12-15T05:02:33.611Z" }, + { url = "https://files.pythonhosted.org/packages/0c/5b/952928dd081bf88a83a5ccd49aaecfcd18fd0d2710c7ff07b8fb6f7032b9/mypy-1.19.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:ee4c11e460685c3e0c64a4c5de82ae143622410950d6be863303a1c4ba0e36d6", size = 12765799, upload-time = "2025-12-15T05:03:28.44Z" }, + { url = "https://files.pythonhosted.org/packages/2a/0d/93c2e4a287f74ef11a66fb6d49c7a9f05e47b0a4399040e6719b57f500d2/mypy-1.19.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:de759aafbae8763283b2ee5869c7255391fbc4de3ff171f8f030b5ec48381b74", size = 13522149, upload-time = "2025-12-15T05:02:36.011Z" }, + { url = "https://files.pythonhosted.org/packages/7b/0e/33a294b56aaad2b338d203e3a1d8b453637ac36cb278b45005e0901cf148/mypy-1.19.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:ab43590f9cd5108f41aacf9fca31841142c786827a74ab7cc8a2eacb634e09a1", size = 13810105, upload-time = "2025-12-15T05:02:40.327Z" }, + { url = "https://files.pythonhosted.org/packages/0e/fd/3e82603a0cb66b67c5e7abababce6bf1a929ddf67bf445e652684af5c5a0/mypy-1.19.1-cp310-cp310-win_amd64.whl", hash = "sha256:2899753e2f61e571b3971747e302d5f420c3fd09650e1951e99f823bc3089dac", size = 10057200, upload-time = "2025-12-15T05:02:51.012Z" }, + { url = "https://files.pythonhosted.org/packages/ef/47/6b3ebabd5474d9cdc170d1342fbf9dddc1b0ec13ec90bf9004ee6f391c31/mypy-1.19.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d8dfc6ab58ca7dda47d9237349157500468e404b17213d44fc1cb77bce532288", size = 13028539, upload-time = "2025-12-15T05:03:44.129Z" }, + { url = "https://files.pythonhosted.org/packages/5c/a6/ac7c7a88a3c9c54334f53a941b765e6ec6c4ebd65d3fe8cdcfbe0d0fd7db/mypy-1.19.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:e3f276d8493c3c97930e354b2595a44a21348b320d859fb4a2b9f66da9ed27ab", size = 12083163, upload-time = "2025-12-15T05:03:37.679Z" }, + { url = "https://files.pythonhosted.org/packages/67/af/3afa9cf880aa4a2c803798ac24f1d11ef72a0c8079689fac5cfd815e2830/mypy-1.19.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:2abb24cf3f17864770d18d673c85235ba52456b36a06b6afc1e07c1fdcd3d0e6", size = 12687629, upload-time = "2025-12-15T05:02:31.526Z" }, + { url = "https://files.pythonhosted.org/packages/2d/46/20f8a7114a56484ab268b0ab372461cb3a8f7deed31ea96b83a4e4cfcfca/mypy-1.19.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:a009ffa5a621762d0c926a078c2d639104becab69e79538a494bcccb62cc0331", size = 13436933, upload-time = "2025-12-15T05:03:15.606Z" }, + { url = "https://files.pythonhosted.org/packages/5b/f8/33b291ea85050a21f15da910002460f1f445f8007adb29230f0adea279cb/mypy-1.19.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:f7cee03c9a2e2ee26ec07479f38ea9c884e301d42c6d43a19d20fb014e3ba925", size = 13661754, upload-time = "2025-12-15T05:02:26.731Z" }, + { url = "https://files.pythonhosted.org/packages/fd/a3/47cbd4e85bec4335a9cd80cf67dbc02be21b5d4c9c23ad6b95d6c5196bac/mypy-1.19.1-cp311-cp311-win_amd64.whl", hash = "sha256:4b84a7a18f41e167f7995200a1d07a4a6810e89d29859df936f1c3923d263042", size = 10055772, upload-time = "2025-12-15T05:03:26.179Z" }, + { url = "https://files.pythonhosted.org/packages/06/8a/19bfae96f6615aa8a0604915512e0289b1fad33d5909bf7244f02935d33a/mypy-1.19.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:a8174a03289288c1f6c46d55cef02379b478bfbc8e358e02047487cad44c6ca1", size = 13206053, upload-time = "2025-12-15T05:03:46.622Z" }, + { url = "https://files.pythonhosted.org/packages/a5/34/3e63879ab041602154ba2a9f99817bb0c85c4df19a23a1443c8986e4d565/mypy-1.19.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:ffcebe56eb09ff0c0885e750036a095e23793ba6c2e894e7e63f6d89ad51f22e", size = 12219134, upload-time = "2025-12-15T05:03:24.367Z" }, + { url = "https://files.pythonhosted.org/packages/89/cc/2db6f0e95366b630364e09845672dbee0cbf0bbe753a204b29a944967cd9/mypy-1.19.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b64d987153888790bcdb03a6473d321820597ab8dd9243b27a92153c4fa50fd2", size = 12731616, upload-time = "2025-12-15T05:02:44.725Z" }, + { url = "https://files.pythonhosted.org/packages/00/be/dd56c1fd4807bc1eba1cf18b2a850d0de7bacb55e158755eb79f77c41f8e/mypy-1.19.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c35d298c2c4bba75feb2195655dfea8124d855dfd7343bf8b8c055421eaf0cf8", size = 13620847, upload-time = "2025-12-15T05:03:39.633Z" }, + { url = "https://files.pythonhosted.org/packages/6d/42/332951aae42b79329f743bf1da088cd75d8d4d9acc18fbcbd84f26c1af4e/mypy-1.19.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:34c81968774648ab5ac09c29a375fdede03ba253f8f8287847bd480782f73a6a", size = 13834976, upload-time = "2025-12-15T05:03:08.786Z" }, + { url = "https://files.pythonhosted.org/packages/6f/63/e7493e5f90e1e085c562bb06e2eb32cae27c5057b9653348d38b47daaecc/mypy-1.19.1-cp312-cp312-win_amd64.whl", hash = "sha256:b10e7c2cd7870ba4ad9b2d8a6102eb5ffc1f16ca35e3de6bfa390c1113029d13", size = 10118104, upload-time = "2025-12-15T05:03:10.834Z" }, + { url = "https://files.pythonhosted.org/packages/de/9f/a6abae693f7a0c697dbb435aac52e958dc8da44e92e08ba88d2e42326176/mypy-1.19.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:e3157c7594ff2ef1634ee058aafc56a82db665c9438fd41b390f3bde1ab12250", size = 13201927, upload-time = "2025-12-15T05:02:29.138Z" }, + { url = "https://files.pythonhosted.org/packages/9a/a4/45c35ccf6e1c65afc23a069f50e2c66f46bd3798cbe0d680c12d12935caa/mypy-1.19.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:bdb12f69bcc02700c2b47e070238f42cb87f18c0bc1fc4cdb4fb2bc5fd7a3b8b", size = 12206730, upload-time = "2025-12-15T05:03:01.325Z" }, + { url = "https://files.pythonhosted.org/packages/05/bb/cdcf89678e26b187650512620eec8368fded4cfd99cfcb431e4cdfd19dec/mypy-1.19.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:f859fb09d9583a985be9a493d5cfc5515b56b08f7447759a0c5deaf68d80506e", size = 12724581, upload-time = "2025-12-15T05:03:20.087Z" }, + { url = "https://files.pythonhosted.org/packages/d1/32/dd260d52babf67bad8e6770f8e1102021877ce0edea106e72df5626bb0ec/mypy-1.19.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c9a6538e0415310aad77cb94004ca6482330fece18036b5f360b62c45814c4ef", size = 13616252, upload-time = "2025-12-15T05:02:49.036Z" }, + { url = "https://files.pythonhosted.org/packages/71/d0/5e60a9d2e3bd48432ae2b454b7ef2b62a960ab51292b1eda2a95edd78198/mypy-1.19.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:da4869fc5e7f62a88f3fe0b5c919d1d9f7ea3cef92d3689de2823fd27e40aa75", size = 13840848, upload-time = "2025-12-15T05:02:55.95Z" }, + { url = "https://files.pythonhosted.org/packages/98/76/d32051fa65ecf6cc8c6610956473abdc9b4c43301107476ac03559507843/mypy-1.19.1-cp313-cp313-win_amd64.whl", hash = "sha256:016f2246209095e8eda7538944daa1d60e1e8134d98983b9fc1e92c1fc0cb8dd", size = 10135510, upload-time = "2025-12-15T05:02:58.438Z" }, + { url = "https://files.pythonhosted.org/packages/de/eb/b83e75f4c820c4247a58580ef86fcd35165028f191e7e1ba57128c52782d/mypy-1.19.1-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:06e6170bd5836770e8104c8fdd58e5e725cfeb309f0a6c681a811f557e97eac1", size = 13199744, upload-time = "2025-12-15T05:03:30.823Z" }, + { url = "https://files.pythonhosted.org/packages/94/28/52785ab7bfa165f87fcbb61547a93f98bb20e7f82f90f165a1f69bce7b3d/mypy-1.19.1-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:804bd67b8054a85447c8954215a906d6eff9cabeabe493fb6334b24f4bfff718", size = 12215815, upload-time = "2025-12-15T05:02:42.323Z" }, + { url = "https://files.pythonhosted.org/packages/0a/c6/bdd60774a0dbfb05122e3e925f2e9e846c009e479dcec4821dad881f5b52/mypy-1.19.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:21761006a7f497cb0d4de3d8ef4ca70532256688b0523eee02baf9eec895e27b", size = 12740047, upload-time = "2025-12-15T05:03:33.168Z" }, + { url = "https://files.pythonhosted.org/packages/32/2a/66ba933fe6c76bd40d1fe916a83f04fed253152f451a877520b3c4a5e41e/mypy-1.19.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:28902ee51f12e0f19e1e16fbe2f8f06b6637f482c459dd393efddd0ec7f82045", size = 13601998, upload-time = "2025-12-15T05:03:13.056Z" }, + { url = "https://files.pythonhosted.org/packages/e3/da/5055c63e377c5c2418760411fd6a63ee2b96cf95397259038756c042574f/mypy-1.19.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:481daf36a4c443332e2ae9c137dfee878fcea781a2e3f895d54bd3002a900957", size = 13807476, upload-time = "2025-12-15T05:03:17.977Z" }, + { url = "https://files.pythonhosted.org/packages/cd/09/4ebd873390a063176f06b0dbf1f7783dd87bd120eae7727fa4ae4179b685/mypy-1.19.1-cp314-cp314-win_amd64.whl", hash = "sha256:8bb5c6f6d043655e055be9b542aa5f3bdd30e4f3589163e85f93f3640060509f", size = 10281872, upload-time = "2025-12-15T05:03:05.549Z" }, + { url = "https://files.pythonhosted.org/packages/b5/f7/88436084550ca9af5e610fa45286be04c3b63374df3e021c762fe8c4369f/mypy-1.19.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:7bcfc336a03a1aaa26dfce9fff3e287a3ba99872a157561cbfcebe67c13308e3", size = 13102606, upload-time = "2025-12-15T05:02:46.833Z" }, + { url = "https://files.pythonhosted.org/packages/ca/a5/43dfad311a734b48a752790571fd9e12d61893849a01bff346a54011957f/mypy-1.19.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:b7951a701c07ea584c4fe327834b92a30825514c868b1f69c30445093fdd9d5a", size = 12164496, upload-time = "2025-12-15T05:03:41.947Z" }, + { url = "https://files.pythonhosted.org/packages/88/f0/efbfa391395cce2f2771f937e0620cfd185ec88f2b9cd88711028a768e96/mypy-1.19.1-cp39-cp39-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b13cfdd6c87fc3efb69ea4ec18ef79c74c3f98b4e5498ca9b85ab3b2c2329a67", size = 12772068, upload-time = "2025-12-15T05:02:53.689Z" }, + { url = "https://files.pythonhosted.org/packages/25/05/58b3ba28f5aed10479e899a12d2120d582ba9fa6288851b20bf1c32cbb4f/mypy-1.19.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:4f28f99c824ecebcdaa2e55d82953e38ff60ee5ec938476796636b86afa3956e", size = 13520385, upload-time = "2025-12-15T05:02:38.328Z" }, + { url = "https://files.pythonhosted.org/packages/c5/a0/c006ccaff50b31e542ae69b92fe7e2f55d99fba3a55e01067dd564325f85/mypy-1.19.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:c608937067d2fc5a4dd1a5ce92fd9e1398691b8c5d012d66e1ddd430e9244376", size = 13796221, upload-time = "2025-12-15T05:03:22.147Z" }, + { url = "https://files.pythonhosted.org/packages/b2/ff/8bdb051cd710f01b880472241bd36b3f817a8e1c5d5540d0b761675b6de2/mypy-1.19.1-cp39-cp39-win_amd64.whl", hash = "sha256:409088884802d511ee52ca067707b90c883426bd95514e8cfda8281dc2effe24", size = 10055456, upload-time = "2025-12-15T05:03:35.169Z" }, + { url = "https://files.pythonhosted.org/packages/8d/f4/4ce9a05ce5ded1de3ec1c1d96cf9f9504a04e54ce0ed55cfa38619a32b8d/mypy-1.19.1-py3-none-any.whl", hash = "sha256:f1235f5ea01b7db5468d53ece6aaddf1ad0b88d9e7462b86ef96fe04995d7247", size = 2471239, upload-time = "2025-12-15T05:03:07.248Z" }, +] + +[[package]] +name = "mypy" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +resolution-markers = [ + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", + "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.11.*' and sys_platform == 'win32'", + "python_full_version == '3.11.*' and sys_platform == 'emscripten'", + "python_full_version == '3.11.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.10.*'", +] +dependencies = [ + { name = "ast-serialize", marker = "python_full_version >= '3.10'" }, + { name = "librt", marker = "python_full_version >= '3.10' and platform_python_implementation != 'PyPy'" }, + { name = "mypy-extensions", marker = "python_full_version >= '3.10'" }, + { name = "pathspec", marker = "python_full_version >= '3.10'" }, + { name = "tomli", marker = "python_full_version == '3.10.*'" }, + { name = "typing-extensions", marker = "python_full_version >= '3.10'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/82/15/cca9d88503549ed6fedeaa1d448cdddd542ee8a490232d732e278036fbf2/mypy-2.1.0.tar.gz", hash = "sha256:81e76ad12c2d804512e9b13240d1588316531bfba07558286078bfbce9613633", size = 3898359, upload-time = "2026-05-11T18:37:36.237Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a4/71/d351dca3e9b30da2328ee9d445c88b8388072808ebfbc49eb69d30b67749/mypy-2.1.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:11a6beb180257a805961aea9ec591bbd0bd17f1e18d35b8456d57aee5bedfedc", size = 14778792, upload-time = "2026-05-11T18:36:23.605Z" }, + { url = "https://files.pythonhosted.org/packages/2f/45/7d51594b644c17c0bcf74ed8cd5fc33b324276d708e8506f220b70dab9d9/mypy-2.1.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8ef78c1d306bbf9a8a12f526c44902c9c28dffd6c52c52bf6a72641ce18d3849", size = 13645739, upload-time = "2026-05-11T18:37:22.752Z" }, + { url = "https://files.pythonhosted.org/packages/65/01/455c31b170e9468265074840bf18863a8482a24103fdaabe4e199392aa5f/mypy-2.1.0-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c209a90853081ff01d01ee895cafe10f7db1474e0d95beaeef0f6c1db9119bbd", size = 14074199, upload-time = "2026-05-11T18:35:09.292Z" }, + { url = "https://files.pythonhosted.org/packages/41/5a/93093f0b29a9e982deafde698f740a2eb2e05886e79ccf0594c7fd5413a3/mypy-2.1.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:47cebf61abde7c088a4e27718a8b13a81655686b2e9c251f5c0915a802248166", size = 14953128, upload-time = "2026-05-11T18:31:57.678Z" }, + { url = "https://files.pythonhosted.org/packages/7f/2f/a196f5331d96170ad3d28f144d2aba690d4b2911381f68d51e489c7ab82a/mypy-2.1.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:d57a90ae5e872138a425ec328edbc9b235d1934c4377881a33ec05b341acc9a8", size = 15249378, upload-time = "2026-05-11T18:33:00.101Z" }, + { url = "https://files.pythonhosted.org/packages/54/de/94d321cc12da9f71341ac0c270efbed5c725750c7b4c334d957de9a087d9/mypy-2.1.0-cp310-cp310-win_amd64.whl", hash = "sha256:aea7f7a8a55b459c34275fc468ada6ca7c173a5e43a68f5dbe588a563d8a06b8", size = 11060994, upload-time = "2026-05-11T18:33:18.848Z" }, + { url = "https://files.pythonhosted.org/packages/e1/62/0c27ca55219a7c764a7fb88c7bb2b7b2f9780ade8bbf16bc8ed8400eef6b/mypy-2.1.0-cp310-cp310-win_arm64.whl", hash = "sha256:c989640253f0d76843e9c6c1bbf4bd48c5e85ada61bde4beb37cb3eca035685e", size = 9976743, upload-time = "2026-05-11T18:31:25.554Z" }, + { url = "https://files.pythonhosted.org/packages/0a/a1/639f3024794a2a15899cb90707fe02e044c4412794c39c5769fd3df2e2ef/mypy-2.1.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a683016b16fe2f572dc04c72be7ee0504ac1605a265d0200f5cea695fb788f41", size = 14691685, upload-time = "2026-05-11T18:33:27.973Z" }, + { url = "https://files.pythonhosted.org/packages/3b/08/9a585dea4325f20d8b80dc78623fa50d1fd2173b710f6237afd6ba6ab39b/mypy-2.1.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:1a293c534adb55271fef24a26da04b855540a8c13cc07bc5917b9fd2c394f2ca", size = 13555165, upload-time = "2026-05-11T18:32:16.107Z" }, + { url = "https://files.pythonhosted.org/packages/81/dc/7c42cc9c6cb01e8eb09961f1f738741d3e9c7e9d5c5b30ec69222625cd5f/mypy-2.1.0-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:7406f4d048e71e576f5356d317e5b0a9e666dfd966bd99f9d14ca06e1a341538", size = 13994376, upload-time = "2026-05-11T18:32:39.256Z" }, + { url = "https://files.pythonhosted.org/packages/d4/fa/285946c33bce716e082c11dfeee9ee196eaf1f5042efb3581a31f9f205e4/mypy-2.1.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e0210d626fc8b31ccc90233754c7bc90e1f43205e85d96387f7db1285b55c398", size = 14864618, upload-time = "2026-05-11T18:34:49.765Z" }, + { url = "https://files.pythonhosted.org/packages/2b/83/82397f48af6c27e295d57979ded8490c9829040152cf7571b2f026aeb9a0/mypy-2.1.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:3712c20deed54e814eaaa825603bada8ea1c390670a397c95b98405347acc563", size = 15102063, upload-time = "2026-05-11T18:34:05.855Z" }, + { url = "https://files.pythonhosted.org/packages/40/68/b02dec39057b88eb03dc0aa854732e26e8361f34f9d0e20c7614967d1eba/mypy-2.1.0-cp311-cp311-win_amd64.whl", hash = "sha256:fcaa0e479066e31f7cceb6a3bea39cb22b2ff51a6b2f24f193d19179ba17c389", size = 11060564, upload-time = "2026-05-11T18:35:36.494Z" }, + { url = "https://files.pythonhosted.org/packages/cf/a8/ea3dcbef31f99b634f2ee23bb0321cbc8c1b388b76a861eb849f13c347dc/mypy-2.1.0-cp311-cp311-win_arm64.whl", hash = "sha256:0b1a5260c95aa443083f9ed3592662941951bca3d4ca224a5dc517c38b7cf666", size = 9966983, upload-time = "2026-05-11T18:37:14.139Z" }, + { url = "https://files.pythonhosted.org/packages/95/b1/55861beb5c339b44f9a2ba92df9e2cb1eeb4ae1eee674cdf7772c797778b/mypy-2.1.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:244358bf1c0da7722230bce60683d52e8e9fd030554926f15b747a84efb5b3af", size = 14874381, upload-time = "2026-05-11T18:37:31.784Z" }, + { url = "https://files.pythonhosted.org/packages/0b/b3/b7f770114b7d0ac92d0f76e8d93c2780844a70488a90e91821927850da86/mypy-2.1.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4ec7c57657493c7a75534df2751c8ae2cda383c16ecc55d2106c54476b1b16f6", size = 13665501, upload-time = "2026-05-11T18:34:23.063Z" }, + { url = "https://files.pythonhosted.org/packages/b6/f3/8ae2037967e2126689a0c11d99e2b707134a565191e92c60ca2572aec60a/mypy-2.1.0-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:d8161b6ff4392410023224f0969d17db93e1e154bc3e4ba62598e720723ae211", size = 14045750, upload-time = "2026-05-11T18:31:48.151Z" }, + { url = "https://files.pythonhosted.org/packages/a0/32/615eb5911859e43d054941b0d0a7d06cfa2870eba86529cf385b052b111c/mypy-2.1.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:bf03e12003084a67395184d3eb8cbd6a489dc3655b5664b28c210a9e2403ab0b", size = 15061630, upload-time = "2026-05-11T18:37:06.898Z" }, + { url = "https://files.pythonhosted.org/packages/d4/03/4eafbfff8bfab1b87082741eae6e6a624028c984e6708b73bce2a8570c9d/mypy-2.1.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:20509760fd791c51579d573153407d226385ec1f8bcce55d730b354f3336bc22", size = 15288831, upload-time = "2026-05-11T18:31:18.07Z" }, + { url = "https://files.pythonhosted.org/packages/99/ee/919661478e5891a3c96e549c036e467e64563ab85995b10c53c8358e16a3/mypy-2.1.0-cp312-cp312-win_amd64.whl", hash = "sha256:6753d0c1fdd6b1a23b9e4f283ce80b2153b724adcb2653b20b85a8a28ac6436b", size = 11135228, upload-time = "2026-05-11T18:34:31.23Z" }, + { url = "https://files.pythonhosted.org/packages/24/0a/6a12b9782ca0831a553192f351679f4548abc9d19a7cc93bb7feb02084c7/mypy-2.1.0-cp312-cp312-win_arm64.whl", hash = "sha256:98ebb6589bb3b6d0c6f0c459d53ca55b8091fbc13d277c4041c885392e8195e8", size = 10040684, upload-time = "2026-05-11T18:36:48.199Z" }, + { url = "https://files.pythonhosted.org/packages/6e/dd/c7191469c777f07689c032a8f7326e393ea34c92d6d76eb7ce5ba57ea66d/mypy-2.1.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:35aac3bb114e03888f535d5eb51b8bafbb3266586b599da1940f9b1be3ec5bd5", size = 14852174, upload-time = "2026-05-11T18:31:38.929Z" }, + { url = "https://files.pythonhosted.org/packages/55/8c/aed55408879043d72bb9135f4d0d19a02b886dd569631e113e3d2706cb8d/mypy-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:8de55a8c861f2a49331f807be98d90caeceeef520bde13d43a160207f8af613e", size = 13651542, upload-time = "2026-05-11T18:36:04.636Z" }, + { url = "https://files.pythonhosted.org/packages/3a/8e/f371a824b1f1fa8ea6e3dbb8703d232977d572be2329554a3bc4d960302f/mypy-2.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:5fdf2941a07434af755837d9880f7d7d25f1dacb1af9dcd4b9b66f2220a3024e", size = 14033929, upload-time = "2026-05-11T18:35:55.742Z" }, + { url = "https://files.pythonhosted.org/packages/94/21/f54be870d6dd53a82c674407e0f8eed7174b05ec78d42e5abd7b42e84fd5/mypy-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e195b817c13f02352a9c124301f9f30f078405444679b6753c1b96b6eed37285", size = 15039200, upload-time = "2026-05-11T18:33:10.281Z" }, + { url = "https://files.pythonhosted.org/packages/17/99/bf21748626a40ce59fd29a39386ab46afec88b7bd2f0fa6c3a97c995523f/mypy-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:5431d42af987ebd92ba2f71d45c85ed41d8e6ca9f5fd209a69f68f707d2469e5", size = 15272690, upload-time = "2026-05-11T18:32:07.205Z" }, + { url = "https://files.pythonhosted.org/packages/d6/d7/9e90d2cf47100bea550ed2bc7b0d4de3a62181d84d5e37da0003e8462637/mypy-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:767fe8c66dc3e01e19e1737d4c38ebefead16125e1b8e58ad421903b376f5c65", size = 11147435, upload-time = "2026-05-11T18:33:56.477Z" }, + { url = "https://files.pythonhosted.org/packages/ec/46/e5c449e858798e35ffc90946282a27c62a77be743fe17480e4977374eb91/mypy-2.1.0-cp313-cp313-win_arm64.whl", hash = "sha256:ecfe70d43775ab99562ab128ce49854a362044c9f894961f68f898c23cb7429d", size = 10035052, upload-time = "2026-05-11T18:32:30.049Z" }, + { url = "https://files.pythonhosted.org/packages/b0/ca/b279a672e874aedd5498ae25f722dacc8aa86bbffb939b3f97cbb1cf6686/mypy-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:7354c5a7f69d9345c3d6e69921d57088eea3ddeeb6b20d34c1b3855b02c36ec2", size = 14848422, upload-time = "2026-05-11T18:35:45.984Z" }, + { url = "https://files.pythonhosted.org/packages/27/e6/3efe56c631d959b9b4454e208b0ac4b7f4f58b404c89f8bec7b49efdfc21/mypy-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:49890d4f76ac9e06ec117f9e09f3174da70a620a0c300953d8595c926e80947f", size = 13677374, upload-time = "2026-05-11T18:36:57.188Z" }, + { url = "https://files.pythonhosted.org/packages/84/7f/8107ea87a44fd1f1b59882442f033c9c3488c127201b1d1d15f1cbd6022e/mypy-2.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:761be68e023ef5d94678772396a8af1220030f80837a3afd8d0aef3b419666f4", size = 14055743, upload-time = "2026-05-11T18:35:18.361Z" }, + { url = "https://files.pythonhosted.org/packages/51/4d/b6d34db183133b83761b9199a82d31557cdbb70a380d8c3b3438e11882a3/mypy-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:c90345fc182dc363b891350457ec69c35140858538f38b4540845afcc32b1aef", size = 15020937, upload-time = "2026-05-11T18:34:59.618Z" }, + { url = "https://files.pythonhosted.org/packages/ff/d7/f08360c691d758acb02f45022c34d98b92892f4ea756644e1000d4b9f3d8/mypy-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:b84802e7b5a6daf1f5e15bc9fcd7ddae77be13981ffab037f1c67bb84d67d135", size = 15253371, upload-time = "2026-05-11T18:36:41.081Z" }, + { url = "https://files.pythonhosted.org/packages/67/1b/09460a13719530a19bce27bd3bc8449e83569dd2ba7faf51c9c3c30c0b61/mypy-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:022c771234936ceac541ebaf836fe9e2abeb3f5e09aff21588fe543ff006fe21", size = 11326429, upload-time = "2026-05-11T18:34:13.526Z" }, + { url = "https://files.pythonhosted.org/packages/40/62/75dbf0f82f7b6680340efc614af29dd0b3c17b8a4f1cd09b8bd2fd6bc814/mypy-2.1.0-cp314-cp314-win_arm64.whl", hash = "sha256:498207db725cec88829a6a5c2fc771205fd043719ef98bc49aba8fb9fc4e6d57", size = 10218799, upload-time = "2026-05-11T18:32:23.491Z" }, + { url = "https://files.pythonhosted.org/packages/b2/66/caca04ed7d972fb6eb6dd1ccd6df1de5c38fae8c5b3dc1c4e8e0d85ee6b9/mypy-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7d5e5cad0efeba72b93cd17490cc0d69c5ac9ca132994fe3fb0314808aeeb83e", size = 15923458, upload-time = "2026-05-11T18:35:28.64Z" }, + { url = "https://files.pythonhosted.org/packages/ed/52/2d90cbe49d014b13ed7ff337930c30bad35893fe38a1e4641e756bb62191/mypy-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:ff715050c127d724fd260a2e666e7747fdd83511c0c47d449d98238970aef780", size = 14757697, upload-time = "2026-05-11T18:36:14.208Z" }, + { url = "https://files.pythonhosted.org/packages/ac/37/d98f4a14e081b238992d0ed96b6d39c7cc0148c9699eb71eaa68629665ea/mypy-2.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:82208da9e09414d520e912d3e462d454854bed0810b71540bb016dcbca7308fd", size = 15405638, upload-time = "2026-05-11T18:33:48.249Z" }, + { url = "https://files.pythonhosted.org/packages/a3/c2/15c46613b24a84fad2aea1248bf9619b99c2767ae9071fe224c179a0b7d4/mypy-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl", hash = "sha256:e79ebc1b904b84f0310dff7469655a9c36c7a68bddb37bdd42b67a332df61d08", size = 16215852, upload-time = "2026-05-11T18:32:50.296Z" }, + { url = "https://files.pythonhosted.org/packages/5c/90/9c16a57f482c76d25f6379762b56bbf65c711d8158cf271fb2802cfb0640/mypy-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:e583edc957cfb0deb142079162ae826f58449b116c1d442f2d91c69d9fced081", size = 16452695, upload-time = "2026-05-11T18:33:38.182Z" }, + { url = "https://files.pythonhosted.org/packages/0f/4c/215a4eeb63cacc5f17f516691ea7285d11e249802b942476bff15922a314/mypy-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:b33b6cd332695bba180d55e717a79d3038e479a2c49cc5eb3d53603409b9a5d7", size = 12866622, upload-time = "2026-05-11T18:34:39.945Z" }, + { url = "https://files.pythonhosted.org/packages/4b/50/1043e1db5f455ffe4c9ab22747cd8ca2bc492b1e4f4e21b130a44ee2b217/mypy-2.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:4f910fe825376a7b66ef7ca8c98e5a149e8cd64c19ae71d84047a74ee060d4e6", size = 10610798, upload-time = "2026-05-11T18:36:31.444Z" }, + { url = "https://files.pythonhosted.org/packages/0d/2a/13ca1f292f6db1b98ff495ef3467736b331621c5917cad984b7043e7348d/mypy-2.1.0-py3-none-any.whl", hash = "sha256:a663814603a5c563fb87a4f96fb473eeb30d1f5a4885afcf44f9db000a366289", size = 2693302, upload-time = "2026-05-11T18:31:29.246Z" }, +] + [[package]] name = "mypy-extensions" version = "1.1.0" @@ -2624,9 +2959,12 @@ name = "nbclient" version = "0.10.4" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -2717,6 +3055,8 @@ interactive = [ dev = [ { name = "black", version = "25.11.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, { name = "black", version = "26.5.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, + { name = "mypy", version = "1.19.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.10'" }, + { name = "mypy", version = "2.1.0", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, { name = "pre-commit" }, { name = "pytest" }, { name = "stubgenj" }, @@ -2736,6 +3076,7 @@ provides-extras = ["interactive"] [package.metadata.requires-dev] dev = [ { name = "black", specifier = ">=25.0,<28.0" }, + { name = "mypy", specifier = ">=1.10,<3" }, { name = "pre-commit", specifier = ">=3.6.0,<4" }, { name = "pytest", specifier = ">=8.0.0,<9" }, { name = "stubgenj", specifier = ">=0.2.12,<0.3" }, @@ -2914,9 +3255,12 @@ name = "numpy" version = "2.4.6" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3095,9 +3439,12 @@ name = "pandas" version = "3.0.3" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3321,9 +3668,12 @@ name = "pillow" version = "12.2.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3443,9 +3793,12 @@ name = "platformdirs" version = "4.10.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3570,9 +3923,12 @@ name = "pycparser" version = "3.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3670,9 +4026,12 @@ name = "python-json-logger" version = "4.1.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -3973,9 +4332,12 @@ name = "referencing" version = "0.37.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -4018,9 +4380,12 @@ name = "requests" version = "2.34.2" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -4368,9 +4733,12 @@ name = "rpds-py" version = "2026.5.1" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -4732,9 +5100,12 @@ name = "urllib3" version = "2.7.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", @@ -4792,9 +5163,12 @@ name = "webcolors" version = "25.10.0" source = { registry = "https://pypi.org/simple" } resolution-markers = [ - "python_full_version >= '3.14' and sys_platform == 'win32'", - "python_full_version >= '3.14' and sys_platform == 'emscripten'", - "python_full_version >= '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version >= '3.15' and sys_platform == 'win32'", + "python_full_version == '3.14.*' and sys_platform == 'win32'", + "python_full_version >= '3.15' and sys_platform == 'emscripten'", + "python_full_version == '3.14.*' and sys_platform == 'emscripten'", + "python_full_version >= '3.15' and sys_platform != 'emscripten' and sys_platform != 'win32'", + "python_full_version == '3.14.*' and sys_platform != 'emscripten' and sys_platform != 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'win32'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform == 'emscripten'", "python_full_version >= '3.12' and python_full_version < '3.14' and sys_platform != 'emscripten' and sys_platform != 'win32'",